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 ?
Edy1988Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rama_krishna580Commented:
Hi,

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

R.K
0
Edy1988Author Commented:
Hi,
We are using Sun JDK, I'll check the version
0
Edy1988Author Commented:
I see that I specified the IBM JDK 1.4.2 was used.

0
rama_krishna580Commented:
Hi,

In WSAD development for WebSphere use IBM JDK 1.4.2 instead of Sun JDK. That will solve the issue.

R.K
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.