Java.security.AccessControlException when executing java from the DB

Hello
I'm running a Oracle 10.1.0.3.0 on Linux
I'm having trouble with executing some java code from the DB.
I created following java stored procedure used to create the directory given by the parameter
package be.vlaamsparlement.dis.os_commands;
import java.io.*;
import java.lang.*;
import java.sql.*;
import java.util.*;
public class ManageOSDirectory {
public static String createDir(String directoryName) throws Exception
if ((new File(directoryName)).mkdirs())
{ return ("TRUE");}
else
{ return ("FALSE");}
Wrapped it in a pl/sql procedure an execute it as follows under DB schema DIS :
begin
declare
b boolean;
begin
b := pck$os_commands.CreateDir('/data/files/vp_docs/schv/2004-2005/jan/1/');
end;
end;
Where /data/files/vp_docs/schv/ already exist, so the proc needs to create the direcories '2004-2005', 'jan' and '1'
this gives me following error :
ORA-29532: Java call terminated by uncaught Java exception: java.security.AccessControlException:
the Permission (java.io.FilePermission /data/files/vp_docs/schv/2004-2005/month/1 write) has not been granted to DIS.
The PL/SQL to grant this is dbms_java.grant_permission( 'DIS', 'SYS:java.io.FilePermission', '/data/files/vp_docs/schv/2004-2005/jan/1', 'write' )
I can't give this permission as the given directory does not yet exist. File permissions on os are ok and when i execute
the code on the os (not from the DB) it works fine.
This also worked on a Windows 10G DB without any extra grants.
Also, i can execute the followint
b := pck$os_commands.CreateDir('/data/files/vp_docs/schv/2004-2005/');
but if i then execute
b := pck$os_commands.CreateDir('/data/files/vp_docs/schv/2004-2005/jan/');
I get the same error. So i can only creaet 1 directory beneath the schv directory
Any ideas anyone ?

The Error message is right.
You need to:
Ensure the Directory exist in Unix.
Create the Directory in the Database as SYS.
Grant Read,Write permission on th DIrectory to DIS
Grant Java permission on th DIrectory to DIS (using the syntax already shown in the Error message).
See my example below (10g R1)
SQL> connect /as sysdba
Connected.
SQL> GRANT CONNECT,RESOURCE TO DIS IDENTIFIED BY DIS;
Grant succeeded.
SQL> create or replace directory DIS_DOWNLOAD_DIR as '/data/files/vp_docs/schv/2004-2005/month/1';
Directory created.
SQL> col DIRECTORY_PATH format a50
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS DIS_DOWNLOAD_DIR /data/files/vp_docs/schv/2004-2005/month/1
1 row selected.
SQL> GRANT READ,WRITE ON DIRECTORY "SYS"."DIS_DOWNLOAD_DIR" TO "DIS";
Grant succeeded.
SQL> EXECUTE DBMS_JAVA.GRANT_PERMISSION( 'DIS', 'SYS:java.io.FilePermission', '/data/files/vp_docs/schv/2004-2005/jan/1', 'write' )
2 /
PL/SQL procedure successfully completed.
SQL>

Similar Messages

  • Java.security.AccessControlException when calling web service from applet

    I have an applet that calls a webservce (Xmethods' delayed stock quote service). When I run the applet in appletviewer, I get the following:
    [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.security.AccessControlException: access denied (java.net.SocketPermission 66.28.98.121:9090 connect,resolve); targetException=java.lang.IllegalArgumentException:
    Error opening socket: java.security.AccessControlException:
    access denied
    etc.....
    My code works fine as an application, but not as an applet. (This was after I eventually had to extract the necessary SOAP .jar files into the same directory as my applet, but that's another topic...or maybe not?)
    Help!
    Regards,
    John Kirksey                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    The default security settings does not give an applet to connect to any other server apart from the one from which it was downloaded. This is your problem. To mitigate that you have to change the security setting of the applet conatiner i.e the JVM in the browser.
    Ironluca

  • Java.security.AccessControlException while trying to run the server app

    ok, pretty new with java and rmi, so I wanted to run the application from the sun rmi tutorial
    http://java.sun.com/docs/books/tutorial/rmi/TOC.html.
    It all builds ok, i run the rmiregistry ,but when i try to run the server i get :
    java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.security.AccessController.checkPermission(AccessController.java:546)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
         at java.net.Socket.connect(Socket.java:513)
         at java.net.Socket.connect(Socket.java:469)
         at java.net.Socket.<init>(Socket.java:366)
         at java.net.Socket.<init>(Socket.java:180)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
         at engine.ComputeEngine.main(ComputeEngine.java:30)
    what i noticed is that this output is similar to not running rmiregistry at all, so i guess the problem is with the way i'm running rmiregistry
    thx in advance

    You're running the server with a SecurityManager. There's no need to do that at first. Get rid of it. When you have it working, write yourself a .policy file that grants that permission, and any others you discover it needs, and name that as your security policy file, e.g.
    java -Djava.security.policy=my.policy -Djava.security.manager mypackage.MyServer ...

  • Re: java.security.AccessControlException: access denied (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling read)

    This looks like it might be a bug in 6.1SP5,
              weblogic/kernel/Kernel.java at line 85.
              It's trying to do the right thing to ignore an exception if in
              an applet but it's ignoring the wrong exception
              (SecurityException, when it looks like the stack
              trace is throwing a java.security.AccessControlException).
              If you need a fix, this would need to go through support
              and be filed as a problem with WLS Core.
              "Ram Gopal" <[email protected]> wrote in message
              news:[email protected]...
              >
              > We are in the process of migrating from Weblogic 6.1 SP2 to SP5. We have
              an applet
              > that subscribes to a JMS Topic.
              > The applet is throwing the following exception with SP5:
              >
              > java.lang.ExceptionInInitializerError:
              java.security.AccessControlException: access
              > denied (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling
              read)
              >
              > at java.security.AccessControlContext.checkPermission(Unknown Source)
              >
              > at java.security.AccessController.checkPermission(Unknown Source)
              >
              > at java.lang.SecurityManager.checkPermission(Unknown Source)
              >
              > at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
              >
              > at java.lang.System.getProperty(Unknown Source)
              >
              > at weblogic.kernel.Kernel.initAllowThrottleProp(Kernel.java:79)
              >
              > at weblogic.kernel.Kernel.<clinit>(Kernel.java:54)
              >
              > at
              weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactory
              Delegate.java:166)
              >
              > at java.lang.Class.newInstance0(Native Method)
              >
              > at java.lang.Class.newInstance(Unknown Source)
              >
              > at
              weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
              ory.java:147)
              >
              > at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
              >
              > at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
              >
              > at javax.naming.InitialContext.init(Unknown Source)
              >
              > at javax.naming.InitialContext.<init>(Unknown Source)
              >
              > at
              com.fedex.efm.frontend.model.JMSMessageProcessor.<init>(JMSMessageProcessor.
              java:266)
              >
              > at
              com.fedex.efm.frontend.view.EFMAbstractApplet.startMessageProcessor(EFMAbstr
              actApplet.java:81)
              >
              > at
              com.fedex.efm.frontend.view.EFMAbstractApplet.start(EFMAbstractApplet.java:1
              87)
              >
              > at com.fedex.efm.frontend.view.EFMApplet.start(EFMApplet.java:430)
              >
              > at sun.applet.AppletPanel.run(Unknown Source)
              >
              > at java.lang.Thread.run(Unknown Source)
              >
              >
              > Any ideas as to what I am missing?
              >
              > Thanks,
              > Ram
              

    I suggest going through customer support, I don't know what
              the resolution was. You might also try the security newsgroup,
              as no JMS code has been called by the application yet at
              the point the exception is thrown.
              Tom
              lee wrote:
              > All:
              > We are upgrading weblogic 6.0 to weblogic 6.1 and encounted exactly the same error. Just wondering if you guys were able to fix the issue with bea.
              >
              > Your response is highly appreciated.
              >
              > Thanks!
              >
              > Li
              

  • Java.security.AccessControlException:access denied(java.lang.RuntimePermis)

    Hello,
    I am very near to complete my this task but every time i think this i find myself stuck in a new exception. Plz get me out of it.My problem is:
    I created a client/server chat applet for providing online support to our company site visitors. Both server and client are applet.I am using serversocket at server side and socket(getCodeBase()) at client side to establish the connection.
    The code compiled and run fine, without any exception or error when i run it on a standalone PC (althought PC is in LAN but i used that PC name to connect to itself).
    But when i uploaded the applet on my personal site (i don't know any other way to test it:- dont know how to use tomcat even yet.) it is throwing an exception:-
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)     
    at java.security.AccessControlContext.checkPermission(Unknown Source)     
    at java.security.AccessController.checkPermission(Unknown Source)     
    at java.lang.SecurityManager.checkPermission(Unknown Source)     
    at java.lang.SecurityManager.checkExit(Unknown Source)     
    at java.lang.Runtime.exit(Unknown Source)     
    at java.lang.System.exit(Unknown Source)     
    at Connect.run(ClientChat.java:229)     
    at java.lang.Thread.run(Unknown Source)
    I didnt made it jar or signed the applet which is not needed bcoz applet is trying to make connection to the site it is loaded from. I think i have to grant permission in the policy file and then complie it again. But i couldnt find which permission to grant. Plz pull me out of this problem, I dont want to drown on shore.
    Thanx in advance CHAO
    luv
    Manu

    at java.lang.Runtime.exit(Unknown Source)     
    at java.lang.System.exit(Unknown Source)     
    at Connect.run(ClientChat.java:229)     
    at java.lang.Thread.run(Unknown Source)You can't call System.exit() from an Applet - there might be other things running in the JVM that you would be killing. Stop that.
    Grant

  • Java.security.AccessControlException: access denied (java.util.PropertyPerm

    Hi All,
    I try to run an applet from Solaris 8 server on some client machine using IE5 and NetScape 6.2 ( I installed JRE 1.4, I also try other JRE versions) but I get the following errors again and agian,
    I even try to use appletviewer on the Solaris Box itself to open the applet but it makes no difference same errors
    could somebody please help or give me a hint how should I start tracing what the problem might be ?
    this applet comes with Solaris Bandwidth Manager as a gui administration tool ( webbased ) it supposed to change the configurations remotly over the web. I asure there is no solaris permission problem exist.
    I use Tomcat on the server side.Installed JDK 1.3 on Solaris 8 with all the default settings.
    i suppose something should be done with java.policy or java.security files i know nothing about java security please at least give me some URL's to find out more about this matter i searched a lot but couldn't find good documents about java default security restrictions
    java.lang.ExceptionInInitializerError
    at com.sun.ba.common.QConfiguration.loadPredefServices(QConfiguration.java:617)
    at com.sun.ba.common.QConfiguration.getPredefServices(QConfiguration.java:630)
    at com.sun.ba.tool.MainPanel.<init>(MainPanel.java:95)
    at com.sun.ba.tool.QoSFrame.<init>(QoSFrame.java:48)
    at com.sun.ba.tool.baApplet.init(baApplet.java:46)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission console read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at com.sun.ba.common.QDebug.<clinit>(QDebug.java:39)
    ... 7 more
    any help would be appriciated so much.
    thanks
    mehmad

    I dont know, but It may be that an Applet can only access the local machine. ie. If you run the applet on computer A and you want to edit the config on computer B, I do not believe you can. The applet can only talk to Computer A. You would have to:
    1) Run an application on computer A and the applet would tell the application what to change.
    2)Maybe sign the applet in a JAR File
    You will probably have to do #1.
    US101

  • Java.security.AccessControlException: access denied (java.util.PropertyPer

    Hi All,
    I try to run an applet from Solaris 8 server on some client machine using IE5 and NetScape 6.2 ( I installed JRE 1.4, I also try other JRE versions) but I get the following errors again and agian,
    I even try to use appletviewer on the Solaris Box itself to open the applet but it makes no difference same errors
    could somebody please help or give me a hint how should I start tracing what the problem might be ?
    this applet comes with Solaris Bandwidth Manager as a gui administration tool ( webbased ) it supposed to change the configurations remotly over the web. I asure there is no solaris permission problem exist.
    I use Tomcat on the server side.Installed JDK 1.3 on Solaris 8 with all the default settings.
    i suppose something should be done with java.policy or java.security files i know nothing about java security please at least give me some URL's to find out more about this matter i searched a lot but couldn't find good documents about java default security restrictions
    java.lang.ExceptionInInitializerError
         at com.sun.ba.common.QConfiguration.loadPredefServices(QConfiguration.java:617)
         at com.sun.ba.common.QConfiguration.getPredefServices(QConfiguration.java:630)
         at com.sun.ba.tool.MainPanel.<init>(MainPanel.java:95)
         at com.sun.ba.tool.QoSFrame.<init>(QoSFrame.java:48)
         at com.sun.ba.tool.baApplet.init(baApplet.java:46)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission console read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at com.sun.ba.common.QDebug.<clinit>(QDebug.java:39)
         ... 7 more
    any help would be appriciated so much.
    thanks
    mehmad

    Hi,
    Please make changes in the java.security files present in the jdk1.3/lib/jre/security/java.security.There you make the changes in the property which gives you the error.See if this helps..
    regards vickyk

  • Java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling read)

    We are in the process of migrating from Weblogic 6.1 SP2 to SP5. We have an applet
    that
    subscribes to a JMS Topic. The applet is throwing the following exception with
    SP5:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access
    denied
    (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at weblogic.kernel.Kernel.initAllowThrottleProp(Kernel.java:79)
    at weblogic.kernel.Kernel.<clinit>(Kernel.java:54)
    at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:166)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Unknown Source)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at com.fedex.efm.frontend.model.JMSMessageProcessor.<init>(JMSMessageProcessor.java:266)
    at com.fedex.efm.frontend.view.EFMAbstractApplet.startMessageProcessor(EFMAbstractApplet.java:81)
    at com.fedex.efm.frontend.view.EFMAbstractApplet.start(EFMAbstractApplet.java:187)
    at com.fedex.efm.frontend.view.EFMApplet.start(EFMApplet.java:430)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Any ideas as to what I am missing?
    Thanks,
    Ram

    Prasad,
    It's one thing not to have to modify the security policy on the server,
    but on a client and applets have even bigger restrictions this might
    very well be the only way since the default applet restrictions would
    not allow a lot of permissions granted by default for normal Java
    applications.
    Dejan
    Prasad Peddada wrote:
    Deyan D. Bektchiev wrote:
    Ram,
    You are missing a permission grant in your policy file and the
    SecurityManager doesn't allow the code to read that property.
    You have either configured a different security manager or have the
    wrong file in use.
    For applets this file might be in the user's home directory and named
    .java.policy
    you need to have the following line somethere in it:
    grant {
    permission java.util.PropertyPermission "*", "read,write";
    Which will allow any applet to read and write any JVM property.
    Look at Java permissions is you need more info:
    http://java.sun.com/j2se/1.3/docs/guide/security/permissions.html
    --dejan
    Ram Gopal wrote:
    We are in the process of migrating from Weblogic 6.1 SP2 to SP5. We
    have an applet
    that
    subscribes to a JMS Topic. The applet is throwing the following
    exception with
    SP5:
    java.lang.ExceptionInInitializerError:
    java.security.AccessControlException: access
    denied
    (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling
    read) at java.security.AccessControlContext.checkPermission(Unknown
    Source) at java.security.AccessController.checkPermission(Unknown
    Source) at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source) at
    java.lang.System.getProperty(Unknown Source) at
    weblogic.kernel.Kernel.initAllowThrottleProp(Kernel.java:79) at
    weblogic.kernel.Kernel.<clinit>(Kernel.java:54) at
    weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:166)
    at java.lang.Class.newInstance0(Native Method) at
    java.lang.Class.newInstance(Unknown Source) at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at
    javax.naming.InitialContext.init(Unknown Source) at
    javax.naming.InitialContext.<init>(Unknown Source) at
    com.fedex.efm.frontend.model.JMSMessageProcessor.<init>(JMSMessageProcessor.java:266)
    at
    com.fedex.efm.frontend.view.EFMAbstractApplet.startMessageProcessor(EFMAbstractApplet.java:81)
    at
    com.fedex.efm.frontend.view.EFMAbstractApplet.start(EFMAbstractApplet.java:187)
    at com.fedex.efm.frontend.view.EFMApplet.start(EFMApplet.java:430)
    at sun.applet.AppletPanel.run(Unknown Source) at
    java.lang.Thread.run(Unknown Source)
    Any ideas as to what I am missing?
    Thanks,
    Ram
    This is a WLS bug. You shouldn't have to modify security policy.
    Please approach support for a fix.
    Cheers,
    -- Prasad

  • Java.security.AccessControlException: access denied (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling read)

              We are in the process of migrating from Weblogic 6.1 SP2 to SP5. We have an applet
              that subscribes to a JMS Topic.
              The applet is throwing the following exception with SP5:
              java.lang.ExceptionInInitializerError: java.security.AccessControlException: access
              denied (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling read)
                   at java.security.AccessControlContext.checkPermission(Unknown Source)
                   at java.security.AccessController.checkPermission(Unknown Source)
                   at java.lang.SecurityManager.checkPermission(Unknown Source)
                   at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
                   at java.lang.System.getProperty(Unknown Source)
                   at weblogic.kernel.Kernel.initAllowThrottleProp(Kernel.java:79)
                   at weblogic.kernel.Kernel.<clinit>(Kernel.java:54)
                   at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:166)
                   at java.lang.Class.newInstance0(Native Method)
                   at java.lang.Class.newInstance(Unknown Source)
                   at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
                   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
                   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
                   at javax.naming.InitialContext.init(Unknown Source)
                   at javax.naming.InitialContext.<init>(Unknown Source)
                   at com.fedex.efm.frontend.model.JMSMessageProcessor.<init>(JMSMessageProcessor.java:266)
                   at com.fedex.efm.frontend.view.EFMAbstractApplet.startMessageProcessor(EFMAbstractApplet.java:81)
                   at com.fedex.efm.frontend.view.EFMAbstractApplet.start(EFMAbstractApplet.java:187)
                   at com.fedex.efm.frontend.view.EFMApplet.start(EFMApplet.java:430)
                   at sun.applet.AppletPanel.run(Unknown Source)
                   at java.lang.Thread.run(Unknown Source)
              Any ideas as to what I am missing?
              Thanks,
              Ram
              

    I don't know what is happening. JMS hasn't been called yet -
              the applet is still setting up its initial context. You might want
              to try posting to the jndi (and perhaps rmi) newsgroup.
              Tom
              Ram Gopal wrote:
              > We are in the process of migrating from Weblogic 6.1 SP2 to SP5. We have an applet
              > that subscribes to a JMS Topic.
              > The applet is throwing the following exception with SP5:
              >
              > java.lang.ExceptionInInitializerError: java.security.AccessControlException: access
              > denied (java.util.PropertyPermission weblogic.kernel.allowQueueThrottling read)
              >
              >      at java.security.AccessControlContext.checkPermission(Unknown Source)
              >
              >      at java.security.AccessController.checkPermission(Unknown Source)
              >
              >      at java.lang.SecurityManager.checkPermission(Unknown Source)
              >
              >      at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
              >
              >      at java.lang.System.getProperty(Unknown Source)
              >
              >      at weblogic.kernel.Kernel.initAllowThrottleProp(Kernel.java:79)
              >
              >      at weblogic.kernel.Kernel.<clinit>(Kernel.java:54)
              >
              >      at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:166)
              >
              >      at java.lang.Class.newInstance0(Native Method)
              >
              >      at java.lang.Class.newInstance(Unknown Source)
              >
              >      at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
              >
              >      at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
              >
              >      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
              >
              >      at javax.naming.InitialContext.init(Unknown Source)
              >
              >      at javax.naming.InitialContext.<init>(Unknown Source)
              >
              >      at com.fedex.efm.frontend.model.JMSMessageProcessor.<init>(JMSMessageProcessor.java:266)
              >
              >      at com.fedex.efm.frontend.view.EFMAbstractApplet.startMessageProcessor(EFMAbstractApplet.java:81)
              >
              >      at com.fedex.efm.frontend.view.EFMAbstractApplet.start(EFMAbstractApplet.java:187)
              >
              >      at com.fedex.efm.frontend.view.EFMApplet.start(EFMApplet.java:430)
              >
              >      at sun.applet.AppletPanel.run(Unknown Source)
              >
              >      at java.lang.Thread.run(Unknown Source)
              >
              >
              > Any ideas as to what I am missing?
              >
              > Thanks,
              > Ram
              

  • Java.lang.reflect.InvocationTargetException: java.security.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader ) exception at startup

    Hi Everybody
    I downloaded and installed weblogic as per the installation document
    but I am getting the following exception and finally the server
    is started. Can somebody help me to resolve this problem
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.jts.internal.TransactionManagerImpl.<init>(TransactionManagerImpl.java:24)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:35 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.jts.internal.CoordinatorFactoryImpl.start(CoordinatorFactoryImpl.java:52)
         at weblogic.jts.internal.TransactionManagerImpl.<init>(TransactionManagerImpl.java:33)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:35 EST 2001:<I> <WebLogicServer> Invoking main-style
    startup weblogic.jdbc.common.internal.JdbcStartup weblogic.jdbc.common.internal.JdbcStartup
    Wed Feb 28 12:55:35 EST 2001:<E> <JDBC Init> ERROR: Could not get
    JNDI context: javax.naming.NoInitialContextException: Cannot instantiate
    class: weblogic.jndi.WLInitialContextFactory [Root exception is
    java.security.AccessControlException: access denied (java.lang.RuntimePermission
    getClassLoader )]
    Wed Feb 28 12:55:35 EST 2001:<I> <JMS> Beginning startup process
    Wed Feb 28 12:55:35 EST 2001:<I> <JMS> Init JMS Security
    Wed Feb 28 12:55:35 EST 2001:<I> <JMS> Initializing from weblogic.properties
    Wed Feb 28 12:55:35 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.jms.server.JMSManager.getContext(JMSManager.java:851)
         at weblogic.jms.server.JMSManager.getContext(JMSManager.java:835)
         at weblogic.jms.server.JMSManager.doInitFromProperties(JMSManager.java:483)
         at weblogic.jms.server.JMSManager.initFromProperties(JMSManager.java:472)
         at weblogic.jms.server.JMSManager.init(JMSManager.java:299)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:35 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.jms.server.JMSManager.getContext(JMSManager.java:851)
         at weblogic.jms.server.JMSManager.doInitFromProperties(JMSManager.java:488)
         at weblogic.jms.server.JMSManager.initFromProperties(JMSManager.java:472)
         at weblogic.jms.server.JMSManager.init(JMSManager.java:299)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<I> <JMS> Startup process complete.
    JMS is active
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.jms.server.JMSManager.getContext(JMSManager.java:851)
         at weblogic.jms.server.JMSManager.initSessionPoolManager(JMSManager.java:317)
         at weblogic.jms.server.JMSManager.init(JMSManager.java:308)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<I> <JMS> Bound SessionPoolManager
    as weblogic.jms.SessionPoolManager
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.jms.server.JMSManager.getContext(JMSManager.java:851)
         at weblogic.jms.server.JMSManager.initConnectionConsumerManager(JMSManager.java:333)
         at weblogic.jms.server.JMSManager.init(JMSManager.java:310)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<I> <JMS> Bound ConnectionConsumerManager
    as weblogic.jms.ConnectionConsumerManager
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.t3.srvr.T3Srvr.bindServer(T3Srvr.java:1476)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(Compiled
    Code)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.t3.srvr.T3Srvr.bindServer(T3Srvr.java:1495)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<I> <WebLogicServer> Invoking main-style
    startup RMI Registry weblogic.rmi.internal.RegistryImpl
    Wed Feb 28 12:55:36 EST 2001:<I> <RMI> Registry started
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(Compiled
    Code)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.common.internal.T3BindableServices.initialize(T3BindableServices.java:114)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(Compiled
    Code)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.ejb.internal.EJBManagerImpl.bindToJNDI(EJBManagerImpl.java:580)
         at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:226)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<E> <EJB> Cannot intialize Mail Session
    resources because could not get JNDI context: javax.naming.NoInitialContextException:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
    [Root exception is java.security.AccessControlException: access
    denied (java.lang.RuntimePermission getClassLoader )]
    Wed Feb 28 12:55:36 EST 2001:<I> <EJB> 0 EJB jar files loaded,
    containing 0 EJBs
    Wed Feb 28 12:55:36 EST 2001:<I> <EJB> 0 deployed, 0 failed to
    deploy.
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at java.lang.SecurityException.<init>(Compiled Code)
         at java.security.AccessControlException.<init>(Compiled Code)
         at java.security.AccessControlContext.checkPermission(Compiled
    Code)
         at java.security.AccessController.checkPermission(Compiled Code)
         at java.lang.SecurityManager.checkPermission(Compiled Code)
         at java.lang.Thread.setContextClassLoader(Compiled Code)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(Compiled
    Code)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(Compiled
    Code)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
         at weblogic.jndi.Environment.getContext(Environment.java:122)
         at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
         at weblogic.io.common.internal.T3FileSystemProxyImpl.installFileSystems(Compiled
    Code)
         at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<E> <ServletContext-General> cannot
    make temp directory '/opt/weblogic/myserver/public_html/_tmp_war',
    will not be able to compile JSPs
    Wed Feb 28 12:55:36 EST 2001:<E> <HTTP> Cannot intialize httpd
    URL resources because could not get JNDI context: javax.naming.NoInitialContextException:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
    [Root exception is java.security.AccessControlException: access
    denied (java.lang.RuntimePermission getClassLoader )]
    Lot of thanks for your help.

    Check the weblogic.policy file to make sure that it is giving permissions to the right directories. If you have
    installed a Service Pack, make sure that both service pack jar files are at the front of their corresponding
    classpaths...
    vj wrote:
    Hi Everybody
    I downloaded and installed weblogic as per the installation document
    but I am getting the following exception and finally the server
    is started. Can somebody help me to resolve this problem
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.jts.internal.TransactionManagerImpl.<init>(TransactionManagerImpl.java:24)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:35 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.jts.internal.CoordinatorFactoryImpl.start(CoordinatorFactoryImpl.java:52)
    at weblogic.jts.internal.TransactionManagerImpl.<init>(TransactionManagerImpl.java:33)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:35 EST 2001:<I> <WebLogicServer> Invoking main-style
    startup weblogic.jdbc.common.internal.JdbcStartup weblogic.jdbc.common.internal.JdbcStartup
    Wed Feb 28 12:55:35 EST 2001:<E> <JDBC Init> ERROR: Could not get
    JNDI context: javax.naming.NoInitialContextException: Cannot instantiate
    class: weblogic.jndi.WLInitialContextFactory [Root exception is
    java.security.AccessControlException: access denied (java.lang.RuntimePermission
    getClassLoader )]
    Wed Feb 28 12:55:35 EST 2001:<I> <JMS> Beginning startup process
    Wed Feb 28 12:55:35 EST 2001:<I> <JMS> Init JMS Security
    Wed Feb 28 12:55:35 EST 2001:<I> <JMS> Initializing from weblogic.properties
    Wed Feb 28 12:55:35 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.jms.server.JMSManager.getContext(JMSManager.java:851)
    at weblogic.jms.server.JMSManager.getContext(JMSManager.java:835)
    at weblogic.jms.server.JMSManager.doInitFromProperties(JMSManager.java:483)
    at weblogic.jms.server.JMSManager.initFromProperties(JMSManager.java:472)
    at weblogic.jms.server.JMSManager.init(JMSManager.java:299)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:35 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.jms.server.JMSManager.getContext(JMSManager.java:851)
    at weblogic.jms.server.JMSManager.doInitFromProperties(JMSManager.java:488)
    at weblogic.jms.server.JMSManager.initFromProperties(JMSManager.java:472)
    at weblogic.jms.server.JMSManager.init(JMSManager.java:299)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<I> <JMS> Startup process complete.
    JMS is active
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.jms.server.JMSManager.getContext(JMSManager.java:851)
    at weblogic.jms.server.JMSManager.initSessionPoolManager(JMSManager.java:317)
    at weblogic.jms.server.JMSManager.init(JMSManager.java:308)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<I> <JMS> Bound SessionPoolManager
    as weblogic.jms.SessionPoolManager
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.jms.server.JMSManager.getContext(JMSManager.java:851)
    at weblogic.jms.server.JMSManager.initConnectionConsumerManager(JMSManager.java:333)
    at weblogic.jms.server.JMSManager.init(JMSManager.java:310)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<I> <JMS> Bound ConnectionConsumerManager
    as weblogic.jms.ConnectionConsumerManager
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.t3.srvr.T3Srvr.bindServer(T3Srvr.java:1476)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(Compiled
    Code)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.t3.srvr.T3Srvr.bindServer(T3Srvr.java:1495)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<I> <WebLogicServer> Invoking main-style
    startup RMI Registry weblogic.rmi.internal.RegistryImpl
    Wed Feb 28 12:55:36 EST 2001:<I> <RMI> Registry started
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(Compiled
    Code)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.common.internal.T3BindableServices.initialize(T3BindableServices.java:114)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(Compiled
    Code)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.ejb.internal.EJBManagerImpl.bindToJNDI(EJBManagerImpl.java:580)
    at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:226)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<E> <EJB> Cannot intialize Mail Session
    resources because could not get JNDI context: javax.naming.NoInitialContextException:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
    [Root exception is java.security.AccessControlException: access
    denied (java.lang.RuntimePermission getClassLoader )]
    Wed Feb 28 12:55:36 EST 2001:<I> <EJB> 0 EJB jar files loaded,
    containing 0 EJBs
    Wed Feb 28 12:55:36 EST 2001:<I> <EJB> 0 deployed, 0 failed to
    deploy.
    Wed Feb 28 12:55:36 EST 2001:<E> <Service>
    java.lang.reflect.InvocationTargetException: java.security.AccessControlException:
    access denied (java.lang.RuntimePermission setContextClassLoader
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.SecurityException.<init>(Compiled Code)
    at java.security.AccessControlException.<init>(Compiled Code)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.Thread.setContextClassLoader(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(Compiled
    Code)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(Compiled
    Code)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Compiled
    Code)
    at weblogic.jndi.Environment.getContext(Environment.java:122)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
    at weblogic.io.common.internal.T3FileSystemProxyImpl.installFileSystems(Compiled
    Code)
    at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    Wed Feb 28 12:55:36 EST 2001:<E> <ServletContext-General> cannot
    make temp directory '/opt/weblogic/myserver/public_html/_tmp_war',
    will not be able to compile JSPs
    Wed Feb 28 12:55:36 EST 2001:<E> <HTTP> Cannot intialize httpd
    URL resources because could not get JNDI context: javax.naming.NoInitialContextException:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
    [Root exception is java.security.AccessControlException: access
    denied (java.lang.RuntimePermission getClassLoader )]
    Lot of thanks for your help.

  • Java.security.AccessControlException: access denied (java.lang.RuntimePerm

    Hi, I am receiving the following error when I attempt to add a crypto provider.
    java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.security.jca.ProviderConfig$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.security.jca.ProviderConfig.doLoadProvider(Unknown Source)
         at sun.security.jca.ProviderConfig.getProvider(Unknown Source)
         at sun.security.jca.ProviderList.loadAll(Unknown Source)
         at sun.security.jca.ProviderList.removeInvalid(Unknown Source)
         at sun.security.jca.Providers.getFullProviderList(Unknown Source)
         at java.security.Security.removeProvider(Unknown Source)
         at com.gro.applet.GROAuthenticateApplet$2.run(GROAuthenticateApplet.java:192)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.gro.applet.GROAuthenticateApplet.validateUser(GROAuthenticateApplet.java:181)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSInvoke.invoke(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
         at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.sunmscapi)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkLink(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at sun.security.mscapi.SunMSCAPI$1.run(SunMSCAPI.java:34)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.security.mscapi.SunMSCAPI.<clinit>(SunMSCAPI.java:32)
         ... 32 more
    java.lang.Exception: java.lang.ExceptionInInitializerError
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)I read somewhere that it is "Due to an additional dll that needs to be loaded for the Sun Java SE 6 JVM we get an exception during initialization"
    Does anyone have any other information on this bug?

    I have just bumped into this with a Webstart application.
    It seems to happen only on certain machines.
    Is there a solution to this problem?

  • Java.security.AccessControlException: access denied (java.io.FilePermission

    Hi,
    I have written swing code using applets.The code is::
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class JButtonDemo extends JApplet implements ActionListener{
    JTextField jtf;
    public void init(){
    Container c = getContentPane();
    c.setLayout(new FlowLayout());
    ImageIcon ii = new ImageIcon("");
    JButton but = new JButton(ii);
    but.setActionCommand("myButton");
    but.addActionListener(this);
    c.add(but);
    jtf = new JTextField(10);
    c.add(jtf);
    public void actionPerformed(ActionEvent ae){
    jtf.setText(ae.getActionCommand());
    The html is::
    <html>
    <body>
    <applet code="JButtonDemo.class" width="250" height="150">
    </applet
    >
    </body>
    </html>
    Its getting compiled but when I'm trying to run it like..
    appletviewer JButtonDemo.html
    its throwing the following error ..
    java.security.AccessControlException: access denied (java.io.FilePermission read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
    at java.security.AccessController.checkPermission(AccessController.java:401)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:863)
    at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:472)
    at sun.awt.SunToolkit.getImage(SunToolkit.java:486)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:81)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:107)
    at JButtonDemo.init(JButtonDemo.java:10)
    at sun.applet.AppletPanel.run(AppletPanel.java:353)
    at java.lang.Thread.run(Thread.java:534)
    could anyone pls help me in rectifying this problem...
    Thanks in advance
    Srinivas

    You must have missed something, here is how I got it to work:
    appelt in c:\temp\test.java:import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.ImageIcon;
    import javax.swing.JApplet;
    import javax.swing.JButton;
    import javax.swing.JTextField;
    public class test extends JApplet implements ActionListener {
         JTextField jtf;
         public void init() {
              Container c = getContentPane();
              c.setLayout(new FlowLayout());
              ImageIcon ii = new ImageIcon("c:/test.jpg");
              JButton but = new JButton(ii);
              but.setActionCommand("myButton");
              but.addActionListener(this);
              c.add(but);
              jtf = new JTextField(10);
              c.add(jtf);
         public void actionPerformed(ActionEvent ae) {
              jtf.setText(ae.getActionCommand());
    }html file in c:\temp:<DIV id="lblOutputText">Output comes here</DIV>
    <object
        classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab"
        >
        <PARAM NAME = CODE VALUE = test >
        <PARAM NAME = ARCHIVE VALUE = sTest.jar >
        <param name = "type" value = "application/x-java-applet">
        <param name = "scriptable" value = "false">
        <comment>
         <embed
                type = "application/x-java-applet" \
                CODE = test \
                ARCHIVE = sTest.jar
             scriptable = false
             pluginspage = "http://java.sun.com/products/plugin/index.html#download">
             <noembed>
                </noembed>
         </embed>
        </comment>
    </object>The batch file creating the signed jar in c:\temp\sign.batdel *.cer
    del *.com
    del *.jar
    del *.class
    javac test.java
    keytool -genkey -keystore harm.com -keyalg rsa -dname "CN=Harm Meijer, OU=Technology, O=org, L=Amsterdam, ST=, C=NL" -alias harm -validity 3600 -keypass password -storepass password
    rem keytool -export -alias harm -file exportPublicKey.cer -keystore harm.com -storepass password
    jar cf0 test.jar test.class
    jarsigner -keystore harm.com -storepass password -keypass password -signedjar sTest.jar test.jar harm
    del *.class
    pause

  • Java.security.AccessControlException: access denied ("java.security.SecurityPermission" "authProvider.SunMSCAPI")

    Till morning everything working fine in my applet. I took Java update and everything stopped. I'm dealing with digital certificate using applet. Here is my stack trace. I followed some oracle article but didn't work.
    https://blogs.oracle.com/java-platform-group/entry/liveconnect_changes_in_7u45
    JAR File Manifest Attributes for Security
    http://www.oracle.com/technetwork/java/javase/7u45-relnotes-2016950.html
    Java Plug-in 10.45.2.18
    Using JRE version 1.7.0_45-b18 Java HotSpot(TM) Client VM
    User home directory = C:\Users\vicky.thakor
    java.security.AccessControlException: access denied ("java.security.SecurityPermission" "authProvider.SunMSCAPI")
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
      at sun.security.mscapi.KeyStore.engineLoad(KeyStore.java:755)
      at sun.security.mscapi.KeyStore$MY.engineLoad(KeyStore.java:62)
      at java.security.KeyStore.load(Unknown Source)
      at SecurityApplet.initializeBrowserKeyStore(SecurityApplet.java:162)
      at SecurityApplet.isCertificateInstalled(SecurityApplet.java:268)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.plugin.javascript.Trampoline.invoke(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
      at sun.plugin2.liveconnect.JavaClass$MethodInfo.invoke(Unknown Source)
      at sun.plugin2.liveconnect.JavaClass$MemberBundle.invoke(Unknown Source)
      at sun.plugin2.liveconnect.JavaClass.invoke0(Unknown Source)
      at sun.plugin2.liveconnect.JavaClass.invoke(Unknown Source)
      at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$DefaultInvocationDelegate.invoke(Unknown Source)
      at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.doObjectOp(Unknown Source)
      at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    I'm creating .java.policy file in public void init() method of applet. Its before accessing anything in applet. But its not working. Here is my .java.policy file.
    grant
    permission java.security.AllPermission;
    permission java.io.FilePermission "<<ALL FILES>>", "read";
    permission java.io.FilePermission "<<ALL FILES>>", "write";
    permission java.util.PropertyPermission "*", "read, write";
    permission java.util.PropertyPermission "user.home", "read";
    permission java.util.PropertyPermission "user.dir", "read";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "*";
    This is solved by changing java.policy file at C:\Program Files (x86)\Java\jre7\lib\security. I did it manually but our application running all around the world. And I can't go to each user to change the java.policy file. And also some user don't have admin access to change that file. So is there any way we can set runtime parameter(s) or something else... I already posted this question in stackoverflow but couldn't find the way out. I also created MANIFEST.MF file but still not working.
    Stackoverflow link: oracle - java.security.AccessControlException: access denied (&amp;quot;java.security.SecurityPermission&amp;quot; &amp;…

    Till morning everything working fine in my applet. I took Java update and everything stopped. I'm dealing with digital certificate using applet. Here is my stack trace. I followed some oracle article but didn't work.
    https://blogs.oracle.com/java-platform-group/entry/liveconnect_changes_in_7u45
    JAR File Manifest Attributes for Security
    http://www.oracle.com/technetwork/java/javase/7u45-relnotes-2016950.html
    Java Plug-in 10.45.2.18
    Using JRE version 1.7.0_45-b18 Java HotSpot(TM) Client VM
    User home directory = C:\Users\vicky.thakor
    java.security.AccessControlException: access denied ("java.security.SecurityPermission" "authProvider.SunMSCAPI")
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
      at sun.security.mscapi.KeyStore.engineLoad(KeyStore.java:755)
      at sun.security.mscapi.KeyStore$MY.engineLoad(KeyStore.java:62)
      at java.security.KeyStore.load(Unknown Source)
      at SecurityApplet.initializeBrowserKeyStore(SecurityApplet.java:162)
      at SecurityApplet.isCertificateInstalled(SecurityApplet.java:268)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.plugin.javascript.Trampoline.invoke(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
      at sun.plugin2.liveconnect.JavaClass$MethodInfo.invoke(Unknown Source)
      at sun.plugin2.liveconnect.JavaClass$MemberBundle.invoke(Unknown Source)
      at sun.plugin2.liveconnect.JavaClass.invoke0(Unknown Source)
      at sun.plugin2.liveconnect.JavaClass.invoke(Unknown Source)
      at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$DefaultInvocationDelegate.invoke(Unknown Source)
      at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.doObjectOp(Unknown Source)
      at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    I'm creating .java.policy file in public void init() method of applet. Its before accessing anything in applet. But its not working. Here is my .java.policy file.
    grant
    permission java.security.AllPermission;
    permission java.io.FilePermission "<<ALL FILES>>", "read";
    permission java.io.FilePermission "<<ALL FILES>>", "write";
    permission java.util.PropertyPermission "*", "read, write";
    permission java.util.PropertyPermission "user.home", "read";
    permission java.util.PropertyPermission "user.dir", "read";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "*";
    This is solved by changing java.policy file at C:\Program Files (x86)\Java\jre7\lib\security. I did it manually but our application running all around the world. And I can't go to each user to change the java.policy file. And also some user don't have admin access to change that file. So is there any way we can set runtime parameter(s) or something else... I already posted this question in stackoverflow but couldn't find the way out. I also created MANIFEST.MF file but still not working.
    Stackoverflow link: oracle - java.security.AccessControlException: access denied (&amp;quot;java.security.SecurityPermission&amp;quot; &amp;…

  • Java.security.AccessControlException when accessing user documents

    Hello there,
    I'm a student programmer. I'm trying to write a desktop application which will read all of the user's documents folder and add it to a ZIP file. I am coding on Windows Vista but my code should be platform independent.
    The problem I have is that whenever I try to access the user documents, I get a java.security.AccessControlException. The code I'm using follows:
    //Find out the user's "My Documents" folder
    javax.swing.JFileChooser fr = new javax.swing.JFileChooser();
    javax.swing.filechooser.FileSystemView fw=fr.getFileSystemView();
    //Zip the contents of "My Documents" to the current working directory
    zip(fw.getDefaultDirectory().toString() + "\\", "JemsFrom.zip")
    //Checking for permissions for reading source       
    FilePermission perm = new FilePermission(source, "read");
    AccessController.checkPermission(perm);I Googled and apparently I need to add a policy file allowing my program access to the documents folder. I created the following policy file:
    grant {
          permission java.io.FilePermission "C:\\Users\\keith\\Documents", "read";
    };I saved this file as 'perms' and then added the following to Netbeans' Argument list for this project:
    -Djava.security.manager -Djava.security.policy=permsHowever, I am still getting this error and am totally stumped. I've also tried running this project outside Netbeans with those arguments but I get the same result.
    Would greatly appreciate any help.

    I have changed my permissions file as david_david suggested, but I am still having the same problem... AccessControlException
    Any other helpful suggestions would be welcome.

  • Java.security.AccessControlException: access denied (java.lang.RuntimePermi

    Any One can help me to solve this problem, when the Japplet get the return object from servlet, i got the following error, please help me
    at java.security.AccessControlContext.checkPermission(AccessControlConte
    xt.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:
    399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:150
    1)
    at sun.applet.AppletSecurity.checkPackageAccess(AppletSecurity.java:169)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:195)
    at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:654)
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
    :918)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226
    3)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
    9)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at java.util.Hashtable.readObject(Hashtable.java:792)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2
    214)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:226
    3)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
    9)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at wots.wb.uml.ServletList.queryServer(ServletList.java:223)
    at wots.wb.uml.ServletList.update(ServletList.java:76)
    at wots.wb.uml.ServletList.run(ServletList.java:52)
    at java.lang.Thread.run(Thread.java:484)

    If you are using Java plugin you may have to set the network access unrestricted at the Java plugin control panel..

Maybe you are looking for

  • I cannot get my Airport Extreme to talk to my cable modem

    I cannot get my Airport Extreme to talk to my cable modem.  Cable modem is a Cisco, new, Charter cable company.  New wires throughout.  Connected to internet currently hardwired to cable modem.  So I have internet service to the modem. 

  • RFC Call from PI freeze ECC system

    Hello experts, we actually load master data in our ECC environment that are sent to the PI environment via IDOC, the integration of those IDOCs in the PI system make RFC call in ECC and after a few minutes, the ECC system freezes. All dialog process

  • Making a password show what parts of the document you see

    I have a random request from a client that I am not sure is even possible. They want their document to be used by two people, one of them will only be able to see say 4 pages of it while the other will be able to see it all including what the person

  • Jms adapter publish to weblogic

    hi, my jdeveloper is 11.1.1.5 and my weblogic server is 10.3.5. now i want to publish one message to weblogic application 10.3.2. there is no soa server. for this how can i develop?

  • In Firefox Tools what is accelator?

    In firefox tools I found Accelator which when enabled it can copy whatever I hilight; I cannot find where to remove this as it appears not to be an addon unless it is part of another addon. Please let identify this and how to remove it. Thank you ==