Weblogic,错误部署应用程序

时间:2014-08-26 21:00:32

标签: java ejb weblogic

我有一个适用于Weblogic 10.3.4的应用程序,我想将其迁移到12.1.3,但是当Weblogic服务器部署应用程序时,我收到此错误:

  

weblogic.application.ModuleException:java.lang.NullPointerException

     

java.lang.Exception:从部署驱动程序收到的异常。在   oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:188)     在   oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:509)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1504)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:921)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:709)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:556)     在   org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)     在   org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3154)     在   org.eclipse.wst.server.core.internal.Server $ PublishJob.run(Server.java:345)     在org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)引起的   by:weblogic.application.ModuleException:   java.lang.NullPointerException at   weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:123)     在   weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)     在   weblogic.application.internal.flow.ModuleStateDriver $ 2.next(ModuleStateDriver.java:195)     在   weblogic.application.internal.flow.ModuleStateDriver $ 2.next(ModuleStateDriver.java:190)     在   weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)     在   weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:61)     在   weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:145)     在   weblogic.application.internal.BaseDeployment $ 2.next(BaseDeployment.java:729)     在   weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)     在   weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)     在   weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)     在   weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)     在   weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)     在   weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:587)     在   weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)     在   weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)     在   weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:339)     在   weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:846)     在   weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1275)     在   weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:442)     在   weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:176)     在   weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)     在   weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access $ 100(DeploymentReceiverCallbackDeliverer.java:13)     在   weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer $ 2.run(DeploymentReceiverCallbackDeliverer.java:68)     在   weblogic.work.SelfTuningWorkManagerImpl $ WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)     在weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)at   weblogic.work.ExecuteThread.run(ExecuteThread.java:263)引起:   java.lang.NullPointerException:at   javax.naming.Reference.equals(Reference.java:332)at   weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:365)     在   weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:330)     在   weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:337)     在   weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:280)     在   weblogic.application.naming.GeneralPortableJNDIBinder.bindWithPortableJNDIName(GeneralPortableJNDIBinder.java:81)     在   weblogic.application.naming.GeneralPortableJNDIBinder.bind(GeneralPortableJNDIBinder.java:53)     在   weblogic.application.naming.EnvironmentBuilder.bindResourceEnvReference(EnvironmentBuilder.java:1023)     在   weblogic.application.naming.EnvironmentBuilder.bindResourceEnvReferences(EnvironmentBuilder.java:1015)     在   weblogic.application.naming.EnvironmentBuilder.bindResourceEnvReferences(EnvironmentBuilder.java:1394)     在   weblogic.application.naming.EnvironmentBuilder.bindEnvEntriesFromDDs(EnvironmentBuilder.java:1948)     在   weblogic.ejb.container.deployer.EJBDeployer.activateEnvironment(EJBDeployer.java:1080)     在   weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:850)     在   weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:488)     在   weblogic.application.internal.ExtensibleModuleWrapper $ ActivateStateChange.next(ExtensibleModuleWrapper.java:317)     在   weblogic.application.internal.ExtensibleModuleWrapper $ ActivateStateChange.next(ExtensibleModuleWrapper.java:313)     在   weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)     在   weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:121)

0 个答案:

没有答案