首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

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

2012-03-27 
JBOSS 5简单的EJB3.0 热布署没有问题 如里先布署再启动就 NullPointerExceptionJBOSS 5简单的EJB3.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) 




[解决办法]
社区卫生管理软件
社区卫生信息服务管理系统2008
天使卫生服务管理系统2008
(单机版/完整版/广域版)下载中心:http://www.hhtianshi.com/images/sqwssoft2007.exe
适用于地市级卫生局管理中心;区县级卫生局管理中心;社区卫生服务中心(卫生院)、社区卫生服务站(诊所)
联系人:王先生 联系电话:13874534551
公司网址:http://www.hhtainshi.com
邮箱:5628027@163.com
[解决办法]
我知道,我给你讲!!!
因为你清理再次部署的时候,里面的war,ejb并没有被删除!!!
仔细看不熟的那个地方,不是Application deployed,而是Failed!
Ejb failed ,war就会出现这样的错误!!!
不过我也在一些地方遇到很多麻烦!!!希望有人给我解答!!!

热点排行