We help IT Professionals succeed at work.

Error with RMIC tool

Edy1988
Edy1988 asked
on
Medium Priority
683 Views
Last Modified: 2013-12-10
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 ?
Comment
Watch Question

Hi,

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

R.K

Author

Commented:
Hi,
We are using Sun JDK, I'll check the version

Author

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

Hi,

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

R.K

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.