[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Error with RMIC tool

Posted on 2006-03-27
6
Medium Priority
?
599 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 ?
0
Comment
Question by:Edy1988
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 16343763
Hi,

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

R.K
0
 

Author Comment

by:Edy1988
ID: 16347632
Hi,
We are using Sun JDK, I'll check the version
0
 

Author Comment

by:Edy1988
ID: 16347639
I see that I specified the IBM JDK 1.4.2 was used.

0
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 1400 total points
ID: 16502258
Hi,

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

R.K
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question