Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCMJD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Developer Certification (OCMJD)
IOP00110227 - Problem in rmic
Jaro Simak
Greenhorn
Posts: 26
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I upgraded to
java
1.6 and I got the following stack trace wenn calling rmic (via
ant
).
The build is successful, anyway.
Do I something wrong?
Greetings
Jaro
fileset: Setup scanner in dir C:\project\scjd\prj\code\classes with patternSet{ includes: [**/Remote*Impl.class] excludes: [] } [rmic] suncertify\rmi\RemoteDBSubcontractorImpl.class added as suncertify/rmi/RemoteDBSubcontractorImpl_Stub.class doesn't exist. [rmic] RMI Compiling 1 class to C:\project\scjd\prj\code\classes [rmic] Using SUN rmic compiler [rmic] Compilation arguments: [rmic] '-d' [rmic] 'C:\project\scjd\prj\code\classes' [rmic] '-classpath' [rmic] 'C:\project\scjd\prj\code\classes;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-antlr.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-bcel.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-bsf.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-log4j.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6. 5\lib\ant-apache-oro.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-regexp.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-resolver.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-commons-logging.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-commons-net.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-icontract.jar;C:\Programme\eclipse3.1\eclipse\plugins\or g.apache.ant_1.6.5\lib\ant-jai.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-javamail.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-jdepend.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-jmf.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-jsch.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-junit.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant -launcher.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-netrexx.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-nodeps.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-starteam.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-stylebook.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-swing.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-trax.jar;C:\ Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-vaj.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-weblogic.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-xalan1.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-xslp.jar;C:\Programme\eclipse3.1\eclipse\configuration\org.eclipse.osgi\bundles\8\1\.cp\lib\remoteAnt.jar;C:\Programme\Java\jdk1.6.0\lib\tools.jar;C:\Programme\eclipse3.1\eclipse\plugins\org.ecli pse.swt.win32.win32.x86_3.1.0.jar' [rmic] '-v1.2' [rmic] [rmic] The ' characters around the executable and arguments are [rmic] not part of the command. [rmic] File to be compiled: suncertify.rmi.RemoteDBSubcontractorImpl [rmic] 15.01.2007 23:20:07 com.sun.corba.se.spi.orb.ORB$2 run [rmic] FEIN: "IOP00110227: (BAD_PARAM) ORBDynamicStubFactoryFactoryClass property had value com.sun.corba.se.impl.presentation.rmi.bcel.StubFactoryFactoryBCELImpl, which could not be loaded by the ORB ClassLoader" [rmic] org.omg.CORBA.BAD_PARAM: vmcid: SUN minor code: 227 completed: No [rmic] at com.sun.corba.se.impl.logging.ORBUtilSystemException.errorInSettingDynamicStubFactoryFactory(Unknown Source) [rmic] at com.sun.corba.se.impl.logging.ORBUtilSystemException.errorInSettingDynamicStubFactoryFactory(Unknown Source) [rmic] at com.sun.corba.se.spi.orb.ORB$2.run(Unknown Source) [rmic] at java.security.AccessController.doPrivileged(Native Method) [rmic] at com.sun.corba.se.spi.orb.ORB.<clinit>(Unknown Source) [rmic] at com.sun.corba.se.impl.logging.UtilSystemException.get(Unknown Source) [rmic] at com.sun.corba.se.impl.util.Utility.<clinit>(Unknown Source) [rmic] at sun.rmi.rmic.RMIGenerator.sourceFileForClass(RMIGenerator.java:196) [rmic] at sun.rmi.rmic.RMIGenerator.<init>(RMIGenerator.java:277) [rmic] at sun.rmi.rmic.RMIGenerator.generate(RMIGenerator.java:115) [rmic] at sun.rmi.rmic.Main.doCompile(Main.java:546) [rmic] at sun.rmi.rmic.Main.compile(Main.java:148) [rmic] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rmic] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rmic] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rmic] at java.lang.reflect.Method.invoke(Unknown Source) [rmic] at org.apache.tools.ant.taskdefs.rmic.SunRmic.execute(SunRmic.java:53) [rmic] at org.apache.tools.ant.taskdefs.Rmic.execute(Rmic.java:529) [rmic] at org.apache.tools.ant.Task.perform(Task.java:364) [rmic] at org.apache.tools.ant.Target.execute(Target.java:341) [rmic] at org.apache.tools.ant.Target.performTasks(Target.java:369) [rmic] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [rmic] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [rmic] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [rmic] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [rmic] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [rmic] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) [rmic] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) [rmic] Caused by: java.lang.ClassNotFoundException: com.sun.corba.se.impl.presentation.rmi.bcel.StubFactoryFactoryBCELImpl [rmic] at java.net.URLClassLoader$1.run(Unknown Source) [rmic] at java.security.AccessController.doPrivileged(Native Method) [rmic] at java.net.URLClassLoader.findClass(Unknown Source) [rmic] at java.lang.ClassLoader.loadClass(Unknown Source) [rmic] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) [rmic] at java.lang.ClassLoader.loadClass(Unknown Source) [rmic] at com.sun.corba.se.impl.orbutil.ORBClassLoader.loadClass(Unknown Source) [rmic] ... 26 more
Mark Smyth
Ranch Hand
Posts: 288
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
No sure what the problem is but I was able to use ant with Java 6 no problem. Here is my ant task maybe it will be of some help?
<target name="rmic" depends="compile"> <!-- run rmic to generate server stub --> <rmic classname="suncertify.remote.RemoteCSRServer" base="${classes}"/> </target>
Mark
SCJP<br />SCJD
Mark Smyth
Ranch Hand
Posts: 288
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
No sure what the problem is but I was able to use ant with Java 6 no problem. Here is my ant task maybe it will be of some help?
<target name="rmic" depends="compile"> <!-- run rmic to generate server stub --> <rmic classname="suncertify.remote.RemoteCSRServer" base="${classes}"/> </target>
Mark
SCJP<br />SCJD
Beauty is in the eye of the tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Ant 1.7 compilation problem with Java 5 Features
weblogic92 ant1.6.5 error
Ant build in Beginning Hibernate
EJB 2.0 and Xdcolet problems!
rmic problem - IOP00110227
More...