0 Replies Latest reply on Sep 27, 2012 8:02 AM by River Kean

    using Jboss 7 deploys 2 WARs in an EAR: Error on initURLTemplates

    River Kean Newbie

      Hello All,

       

      I am using jboss 7 to deploy the ear with 2 wars using Beehive Netui, the exception always throw on the second war, following is the stack trace:

       

      17:30:33,375 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) Starting deployment of "mytest_0132.ear"

      17:30:33,546 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "test_netui.war"

      17:30:33,546 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) Starting deployment of "test_netui_0.war"

      17:30:34,095 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to mytest_0132.ear

      17:30:34,097 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to test_netui_0.war

      17:30:34,099 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to test_netui.war

      17:30:34,862 INFO  [stdout] (MSC service thread 1-2) 27 Sep 2012 17:30:34,862 ERROR PageFlowInitialization []: The templated-url-formatter-class, org.apache.beehive.netui.pageflow.internal.DefaultTemplatedURLFormatter, does not extend TemplatedURLFormatter.

      17:30:34,863 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mytest0]] (MSC service thread 1-2) Exception starting filter PageFlowJspFilter: java.lang.NullPointerException

          at org.apache.beehive.netui.pageflow.internal.PageFlowInitialization.initURLTemplates(PageFlowInitialization.java:185) [beehive-netui-core.jar:]

          at org.apache.beehive.netui.pageflow.internal.PageFlowInitialization.performInitializations(PageFlowInitialization.java:104) [beehive-netui-core.jar:]

          at org.apache.beehive.netui.pageflow.PageFlowPageFilter.init(PageFlowPageFilter.java:74) [beehive-netui-core.jar:]

          at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

          at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3245) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:3836) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

          at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_18]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_18]

          at java.lang.Thread.run(Thread.java:619) [:1.6.0_18]

       

      17:30:34,867 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error filterStart

      17:30:34,867 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/mytest0] startup failed due to previous errors

      17:30:34,885 INFO  [org.jboss.web] (MSC service thread 1-2) registering web context: /mytest0

      17:30:34,957 INFO  [org.jboss.web] (MSC service thread 1-6) registering web context: /mytest

      17:30:34,957 INFO  [org.jboss.as] (MSC service thread 1-7) JBoss AS 7.0.2.Final "Arc" started in 3009ms - Started 1266 of 1328 services (62 services are passive or on-demand)

      17:30:34,985 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "mytest_0132.ear"

       

      Could any one help me on this, all replies are highly appreciated. You could find the EAR in the attached file.