4 Replies Latest reply on May 23, 2006 9:31 PM by Jeremy Smartt

    Portal 2.4 Incomplete Deployment listing

    Jeremy Smartt Newbie

      I have tried taking a war that worked in jboss-portal-2.2.1RC2-bundled and deploying it to jboss-portal-2.4.0-ALPHA-bundled. When I try to do this I get:

      Caused by: java.lang.NullPointerException at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:207)
      ... 129 more
      11:52:01,417 ERROR [URLDeploymentScanner] Incomplete Deployment listing:


      Is there some kind of new configuration that has to be done in 2.4?

        • 1. Re: Portal 2.4 Incomplete Deployment listing
          Chris Laprun Master

          I think this issue has been resolved in ALPHA2.

          • 2. Re: Portal 2.4 Incomplete Deployment listing
            Jeremy Smartt Newbie

            Is the current download on the site not ALPHA2? I downloaded jboss-portal-2.4.0-ALPHA-bundled.zip from the site, this is the same one that is still there. If it is not how do I get ALPHA2?

            • 3. Re: Portal 2.4 Incomplete Deployment listing
              Jeremy Smartt Newbie

              I am still not able to get this to work. Has anyone gotten a war file to deploy in the new jboss portal alpha? Here is more of the error I get:

              10:28:52,952 ERROR [MainDeployer] Could not start deployment: file:/C:/Development/jboss-portal/server/default/deploy/test.war/WEB-INF/
              org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.NullPointerException)
               at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:279)
               at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:211)
               at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:244)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
               at $Proxy114.deploy(Unknown Source)
               at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:298)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
               at $Proxy87.deploy(Unknown Source)
               at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:54)
               at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:145)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
               at $Proxy115.handleNotification(Unknown Source)
               at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
               at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
               at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340)
               at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308)
               at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:482)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
               at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
               at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
               at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
               at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
               at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
               at $Proxy92.start(Unknown Source)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
               at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
               at $Proxy8.deploy(Unknown Source)
               at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:334)
               at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:522)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:207)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:280)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
               at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:417)
               at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
               at $Proxy4.start(Unknown Source)
               at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
               at $Proxy5.deploy(Unknown Source)
               at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
               at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
               at org.jboss.Main.boot(Main.java:200)
               at org.jboss.Main$1.run(Main.java:464)
               at java.lang.Thread.run(Thread.java:595)
              Caused by: java.lang.NullPointerException
               at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:207)
               ... 129 more
              10:28:53,140 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
              
              --- Incompletely deployed packages ---
              org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo@8571afcc { url=file:/C:/Development/jboss-portal/server/default/deploy/test.war/WEB-INF/ }
               deployer: org.jboss.portal.server.deployment.jboss.ServerDeployer@10379db
               status: Deployment FAILED reason: - nested throwable: (java.lang.NullPointerException)
               state: FAILED
               watch: file:/C:/Development/jboss-portal/server/default/deploy/test.war/WEB-INF/
               altDD: null
               lastDeployed: 1148405331265
               lastModified: 1148405215268
               mbeans:


              • 4. Re: Portal 2.4 Incomplete Deployment listing
                Jeremy Smartt Newbie

                I got this to work. As a FYI to everyone else don't try deploying a war on the jboss-portal-2.4.0-ALPHA-bundled that is downloadable from the JBoss site. I had to download the jboss-portal-2.4.0-ALPHA-src.zip from sourceforge and recompile it myself. It appears that the src download contains newer code than what is in the bundled download. Thank goodness for open source!