ACL access denied exception

Hello Everyone,
I am trying to log into an application which uses ACL (ldap auth) for user say "xxx", while entering the username and password I see the following error in the log file in Sun one webserver 6.0, solaris 8 platform (I have changed the host IP and folder informations, rest remains the same)
[NSACL4340] ACL_GetAttribute: All attribute getters declined for attr "cert"
[23/Dec/2008:11:54:50] security (16450): for host 111.111.111.11 trying to GET /servlet/ActionServlet, acl-state reports: access of /yy/abcWebserver6.0/https-test/tester/servlet/ActionServlet denied because evaluation of ACL uri=/servlet/ActionServlet directive 2 failed
[23/Dec/2008:13:12:35] security (16450):
[NSACL4340] ACL_GetAttribute: All attribute getters declined for attr "cert"
[23/Dec/2008:13:12:35] security (16450): for host 111.111.111.11 trying to GET /servlet/ActionServlet, acl-state reports: access of /yy/abc/Webserver6.0/https-test/tester/servlet/ActionServlet denied because evaluation of ACL uri=/servlet/ActionServlet directive 2 failed
Please let me know if any information is required, I can provide.
Thanks in advance.

can you send your *.acl files?
[NSACL4340] ACL_GetAttribute: All attribute getters declined for attr "cert"do u have cert in those ACL files? Have you stored certificates in LDAP ? If you want normal (basic auth) user name password authentication, you do not need those.

Similar Messages

  • Urgent - Access denied exception

    Access denied exception occur when i launch my program thru java web start. I had signed all the jar files and i set all-permissions in the jnlp file, so what could be the problem?

    ok, the answer is in a recent thread where this discussion already took place.
    the problem appears to be that jws loads content from cache so the url
    is not where the code came from but the cache location. this makes no sense
    to me.
    werner discusses this in a recent thread and mentions using
    grant codeBase="file:///some/very/long/path/to/jws/cache/location"
    blah
    this is terrible! imagine someone who wants to make local code
    run without security management by using this codeBase:
    "file:///-"
    what you're actually doing is allowing any code from anywhere
    access because it all gets cached and then matches the codeBase
    pattern.

  • Java.io.File causes "access denied" exception in a signed applet

    Hi,
    New to these forums and not entirely where it's appropriate to post this issue, so I'll stick it here for now until told otherwise.
    The problem:
    My applet throws the following exception.
    INFO: Exception Message: access denied (java.io.FilePermission C:\Some Dir With Spaces\AnotherDir\FinalDir read)
    The psuedo-code:
    java.io.File RootPath = new java.io.File( "C:\" );
    private boolean doesSubdirectoryExist(String directory) {
            boolean mResult = false;
            try
                java.io.File tmpPath = new java.io.File( RootPath.toString() + java.io.File.separatorChar + directory );
                mResult = tmpPath.isDirectory();
                tmpPath = null;
            catch (Exception e)
                ... error handling code
            return mResult;
    private void btnCheckPathActionPerformed(java.awt.event.ActionEvent evt) {
            ....some other stuff....
            doesSubdirectoryExist(.. a text field value from the GUI form..);
            ....some other stuff....
    }                                       The conditions:
    1) The applet is signed.
    2) The applet runs fine in the AppletViewer.
    3) I am using JDK1.5.0_09.
    4) When I click the button the event handler is tied to, it works correctly the first time.
    5) If I click a second time, with the same value in the text field (i.e. testing for the same subdirectory again) I get the exception error.
    I'm pulling my hair out trying to figure this one out. If it were a security issue with the applet running from a browser, why does it work the first time?
    Am I failing to release some lock that creating a java.io.File instance creates?
    I would appreciate any help.

    I've identified the issue. I was attempting to access the filesystem from two different thread and/or contexts.
    It seems that if I use the SwingWorker class from https://swingworker.dev.java.net/ to perform background tasks in the Worker thread, I don't get the security privileges required to modify the filesystem. Even though I have signed the jar correctly.
    However I can access the filesystem quite happily from the Event Dispatcher thread. If my jar is signed correctly.
    So, I have the following questions:
    1. Why doesn't SwingWorker worker threads get the same security context as the event dispatcher thread?
    2. Is there anyway I can give the worker thread the necessary security privileges?
    3. Is there anyway to do this without having to write my own thread handling code and creating my own thread pools?
    Message was edited by:
    Fidotas
    Message was edited by:
    Fidotas

  • Java.security.Access denied exception

    hello all,
    iam new to java please help me .
    my program has thrown the exception:
    java.security.AccessControlException: access denied (java.io.FilePermission F:\
    read)
    using applets a dynamic jtree should be displayed.
    when a user clicks a node a file should be retrived and display the directories and files in it.
    the program code is:
    public void mouseClicked(MouseEvent me)
    TreePath tp = Tree.getPathForLocation(me.getX(),me.getY());
    String dirname = tp.toString();
    File f =new File("F:\\");
    int w =st.length();
    String y = st.substring(1,w-1);
    File f2 = new File(y);
    String v[] = f2.list90;
    for(int u=0;u<v.length;u++)
    System.out.println(v); //checking atleast o/p may display in command prompt.
    any idea reply soon
    it's very urgent.
    usha

    This forum is specific to the Message Queue product ....
    for general questions, you may want to start at the "new to java" forum
    http://forum.java.sun.com/forum.jspa?forumID=54

  • Access denied exception

    Hello,
    when i run my applet on IE browser the following exception occurs
    Exception:java.security.AccessControlException:access denied(java.util.PropertyPermission user.dir read)
    what is the problem?
    here is my java.policy// Standard extensions get all permissions by default
    grant codeBase "file:${java.home}/lib/ext/*" {
    permission java.security.AllPermission;
    // default permissions granted to all domains
    grant {
    permission java.util.PropertyPermission "user.dir","read";
    permission java.security.AllPermissions;
    permission java.util.PropertyPermission "user.home","read";
    permission java.io.FilePermission "${user.home}$/*","write,read";
    permission java.io.FilePermission "${user.dir}$/*","read,write";
    permission java.io.FilePermission "<<ALL FILES>>","read,write";
    thanks

    You can't use policy file with jvm coming from IE, you can use java-plugin as the default jvm for IE browser.

  • Access denied exception How do I diagnose?

    Exception in thread "AWT-EventQueue-0" java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.reflect.AccessibleObject.setAccessible(Unknown Source)
         at com.sun.xml.ws.client.ServiceInvocationHandler.invokeSIMethod(ServiceInvocationHandler.java:36)
         at com.sun.xml.ws.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:29)
         at $Proxy0.getSolveImpl(Unknown Source)
         at com.xyz.bidopt.client.SolveClient.solve(SolveClient.java:44)
         at com.xyz.bidopt.client.BidoptMainClient.actionPerformed(BidoptMainClient.java:1139)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at javax.swing.plaf.basic.BasicInternalFrameUI$Handler.retargetMouseEvent(Unknown Source)
         at javax.swing.plaf.basic.BasicInternalFrameUI$Handler.forwardMouseEvent(Unknown Source)
         at javax.swing.plaf.basic.BasicInternalFrameUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    Did you find a solution?

  • InfoPath 2013 Read SharePoint 2013 File data using Rest API Access Denied Exception

    I am designing a set of Forms and they need to query Data from among themselves.
    The whole set up described below works in the Form Filler/Preview
    I'll call them Form A and Form B
    Form A has a repeating table that needs to be displayed in Form B
    The user selects from a DropDown in Form B an Instance of Form A, using the selected I REST connection is executed so the Form A xml is available inside Form B. The connection is set up as follows:
    _api/web/lists/ListName/Items(SelectedId)/File/$value
    I publish the form as site content type, add it to a library, after triggering the REST connection I get an error. ULS gives me a 401 Access denied for NT Authority\IUSR (as it should since I don't have anonymous access enabled [nor has that solved the issue])
    That's my issue. All requests on the REST api are being executed as anonymous and not as a user that should have permission.
    Things I've tried:
    1. The connection uses a UDCX file, the conenction is set to use the form server proxy. The proxy has been enabled for the Form Services, web application and user connection. I've tried it with a configured App ID or an Explicit account
    2. I've tried enabling Anonymous access, but have had no success
    3. I've gotten the Query to work on Post Backs by adding the following to the web.config:
    <location path="_layouts/15/Postback.FormServer.aspx">
        <system.web>
          <identity impersonate="false" userName="bhs\sp_admin_dev" password="M1crosoft" />
        </system.web>
      </location>
    And while it solves the issue for Postback requests and I could add FormServer.aspx to the list I can't use this solution for a production environment, nor can I predict other issues that could be caused by the change.
    I haven't been able to find any references to this error so I wonder if I'm doing something wrong or if there's another way to do this.
    If I've been unclear on anything, let me know and I'll try to clear it up.

    Hi Choggo,
    thank you for your information,
    regarding this issue, it seems we may need to debug and trace your network, to check if should the parameter that is used for the REST connection is correct.
    i checked with infopath team members regarding this issue, they suggest that you try with impersonation, so that the user that login is not anonymous, but the user that you already been assign with.
    the last suggestions from our sharepoint team members that we are able to do, as we have limited tools on this forum support, that you need to check the file udcx itself, do the permission to access that file is correct, so for example, if the file is not
    having the permission to be read/access then the system may result with anonymous account, so that we may have the result that the data that should be passed are able to accessed.
    if should this suggestion not applicable to your environment, our sharepoint team members suggest that you to open an incident ticket, so that we can check and re-confirm more deep for you if should this is an undocumented feature or not.  the action
    plans is to have a remote session, then we can trace the data passing process, that is already correct, so that the IUSR is not appear when it authenticate.
    http://support.microsoft.com/contactus/?wa=wsignin1.0
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Sql exception access denied

    well as the topic says I get an access denied exception. This is when I try to connect to the database
    java.sql.SQLException: Access denied for user 'Java'@'localhost' (using password: YES)
    I get the same problem when I try to connect with the root user.
    this is the code I'm using, ignore the threads as they do not matter
    devil_server.java
    import java.io.*;
    import java.net.MalformedURLException;
    import java.net.*;
    import java.sql.*;
    import java.util.*;
    public class devil_server
    //variable types concerning userthreads
    static public int uid;
    static public int nou;
    static public ServerSocket skanal;
    public static Vector users = new Vector();
    public static Vector usernames = new Vector();
    public static String user;
    public static String pass;
         public static void main(String arg[])
         try {
              System.out.println("write the user used to access the mysql database with Devil Chat");
              user = Keyboard.readString(); //read mysql username from keyboard
              System.out.println("write the password used to access the mysql database with Devil Chat");
              String pass = Keyboard.readString(); //read password for user from keyboard
              uid = 0;
              nou = 0; //Number Of Users
              skanal = new ServerSocket(5555);
              new Thread(new devil_server_user(uid)).start();
              while(true)
                   if(uid>nou)
                        String buffer = "buffer";
                        String userl = "user";
                        users.add(buffer);
                        usernames.add(userl);
                        new Thread(new devil_server_user(uid)).start();
                        nou++;
            }//end while
              }/*end try*/ catch (Exception ex) {
               ex.printStackTrace();
              }//end catch
              //con.close
         } //end main
    }//end classdevil_server_user.java
    import java.io.*;
    import java.net.MalformedURLException;
    import java.net.*;
    import java.util.*;
    import java.sql.*;
    public class devil_server_user implements Runnable
    public devil_server_user (int uid){this.uid=uid;};
    public int uid;
    public Socket kanal;
    public InetAddress ip;
    public InputStream streamin;
    public OutputStream streamout;
    public BufferedReader bufferind;
    public PrintWriter printout;
    public String lastuserin;
    public String userinput;
    public String sip;
    public int isadmin;
    //variable types concerning mysql database connectivity
    public Statement stmt;
    //public Statement rstmt;
    public ResultSet rs;
    public Connection conn;
         public void run()
              try {
         System.out.println("Listening on port 5555");
         System.out.println("Waiting for clients");
         kanal = devil_server.skanal.accept();
         devil_server.uid++;
         ip = kanal.getInetAddress();
         sip = ip.toString();
         sip = sip.replace("/","");
         isadmin = 0;
         if(sip.equals("127.0.0.1"))
         isadmin = 1;
         } catch (Exception ex) {
         ex.printStackTrace();
         try {
         System.out.println("Incomming request: "+ ip);
         streamin = kanal.getInputStream();
         System.out.println("Input ready");
         streamout = kanal.getOutputStream();
         System.out.println("Output ready");
         devil_server.users.set(this.uid, printout = new PrintWriter(streamout));
         printout = (PrintWriter)devil_server.users.get(this.uid);
         bufferind = new BufferedReader(new InputStreamReader(streamin));
         catch (IOException e){
         e.printStackTrace();
        try { 
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/Java?user="+devil_server.user+"&password=s"+devil_server.pass);
         stmt = conn.createStatement();
         stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
         } catch (Exception e) {
         e.printStackTrace();
         //String request = bufferind.readLine();
         //System.out.println("message from "+ip+" : "+request);
         //printout.flush();
    //forbindelse
    try {
         userinput = (String)bufferind.readLine();
         } catch(Exception e) {
         e.printStackTrace();
         while(!userinput.startsWith("/name"))
         try {
              userinput = (String)bufferind.readLine();
                   } catch(Exception e) {
         e.printStackTrace();
         try
         stmt = conn.createStatement();
         stmt.executeUpdate("INSERT INTO devilchat_users (ip, username, isadmin) VALUES('"+sip+"',' "+userinput.substring(6)+"','"+isadmin+"')");
         new Thread(new devil_server_broadcast("/say "+userinput.substring(6)+" has joined devilchat")).start();
         devil_server.usernames.set(this.uid, userinput.substring(6));
         printout.println("/knock"); //knocks to the client
         printout.flush();
         userinput = (String)bufferind.readLine();
              } catch(Exception e) {
         e.printStackTrace();
         while(!userinput.startsWith("/knock"))
         try {
         userinput = (String)bufferind.readLine(); //waiting for client to knock back
              } catch(Exception e) {
         e.printStackTrace();
         printout.println("/ready"); //tells client it's ready to read userinput
         printout.flush();
         int spoken = 0;
         System.out.println(devil_server.usernames.get(this.uid)+": has connected");
         new Thread(new devil_server_usercheck()).start();
    //starter l�kke som checker for nye input fra useren
         while(true)
         try{
              userinput = (String)bufferind.readLine();
              if(!userinput.equals(lastuserin))
              if(userinput.startsWith("/name"))
              stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
              rs = stmt.executeQuery("SELECT * FROM devilchat_users WHERE uid='"+this.uid+"'");
              rs.absolute(this.uid);
              String oldname = rs.getString("username"); // get old name from database and save it in a string before applying the new name
              stmt = conn.createStatement();
              stmt.executeUpdate("UPDATE devilchat_users set username='"+userinput.substring(6)+"' WHERE uid ='"+this.uid+"'");
              //start a broadcast to tell the name has changed
              new Thread(new devil_server_broadcast("/namechange *** "+oldname+" has changed their name to "+userinput.substring(6)+" ***")).start();
              //change the username in the vector containing usernames
              devil_server.usernames.set(this.uid, userinput.substring(6));
              //start a new listcheck so the list can be updated
              new Thread(new devil_server_usercheck()).start();
              else if(userinput.startsWith("/say"))
              stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
              rs = stmt.executeQuery("SELECT * FROM devilchat_users WHERE uid='"+this.uid+"'");
              rs.absolute(this.uid);
              String sname = rs.getString("username");
              String say1 = userinput.substring(6);
              userinput = "/say "+sname+": "+say1;
              spoken++;
              stmt = conn.createStatement();
              stmt.executeUpdate("UPDATE devilchat_users set spoken='"+spoken+"' WHERE uid ='"+this.uid+"'");
              new Thread(new devil_server_broadcast(userinput)).start();
              else if(userinput.startsWith("/quit"))
              stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
              rs = stmt.executeQuery("SELECT * FROM devilchat_users WHERE uid='"+this.uid+"'");
              rs.absolute(this.uid);
              String name = rs.getString("username");
              printout.println("/quit "+name+" has left devilchat"); //tells client it's ready to read userinput
              printout.flush();
              devil_server.usernames.set(this.uid, "user");
              devil_server.users.set(this.uid, "buffer");
              new Thread(new devil_server_broadcast("/quit "+name+" has left devilchat")).start();
              conn.close();
              kanal.close();
              break;
              lastuserin = userinput;
         catch(Exception e) {
         e.printStackTrace();
    }this is the full exception handling
    java.sql.SQLException: Access denied for user 'Java'@'localhost' (using password
    : YES)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1056)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:894)
    at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3808)
    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1256)
    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2032)
    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:729)
    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :283)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at devil_server_user.run(devil_server_user.java:71)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at devil_server_user.run(devil_server_user.java:97)
    at java.lang.Thread.run(Unknown Source)
    I have tried the org driver too and I have tried (url, user, pass) and (url?user=user&password=pass)
    Edited by: Angelwinged_Devil on Mar 13, 2008 6:04 AM

    well it's pretty weird, because I'm trying to make some kind of pattern with the install file I made, although... the install file works and looks like this
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    public class install
        public static void main(String[] args) {
            try {
                // The newInstance() call is a work around for some
                   //older java implementations
                   //org.gjt.mm.mysql.Driver or com.mysql.jdbc.driver
                Class.forName("org.gjt.mm.mysql.Driver").newInstance();
            } catch (Exception ex) {
                ex.printStackTrace();
              try {
              System.out.println("write the user used to access the mysql database with Devil Chat");
              String user = Keyboard.readString(); //read mysql username from keyboard
              System.out.println("write the password used to access the mysql database with Devil Chat");
              String pass = Keyboard.readString(); //read password for user from keyboard
              Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/mysql", user, pass);
              Statement stmt = conn.createStatement();
              stmt.executeUpdate("CREATE DATABASE IF NOT EXISTS Java");
              System.out.println("Database has been created");
              Connection con = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/Java", user, pass);
              Statement nstmt = con.createStatement();
              nstmt.executeUpdate("CREATE TABLE IF NOT EXISTS devilchat_users ("+
              "uid int NOT NULL AUTO_INCREMENT, PRIMARY KEY(uid), "
              +"username varchar(25), isadmin bool, spoken int, ip varchar(15))");
              System.out.println("Table has been created");
              con.close();
              conn.close();
                   } catch (SQLException ex) {
        // handle any errors
        System.out.println("SQLException: " + ex.getMessage());
        System.out.println("SQLState: " + ex.getSQLState());
        System.out.println("VendorError: " + ex.getErrorCode() + "\n");
    }

  • Access Denied error with basic XML file operations

    Hi,
    I'm trying to set up a basic read, write and delete code for XML files which I can build upon in the future. The three methods are bound to three buttons on the page and all three calls are awaited. Here's my code:
    Write:
    XElement uservarnodes = new XElement("uservars",
    new XElement("uservar1", "1"),
    new XElement("uservar2", "2"),
    new XElement("uservar3", "3"),
    new XElement("uservar4", "4"),
    new XElement("uservar5", "5"),
    new XElement("uservar6", "6"),
    new XElement("uservar7", "7"),
    new XElement("uservar8", "8"));
    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
    var file = await local.CreateFileAsync("uservarfile.xml", CreationCollisionOption.ReplaceExisting);
    var stream = await file.OpenAsync(Windows.Storage.FileAccessMode.ReadWrite);
    using (var outputStream = stream.GetOutputStreamAt(0))
    DataWriter mydataWriter = new DataWriter(outputStream);
    mydataWriter.WriteString(uservarnodes.ToString());
    await mydataWriter.StoreAsync();
    await outputStream.FlushAsync();
    Read (outputs the data to a textblock):
    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
    var file = await local.GetFileAsync("uservarfile.xml");
    string readtext = await Windows.Storage.FileIO.ReadTextAsync(file);
    XElement uservarnodes = XElement.Parse(readtext);
    txtTarget.Text = uservarnodes.ToString();
    Delete:
    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
    var file = await local.GetFileAsync("uservarfile.xml");
    await file.DeleteAsync(StorageDeleteOption.PermanentDelete);
    When I tap each of the buttons once it all seems to work. But when I tap any of the buttons again within the same debug session I get an Access denied exception (E_ACCESSDENIED). Other people with this error had to await when calling their method, but I'm
    already doing that: private async void btnWrite_Click(object sender, RoutedEventArgs e) { await WriteToXMLFile(); }, etc.
    And the intervals between my taps isn't that short that you'd expect that the previously called method still had not finished completing. I don't understand why I'm getting the access denied error.
    Related to my question: I have added XML to the File Type Associations, File Open Picker and File Save Picker in the appxmanifest, but somewhere I read that you do not need to do this if you're working with local app data only. Is this true?

    var stream = await file.OpenAsync(Windows.Storage.FileAccessMode.ReadWrite);
    I think because of your file stream hasn't been closed.
    by the way, it can be easier  by using System.IO.OpenStreamForWriteAsync extension method
    async public static Task<bool> SaveTextFileAsync(string filename, string data)
    byte[] fileBytes = System.Text.Encoding.UTF8.GetBytes(data);
    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
    var file = await local.CreateFileAsync(filename, CreationCollisionOption.ReplaceExisting);
    try
    using (var s = await file.OpenStreamForWriteAsync())
    s.Write(fileBytes, 0, fileBytes.Length);
    return true;
    catch
    return false;
    (need using System.IO namespace)
    在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。

  • How to remove eventreceiver when handling AppUninstalling in a RER without getting access denied

    I am trying to remove an eventreceiver from the clientContext.Web.EventReceivers
    by using DeleteObject() but I am getting Access Denied exception
    In my appmanifest.xml I already granted full control to the app
    Within my AppEventReceiver I have:
    if (properties.EventType == SPRemoteEventType.AppUninstalling)
                    SharePointContextToken contextToken = TokenHelper.ReadAndValidateContextToken(properties.ContextToken, OperationContext.Current.IncomingMessageHeaders.To.Host);
                    string appOnlyAccessToken = TokenHelper.GetAppOnlyAccessToken(contextToken.TargetPrincipalName, properties.AppEventProperties.HostWebFullUrl.Authority, contextToken.Realm).AccessToken;
                    //string appOnlyAccessToken = TokenHelper.GetAppOnlyAccessToken(SHAREPOINT_PID, properties.AppEventProperties.HostWebFullUrl.Authority, TokenHelper.GetRealmFromTargetUrl(properties.AppEventProperties.HostWebFullUrl)).AccessToken;
                    using (ClientContext clientContext = TokenHelper.GetClientContextWithAccessToken(properties.AppEventProperties.HostWebFullUrl.ToString(), appOnlyAccessToken))
                        try
                            clientContext.Load(clientContext.Web);
                            clientContext.Load(clientContext.Web.EventReceivers);
                            clientContext.Load(clientContext.Web, web => web.Title);
                            clientContext.Load(clientContext.Web, web => web.CurrentUser.LoginName);
                            clientContext.ExecuteQuery();
                            //IEnumerable<EventReceiverDefinition> receivers = clientContext.LoadQuery(clientContext.Web.EventReceivers.Where(e => e.ReceiverName == "GroupUserAddedRER"));
                            //clientContext.ExecuteQuery();
                            EventReceiverDefinitionCollection receivers = clientContext.Web.EventReceivers;
                            List<EventReceiverDefinition> receiversToDelete = new List<EventReceiverDefinition>();
                            foreach (var rec in receivers)
                                if (rec.ReceiverName == "GroupUserAddedRER")
                                    receiversToDelete.Add(rec);
                            foreach (var recToDelete in receiversToDelete)
                                recToDelete.DeleteObject();
                            clientContext.ExecuteQuery();
                        catch (Exception)
                            result.Status = SPRemoteEventServiceStatus.CancelNoError;

    Hi,
    Check you manifest.xml
    You must have the property AllowAppOnlyPolicy
    to "true" like below, to use the "GetAppOnlyAccessToken" method
    <AppPermissionRequestsAllowAppOnlyPolicy="true">
             Rights of your app...
    </AppPermissionRequests>

  • CRS XI ReportClientDocument.open() - access denied

    Hi,
    I'm using CRS XI R2. I got an access denied exception when I tried to run the ReportClientDocument.open() method.
    The rpt files are unmanaged and placed in a directory on the machine where RAS has been installed.
    How do I configure RAS to have access to this directory and all the sub-directories?
    Thanks.

    Found where you set the report directory.

  • APEX and ORA-24247: network access denied by access control list (ACL)

    Hi,
    I try to send email with APEX.
    I have enter the parameters of my mail server and activate the email on my application.
    I have follow the APEX installation guide and apply the script given in the "Granting Connect Privileges" section.
    When I try to send email or make a subscription, I don't receive any email and can see this error in the table "WWV_FLOW_MAIL_LOG"
    +"MAIL_TO","MAIL_FROM","MAIL_REPLYTO","MAIL_SUBJ","MAIL_CC","MAIL_BCC","MAIL_SEND_ERROR","LAST_UPDATED_BY","LAST_UPDATED_ON","SECURITY_GROUP_ID"+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",24/02/12,3210210578052219+
    +"[email protected]","[email protected]","[email protected]","Suivi de Besoins","","","ORA-24247: network access denied by access control list (ACL)","SYS",05/03/12,3210210578052219+
    Do you see what is wrong in my configuration ?
    I use APEX 4.1, Oracle 11g.
    The script that I have apply is :
    DECLARE
    ACL_PATH  VARCHAR2(4000);
    ACL_ID    RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give APEX_040100
    -- the "connect" privilege if APEX_040100 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, make sure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    --+
    -- ORA-44416: Invalid ACL: Unresolved principal 'APEX_040100'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    --+
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040100',
    +'connect') IS NULL THEN+
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
    +'APEX_040100', TRUE, 'connect');+
    END IF;
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    +'ACL that lets power users to connect to everywhere',+
    +'APEX_040100', TRUE, 'connect');+
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    +/+
    COMMIT;
    Thanks for your help,

    Hi,
    You need to grant privilege to the user.
    i.e add principal
    You can use script :
    DECLARE
    ACL_ID   RAW(16);
    CNT      NUMBER;
    BEGIN
    -- Look for the object ID of the ACL currently assigned to ''*
    SELECT ACLID INTO ACL_ID FROM DBA_NETWORK_ACLS
    WHERE HOST = '' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;*
    -- If just some users referenced in the ACL are invalid, remove just those
    -- users in the ACL. Otherwise, drop the ACL completely.
    SELECT COUNT(PRINCIPAL) INTO CNT FROM XDS_ACE
    WHERE ACLID = ACL_ID AND
    EXISTS (SELECT NULL FROM ALL_USERS WHERE USERNAME = PRINCIPAL);
    IF (CNT > 0) THEN
    FOR R IN (SELECT PRINCIPAL FROM XDS_ACE
    WHERE ACLID = ACL_ID AND
    NOT EXISTS (SELECT NULL FROM ALL_USERS
    WHERE USERNAME = PRINCIPAL)) LOOP
    UPDATE XDB.XDB$ACL
    SET OBJECT_VALUE =
    DELETEXML(OBJECT_VALUE,
    *'/ACL/ACE[PRINCIPAL="'||R.PRINCIPAL||'"]')*
    WHERE OBJECT_ID = ACL_ID;
    END LOOP;
    ELSE
    DELETE FROM XDB.XDB$ACL WHERE OBJECT_ID = ACL_ID;
    END IF;
    END;
    REM commit the changes.
    COMMIT;
    Or you need to add privilege to specific user/schema using following script:
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE (
    acl          => 'aclfilename.xml',
    principal    => 'databaseuser',
    is_grant     => TRUE,
    privilege    => 'connect',
    position     => null);
    COMMIT;
    END;
    Please execute this code after connect as sysdba user.
    Thanks & Regards,
    Jaydipsinh Raulji
    Web: [www.oracleapexconsultant.com|www.oracleapexconsultant.com]

  • ORA-24247: network access denied by access control list (ACL)error-UTL_HTTP

    I am getting following ACL error while executing following procedure:
    create or replace procedure sat_proc as
    http_req utl_http.req;
    http_resp utl_http.resp;
    BEGIN
    http_req := utl_http.begin_request('www.yahoo.com');
    http_resp := utl_http.get_response(http_req);
    utl_http.end_response(http_resp);
    END;
    exec sat_proc;
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1130
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at "TRANSDBA.SAT_PROC", line 5
    ORA-06512: at line 1
    I am able to execute successfully while executing above code as PL/SQL block:
    DECLARE
    http_req utl_http.req;
    http_resp utl_http.resp;
    BEGIN
    http_req := utl_http.begin_request('www.yahoo.com');
    http_resp := utl_http.get_response(http_req);
    utl_http.end_response(http_resp);
    END;
    PL/SQL procedure successfully completed.
    Could help me find why I am getting error while executing same code in a procedure? Is there any privilege missing?

    GRANT EXECUTE ON SYS.UTL_HTTP TO <your_user>;
    SQL> set time on
    17:21:01 SQL> set role none;
    Role set.
    17:21:23 SQL> @utl_http.sql
    17:21:34 SQL> DECLARE
    17:21:34   2  http_req utl_http.req;
    17:21:34   3  http_resp utl_http.resp;
    17:21:34   4  BEGIN
    17:21:34   5  http_req := utl_http.begin_request('www.yahoo.com');
    17:21:34   6  http_resp := utl_http.get_response(http_req);
    17:21:34   7  utl_http.end_response(http_resp);
    17:21:34   8  END;
    17:21:34   9  /
    PL/SQL procedure successfully completed.
    17:21:35 SQL> connect / as sysdba
    Connected.
    17:22:47 SQL> connect dbadmin/admindb
    Connected.
    17:23:06 SQL> @utl_http.sql
    17:23:22 SQL> DECLARE
    17:23:22   2  http_req utl_http.req;
    17:23:22   3  http_resp utl_http.resp;
    17:23:22   4  BEGIN
    17:23:22   5  http_req := utl_http.begin_request('www.yahoo.com');
    17:23:22   6  http_resp := utl_http.get_response(http_req);
    17:23:22   7  utl_http.end_response(http_resp);
    17:23:22   8  END;
    17:23:22   9  /
    PL/SQL procedure successfully completed.
    17:23:23 SQL> set role none;
    Role set.
    17:23:29 SQL> @utl_http.sql
    17:23:31 SQL> DECLARE
    17:23:31   2  http_req utl_http.req;
    17:23:31   3  http_resp utl_http.resp;
    17:23:31   4  BEGIN
    17:23:31   5  http_req := utl_http.begin_request('www.yahoo.com');
    17:23:31   6  http_resp := utl_http.get_response(http_req);
    17:23:31   7  utl_http.end_response(http_resp);
    17:23:31   8  END;
    17:23:31   9  /
    DECLARE
    ERROR at line 1:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1130
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at line 5
    17:23:31 SQL> above is from test user
    Below is from SYSDBA account
    SQL> set time on
    17:20:53 SQL> revoke execute on sys.utl_http to dbadmin;
    revoke execute on sys.utl_http to dbadmin
    ERROR at line 1:
    ORA-00905: missing keyword
    17:22:03 SQL> revoke execute on sys.utl_http from dbadmin;
    revoke execute on sys.utl_http from dbadmin
    ERROR at line 1:
    ORA-04020: deadlock detected while trying to lock object
    ACLiLZU+w09hR7gQAB/AQAjcw==
    17:22:32 SQL> /
    Revoke succeeded.
    17:22:52 SQL> Edited by: sb92075 on Jun 10, 2010 5:24 PM

  • HR User, REST example - network access denied by access control list (ACL)

    Hi,
    I am new to APEX and am running the 'Oracle Developer Days' vm. I'm logged into APEX as the default HR/oracle account and I've been following the 'Creating and Using a RESTful Web Service in Application Express 4.2' training video, however when I try to retrieve information by entering a dept no. and clicking submit I get:
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-24247: network access denied by access control list (ACL)
    I've seen the following thread:
    ORA-24247: network access denied by access control list (ACL)error-UTL_HTTP
    and I've tried running the command:
    GRANT EXECUTE ON SYS.UTL_HTTP TO HR;
    but I'm not getting anywhere, presumably the HR user does not have permissions to access 'http://localhost:8888/apex/hr/employee_test'
    Any help much appreciated, also if this is the wrong forum for this question please let me know.
    Many Thanks

    Hi,
    Thank you for the link; I executed the first block of code to 'grant connect privileges to any host for the APEX_040200 database user' that did not work so I changed the user to HR within the code and re-executed and that seems to have done the trick. I guess the HR user is now in the power_users list/group?
    Thanks again!

  • 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.

Maybe you are looking for

  • Using Mac Word for Windows software using Parallels

    Hello, I'm using Parallels. I'm running a Windows program. The program has an export to Word function. I do not have Word on Windows, I just have  MS Office on the Mac side. When I Export to Word in Windows, it says I need to have Word installed. Is

  • MySQL - Connection Pooling - Driver?

    Hi there! I am looking for a JDBC 2.0 compatible driver to use with MySQL. I would like to use connection pooling in a webapplication (JSP:s and Servlets) but I have just found out that the driver I usually use mmmysql do not support connection pooli

  • Best Practice - Analyze table with very large partitions

    We have a table that contains 100 partitions with about 20m rows in each. Right now the analyze is taking about 1 hour per partition. The table is used for reporting and will have a nightly load of the previous days data. What would be the best way t

  • IMovie11 hangs, freezes while generating thumbnails

    Often after importing MiniDV tapes using iMovie11 the progress bar for generating thumbnails gets to a certain point and then stops. It will remain this way for over a day unless I Force Quit the application. The event directory and thumbnail directo

  • FCP HD 4.5 not recognizing video playback

    Recently I upgraded my operating system to 10.4.8 from 10.3 on both my G5 and powerbook. I use FCP HD 4.5 on both. Now FCP will not recognize a firewire connection either in log and capture or recording video out. This problem started after the Tiger