`
cage918
  • 浏览: 19545 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

com.ibm.ejs.container.DuplicateHomeNameException

阅读更多

Trying to (re)deploy an ear on WAS 6.0.2.5, I get this error (first install was ok, then I removed the app, and try to reinstall).
The EJB (MDB) concerned is not duplicated at all.
It seems to me that the previous uninstalling was not completed properly, though there is nothing visible from the admin console.

It looks like a was 6 issue to me.
Did any of you encounter this problem ?

 

Hello,

Here is a dirty solution:
- uninstall your application

  • stop the server
  • delete all 3 eventbufferX.ser files in the $WS_HOME\AppServer\profiles\default\wstemp\events
  • restart server
  • reinstall your application


Dirty solution, but still beter then renaming the beans Wink .

Cheers,
Erika

Exception:

0000002a EJBContainerI E WSVR0040E: addEjbModule failed for mees-jar.jar [class com.ibm.ws.runtime.component.DeployedEJBModuleImpl]
com.ibm.ws.exception.RuntimeWarning: com.ibm.websphere.csi.CSIException: Major Error, PM Exception when installing bean: - com.ibm.ejs.container.DuplicateHomeNameException: meril-ear#mees-jar.jar#myOrgMessageBean; nested exception is:
com.ibm.ejs.container.DuplicateHomeNameException: meril-ear#mees-jar.jar#myOrgMessageBean
at com.ibm.ws.runtime.component.EJBContainerImpl.processBean(EJBContainerImpl.java:1779)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:2717)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3500)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1228)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1067)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:751)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:892)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1366)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1012)
at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:233)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:128)
at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:167)
at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1249)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:990)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:906)
at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:338)
at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:204)
at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:55)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:680)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:484)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)
Caused by: com.ibm.websphere.csi.CSIException: Major Error, PM Exception when installing bean: - com.ibm.ejs.container.DuplicateHomeNameException: meril-ear#mees-jar.jar#myOrgMessageBean; nested exception is:
com.ibm.ejs.container.DuplicateHomeNameException: meril-ear#mees-jar.jar#myOrgMessageBean
at com.ibm.ejs.container.EJSContainer.processBean(EJSContainer.java:4818)
at com.ibm.ws.runtime.component.EJBContainerImpl.processBean(EJBContainerImpl.java:1700)
... 37 more
Caused by: com.ibm.ejs.container.DuplicateHomeNameException: meril-ear#mees-jar.jar#myOrgMessageBean
at com.ibm.ejs.container.HomeOfHomes.createHomeRecord(HomeOfHomes.java:175)
at com.ibm.ejs.container.EJSContainer.processBean(EJSContainer.java:4777)
 

Exception:

分享到:
评论
1 楼 jpsb 2010-11-02  
good

相关推荐

Global site tag (gtag.js) - Google Analytics