1 2 Previous Next 18 Replies Latest reply: Mar 30, 2010 12:50 PM by jaikiran pai RSS

NPE for EM factory.

Yucca Nel Novice

Anyone have any clues as to why jboss AS 6 M2 is failing to deploy my war?

 

Server log:

 

 

at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
        at $Proxy41.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
        at org.jboss.system.ServiceController.start(ServiceController.java:443)
        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
        at java.lang.Thread.run(Thread.java:619) 
 
 05:46:23,242 ERROR [StandardContext] Context [/user-test] startup failed due to previous errors: java.lang.RuntimeException: java.lang.NullPointerException
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:453)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4442)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:462)
        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:116)
        at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
        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:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
        at $Proxy41.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
        at org.jboss.system.ServiceController.start(ServiceController.java:443)
        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.jboss.injection.PersistenceUnitHandler.getManagedEntityManagerFactory(PersistenceUnitHandler.java:149)
        at org.jboss.injection.PcEncInjector.inject(PcEncInjector.java:76)
        at org.jboss.web.tomcat.service.TomcatInjectionContainer.populateEnc(TomcatInjectionContainer.java:506)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:441)
        ... 72 more 
 
 05:46:23,406 ERROR [StandardContext] Context [/user-test] startup failed due to previous errors
05:46:23,414 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/user-test state=Create mode=Manual requiredState=Installed: org.jboss.deployers.spi.DeploymentEx
ception: URL file:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/tmp/1552r6o-7x1l0v-g75ldg48-1-g75leiq3-9u/user-test.war/ deployment failed
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:337)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:462)
        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:116)
        at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
        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:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
        at $Proxy41.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
        at org.jboss.system.ServiceController.start(ServiceController.java:443)
        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
        at java.lang.Thread.run(Thread.java:619) 
 
 05:46:23,584 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/ state=PreReal mode=Manual requiredS
tate=Real: org.jboss.deployers.spi.DeploymentException: URL file:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/tmp/1552r6o-7x1l0v-g75ldg48-1-g75leiq3-9u/user-test.war/ deployment failed
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:337)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:462)
        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:116)
        at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
        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:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
        at $Proxy41.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
        at org.jboss.system.ServiceController.start(ServiceController.java:443)
        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
        at java.lang.Thread.run(Thread.java:619) 
 
 05:46:23,824 INFO  [service] Removing bootstrap log handlers
05:46:23,956 INFO  [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Loading profile: ProfileKey@f94dad[domain=default, server=default, name=default]
05:46:24,029 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): 
 
 DEPLOYMENTS IN ERROR:
  Deployment "vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file
:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/tmp/1552r6o-7x1l0v-g75ldg48-1-g75leiq3-9u/user-test.war/ deployment failed 
 
 05:46:24,063 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8181
05:46:24,072 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
05:46:24,078 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100216-M2 (build: SVNTag=JBoss_6_0_0_20100216-M2 date=20100216)] Started in 59s:541ms

 

I have configured the ds.xml for my DB and have a persistence.xml as follows:

 

 

<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">

    <persistence-unit name="UserManagerPersistenceUnit" transaction-type="JTA">
        <jta-data-source>java:/PostgreDS</jta-data-source>
        <class>org.jarbar.entities.User</class>
            <properties>
            <property name="hibernate.connection.url" value="jdbc:postgresql://localhost:5432/jarbar-test"/>
            <property name="hibernate.connection.driver_class" value="org.postgresql.Driver"/>
            <property name="hibernate.connection.username" value="y"/>
            <property name="hibernate.connection.password" value="x"/>
            <property name="hibernate.archive.autodetection" value="class"/>
            <property name="hibernate.show_sql" value="true"/>
            <property name="hibernate.format_sql" value="true"/>
            <property name="hbm2ddl.auto" value="update"/>
        </properties>
    </persistence-unit>
</persistence>

 

Postgres driver is in common lib directory as well as my server lib

 

Anyone have any ideas what could be causing this?

 

PS Pcontext name is correctly defined in my injection into SLSB

 

Not sure if providing hibernate properties is a must or if hibernate must be defined as my provider.

 

Many many thanks for help.

  • 1. Re: NPE for EM factory.
    Yucca Nel Novice

    In th time I have been waiting for a reply, I have:

     

    Removed the name of the PU in my SLSB persistence context annotation.

    Removed my <provider> element that defines hibernate as my EM

    Removed all properties for persistence.xml

    Tried various combinations of "update or "drop-create"in

     

    nothing succeeds.

  • 2. Re: NPE for EM factory.
    jaikiran pai Master

    Where exactly have you placed the -ds.xml and the persistence.xml files?

     

    By the way, I have requested you more than once, to use the formatting options the forum editor provides while posting logs, xml and any code. You keep ignoring it. It becomes really difficult to find anything meaningful when the logs/xml/code isn't formatted. I leave it to you to decide whether you want to keep posting unformatted text.

  • 3. Re: NPE for EM factory.
    Yucca Nel Novice

    Jaikiran, I thank you and mean this in the best way that I have looked for a formatting option and cant find one so attempted to format my post using italics and such for my log. I only see an html tab , a couple of indentation ones and an insert one.

     

    my -ds.xml is placed into my default/deploy directory and the driver is placed in both common/lib and default/lib

    maven has placed my persistence.xml in war-root/WEB-INF\classes\META-INF directory

     

    Ps perhaps someon can post a screenie of what the editing tab looks like?

  • 4. Re: NPE for EM factory.
    jaikiran pai Master

    Yucca Nel wrote:

     

    Jaikiran, I thank you and mean this in the best way that I have looked for a formatting option and cant find one so attempted to format my post using italics and such for my log. I only see an html tab , a couple of indentation ones and an insert one.

     

    ...

     

    Ps perhaps someon can post a screenie of what the editing tab looks like?

    There's this guide for using the new forums http://www.jboss.org/help/newforums

     

    Posting reply section has some details around formatting http://www.jboss.org/help/newforums/postingreply.html

     

    In short, there's a >> symbol beside the smiley in the forum editor. Clicking on it brings up Syntax Highlighting menu and you can select the type of highlighting you want. So if I was posting some xml content, I would select that portion of xml text in the forum editor and then use Syntax Highligting -> XML to format it.

     

    Yucca Nel wrote:

     

     

    my -ds.xml is placed into my default/deploy directory and the driver is placed in both common/lib and default/lib

    maven has placed my persistence.xml in war-root/WEB-INF\classes\META-INF directory

     

     

    The -ds.xml and the persistence.xml are in the right place. The driver jar need not be in common/lib. Just placing it in JBOSS_HOME/server/< servername>/lib is enough.

     

    Can you please post the relevant code of the servlet which is injecting the EntityManagerFactory and also the contents of your -ds.xml file. There's already a bug around the NPE that you posted. The real issue is that the right dependencies are not being set while the injection is happening. The injection seems to be happening even before the persistence unit is deployed.

  • 5. Re: NPE for EM factory.
    Yucca Nel Novice

    Jaikiran, thank you once again. I am not using the persistnce context in a servlet which may seem odd as I am dealing with a war here but I am only using it in a a SLSB as follows:

     

    public class UserManagerBean implements UserManager<User> {
    
        private static final int NAME_INDEX = 0;
        @PersistenceContext
        private EntityManager entityManager;
    
    

     

    Note that I have removed the optional unit name param but had it defined in an earlier version with same deployment errors.

     

    My -ds xml is defined as follows:

     

    <?xml version="1.0" encoding="UTF-8"?>
    
    <!-- ===================================================================== -->
    <!--                                                                       -->
    <!--  JBoss Server Configuration                                           -->
    <!--                                                                       -->
    <!-- ===================================================================== -->
    
    <!-- See http://www.jboss.org/community/wiki/Multiple1PC for information about local-tx-datasource -->
    <!-- $Id: postgres-ds.xml 97536 2009-12-08 14:05:07Z jesper.pedersen $ -->
    <!-- ==================================================================== -->
    <!--  Datasource config for Postgres                                      -->
    <!-- ==================================================================== -->
    
    
    <datasources>
      <local-tx-datasource>
        <jndi-name>java:/postgresDS</jndi-name>
        <connection-url>jdbc:postgresql://localhost:5432/jarbar-test</connection-url>
        <driver-class>org.postgresql.Driver</driver-class>
        <user-name>y</user-name>
        <password>x</password>
            <!-- sql to call when connection is created.  Can be anything, select 1 is valid for PostgreSQL
            <new-connection-sql>select 1</new-connection-sql>
            -->
    
            <!-- sql to call on an existing pooled connection when it is obtained from pool.  Can be anything, select 1 is valid for PostgreSQL
            <check-valid-connection-sql>select 1</check-valid-connection-sql>
            -->
    
          <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
          <metadata>
             <type-mapping>PostgreSQL 7.2</type-mapping>
          </metadata>
      </local-tx-datasource>
    
    </datasources>
    

     

    There is a cactus servlet that is being used for testing purposes but it ionly injecting the SLSB and not the EnityManager directly. Many thanks for the help.

  • 6. Re: NPE for EM factory.
    jaikiran pai Master

    Yucca Nel wrote:

     


     

    My -ds xml is defined as follows:

     

    <?xml version="1.0" encoding="UTF-8"?>
    
    <!-- ===================================================================== -->
    <!--                                                                       -->
    <!--  JBoss Server Configuration                                           -->
    <!--                                                                       -->
    <!-- ===================================================================== -->
    
    <!-- See http://www.jboss.org/community/wiki/Multiple1PC for information about local-tx-datasource -->
    <!-- $Id: postgres-ds.xml 97536 2009-12-08 14:05:07Z jesper.pedersen $ -->
    <!-- ==================================================================== -->
    <!--  Datasource config for Postgres                                      -->
    <!-- ==================================================================== -->
    
    
    <datasources>
      <local-tx-datasource>
        <jndi-name>java:/postgresDS</jndi-name>
       

    The jndi-name of the -ds.xml *by default* binds to java: context. So you should not be setting the jndi-name to include the java:/ prefix. Also, in your persistence.xml, you are referring to java:/PostgreDS (notice the upper case letter P and also a missing s in Postgre). So you will have to change your -ds.xml to match that name. Ultimately, the jndi-name of your -ds.xml should look like:

     

    <jndi-name>PostgreDS</jndi-name>
    

     

    and changes to persistence.xml won't be required.

  • 7. Re: NPE for EM factory.
    Yucca Nel Novice

    Ok I have changed the -ds.xml as follows:

     

     

    <?xml version="1.0" encoding="UTF-8"?>
    
    <!-- ===================================================================== -->
    <!--                                                                       -->
    <!--  JBoss Server Configuration                                           -->
    <!--                                                                       -->
    <!-- ===================================================================== -->
    
    <!-- See http://www.jboss.org/community/wiki/Multiple1PC for information about local-tx-datasource -->
    <!-- $Id: postgres-ds.xml 97536 2009-12-08 14:05:07Z jesper.pedersen $ -->
    <!-- ==================================================================== -->
    <!--  Datasource config for Postgres                                      -->
    <!-- ==================================================================== -->
    
    
    <datasources>
      <local-tx-datasource>
        <jndi-name>JarbarTest</jndi-name>
        <connection-url>jdbc:postgresql://localhost:5432/jarbar-test</connection-url>
        <driver-class>org.postgresql.Driver</driver-class>
        <user-name>x</user-name>
        <password>y</password>
            <!-- sql to call when connection is created.  Can be anything, select 1 is valid for PostgreSQL
            <new-connection-sql>select 1</new-connection-sql>
            -->
    
            <!-- sql to call on an existing pooled connection when it is obtained from pool.  Can be anything, select 1 is valid for PostgreSQL
            <check-valid-connection-sql>select 1</check-valid-connection-sql>
            -->
    
          <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
          <metadata>
             <type-mapping>PostgreSQL 7.2</type-mapping>
          </metadata>
      </local-tx-datasource>
    
    </datasources>
    

    and my

     

    persistence.xml as follows :

     

    <?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">
    
        <persistence-unit name="UserManagerPersistenceUnit" transaction-type="JTA">
            <provider>org.hibernate.ejb.HibernatePersistence</provider>
            <jta-data-source>java:/JarbarTest</jta-data-source>
            <class>org.jarbar.entities.User</class>
                <properties>
                <property name="hbm2ddl.auto" value="update"/>
            </properties>
        </persistence-unit>
    </persistence>
    
    I still get the exact same server log and NPE
    On a side note, I have read that we also used to have to configure the posgresql in a the cmp-jdbc.xml but this seems to be outdated.
    
    
  • 8. Re: NPE for EM factory.
    Yucca Nel Novice

    Hi, after a whole day I would like to say that this is probably a bug.

     

    reasons:

     

    I have tried using both mysql and potgresql with the same schema and still get NPE. In either of my cases, I know 100% that i am using correct drivers for both mysql and postgresql as downloaded through intellij. I have also chosen to not use a unit name param in my injection of the entity manager. So frustrating and more help would be greatly appreciated.

  • 9. Re: NPE for EM factory.
    Yucca Nel Novice

    Today I will do what I should have been doing ... try running it on glassfish ...

  • 10. Re: NPE for EM factory.
    Yucca Nel Novice

    glassfish deployment succeeded so does this mean this is a bug? I have no proprietary configuration and have kept it pure vendor neutral perhaps it has something to do with what Jai said yesterday I am just happy to have succeeded in doing so much in the space of 2 weeks. I learned how to use maven and boy doe maven make it easy to build and inc thrird party libs into your apps   i learned to use cactus and a bit of the new jee 6 spec

  • 11. Re: NPE for EM factory.
    jaikiran pai Master

    Yucca Nel wrote:

     

    glassfish deployment succeeded so does this mean this is a bug?

    As I said yesterday:

     

    There's already a bug around the NPE that you posted. The real issue is  that the right dependencies are not being set while the injection is  happening.

     

    And here's the one I was talking about https://jira.jboss.org/jira/browse/JBAS-7761

     

    Since it was a known issue, I was trying to figure out what was wrong with your deployment which was resulting in this side-effect. And that's the reason I asked for the persistence.xml and -ds.xml files. My suspicion is still around those 2 files, mainly -ds.xml. Since you mention that it worked on Glassfish, I think the only difference would be the datasource setup. So I think there's some issue around that -ds.xml.

  • 12. Re: NPE for EM factory.
    Yucca Nel Novice

    Hi again an thank you, Lets start off with what works on glassfish as  an example:

     

    I use mysql.

     

    in jboss I have defined a  new -ds.xml as follows (for MySQL):

     

     

    <?xml version="1.0" encoding="UTF-8"?>

    <!-- See http://www.jboss.org/community/wiki/Multiple1PC for information about local-tx-datasource -->
    <!-- $Id: mysql-ds.xml 97536 2009-12-08 14:05:07Z jesper.pedersen $ -->
    <!--  Datasource config for MySQL using 3.0.9 available from:
    http://www.mysql.com/downloads/api-jdbc-stable.html
    -->

    <datasources>
        <local-tx-datasource>
            <jndi-name>jdbc/JarbarTestMySQL</jndi-name>
            <connection-url>jdbc:mysql://localhost:3306/jarbar-test</connection-url>
            <driver-class>com.mysql.jdbc.Driver</driver-class>
            <use-java-context>false</use-java-context>
            <connection-url>jdbc:mysql://localhost/vehicles</connection-url>
            <user-name>y</user-name>
            <password>x</password>
            <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
            <!-- should only be used on drivers after 3.22.1 with "ping" support
            <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
            -->
            <!-- sql to call when connection is created
          <new-connection-sql>some arbitrary sql</new-connection-sql>
            -->
            <!-- sql to call on an existing pooled connection when it is obtained from pool - MySQLValidConnectionChecker is preferred for newer drivers
          <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
            -->

            <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
            <metadata>
                <type-mapping>mySQL</type-mapping>
            </metadata>
        </local-tx-datasource>
    </datasources>

     

    my persistence.xml now uses

    jdbc/JarbarTestMySQL

    as  the datasource

     

    of course I have had to remove and  replace hibernate for eclipselink but otherwise all remains the same

  • 13. Re: NPE for EM factory.
    jaikiran pai Master

    Can you "attach" the entire logs that you see on the console please? From the point where you start the server. Also if you can share that application which is running into errors, then please attach that too.

  • 14. Re: NPE for EM factory.
    Yucca Nel Novice

    file:///C:/Users/Yucca/IdeaProjects/user-test/target/user-test.war

    Sure here is my log :

     

     

     

    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
            at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            at $Proxy41.start(Unknown Source)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
            at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
            at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
            at org.jboss.system.ServiceController.start(ServiceController.java:443)
            at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
            at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
            at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
            at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
            at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
            at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
            at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
            at java.lang.Thread.run(Thread.java:619)
    
    13:43:06,156 ERROR [StandardContext] Context [/user-test] startup failed due to previous errors: java.lang.RuntimeException: java.lang.NullPointerException
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:453)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4442)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
            at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:462)
            at org.jboss.web.deployers.WebModule.startModule(WebModule.java:116)
            at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
            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:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
            at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            at $Proxy41.start(Unknown Source)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
            at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
            at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
            at org.jboss.system.ServiceController.start(ServiceController.java:443)
            at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
            at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
            at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
            at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
            at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
            at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
            at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
            at org.jboss.injection.PersistenceUnitHandler.getManagedEntityManagerFactory(PersistenceUnitHandler.java:149)
            at org.jboss.injection.PcEncInjector.inject(PcEncInjector.java:76)
            at org.jboss.web.tomcat.service.TomcatInjectionContainer.populateEnc(TomcatInjectionContainer.java:506)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:441)
            ... 72 more
    
    13:43:06,346 ERROR [StandardContext] Context [/user-test] startup failed due to previous errors
    13:43:06,355 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/user-test state=Create mode=Manual requiredState=Installed: org.jboss.deployers.spi.DeploymentEx
    ception: URL file:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/tmp/1541n64-ef9y6v-g77huphw-1-g77hvfho-9u/user-test.war/ deployment failed
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:337)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
            at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:462)
            at org.jboss.web.deployers.WebModule.startModule(WebModule.java:116)
            at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
            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:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
            at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            at $Proxy41.start(Unknown Source)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
            at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
            at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
            at org.jboss.system.ServiceController.start(ServiceController.java:443)
            at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
            at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
            at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
            at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
            at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
            at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
            at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
            at java.lang.Thread.run(Thread.java:619)
    
    13:43:06,531 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/ state=PreReal mode=Manual requiredS
    tate=Real: org.jboss.deployers.spi.DeploymentException: URL file:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/tmp/1541n64-ef9y6v-g77huphw-1-g77hvfho-9u/user-test.war/ deployment failed
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:337)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
            at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:462)
            at org.jboss.web.deployers.WebModule.startModule(WebModule.java:116)
            at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
            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:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
            at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            at $Proxy41.start(Unknown Source)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
            at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
            at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
            at org.jboss.system.ServiceController.start(ServiceController.java:443)
            at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
            at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
            at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
            at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
            at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
            at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
            at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
            at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
            at java.lang.Thread.run(Thread.java:619)
    
    13:43:06,756 INFO  [service] Removing bootstrap log handlers
    13:43:06,932 INFO  [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Loading profile: ProfileKey@105454a[domain=default, server=default, name=default]
    13:43:06,937 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    
    DEPLOYMENTS IN ERROR:
      Deployment "vfszip:/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/deploy/user-test.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file
    :/C:/Users/Yucca/DEV/jboss-6.0.0.20100216-M2/server/default/tmp/1541n64-ef9y6v-g77huphw-1-g77hvfho-9u/user-test.war/ deployment failed
    
    13:43:06,989 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8181
    13:43:07,002 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
    13:43:07,005 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.20100216-M2 (build: SVNTag=JBoss_6_0_0_20100216-M2 date=20100216)] Started in 39s:931ms
    
    

     

    and attached, please find my war

1 2 Previous Next