当前位置: 代码迷 >> JBoss >> JBOSS 5 简单的EJB3.0 热布署没有有关问题 如里先布署再启动就 NullPointerException
  详细解决方案

JBOSS 5 简单的EJB3.0 热布署没有有关问题 如里先布署再启动就 NullPointerException

热度:4699   发布时间:2013-02-26 00:00:00.0
JBOSS 5 简单的EJB3.0 热布署没有问题 如里先布署再启动就 NullPointerException
JBOSS 5 简单的EJB3.0 热布署没有问题 
但是如里先布署再启动就 NullPointerException
我没多少分,非常感谢!

Java code
17:50:09,183 INFO  [MCKernelAbstraction] installing bean: jboss.j2ee:jar=JBossEJB.jar,name=HelloBean,service=EJB3 with dependencies:17:50:09,183 INFO  [MCKernelAbstraction]   and supplies:17:50:09,183 INFO  [MCKernelAbstraction]     Class:session.Hello17:50:12,339 INFO  [EJBContainer] STARTED EJB: session.HelloBean ejbName: HelloBean17:50:12,355 INFO  [EJBContainer] STOPPED EJB: session.HelloBean ejbName: HelloBean17:50:12,355 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:jar=JBossEJB.jar,name=HelloBean,service=EJB3 state=Createjava.lang.NullPointerException    at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:452)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    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:264)    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)    at $Proxy93.restoreTimers(Unknown Source)    at org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:121)    at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:128)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)    at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)    at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:214)    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:108)    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:69)    at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135)    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46)    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:327)    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:574)    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:398)    at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:96)    at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:90)    at org.jboss.ejb3.MCKernelAbstraction.install(MCKernelAbstraction.java:151)    at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:350)    at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:411)    at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:53)    at org.jboss.ejb3.deployers.EJBStage2Deployer.deploy(EJBStage2Deployer.java:37)    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:245)    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)    at org.jboss.Main.boot(Main.java:208)    at org.jboss.Main$1.run(Main.java:534)    at java.lang.Thread.run(Unknown Source)
  相关解决方案
本站暂不开放注册!
内测阶段只得通过邀请码进行注册!
 
  • 最近登录:Sat Nov 25 07:57:53 CST 2017
  • 最近登录:Sat Nov 25 07:57:53 CST 2017
  • 最近登录:Sat Nov 25 07:57:53 CST 2017
  • 最近登录:Sat Nov 25 07:57:53 CST 2017
  • 最近登录:Sat Nov 25 07:57:53 CST 2017