EJB deployment fails due to error generating RMI code
After you install Rational Application Developer version 7.5.5.5 and WebSphere Application Server version 7.0.0.25, you attempt to install WebSphere Commerce Developer. The installation fails with an EJB deployment error.
Problem
You receive an error similar to the following example:BUILD FAILED C:\IBM\WCDE_P~1\setup\setup.xml:72: com.ibm.etools.ejbdeploy.RMICExecutionError: Error generating RMI code: RMIC command failed on project: WebSphereCommerceServerExtensionsData with message: error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi). java.lang.NoSuchMethodError: com/ibm/CORBA/ras/Trc.isLoggable(J)Z at com.ibm.rmi.io.ObjectStreamClass.init0(ObjectStreamClass.java:1017) at com.ibm.rmi.io.ObjectStreamClass.init(ObjectStreamClass.java:745) at com.ibm.rmi.io.ObjectStreamClass.access$100(ObjectStreamClass.java:119) at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache.get(ObjectStreamClass.java:227) at com.ibm.rmi.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:498) at com.ibm.rmi.io.ObjectStreamClass.access$000(ObjectStreamClass.java:119) at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache.get(ObjectStreamClass.java:220) at com.ibm.rmi.io.ObjectStreamClass.lookup(ObjectStreamClass.java:467) at com.ibm.rmi.io.ObjectStreamClass.lookup(ObjectStreamClass.java:475) at com.ibm.rmi.util.RepositoryId.createHashString(RepositoryId.java:751) at com.ibm.rmi.util.RepositoryId.createHashString(RepositoryId.java:740) at com.ibm.rmi.util.RepositoryId.BUILD FAILED C:\IBM\WCDE_P~1\setup\setup.xml:72: com.ibm.etools.ejbdeploy.RMICExecutionError: Error generating RMI code: RMIC command failed on project: WebSphereCommerceServerExtensionsData with message: error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi). java.lang.NoSuchMethodError: com/ibm/CORBA/ras/Trc.isLoggable(J)Z at com.ibm.rmi.io.ObjectStreamClass.init0(ObjectStreamClass.java:1017) at com.ibm.rmi.io.ObjectStreamClass.init(ObjectStreamClass.java:745) at com.ibm.rmi.io.ObjectStreamClass.access$100(ObjectStreamClass.java:119) at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache.get(ObjectStreamClass.java:227) at com.ibm.rmi.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:498) at com.ibm.rmi.io.ObjectStreamClass.access$000(ObjectStreamClass.java:119) at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache.get(ObjectStreamClass.java:220) at com.ibm.rmi.io.ObjectStreamClass.lookup(ObjectStreamClass.java:467) at com.ibm.rmi.io.ObjectStreamClass.lookup(ObjectStreamClass.java:475) at com.ibm.rmi.util.RepositoryId.createHashString(RepositoryId.java:751) at com.ibm.rmi.util.RepositoryId.createHashString(RepositoryId.java:740) at com.ibm.rmi.util.RepositoryId.<clinit>(RepositoryId.java:256) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at com.ibm.tools.rmic.iiop.Type.setRepositoryID(Type.java:1031) at com.ibm.tools.rmic.iiop.CompoundType.initialize(CompoundType.java:762) at com.ibm.tools.rmic.iiop.SpecialClassType.<init>(SpecialClassType.java:168) at com.ibm.tools.rmic.iiop.SpecialClassType.forSpecial(SpecialClassType.java:94) at com.ibm.tools.rmic.iiop.CompoundType.makeType(CompoundType.java:878) at com.ibm.tools.rmic.iiop.ClassType.initParents(ClassType.java:197) at com.ibm.tools.rmic.iiop.NCClassType.initialize(NCClassType.java:124) at com.ibm.tools.rmic.iiop.NCClassType.forNCClass(NCClassType.java:83) at com.ibm.tools.rmic.iiop.CompoundType.makeType(CompoundType.java:916) at com.ibm.tools.rmic.iiop.ClassType.initParents(ClassType.java:197) at com.ibm.tools.rmic.iiop.ImplementationType.initialize(ImplementationType.java:156) at com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(ImplementationType.java:92) at com.ibm.tools.rmic.iiop.CompoundType.makeType(CompoundType.java:892) at com.ibm.tools.rmic.iiop.ClassType.initParents(ClassType.java:197) at com.ibm.tools.rmic.iiop.ImplementationType.initialize(ImplementationType.java:156) at com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(ImplementationType.java:92) at com.ibm.tools.rmic.iiop.CompoundType.makeType(CompoundType.java:892) at com.ibm.tools.rmic.iiop.ClassType.initParents(ClassType.java:197) at com.ibm.tools.rmic.iiop.ImplementationType.initialize(ImplementationType.java:156) at com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(ImplementationType.java:92) at com.ibm.tools.rmic.iiop.StubGenerator.getTopType(StubGenerator.java:151) at com.ibm.tools.rmic.iiop.Generator.generate(Generator.java:285) at sun.rmi.rmic.Main.doCompile(Main.java:559) at sun.rmi.rmic.Main.compile(Main.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.etools.rmic.RMICClassLoader.runCompile(RMICClassLoader.java:339) at com.ibm.etools.rmic.RMICOperation.invokeRMICInJVM(RMICOperation.java:897) at com.ibm.etools.rmic.RMICOperation.rmic(RMICOperation.java:1061) at com.ibm.etools.rmic.RMICOperation.generateStubs(RMICOperation.java:338) at com.ibm.etools.rmic.RMICOperation.run(RMICOperation.java:1172) at com.ibm.etools.ejbdeploy.batch.plugin.HeadlessDeployOperation.invokeRMIC(HeadlessDeployOperation.java:328) at com.ibm.etools.ejbdeploy.batch.plugin.HeadlessDeployOperation.internalJarProcess(HeadlessDeployOperation.java:269) at com.ibm.etools.ejbdeploy.batch.plugin.HeadlessDeployOperation.execute(HeadlessDeployOperation.java:87) at com.ibm.etools.common.frameworks.internal.datamodel.WTPOperation.doRun(WTPOperation.java:335) at com.ibm.etools.common.frameworks.internal.datamodel.WTPOperation$1.run(WTPOperation.java:251) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782) at com.ibm.etools.common.frameworks.internal.datamodel.WTPOperation.run(WTPOperation.java:268) at com.ibm.etools.ejb.ant.EJBDeploy.execute(EJBDeploy.java:121) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:663) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:535) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513) at com.ibm.ant.extras.RunAnt.run(RunAnt.java:45) at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) 1 error Further details have been recorded in the .log file in C:\IBM\WCDE_PRO70\workspace\.metadata.