Problem in deploying EJBs (More than 390) in weblogic-BEA says JDK issue!!!

Our application had 390 EJBs before the current build. It was running fine on Weblogic 6.1-SP4 with JDK 1.3.1_08.

In the current build, 3 EJBs were introduced and the Weblogic server started giving deployment problems. We then came across the Weblogic Bug stating the magic Number of 390 and delegating it to a SUN Bug. But, contrary to the SUN bug which says of a OutofMemory issue, we were not getting any OutOfMemory error.

Then, just to test the 390 number, we cut downed on the number of EJBs reducing the number to 388, in a test environment. EJBs got deployed without problem. Then we added 3 EJBs (increasing the EJB count to 391), and Weblogic server started giving Deployment problem in a EJB which was one of the 388 that were running fine earlier.But, now also there was no OutOfMemory error. Then we removed one of the newly added EJBs to bring the EJB count to 390. The Weblogic deployed the EJBs without error(even the one which was giving problem when EJB count was 391).

So, 390 seems to be the number but, contrary to BEA problem ID: 035884 which delegates the problem to SUN Bug ID:4390238 (Incidentally SUN has closed this bug as Non-reproducable), we are not getting any OutOfMemory error.

My questions to the JAVA community are:

1)Is the problem really related to JDK or Weblogic?

2)If it's a problem with JDK, then what should be done to fix it?

==========================================

A deployment error generated is pasted below:

==========================================

java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException: Distributed Management [1 exceptions]

at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:559)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)

at $Proxy14.addDeployment(Unknown Source)

at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)

at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)

at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)

at $Proxy11.setTargets(Unknown Source)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)

at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)

at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)

at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)

at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)

at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Distributed update exception

- remote object: stellar:Location=primary-server,Name=primary-server,Type=ServerConfig

- remote server: weblogic.management.internal.RemoteMBeanServerImpl@1d5ebc

- actionName: addDeployment

- params: [Ljava.lang.Object;@5f97ae

- signature: [Ljava.lang.String;@5f28a6

Distributed update exception

- remote object: stellar:Location=primary-server,Name=primary-server,Type=ServerConfig

- remote server: weblogic.management.internal.RemoteMBeanServerImpl@1d5ebc

Unable to deploy EJB: STTaskPrivilegeLinkEntity from Entities.jar:

java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:165)

at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:250)

at weblogic.ejb20.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:307)

at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:362)

at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)

at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)

at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)

at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)

at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)

at weblogic.j2ee.Application.addComponent(Application.java:174)

at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)

at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)

at $Proxy14.addDeployment(Unknown Source)

at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)

at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)

at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)

at $Proxy11.setTargets(Unknown Source)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)

at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)

at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)

at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)

at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)

at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

nested within:

weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:

[java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS]

at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:367)

at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)

at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)

at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)

at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)

at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)

at weblogic.j2ee.Application.addComponent(Application.java:174)

at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)

at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)

at $Proxy14.addDeployment(Unknown Source)

at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)

at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)

at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)

at $Proxy11.setTargets(Unknown Source)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)

at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)

at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)

at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)

at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)

at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1087)

at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)

at weblogic.j2ee.Application.addComponent(Application.java:174)

at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)

at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)

at $Proxy14.addDeployment(Unknown Source)

at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)

at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)

at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)

at $Proxy11.setTargets(Unknown Source)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)

at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)

at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)

at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)

at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)

at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Unable to deploy EJB: STTaskPrivilegeLinkEntity from Entities.jar:

java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:165)

at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:250)

at weblogic.ejb20.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:307)

at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:362)

at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)

at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)

at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)

at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)

at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)

at weblogic.j2ee.Application.addComponent(Application.java:174)

at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)

at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)

at $Proxy14.addDeployment(Unknown Source)

at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)

at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)

at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)

at $Proxy11.setTargets(Unknown Source)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)

at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)

at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)

at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)

at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)

at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

nested within:

weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:

[java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS]

at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:367)

at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)

at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)

at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)

at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)

at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)

at weblogic.j2ee.Application.addComponent(Application.java:174)

at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)

at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)

at $Proxy14.addDeployment(Unknown Source)

at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)

at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)

at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)

at $Proxy11.setTargets(Unknown Source)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)

at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)

at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)

at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)

at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)

at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

nested within:

weblogic.management.DistributedOperationUpdateException:

Unable to deploy EJB: STTaskPrivilegeLinkEntity from Entities.jar:

java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:165)

at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

at java.lang.ClassLoader.loadClass(ClassLoader.java:250)

at weblogic.ejb20.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:307)

at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:362)

at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)

at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)

at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)

at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)

at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)

at weblogic.j2ee.Application.addComponent(Application.java:174)

at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)

at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)

at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)

at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)

at $Proxy14.addDeployment(Unknown Source)

at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1545)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:908)

at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)

at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:310)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)

at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)

at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)

at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)

at $Proxy11.setTargets(Unknown Source)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84)

at weblogic.management.console.info.MBeanReferenceAttribute.addToArrayAttribute(MBeanReferenceAttribute.java:254)

at weblogic.management.console.info.MBeanReferenceAttribute.doSet(MBeanReferenceAttribute.java:124)

at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)

at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)

at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)

at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)

at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)

at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

nested within:

weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:

[java.lang.ClassNotFoundException: Class bytes found but defineClass() failed with java.lang.ClassFormatError: com/c4/stellar/server/ejbs/entities/STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS (Illegal Method name "Exception in 'findBySTTaskEntity_3v8zjr__WebLogic_CMP_RDBMS_taskPrivilegeLinkEntity__WL_' while usi") for com.c4.stellar.server.ejbs.entities.STTaskPrivilegeLinkEntity_apfxaw__WebLogic_CMP_RDBMS]

at weblogic.ejb20.deployer.EntityBeanInfoImpl.getGeneratedBeanClass(EntityBeanInfoImpl.java:367)

at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:114)

at weblogic.ejb20.manager.DBManager.setup(DBManager.java:123)

at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfoImpl.java:817)

at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1299)

at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1005)

at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)

at weblogic.j2ee.Application.addComponent(Application.java:174)

at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)

at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)

at weblogic.management.internal.DynamicMBeanImpl

[34692 byte] By [Sagnik_Ghosha] at [2007-10-2 5:57:26]
# 1

> So, 390 seems to be the number but, contrary to BEA

> problem ID: 035884 which delegates the problem to SUN

> Bug ID:4390238 (Incidentally SUN has closed this bug

> as Non-reproducable), we are not getting any

> OutOfMemory error.

Did you check the server logs? There might be an OutOfMemoryError logged.

> My questions to the JAVA community are:

> 1)Is the problem really related to JDK or Weblogic?

Apparently, the problem is with the Weblogic. Did you try deploying the same number on some higher version of Weblogic? (7.0 for instance)

> 2)If it's a problem with JDK, then what should be

> done to fix it?

Check the bug database for the same bug id. There is a workaround posted. The evaluation comments are also hinting at using the suggested VM options.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4390238

annie79a at 2007-7-16 2:06:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

I have tried all the suggested workarounds. But nothing seems to work. There's no out-of-memory error anywhere displayed.

Upgrading the Weblogic server version cannot happen without proper planning, as this is a production system.

Is there any way out to solve the problem?

Even BEA cannot guarantee that this is solved in higher version!!!!

Hey SUN!!!!.... Can you please confirm whether this is JDK problem or a Weblogic Problem?

BEA says its SUN problem....and SUN says nothing!!!!!!!

The J2EE application (developed depending upon you 2) is suffering as a result of it!!!!!

It's a production environment...Can Sun please guarantee that it's not it's problem?

Thanks in Advance

Sagnik_Ghosha at 2007-7-16 2:06:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

> Upgrading the Weblogic server version cannot happen

> without proper planning, as this is a production

> system.

I agree. But you might need to do that in the worst case.

> Is there any way out to solve the problem?

>

> Even BEA cannot guarantee that this is solved in

> higher version!!!!

You could deploy all those EJBs on a higher version in some test environment and check.

> Hey SUN!!!!.... Can you please confirm whether this

> is JDK problem or a Weblogic Problem?

>

> BEA says its SUN problem....and SUN says

> nothing!!!!!!!

> The J2EE application (developed depending upon you 2)

> is suffering as a result of it!!!!!

> It's a production environment...Can Sun please

> guarantee that it's not it's problem?

Best of luck.

annie79a at 2007-7-16 2:06:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4
> Is there any way out to solve the problem?Yes ! There is a limit of number of EJB's that you can deploy in a single JAR. Create a new JAR and put new EJB's there.In that way I have deployed hundreds of EJB's on WL 6.
Maris_Orbidansa at 2007-7-16 2:06:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
Gosh! I didn't think about this possibility.@OP: Are you packaging all EJBs in a single JAR?
annie79a at 2007-7-16 2:06:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
> In that way I have deployed hundreds of EJB's on WL> 6. It sounds normal if you would not be so bold about it, my friend. ;-)
xHackera at 2007-7-16 2:06:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...