This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes error while deploying EJB using weblogic.ejbc  (.SecurityException) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "error while deploying EJB using weblogic.ejbc  (.SecurityException)" Watch "error while deploying EJB using weblogic.ejbc  (.SecurityException)" New topic
Author

error while deploying EJB using weblogic.ejbc (.SecurityException)

AnujTroyGupta Gupta
Greenhorn

Joined: Nov 24, 2004
Posts: 2
hii i am trying to deploy my frist hello bean using weblogic8.1
i am getting following exception
C:\bea\weblogic81\samples\domains\workshop\applications>java weblogic.ejbc HelloWorld.jar new.jar

Exception in thread "main" java.lang.SecurityException: Prohibited package name: java.util.logging
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at weblogic.ejbc20.<init>(ejbc20.java:82)
at weblogic.ejbc.main(ejbc.java:29)
can someone please help me with this
regards
anuj
Scott Dunbar
Ranch Hand

Joined: Sep 23, 2004
Posts: 245
It sounds like you defined a class with a package name of "java.util.logging". Any package name starting with "java" is reserved.


<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi AnujTroyGupta Gupta,

looks like you're crossposting. Sheriff's around don't like it. It make users loose precious time....
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
This is the link where you have crossposted...

http://www.coderanch.com/t/315312/EJB-JEE/java/deploying-helloworld-EJB-weblogic-error




please avoid it....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error while deploying EJB using weblogic.ejbc (.SecurityException)
 
Similar Threads
deploying helloworld EJB in weblogic 8.1 error in weblogic.ejbc
Problems with axis and tomcat4.0
How to resolve this Error for Ejb deployment
Error While running Java Program
Run class file error