Link to home
Create AccountLog in
Avatar of Edy1988
Edy1988

asked on

Error with RMIC tool

When I run ejbDeployTool it runs the RMIC tool as subtask.

The RMIC Tool returns with the bellow exception :

 

NOTE: that:

·         the ejbDeployTool runs under the IBM java 1.4.2

·         the O.S windows XP

 

 

 

!ENTRY org.eclipse.core.runtime Mar 23, 2006 10:12:57.859

!MESSAGE Product org.eclipse.platform.ide could not be found.

 

!ENTRY org.eclipse.core.resources 1 1 Mar 23, 2006 10:13:06.812

!MESSAGE Could not load library: core_2_1_0b.dll.  This library provides platform-specific optimizations for certain file system operations.  This library is not present on all platforms, so this may not be an error.  The resources plug-in will safely fall back to using java.io.File functionality.

 

!ENTRY com.ibm.etools.ejbdeploy 4 0 Mar 23, 2006 10:14:24.61

!MESSAGE java.lang.ClassFormatError: com/bmc/idm/suite/conf/ejb/authentication/api/EJSRemoteStatelessExternalAuthenticationHome_b84d4796 (Truncated class file)

            at java.lang.ClassLoader.defineClass0(Native Method)

            at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))

            at java.lang.ClassLoader.defineClass(ClassLoader.java:700)

            at com.ibm.tools.rmic.iiop.DirectoryLoader.loadClass(DirectoryLoader.java:119)

            at com.ibm.tools.rmic.iiop.CompoundType.loadClass(CompoundType.java:345)

            at com.ibm.tools.rmic.iiop.Type.initClass(Type.java:1002)

            at com.ibm.tools.rmic.iiop.Type.setRepositoryID(Type.java:1019)

            at com.ibm.tools.rmic.iiop.CompoundType.initialize(CompoundType.java:753)

            at com.ibm.tools.rmic.iiop.ImplementationType.initialize(ImplementationType.java:196)

            at com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(ImplementationType.java:91)

            at com.ibm.tools.rmic.iiop.StubGenerator.getTopType(StubGenerator.java:155)

            at com.ibm.tools.rmic.iiop.Generator.generate(Generator.java:281)

            at sun.rmi.rmic.Main.doCompile(Main.java:554)

            at sun.rmi.rmic.Main.compile(Main.java:149)

            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:60)

            at java.lang.reflect.Method.invoke(Method.java:391)

            at com.ibm.etools.rmic.RMICClassLoader.runCompile(RMICClassLoader.java:295)

            at com.ibm.etools.rmic.RMICOperation.invokeRMICInJVM(RMICOperation.java:682)

            at com.ibm.etools.rmic.RMICOperation.rmic(RMICOperation.java:774)

            at com.ibm.etools.rmic.RMICOperation.generateStubs(RMICOperation.java:279)

            at com.ibm.etools.rmic.RMICOperation.run(RMICOperation.java:848)

            at com.ibm.etools.rmic.RMICOperation.doit(RMICOperation.java:146)

            at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeRMIC(BatchExtension.java:1979)

            at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.internalJarProcess(BatchExtension.java:982)

            at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runEarDeploy(BatchExtension.java:404)

            at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$0(BatchExtension.java:305)

            at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:288)

            at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)

            at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)

            at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:272)

            at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:235)

            at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)

            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)

            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:60)

            at java.lang.reflect.Method.invoke(Method.java:391)

            at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:390)

            at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:144)

            at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:83)

            at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:312)


The error happens only on our building machine, if I build it under my local development machine, it works.

Any ideas ?
Avatar of rama_krishna580
rama_krishna580
Flag of United States of America image

Hi,

It could be the issue with JDK that you are using or IBM JDK.

R.K
Avatar of Edy1988
Edy1988

ASKER

Hi,
We are using Sun JDK, I'll check the version
Avatar of Edy1988

ASKER

I see that I specified the IBM JDK 1.4.2 was used.

ASKER CERTIFIED SOLUTION
Avatar of rama_krishna580
rama_krishna580
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer