Enterprise JavaBeans(EJB)模块没有配置任何企业bean

时间:2017-06-18 18:30:00

标签: glassfish ejb websphere

我正在将Glass EE应用程序从glassfish迁移到Websphere Application Server,我收到以下错误:

  

Penjualan.war Enterprise JavaBeans(EJB)模块没有配置任何企业bean。       在com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:731)       在com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startModule(SharedEJBRuntimeImpl.java:338)       在com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3576)       在com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1177)       at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)       在com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)       在com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)       在com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:776)       在com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1379)       在com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2189)       在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)       在com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)       在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)       在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access $ 500(CompositionUnitMgrImpl.java:126)       在com.ibm.ws.runtime.component.CompositionUnitMgrImpl $ 1.run(CompositionUnitMgrImpl.java:653)       在com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5387)       在com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5603)       在com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)       在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:667)       在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:611)       在com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1269)       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)       在java.lang.reflect.Method.invoke(Method.java:613)       at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:68)       at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)       在java.lang.reflect.Method.invoke(Method.java:613)       at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287)       在javax.management.modelmbean.RequiredModelMBean $ 4.run(RequiredModelMBean.java:1256)       在java.security.AccessController.doPrivileged(AccessController.java:252)       at java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:87)       在javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1250)

我该怎么办?

注意:

  • 我的战争中没有ejb-jar.xml
  • 应用程序在glassfish上运行良好

0 个答案:

没有答案