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 /authentic ation/api/ EJSRemoteS tatelessEx ternalAuth entication Home_b84d4 796 (Truncated class file)
at java.lang.ClassLoader.defi neClass0(N ative Method)
at java.lang.ClassLoader.defi neClass(Cl assLoader. java(Compi led Code))
at java.lang.ClassLoader.defi neClass(Cl assLoader. java:700)
at com.ibm.tools.rmic.iiop.Di rectoryLoa der.loadCl ass(Direct oryLoader. java:119)
at com.ibm.tools.rmic.iiop.Co mpoundType .loadClass (CompoundT ype.java:3 45)
at com.ibm.tools.rmic.iiop.Ty pe.initCla ss(Type.ja va:1002)
at com.ibm.tools.rmic.iiop.Ty pe.setRepo sitoryID(T ype.java:1 019)
at com.ibm.tools.rmic.iiop.Co mpoundType .initializ e(Compound Type.java: 753)
at com.ibm.tools.rmic.iiop.Im plementati onType.ini tialize(Im plementati onType.jav a:196)
at com.ibm.tools.rmic.iiop.Im plementati onType.for Implementa tion(Imple mentationT ype.java:9 1)
at com.ibm.tools.rmic.iiop.St ubGenerato r.getTopTy pe(StubGen erator.jav a:155)
at com.ibm.tools.rmic.iiop.Ge nerator.ge nerate(Gen erator.jav a:281)
at sun.rmi.rmic.Main.doCompil e(Main.jav a:554)
at sun.rmi.rmic.Main.compile( Main.java: 149)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:85 )
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:58 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:60)
at java.lang.reflect.Method.i nvoke(Meth od.java:39 1)
at com.ibm.etools.rmic.RMICCl assLoader. runCompile (RMICClass Loader.jav a:295)
at com.ibm.etools.rmic.RMICOp eration.in vokeRMICIn JVM(RMICOp eration.ja va:682)
at com.ibm.etools.rmic.RMICOp eration.rm ic(RMICOpe ration.jav a:774)
at com.ibm.etools.rmic.RMICOp eration.ge nerateStub s(RMICOper ation.java :279)
at com.ibm.etools.rmic.RMICOp eration.ru n(RMICOper ation.java :848)
at com.ibm.etools.rmic.RMICOp eration.do it(RMICOpe ration.jav a:146)
at com.ibm.etools.ejbdeploy.b atch.plugi n.BatchExt ension.inv okeRMIC(Ba tchExtensi on.java:19 79)
at com.ibm.etools.ejbdeploy.b atch.plugi n.BatchExt ension.int ernalJarPr ocess(Batc hExtension .java:982)
at com.ibm.etools.ejbdeploy.b atch.plugi n.BatchExt ension.run EarDeploy( BatchExten sion.java: 404)
at com.ibm.etools.ejbdeploy.b atch.plugi n.BatchExt ension.acc ess$0(Batc hExtension .java:305)
at com.ibm.etools.ejbdeploy.b atch.plugi n.BatchExt ension$Run Deploy.run (BatchExte nsion.java :288)
at org.eclipse.core.internal. resources. Workspace. run(Worksp ace.java:1 673)
at org.eclipse.core.internal. resources. Workspace. run(Worksp ace.java:1 693)
at com.ibm.etools.ejbdeploy.b atch.plugi n.BatchExt ension$Run Deploy.exe cute(Batch Extension. java:272)
at com.ibm.etools.ejbdeploy.b atch.plugi n.BatchExt ension.run (BatchExte nsion.java :235)
at org.eclipse.core.internal. runtime.Pl atformActi vator$1.ru n(Platform Activator. java:335)
at org.eclipse.core.runtime.a daptor.Ecl ipseStarte r.run(Ecli pseStarter .java:273)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:85 )
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:58 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:60)
at java.lang.reflect.Method.i nvoke(Meth od.java:39 1)
at com.ibm.etools.ejbdeploy.b atch.impl. BootLoader Loader.run (BootLoade rLoader.ja va:390)
at com.ibm.etools.ejbdeploy.b atch.impl. BatchDeplo y.execute( BatchDeplo y.java:144 )
at com.ibm.etools.ejbdeploy.E JBDeploy.e xecute(EJB Deploy.jav a:83)
at com.ibm.etools.ejbdeploy.E JBDeploy.m ain(EJBDep loy.java:3 12)
The error happens only on our building machine, if I build it under my local development machine, it works.
Any ideas ?
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
!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
at java.lang.ClassLoader.defi
at java.lang.ClassLoader.defi
at java.lang.ClassLoader.defi
at com.ibm.tools.rmic.iiop.Di
at com.ibm.tools.rmic.iiop.Co
at com.ibm.tools.rmic.iiop.Ty
at com.ibm.tools.rmic.iiop.Ty
at com.ibm.tools.rmic.iiop.Co
at com.ibm.tools.rmic.iiop.Im
at com.ibm.tools.rmic.iiop.Im
at com.ibm.tools.rmic.iiop.St
at com.ibm.tools.rmic.iiop.Ge
at sun.rmi.rmic.Main.doCompil
at sun.rmi.rmic.Main.compile(
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at com.ibm.etools.rmic.RMICCl
at com.ibm.etools.rmic.RMICOp
at com.ibm.etools.rmic.RMICOp
at com.ibm.etools.rmic.RMICOp
at com.ibm.etools.rmic.RMICOp
at com.ibm.etools.rmic.RMICOp
at com.ibm.etools.ejbdeploy.b
at com.ibm.etools.ejbdeploy.b
at com.ibm.etools.ejbdeploy.b
at com.ibm.etools.ejbdeploy.b
at com.ibm.etools.ejbdeploy.b
at org.eclipse.core.internal.
at org.eclipse.core.internal.
at com.ibm.etools.ejbdeploy.b
at com.ibm.etools.ejbdeploy.b
at org.eclipse.core.internal.
at org.eclipse.core.runtime.a
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at com.ibm.etools.ejbdeploy.b
at com.ibm.etools.ejbdeploy.b
at com.ibm.etools.ejbdeploy.E
at com.ibm.etools.ejbdeploy.E
The error happens only on our building machine, if I build it under my local development machine, it works.
Any ideas ?
ASKER
Hi,
We are using Sun JDK, I'll check the version
We are using Sun JDK, I'll check the version
ASKER
I see that I specified the IBM JDK 1.4.2 was used.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
It could be the issue with JDK that you are using or IBM JDK.
R.K