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 PLEASe thanks a lot regards anuj
Even I'm getting the same problem while using ejbc with weblogic 8.1. However I'm sure that I'm not using ne package name as java.util.logging and also no I/O operations are there in my Code. Plz suggest.
If you only intend to deploy your application then you don�t need to run the ejbc compiler (which by the way was replaced by the appc). This is a useful test to check if your ejbs artifacts are properly packed, but it is not mandatory. You can deploy your ejbs without pre-compiling them. Simple java compilation should be enough for now. At this time you probably need to open the wl admin console and deploy your application from there.
This looks like a java security issue. Somehow your security policies restrict that package from running. Check the java.home/lib/security/java.policy and the user.home/.java.policy files maybe it gives you some clue. Regards.