• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ear file deployed on Websphere Application Server v6.0 is failing to start.

 
Aman Painuly
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey frends,
I am trying to hit an application on Test environment. To do so, I need to add two ear files (by right click on choosing 'add or remove projects') to Websphere Application Server V6.0 at localhost. When I start one of the ear file, It is failing to start and I am getting :


12/20/12 0:29:56:015 PST] 0000065d ApplicationMg A WSVR0200I: Starting application: EdexBrokerEar
[12/20/12 0:29:56:405 PST] 0000065d EJBContainerI I WSVR0207I: Preparing to start EJB jar: EdexBrokerEjb.jar
[12/20/12 0:29:56:437 PST] 0000065d EJBContainerI I WSVR0037I: Starting EJB jar: EdexBrokerEjb.jar
[12/20/12 0:29:56:515 PST] 0000065d EJSContainer E CNTR0035E: EJB container caught com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb
at com.ibm.ejs.container.HomeOfHomes.createHomeRecord(HomeOfHomes.java:177)
at com.ibm.ejs.container.EJSContainer.processBean(EJSContainer.java:4885)
at com.ibm.ws.runtime.component.EJBContainerImpl.processBean(EJBContainerImpl.java:1729)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:2769)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3607)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1261)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1076)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:918)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1454)
at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2771)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSystem(distContextManagerImpl.java:2651)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:240)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1459)
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:1017)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:933)
at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:157)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
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(Compiled Code))
at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java(Compiled Code))
at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
and is throwing com.ibm.websphere.csi.CSIException: Major Error, PM Exception when installing bean: - com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb; nested exception is:
com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb.
[12/20/12 0:29:56:546 PST] 0000065d EJBContainerI E WSVR0208E: Unable to prepare EJB jar: EdexBrokerEjb.jar [class com.ibm.ws.runtime.component.DeployedEJBModuleImpl]
com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb
at com.ibm.ejs.container.HomeOfHomes.createHomeRecord(HomeOfHomes.java:177)
at com.ibm.ejs.container.EJSContainer.processBean(EJSContainer.java:4885)
at com.ibm.ws.runtime.component.EJBContainerImpl.processBean(EJBContainerImpl.java:1729)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:2769)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3607)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1261)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1076)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:918)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1454)
at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2771)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSystem(distContextManagerImpl.java:2651)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:240)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1459)
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:1017)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:933)
at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:157)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
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(Compiled Code))
at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java(Compiled Code))
at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

[12/20/12 0:29:56:577 PST] 0000065d EJBContainerI E WSVR0040E: addEjbModule failed for EdexBrokerEjb.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: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb; nested exception is:
com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb
at com.ibm.ws.runtime.component.EJBContainerImpl.processBean(EJBContainerImpl.java:1809)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:2769)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3607)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1261)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1076)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:918)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1454)
at com.ibm.ws.security.auth.distContextManagerImpl.runAs(distContextManagerImpl.java:2771)
at com.ibm.ws.security.auth.distContextManagerImpl.runAsSystem(distContextManagerImpl.java:2651)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:240)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1459)
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:1017)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:933)
at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:157)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
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(Compiled Code))
at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java(Compiled Code))
at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Caused by: com.ibm.websphere.csi.CSIException: Major Error, PM Exception when installing bean: - com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb; nested exception is:
com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb
at com.ibm.ejs.container.EJSContainer.processBean(EJSContainer.java:4924)
at com.ibm.ws.runtime.component.EJBContainerImpl.processBean(EJBContainerImpl.java:1729)
... 39 more
Caused by: com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb
at com.ibm.ejs.container.HomeOfHomes.createHomeRecord(HomeOfHomes.java:177)
at com.ibm.ejs.container.EJSContainer.processBean(EJSContainer.java:4885)
... 40 more

[12/20/12 0:29:56:593 PST] 0000065d EJBContainerI I WSVR0041I: Stopping EJB jar: EdexBrokerEjb.jar
[12/20/12 0:29:56:609 PST] 0000065d DeployedAppli W WSVR0206E: Module, EdexBrokerEjb.jar, of application, EdexBrokerEar.ear/deployments/EdexBrokerEar, failed to start
[12/20/12 0:29:56:624 PST] 0000065d ApplicationMg W WSVR0101W: An error occurred starting, EdexBrokerEar
[12/20/12 0:29:56:640 PST] 0000065d ApplicationMg A WSVR0217I: Stopping application: EdexBrokerEar
[12/20/12 0:29:56:655 PST] 0000065d ApplicationMg A WSVR0220I: Application stopped: EdexBrokerEar

Please help me to find out what are the possible reasons for this.
Any suggestions will be highly appreciated.

Thank you,
Aman
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34198
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Caused by: com.ibm.ejs.container.DuplicateHomeNameException: EdexBrokerEar#EdexBrokerEjb.jar#FT60ReplyMdb

This looks like the key line. Things to check:
  • Do you have the same EJB class multiple times
  • is the JNDI name in use by something else
  • Could the app have been deployed twice
  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic