1 2 Previous Next 20 Replies Latest reply on Nov 3, 2006 12:31 PM by Ronald van Kuijk

    Web console enhancements

    David Lloyd Master

      I've just committed a ton of stuff into the web console. Not all of it works 100% yet, and some stuff that was working is now (temporarily) broken. The main changes are the new search mechanism, and the new JSF action navigation system. These are both key steps towards the search-driven model that we have been discussing.

      Let me know if you have any questions or comments about the new structure.

      Also - A couple of the dependancies aren't auto-downloaded yet, and the build may not yet work perfectly out of the box. This should be fixed very soon...

        • 1. Re: Web console enhancements
          Tom Baeyens Master

          cool !

          i'll check it out tomorrow. i'll give my comments on the working part.

          let me know if you need help in getting the dependency resolution to work.

          • 2. Re: Web console enhancements
            David Lloyd Master

            OK, all the new library dependencies are all set. You should be able to test it out now.

            • 3. Re: Web console enhancements
              Tom Baeyens Master

              Works out of the box for me now. Thanks.

              Awsome look and feel ! A core developer with a great sense for colors: that is unique and just what we needed.

              This is the start we needed in order to transform the web console into a full blown product. Keep going.

              One thing i would do different was the filtercriteria on the task lists; i would put that underneath or at the right of the actual list.

              A planning note: In this month, we should try to finish a certain the feature set we have now and decorate all the loose ends that we've got. So that after this month, there is a web app in which simple navigation, doesn't lead to stack traces. I don't mind if there are: "this page is not yet implemented" kind of pages.

              Then in december we should go for stabilization and bug fixing.

              • 4. Re: Web console enhancements
                Tom Baeyens Master

                not i'm having this problem. i'm in doubt wether this has to do with the webapp enhancements.

                the problem occurs when i deploy a modified .ear file for testing. i added a .war which contains server side tests to the .ear packaging.

                then i get the problem below. stack trace seems to indicate that jboss or tomcat would require aspectj ?! strange. the webapp in which this failing servlet is deployed doesn't use JSF so afaict, it should not use your backported JSF stuff.

                anyways, here's the stack trace, any hints are appreciated:

                ===============================================================================
                .
                 JBoss Bootstrap Environment
                .
                 JBOSS_HOME: C:\software\jboss-4.0.4.GA\bin\\..
                .
                 JAVA: C:\software\jdk1.5.0_07\bin\java
                .
                 JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
                .
                 CLASSPATH: C:\software\jdk1.5.0_07\lib\tools.jar;C:\software\jboss-4.0.4.GA\bin\\run.jar
                .
                ===============================================================================
                .
                10:50:18,262 INFO [Server] Starting JBoss (MX MicroKernel)...
                10:50:18,277 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
                10:50:18,277 INFO [Server] Home Dir: C:\software\jboss-4.0.4.GA
                10:50:18,277 INFO [Server] Home URL: file:/C:/software/jboss-4.0.4.GA/
                10:50:18,277 INFO [Server] Patch URL: null
                10:50:18,277 INFO [Server] Server Name: jbpm
                10:50:18,277 INFO [Server] Server Home Dir: C:\software\jboss-4.0.4.GA\server\jbpm
                10:50:18,277 INFO [Server] Server Home URL: file:/C:/software/jboss-4.0.4.GA/server/jbpm/
                10:50:18,277 INFO [Server] Server Log Dir: C:\software\jboss-4.0.4.GA\server\jbpm\log
                10:50:18,277 INFO [Server] Server Temp Dir: C:\software\jboss-4.0.4.GA\server\jbpm\tmp
                10:50:18,277 INFO [Server] Root Deployment Filename: jboss-service.xml
                10:50:18,590 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
                10:50:18,590 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_07-b03,Sun Microsystems Inc.
                10:50:18,590 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                10:50:19,074 INFO [Server] Core system initialized
                10:50:20,559 INFO [WebService] Using RMI server codebase: http://lightning:8083/
                10:50:20,574 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
                10:50:20,746 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
                10:50:22,902 INFO [Embedded] Catalina naming disabled
                10:50:22,949 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
                10:50:22,949 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
                10:50:23,199 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
                10:50:23,199 INFO [Catalina] Initialization processed in 250 ms
                10:50:23,199 INFO [StandardService] Starting service jboss.web
                10:50:23,215 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
                10:50:23,230 INFO [StandardHost] XML validation disabled
                10:50:23,262 INFO [Catalina] Server startup in 63 ms
                10:50:23,355 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
                10:50:23,590 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
                10:50:24,105 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
                10:50:24,559 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp19001jbossws-exp.war/
                10:50:24,730 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
                10:50:24,871 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
                10:50:26,059 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
                10:50:26,871 INFO [MailService] Mail Service bound to java:/Mail
                10:50:27,012 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
                10:50:27,043 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
                10:50:27,059 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
                10:50:27,090 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
                10:50:27,105 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
                10:50:27,137 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
                10:50:27,762 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
                10:50:27,965 INFO [JbpmCommandQueue] Bound to JNDI name: queue/JbpmCommandQueue
                10:50:28,012 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
                10:50:28,043 INFO [DLQ] Bound to JNDI name: queue/DLQ
                10:50:28,090 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JbpmDS' to JNDI name 'java:JbpmDS'
                10:50:28,184 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
                10:50:28,215 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
                10:50:28,512 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
                10:50:28,918 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
                10:50:28,934 INFO [JkMain] Jk running ID=0 time=0/63 config=null
                10:50:28,949 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 10s:656ms
                10:50:47,293 INFO [EARDeployer] Init J2EE application: file:/C:/wsjbpm/jbpm.3_HEAD/enterprise/ear/target/jbpm-test.ear
                10:50:49,824 INFO [EjbModule] Deploying CommandListenerBean
                10:50:49,965 INFO [EjbModule] Deploying CommandServiceBean
                10:50:50,137 INFO [EJBDeployer] Deployed: file:/C:/software/jboss-4.0.4.GA/server/jbpm/tmp/deploy/tmp19032jbpm-test.ear-contents/jbpm-cmdlistener.jar
                10:50:50,168 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CommandServiceBean' to jndi 'CommandServiceBean'
                10:50:50,168 INFO [ProxyFactory] Bound EJB Home 'CommandServiceBean' to jndi 'ejb/CommandServiceBean'
                10:50:50,168 INFO [EJBDeployer] Deployed: file:/C:/software/jboss-4.0.4.GA/server/jbpm/tmp/deploy/tmp19032jbpm-test.ear-contents/jbpm-cmdservice.jar
                10:50:50,184 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-console, warUrl=.../tmp/deploy/tmp19032jbpm-test.ear-contents/jbpm-console-exp.war/
                10:50:50,496 ERROR [STDERR] 1-nov-2006 10:50:50 com.sun.faces.config.ConfigureListener contextInitialized
                INFO: Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context 'null'
                10:50:50,871 ERROR [STDERR] 1-nov-2006 10:50:50 com.sun.faces.spi.InjectionProviderFactory createInstance
                WARNING: JSF1033: Resource injection is DISABLED.
                10:50:51,246 DEBUG [InternetResourceBuilder] Create default implementation instance of InternetBuilder
                10:50:51,340 DEBUG [InternetResourceBuilder] build new resource for path scripts/form.js
                10:50:51,652 ERROR [STDERR] 1-nov-2006 10:50:51 com.sun.faces.config.ConfigureListener isJspTwoOne
                WARNING: Incorrect JSP version found, method getJspApplicationContext does not exist.
                10:50:51,652 ERROR [STDERR] 1-nov-2006 10:50:51 com.sun.faces.config.ConfigureListener contextInitialized
                INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context 'null'
                10:50:51,715 DEBUG [Config] Config() called
                10:50:51,715 DEBUG [AbstractCacheAdministrator] Constructed AbstractCacheAdministrator()
                10:50:51,715 INFO [ServletCacheAdministrator] Created new instance of ServletCacheAdministrator
                10:50:51,715 INFO [ServletCacheAdministrator] Created new application-scoped cache at key: __oscache_cache
                10:50:51,855 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-test, warUrl=.../tmp/deploy/tmp19032jbpm-test.ear-contents/jbpm-test-exp.war/
                10:50:51,980 INFO [EARDeployer] Started J2EE application: file:/C:/wsjbpm/jbpm.3_HEAD/enterprise/ear/target/jbpm-test.ear
                10:50:54,199 INFO [[/jbpm-test]] Marking servlet ServletRedirector as unavailable
                10:50:54,199 ERROR [[ServletRedirector]] Allocate exception for servlet ServletRedirector
                java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
                 at java.lang.Class.getDeclaredConstructors0(Native Method)
                 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
                 at java.lang.Class.getConstructor0(Class.java:2640)
                 at java.lang.Class.newInstance0(Class.java:321)
                 at java.lang.Class.newInstance(Class.java:303)
                 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1055)
                 at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                 at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                 at java.lang.Thread.run(Thread.java:595)
                10:50:54,230 INFO [[ServletRedirector]] Servlet ServletRedirector is currently unavailable
                


                • 5. Re: Web console enhancements
                  Tom Baeyens Master

                  ah, wait... i think it is cactus that requires aspectj. i'll check that first.

                  • 6. Re: Web console enhancements
                    David Lloyd Master

                     

                    "tom.baeyens@jboss.com" wrote:
                    Works out of the box for me now. Thanks.

                    Awsome look and feel ! A core developer with a great sense for colors: that is unique and just what we needed.


                    Thanks... I tried to focus more on function than appearance but I really wanted to update it to the Red Hat color scheme to some degree.

                    "tom.baeyens@jboss.com" wrote:
                    One thing i would do different was the filtercriteria on the task lists; i would put that underneath or at the right of the actual list.

                    Yeah, I debated about that one for a while, and I think I tend to agree.

                    "tom.baeyens@jboss.com" wrote:
                    A planning note: In this month, we should try to finish a certain the feature set we have now and decorate all the loose ends that we've got. So that after this month, there is a web app in which simple navigation, doesn't lead to stack traces. I don't mind if there are: "this page is not yet implemented" kind of pages.

                    Then in december we should go for stabilization and bug fixing.


                    Ok, sounds like a good plan.

                    • 7. Re: Web console enhancements
                      Ronald van Kuijk Master

                       

                      "david.lloyd@jboss.com" wrote:


                      "tom.baeyens@jboss.com" wrote:
                      One thing i would do different was the filtercriteria on the task lists; i would put that underneath or at the right of the actual list.

                      Yeah, I debated about that one for a while, and I think I tend to agree.


                      What about at the top? So you can type just below the headers to filter...

                      Small other issue. the console 'project' complains about not finding the javax.xml.stream package, but eclipse does compile the class and the ant task works to. Closing, opening the project does not help, anybody seen this?

                      • 8. Re: Web console enhancements
                        Tom Baeyens Master

                        with a recent update, i saw that david added new dependencies that could match that description. did you already do a get.dependencies ?

                        if that doesn't help, we'll have to wait for david to comment.

                        • 9. Re: Web console enhancements
                          Ronald van Kuijk Master

                          Yes, I did. That is the strange thing. building from ant does not complain about anything.... still looking into that

                          • 10. Re: Web console enhancements
                            Tom Baeyens Master

                            FYI: i just did a get dependencies and it works for me. let me know if you keep having problems.

                            • 11. Re: Web console enhancements
                              David Lloyd Master

                               

                              "kukeltje" wrote:
                              Small other issue. the console 'project' complains about not finding the javax.xml.stream package, but eclipse does compile the class and the ant task works to. Closing, opening the project does not help, anybody seen this?


                              Ah, the problem is that I do not use Eclipse. You'll need to add the woodstax jar as well as the stax-api jar to the classpath in Eclipse.

                              • 12. Re: Web console enhancements
                                Ronald van Kuijk Master

                                hmm.. I do not see these in the dependencies, but I also do not get a message that there is a newer version of the build files... hmm.... Thanks for letting me know. I'll see what is wrong on my side. Can I check the adapted .classpath files in?

                                • 13. Re: Web console enhancements
                                  Tom Baeyens Master

                                  you can check the .classpath in if you want (please drop a note here if you do)

                                  but since you have problems and i don't, probably it's wiser for me to do the checkin.

                                  ....

                                  done. so you're too late anyway :-)

                                  • 14. Re: Web console enhancements
                                    Ronald van Kuijk Master

                                    Thnx....

                                    But I wanted to only check things in when they worked, don't worry Oh and btw, congratulations on the great victory of Zulte Waregem...

                                    1 2 Previous Next