Forums Register Login

Error generating client jar using weblogic 8.1

+Pie Number of slices to send: Send
With weblogic 8.1 and jdk 1.4, I'm trying to generate the client jar using

java weblogic.ejbc -basicClientJar application_ejbs.jar application_ejbsClient.jar

The following error is thrown:
Exception in thread "main" java.lang.SecurityException: Prohibited package name:
java.util.logging
at java.lang.ClassLoader.defineClass(ClassLoader.java:474)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at weblogic.ejbc20.<init>(ejbc20.java:82)
at weblogic.ejbc.main(ejbc.java:29)

One forum mentioned removing rt.jar from the classpath.
But if rt.jar is removed from the classpath then the following error is thrown:

Exception in thread "main" java.lang.NoClassDefFoundError: java/util/logging/Handler
at weblogic.ejbc20.<init>(ejbc20.java:82)
at weblogic.ejbc.main(ejbc.java:29)


Is there any other way of including rt.jar or of resolving the first error?
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 824 times.
Similar Threads
error in weblogic.ejbc
How to resolve this Error for Ejb deployment
Unable to create deployable jar file
error in weblogic.ejbc
java.lang.NoClassDefFoundError: SessionBean
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 19:27:32.