JCE requires: java.lang.RuntimePermission requires accessClassInPackage.sun.security.provider
I'm trying to use the JCE with JWS1.0.2. All I want to do is generate a KeyPair and I can NOT use a signed application. The code is:
public static KeyPair genDHKeyPair() throws Exception {
// properties...
DHParameterSpec dhSkipParamSpec;
dhSkipParamSpec = new DHParameterSpec(skip1024Modulus, skip1024Base);
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("DH");
keyPairGenerator.initialize(dhSkipParamSpec);
KeyPair keyPair = keyPairGenerator.generateKeyPair();
return keyPair;
I'm using JDK1.4. This code works fine outside of JWS.
If I call this code I get an exception that states I need the stated RuntimePermission. IMHO this is a bug because I should be able to make use of simple standard extension methods like this. Is getting an instance of a KeyPairGenerator and generating a key pair a security risk?
The fix for this should be a simple addition to the security policy for JWS which gives SUN javax.crypto code access to the appropriate RuntimePermission.
Can anyone think of a reason why NOT to do this?
Thank you.
BTW, here's the Exception you would get if you tried this:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.security.provider)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1513)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at com.wss.calendar.client.swing.Main.main(Main.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:739)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:701)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:584)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:328)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:166)
at com.sun.javaws.Launcher.run(Launcher.java:134)
at java.lang.Thread.run(Thread.java:536)
hi there,
Please I have the same problem in an applet that uses DSA with the following call:
pkey = (PublicKey) new DSAPublicKey(server_pub_key);
The Exception i am having on the console is
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.security.provider)
Note that I am NOT using JCE and that both netscape and IE browsers gave this error
Can somebody help me please?
Thanks in advance,
JPDib
Similar Messages
-
accessdenied (java.lang.RuntimePermission accessClassInPackage.sun.swing)
the detailed message is given below.
Exception in read object===>access denied (java.lang.RuntimePermission accessClassInPackage.sun.swing)
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.swing)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.io.ObjectInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
at java.awt.Component.readObject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readArray(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readArray(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at epmj.workflow.ObjectTransmit.readObject(ObjectTransmit.java:44)
at epmj.workflow.WfApplet12.PKJinitUI(WfApplet12.java:1286)
at epmj.workflow.WfApplet12.init(WfApplet12.java:326)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) -
When i am running my applet program with database the following message is displayed in command prompt .
" access denied <java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc> "
Above program is running fine without applet i.e. normal java application@OP
Well this is bound to happen my friend..In general are designed to be more secure & don't have adequate access to System(Fils,Audio,SSL,Native Code,Database.. & etc) resources.
Well need sign the applet inorder to do that.
you may go through the link given below to which provides details about siging an applet.
http://java.sun.com/docs/books/tutorial/security/tour1/step1.html
http://download-east.oracle.com/docs/cd/B14117_01/java.101/b10979/applet.htm#i1004498
(An advice)It is not a gud practise of using vunerablities where there is a security restrcition... we might quite often mishandle resources in this case.
Hope this might be of some help :)
REGARDS,
RaHuL -
Understanding java.lang.RuntimePermission
I was utilizing a script I found online which allows me to call OS commands and PERL scripts from PL/SQL, using JAVA as an interface. Before things would work, the following DBMS_JAVA calls were necessary.
I think I get the last one (file permissions) but I don't understand the purpose of the first 2.
EXEC dbms_java.grant_permission('SHARED', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
EXEC dbms_java.grant_permission('SHARED', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
EXEC dbms_java.grant_permission('SHARED', 'SYS:java.io.FilePermission', '/bin/sh', 'execute');
I mainly concerned as they look like they grant read/write privileges on everything (...'writeFileDescriptor', ''). java.sun.com warns that "[readFileDescriptor] ... would allow code to read the particular file associated with the file descriptor read. This is dangerous if the file contains confidential data", and that "[writeFileDescriptor]...allows code to write to a particular file associated with the descriptor. This is dangerous because it may allow malicious code to plant viruses or at the very least, fill up your entire disk."
So I'm concerned,
ChuckWe have since taken it that step further, and revoked access to /bin/sh, and granted it to a test PERL script /test/scripts/list_dir.pl
What is strange is that when I went out to the operating system today (Sep 16) and issued a 'ps -ef' I found the following:
[oracle@ora4 oracle]$ ps -ef | grep 5994
oracle 5994 1 0 Sep15 ? 00:10:52 ora_s001_dev
oracle 11214 5994 0 Sep15 ? 00:00:00 [list_dir.pl <defunct>]
oracle 11327 5994 0 Sep15 ? 00:00:00 [ls <defunct>]
oracle 16866 14478 0 07:56 pts/0 00:00:00 grep 5994
The processes are hanging around (I started with a more simple 'ls' just to see if this would even work - so it's there too).
Why would that be?
If it helps, here is the java code and the PL/SQL wrapper that I found at orafaq.com:
CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "Host" AS
import java.io.*;
public class Host {
public static void executeCommand(String command) {
try {
String[] finalCommand;
if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1) {
finalCommand = new String[4];
finalCommand[0] = "C:\\winnt\\system32\\cmd.exe";
finalCommand[1] = "/y";
finalCommand[2] = "/c";
finalCommand[3] = command;
} else { // Linux or Unix System
finalCommand = new String[3];
finalCommand[0] = "/bin/sh";
finalCommand[1] = "-c";
finalCommand[2] = command;
// Execute the command...
final Process pr = Runtime.getRuntime().exec(finalCommand);
// Capture output from STDOUT...
BufferedReader br_in = null;
try {
br_in = new BufferedReader(new InputStreamReader(pr.getInputStream()));
String buff = null;
while ((buff = br_in.readLine()) != null) {
System.out.println("stdout: " + buff);
try {Thread.sleep(100); } catch(Exception e) {}
br_in.close();
} catch (IOException ioe) {
System.out.println("Error printing process output.");
ioe.printStackTrace();
} finally {
try {
br_in.close();
} catch (Exception ex) {}
// Capture output from STDERR...
BufferedReader br_err = null;
try {
br_err = new BufferedReader(new InputStreamReader(pr.getErrorStream()));
String buff = null;
while ((buff = br_err.readLine()) != null) {
System.out.println("stderr: " + buff);
try {Thread.sleep(100); } catch(Exception e) {}
br_err.close();
} catch (IOException ioe) {
System.out.println("Error printing execution errors.");
ioe.printStackTrace();
} finally {
try {
br_err.close();
} catch (Exception ex) {}
catch (Exception ex) {
System.out.println(ex.getLocalizedMessage());
show errors
rem -----------------------------------------------------------------------
rem Publish the Java call to PL/SQL...
rem -----------------------------------------------------------------------
CREATE OR REPLACE PROCEDURE host (p_command IN VARCHAR2)
AS LANGUAGE JAVA
NAME 'Host.executeCommand (java.lang.String)';
/ -
I am getting this error when I try to download a message using IMAP from exchange server
java.lang.NullPointerException
at com.sun.mail.iap.Response.parse(Response.java:99)
at com.sun.mail.iap.Response.<init>(Response.java:68)
at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
at com.sun.mail.iap.Protocol.command(Protocol.java:215)
at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:656)
at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:645)
This error occurs intermittantly. I placed one large mail (around 600 MB) and few normal size mails on exchange server. In few testing runs, this error occured while downloading the large mail as well as one normal mail. In one test run, all mails got downloaded successfully.
Could anyone please suggest the cause and resolution?
Thanks.I turned on the session debugging. I am running my application on Linux, so the debugging info was moved to a log file. This log file is very large (around 1GB) and I am unable to open it.
One more thing: I am trying Message.writeTo() method to download the message. If an OutOfMemoryError occurs, I catch it and try to download the message using GetInputStream. NullPointerException is occuring in both the cases.
Exception stack trace with writeTo():
java.lang.NullPointerException
at com.sun.mail.iap.Response.parse(Response.java:99)
at com.sun.mail.iap.Response.<init>(Response.java:68)
at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
at com.sun.mail.iap.Protocol.command(Protocol.java:215)
at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:656)
at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:645)
at com.sun.mail.imap.IMAPMessage.writeTo(IMAPMessage.java:536)
Exception stack trace with getInputStream():
java.lang.NullPointerException
at com.sun.mail.iap.Response.parse(Response.java:99)
at com.sun.mail.iap.Response.<init>(Response.java:68)
at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
at com.sun.mail.iap.Protocol.command(Protocol.java:215)
at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:653)
at com.sun.mail.imap.protocol.IMAPProtocol.peekBody(IMAPProtocol.java:637)
at com.sun.mail.imap.IMAPMessage.loadHeaders(IMAPMessage.java:1055)
at com.sun.mail.imap.IMAPMessage.getAllHeaders(IMAPMessage.java:642)
First I try to download the headers in case of an OutOfMemoryError. The above trace shows that.
Could anyone point out the problem and help resolving it? -
Unable to grant_permission java.lang.RuntimePermission
Hello,
i am trying to use a java class within SQL plus. My class has been uploaded successfully, but when executing the method within the class i get this error:
Internal exception:
java.security.AccessControlException: the Permission (java.lang.RuntimePermission loadLibrary.tibrvj) has not been granted to SCOTT. The PL/SQL to grant this is dbms_java.grant_permission( 'SCOTT', 'SYS:java.lang.RuntimePermission', 'loadLibrary.tibrvj',
i then do the following:
exec dbms_java.grant_permission( 'SCOTT', 'SYS:java.lang.RuntimePermission', 'loadLibrary.tibrvj', '')
and receive this error:
BEGIN dbms_java.grant_permission( 'SCOTT', 'SYS:java.lang.RuntimePermission', 'loadLibrary.tibrvj', ''); END;
FEHLER in Zeile 1:
ORA-29532: Java-Aufruf durch nicht abgefangene Java-Exception beendet: java.lang.SecurityException: policy table update SYS:java.lang.RuntimePermission, loadLibrary.tibrvj
ORA-06512: in "SYS.DBMS_JAVA", Zeile 0
ORA-06512: in Zeile 1
What am i missing?
Regards
WolfgangWolfgang,
I'm only guessing, but I think you need to login to SQL*Plus as the SYS user and grant the permission to SCOTT, as in:
sqlplus /nolog
SQL> connect / as sysdba
Connected
SQL> exec dbms_java.grant_permission( 'SCOTT',...Good Luck,
Avi. -
Hi,
Iam struggling with this problem from last 3days.
Any body could u help me to solve this problem.
error:
Caught an unexpected exception!
java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow (PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
at ConverterClient.main(ConverterClient.java:59)
Client Code is here:
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
import java.util.Properties;
import javax.ejb.CreateException;
import java.util.Hashtable;
// NOT NECESSARY import Converter;
// NOT NECESSARY import ConverterHome;
public class ConverterClient {
public static void main(String[] args) {
try {
Properties env = new Properties();
env.put("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
env.put("java.naming.provider.url", "iiop://localhost:3700");
Context initial = new InitialContext(env);
ConverterHome home =(ConverterHome)PortableRemoteObject.narrow(initial.lookup("MyConverter"),ConverterHome.class);
// Create converter session bean
Converter currencyConverter = home.create();
// Calculate from dollars to yen
double amount = currencyConverter.dollarToYen(100.00);
System.out.println("100 Dollars is " + String.valueOf(amount) + " Yen");
// Calculate from yen to dollars
amount = currencyConverter.yenToEuro(100.00);
System.out.println("100 Yen is " + String.valueOf(amount) + " Dollars");
} catch (Exception ex) {
System.err.println("Caught an unexpected exception!");
ex.printStackTrace();Hi,
I have a stateless bean and accessing it from a jsp page in Orion App Server. There is no problem in the deployment. of the application.
When I access the bean from the jsp page is throwing
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
The code is :
Object homeObject = null;
homeObject = ctx.lookup("LoginHome");
out.println(homeObject.toString());
LoginHome ejbHome = (LoginHome)PortableRemoteObject.narrow(homeObject,LoginHome.class);
Login login = ejbHome.create();
when I use the statement
homeOject.toString() to print the object it prints
LoginHome EJBHome
I am not able to resolve this for th epast three days.
Thanks,
Vivek S -
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. -
Hi,
I developed an ADF UIX application in JDeveloper 10.1.2. It works fine when I run on embedded oc4j in my machine.
I deployed it to Oracle Application Server 10g in AIX. When I run the application from the Application Server and try to open a uix page with data I get the following error:
500 Internal Server Error
java.lang.NoClassDefFoundError: sun/security/provider/Sun at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:280) at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482) at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165) at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java(Compiled Code)) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java(Compiled Code)) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java(Compiled Code)) at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code)) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47) at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java(Compiled Code)) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java(Compiled Code)) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java(Inlined Compiled Code)) at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code)) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308) at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536) at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121) at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77) at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51) at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code)) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code)) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java(Compiled Code)) at java.lang.Thread.run(Thread.java:568)
Can anybody tell/help why I am getting this error?
Thanks
SyedI believe this counts to be a bug in adf. I met with such errors as well in migration 1012 from NT to AIX platform, and after decompiling adf jar code and tak a look at it, the following code block indicates that In class- oracle.jbo.client.Configuration
, it is hard coded to get secure provider- sun/security/provider/Sun, as listed below...
import sun.security.provider.Sun;
static void checkSecurityProviders()
Provider aprovider[] = Security.getProviders();
boolean flag = false;
for(int i = 0; i < aprovider.length; i++)
if(!aprovider.getName().equals("SUN"))
continue;
flag = true;
break;
if(!flag)
try
Sun sun = new Sun();
Security.addProvider(sun);
catch(Exception exception)
exception.printStackTrace();
Adam -
I am getting this error when i am ruunning my j2me program in eclipse 3.2 >>>>
The default color phone emulator og the j2me disappear after launching...
Can anybody please tell whats the problem?
<Error code>
java.lang.NoClassDefFoundError: Login: com/sun/gi/comm/users/client/JMEClientListenerInterface
at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
at com.sun.midp.midlet.Scheduler.schedule(+52)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116When i executing J2ME program m getting the error
java.lang.NoClassDefFoundError: com/sun/midp/midlet/MIDletState
Exception in thread "main"
Can anyone plz help in this -
Access denied (java.lang.RuntimePermission getClassLoader)
Hello to everybody....
I have a problem in the client when I download theejb stubs class and when I try to makethe lookup I receive the followException:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate class for irma.ejb.serviceSessionManager.ServiceSessionManager_b1engw_EOImpl_813_WLStub ] - with nested exception:
[java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)]
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:814)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:2
I have resolved the problem adding the propery line regerding the "getClassLoader" in the java.policy file under the jre installation dir but I would want to resolve the problem in aother way without modify any file......
Is this possible,perhaps modifing the main source code or the sign jar parameter or the key generating parameter ?
Can anyone help me?Hi,
I am facing the same issue. Getting the following error message .
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)
at weblogic.utils.classloaders.AugmentableClassLoaderManager.getAugmentableClassLoader(AugmentableClassLoaderManager.java:48)
at weblogic.rmi.internal.ClientRuntimeDescriptor.findLoader(ClientRuntimeDescriptor.java:241)
at weblogic.rmi.internal.ClientRuntimeDescriptor.getInterfaces(ClientRuntimeDescriptor.java:132)
at weblogic.rmi.internal.StubInfo.getInterfaces(StubInfo.java:78)
at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_T4CConnection_922_WLStub.ensureInitialized(Unknown Source)
at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_T4CConnection_922_WLStub.<init>(Unknown Source)
... 41 more
I have signed all my JAR Files. Also added the following lines in my JNLP file. But no luck.
<security>
<j2ee-application-client-permissions/>
<all-permissions/> </security>
Soumyajit -
Bug in 'sun.security.provider.MD5'
I have created a non-blocking server and a blocking client using NIO and SSLEngine.
I have put the two in an endless read/write loop, i.e
- the client writes to the server
- the server reads
- the server writes to the client
- the client reads
and so on...
Everything works fine for a while, the "while" being almost constant, the I get the following exception:
Exception in thread "Thread-0" java.lang.StackOverflowError
at sun.security.provider.MD5.implCompress(MD5.java:129)
at sun.security.provider.MD5.implDigest(MD5.java:92)
at sun.security.provider.DigestBase.engineDigest(DigestBase.java:169)
at sun.security.provider.DigestBase.engineDigest(DigestBase.java:148)
at java.security.MessageDigest$Delegate.engineDigest(MessageDigest.java:545)
at java.security.MessageDigest.digest(MessageDigest.java:323)
at com.sun.crypto.provider.HmacCore.b(DashoA13*..)
at com.sun.crypto.provider.HmacMD5.engineDoFinal(DashoA13*..)
at javax.crypto.Mac.doFinal(DashoA13*..)
at com.sun.net.ssl.internal.ssl.MAC.compute(MAC.java:172)
at com.sun.net.ssl.internal.ssl.MAC.compute(MAC.java:136)
at com.sun.net.ssl.internal.ssl.EngineInputRecord.checkMAC(EngineInputRecord.java:193)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:881)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:791)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:667)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
at pt.jmdsc.coms.SSLChannel.read(SSLChannel.java:126)This seems to be a bug in the MD5 class of the provider, has anyone come across the same issue?Yip I did shorten the post, the last 4 lines below keep repeating
Exception in thread "Thread-0" java.lang.StackOverflowError
at sun.security.provider.MD5.implCompress(MD5.java:129)
at sun.security.provider.DigestBase.engineUpdate(DigestBase.java:116)
at java.security.MessageDigestSpi.engineUpdate(MessageDigestSpi.java:97)
at java.security.MessageDigest$Delegate.engineUpdate(MessageDigest.java:541)
at java.security.MessageDigest.update(MessageDigest.java:311)
at com.sun.crypto.provider.HmacCore.a(DashoA13*..)
at com.sun.crypto.provider.HmacMD5.engineUpdate(DashoA13*..)
at javax.crypto.Mac.update(DashoA13*..)
at com.sun.net.ssl.internal.ssl.MAC.compute(MAC.java:167)
at com.sun.net.ssl.internal.ssl.MAC.compute(MAC.java:136)
at com.sun.net.ssl.internal.ssl.EngineInputRecord.checkMAC(EngineInputRecord.java:193)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:881)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:791)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:667)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
at pt.jmdsc.coms.SSLChannel.read(SSLChannel.java:126)
at pt.jmdsc.coms.Client.read(Client.java:92)
at pt.jmdsc.coms.Client.write(Client.java:85)
at pt.jmdsc.coms.Client.read(Client.java:92)
at pt.jmdsc.coms.Client.write(Client.java:85)
.... -
Java.lang.NoClassDefFoundError when opening Sun ONE Studio 4 CE
Hi! I have installed Sun ONE Studio 4 CE with windows 2000 OS and when I open the runidew.exe, it's application I'm getting an error that says
" A java.lang.NoClassDefFoundError" and ide.log messsage is this
Log Session: Saturday, May 17, 2003 3:20:54 PM CST
System Info: Product Version = Sun ONE Studio 4 update 1, Community Edition (Build 020923)
IDE Versioning = IDE/1 spec=1.43.3.1 impl=020923
Operating System = Windows 2000 version 5.0 running on x86
Java; VM; Vendor = 1.4.0-beta; Java HotSpot(TM) Client VM 1.4.0-beta-b65; Sun Microsystems Inc.
Java Home = C:\jdk1.4\jre
System Locale; Encod. = en_US; Cp1252 (f4j_ce)
Home Dir; Current Dir = C:\Documents and Settings\Administrator.ISSPG_07; e:\Program Files\s1studio\ce\bin
IDE Install; User Dir = E:\Program Files\s1studio\ce; c:\ide-userdir
CLASSPATH = E:\Program Files\s1studio\ce\lib\patches\openide-compat.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j_ce.jar;E:\Program Files\s1studio\ce\lib\locale\openide_f4j.jar;E:\Program Files\s1studio\ce\lib\core.jar;E:\Program Files\s1studio\ce\lib\openide.jar;E:\Program Files\s1studio\ce\lib\ext\bsh-1_0-fj.jar;E:\Program Files\s1studio\ce\lib\ext\cmd.jar;E:\Program Files\s1studio\ce\lib\ext\crimson.jar;E:\Program Files\s1studio\ce\lib\ext\ddl.jar;E:\Program Files\s1studio\ce\lib\ext\fjscript.jar;E:\Program Files\s1studio\ce\lib\ext\jaas.jar;E:\Program Files\s1studio\ce\lib\ext\jaxp-api.jar;E:\Program Files\s1studio\ce\lib\ext\jh.jar;E:\Program Files\s1studio\ce\lib\ext\logger.jar;E:\Program Files\s1studio\ce\lib\ext\parser.jar;E:\Program Files\s1studio\ce\lib\ext\pbclient.jar;E:\Program Files\s1studio\ce\lib\ext\regexp.jar;E:\Program Files\s1studio\ce\lib\ext\terminalemulator.jar;E:\Program Files\s1studio\ce\lib\ext\xerces.jar;E:\Program Files\s1studio\ce\lib\ext\jdbc20x.zip;C:\jdk1.4\lib\dt.jar;C:\jdk1.4\lib\tools.jar
Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-api.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-ri.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\xercesImpl.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\sax.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-runtime.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-compiler.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
Existing modules:
Ant [org.apache.tools.ant.module/2 2.7.3.1 020923]
Applet [org.netbeans.modules.applet/1 1.7.4 020923]
Auto Update [org.netbeans.modules.autoupdate/1 2.1.2.1 020923]
Bean Patterns [org.netbeans.modules.beans/1 1.7.3.1 020923]
Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4.3.1 020923]
CSS Support [org.netbeans.modules.css/1 0.2.8.1 020923]
CVS Command-Line Client Backward Compatibility [org.netbeans.modules.vcs.cmdline.compat/1 1.0.2.1 020923]
Classfile Closure Compiler [com.sun.forte4j.modules.depclass/1 2.2 020923]
Database Explorer [org.netbeans.modules.db/1 1.5.3.1 020923]
Database Schema (JDBC Implementation) [com.sun.forte4j.modules.dbmodel.jdbcimpl/1 1.2.1.1 020923]
Editor [org.netbeans.modules.editor/1 1.8.3.1 020923]
External HTML Browser [org.netbeans.modules.extbrowser/1 0.3.4 020923]
File Copy [org.netbeans.modules.filecopy/1 1.6.2.1 020923]
Form Editor [org.netbeans.modules.form/2 1.7.3.1 020923]
General Online Help [org.netbeans.modules.usersguide/1 1.9.3.1 020923]
HTML [org.netbeans.modules.html/1 1.8.4 020923]
HTTP Monitor [org.netbeans.modules.web.monitor/1 1.5.2 020923]
HTTP Server [org.netbeans.modules.httpserver/1 1.7.4 020923]
IDE Core [org.netbeans.core/1 1.1]
Image [org.netbeans.modules.image/1 1.7.2.1 020923]
Internationalization [org.netbeans.modules.i18n/1 1.9.3.1 020923]
Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8.3 020923]
J2EE Common Library [com.sun.forte4j.j2ee.lib/1 1.2 020923]
JAR Packager [org.netbeans.modules.jarpackager/2 1.9.3.1 020923]
JDBC [org.netbeans.modules.jdbc/1 1.2.1.1 020923]
JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9.3.1 020923]
JSP Parser [org.netbeans.modules.web.jspparser/1 1.0.3 020923]
JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.6.3 020923]
JSP Tag Library Editor [org.netbeans.modules.web.taglibed/1 1.5.2 020923]
JSP/Servlet [org.netbeans.modules.web.core/1 1.6.3 020923]
JSP/Servlet (Advanced) [org.netbeans.modules.web.ie/1 1.6.4 020923]
JSP/Servlet Breakpoint Support [org.netbeans.modules.web.debug/1 1.0.3 020923]
JSP/Servlet Depl. Descriptor Editing [org.netbeans.modules.web.dd.editors/1 1.0.2 020923]
Java Source Files [org.netbeans.modules.java/1 1.7.3.1 020923]
Javadoc [org.netbeans.modules.javadoc/1 1.7.3.1 020923]
Logger (TraceLogger) [org.netbeans.modules.logger/1 1.4.1.1 020923]
PointBase Server [com.sun.forte4j.modules.pointbase/1 1.2.1.1 020923]
Product Registration [com.sun.ffj.modules.registration/1 1.2 020923]
Projects [org.netbeans.modules.projects/1 1.7.3.1 020923]
Resource Bundle Syntax Coloring [org.netbeans.modules.properties.syntax/1 1.7.3 020923]
Resource Bundles [org.netbeans.modules.properties/1 1.7.3.1 020923]
Schema2Beans Library [org.netbeans.modules.schema2beans/1 1.2.1 020923]
Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8.3.1 020923]
Sun ONE Studio Auto Update [org.netbeans.modules.autoupdateffj/1 1.0.1 020923]
Text [org.netbeans.modules.text/1 1.7.3.1 020923]
Tomcat 4.0 Server [org.netbeans.modules.web.tomcat.tomcat40/1 1.1.3 020923]
Tomcat 4.0 Server Autocompilation Support [org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 1.1.2 020923]
Tools Debugger [org.netbeans.modules.debugger.debug/1 1.9.3.1 020923]
User Utilities [org.netbeans.modules.utilities/1 1.7.3.1 020923]
VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 1.5.3.1 020923]
Web module support for J2EE assembling [org.netbeans.modules.web.assemblee/1 1.0.2 020923]
XML Backward Compatibility [org.netbeans.modules.xml/2 0.2.8 020923]
XML Coloring Backward Compatibility [org.netbeans.modules.xml.editor.coloring/2 0.2.8 020923]
XML Core [org.netbeans.modules.xml.core/1 0.2.8.1 020923]
XML Entity Catalog [org.netbeans.modules.xml.catalog/1 0.2.8.1 020923]
XML Productivity Tools [org.netbeans.modules.xml.tools/1 0.2.8.1 020923]
XML Text Editor [org.netbeans.modules.xml.text/1 0.2.8.1 020923]
XML Tree Editor [org.netbeans.modules.xml.tree/1 0.2.8.1 020923]
[org.netbeans.core.modules] *********** Exception occurred ************
Sat May 17 15:21:39 CST 2003: org.netbeans.core.modules.InvalidException: Module[org.netbeans.modules.debugger.debug]: Dependency failed on package sun.tools.debug[DebuggerCallback]
org.netbeans.core.modules.InvalidException: Module[org.netbeans.modules.debugger.debug]: Dependency failed on package sun.tools.debug[DebuggerCallback]
at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:513)
[catch] at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:474)
at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:418)
at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:263)
at org.netbeans.core.NonGui.run(NonGui.java:519)
at org.netbeans.core.Main.run(Main.java:213)
at org.openide.TopManager.initializeTopManager(TopManager.java:120)
at org.openide.TopManager.getDefault(TopManager.java:81)
at org.netbeans.core.Main.main(Main.java:346)
at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:87)
at java.lang.Thread.run(Thread.java:579)
*********** Exception occurred ************
Sat May 17 15:23:06 CST 2003: java.lang.NullPointerException: <no message>
java.lang.NullPointerException
at java.awt.dnd.DropTarget.addNotify(DropTarget.java:454)
at java.awt.Component.addNotify(Component.java:5271)
at java.awt.Container.addNotify(Container.java:1949)
at javax.swing.JComponent.addNotify(JComponent.java:4141)
at java.awt.Container.addNotify(Container.java:1957)
at javax.swing.JComponent.addNotify(JComponent.java:4141)
at java.awt.Container.addNotify(Container.java:1957)
at javax.swing.JComponent.addNotify(JComponent.java:4141)
at java.awt.Container.addImpl(Container.java:486)
at java.awt.Container.add(Container.java:368)
at org.netbeans.core.ui.ModuleSelectionPanel.initComponents(ModuleSelectionPanel.java:145)
at org.netbeans.core.ui.ModuleSelectionPanel.addNotify(ModuleSelectionPanel.java:74)
at org.netbeans.core.ui.ModuleSelectionPanel.readSettings(ModuleSelectionPanel.java:221)
at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:450)
at org.netbeans.core.ui.SetupWizard$InitializedWizardDescriptor.updateState(SetupWizard.java:403)
at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:948)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
at java.awt.Component.processMouseEvent(Component.java:4906)
at java.awt.Component.processEvent(Component.java:4732)
at java.awt.Container.processEvent(Container.java:1337)
at java.awt.Component.dispatchEventImpl(Component.java:3476)
at java.awt.Container.dispatchEventImpl(Container.java:1399)
at java.awt.Component.dispatchEvent(Component.java:3343)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
at java.awt.Container.dispatchEventImpl(Container.java:1373)
at java.awt.Window.dispatchEventImpl(Window.java:1459)
at java.awt.Component.dispatchEvent(Component.java:3343)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
[catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.Dialog.show(Dialog.java:498)
at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
at org.openide.util.Mutex.readAccess(Mutex.java:162)
at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
at org.netbeans.core.NonGui$2.run(NonGui.java:555)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
*********** Exception occurred ************
Sat May 17 15:23:17 CST 2003: java.lang.NullPointerException: <no message>
java.lang.NullPointerException
at org.netbeans.core.ui.ModuleSelectionPanel.storeSettings(ModuleSelectionPanel.java:236)
at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:439)
at org.netbeans.core.ui.SetupWizard$InitializedWizardDescriptor.updateState(SetupWizard.java:403)
at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:948)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
at java.awt.Component.processMouseEvent(Component.java:4906)
at java.awt.Component.processEvent(Component.java:4732)
at java.awt.Container.processEvent(Container.java:1337)
at java.awt.Component.dispatchEventImpl(Component.java:3476)
at java.awt.Container.dispatchEventImpl(Container.java:1399)
at java.awt.Component.dispatchEvent(Component.java:3343)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
at java.awt.Container.dispatchEventImpl(Container.java:1373)
at java.awt.Window.dispatchEventImpl(Window.java:1459)
at java.awt.Component.dispatchEvent(Component.java:3343)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
[catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.Dialog.show(Dialog.java:498)
at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
at org.openide.util.Mutex.readAccess(Mutex.java:162)
at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
at org.netbeans.core.NonGui$2.run(NonGui.java:555)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
*********** Exception occurred ************
Sat May 17 15:23:22 CST 2003: java.lang.NullPointerException: <no message>
java.lang.NullPointerException
at org.netbeans.core.ui.ModuleSelectionPanel.storeSettings(ModuleSelectionPanel.java:236)
at org.openide.WizardDescriptor.resetWizard(WizardDescriptor.java:662)
at org.openide.WizardDescriptor.access$700(WizardDescriptor.java:49)
at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:970)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1775)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:414)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
at java.awt.Component.processMouseEvent(Component.java:4906)
at java.awt.Component.processEvent(Component.java:4732)
at java.awt.Container.processEvent(Container.java:1337)
at java.awt.Component.dispatchEventImpl(Component.java:3476)
at java.awt.Container.dispatchEventImpl(Container.java:1399)
at java.awt.Component.dispatchEvent(Component.java:3343)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
at java.awt.Container.dispatchEventImpl(Container.java:1373)
at java.awt.Window.dispatchEventImpl(Window.java:1459)
at java.awt.Component.dispatchEvent(Component.java:3343)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
[catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.Dialog.show(Dialog.java:498)
at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:672)
at org.netbeans.core.NbPresenter.run(NbPresenter.java:695)
at org.openide.util.Mutex.doEventAccess(Mutex.java:917)
at org.openide.util.Mutex.readAccess(Mutex.java:162)
at org.netbeans.core.NbPresenter.show(NbPresenter.java:676)
at org.netbeans.core.ui.SetupWizard.show(SetupWizard.java:287)
at org.netbeans.core.ui.SetupWizard.showSetupWizard(SetupWizard.java:364)
at org.netbeans.core.NonGui$2.run(NonGui.java:555)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:160)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
*********** Exception occurred ************
Sat May 17 15:23:29 CST 2003: java.lang.NoClassDefFoundError: java/awt/KeyEventPostProcessor
java.lang.NoClassDefFoundError: java/awt/KeyEventPostProcessor
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:495)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:110)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
at java.net.URLClassLoader.access$100(URLClassLoader.java:57)
at java.net.URLClassLoader$1.run(URLClassLoader.java:196)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:189)
at java.lang.ClassLoader.loadClass(ClassLoader.java:304)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:287)
at java.lang.ClassLoader.loadClass(ClassLoader.java:260)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at org.netbeans.core.windows.frames.NbFocusManager.install(NbFocusManager.java:58)
at org.netbeans.core.windows.frames.SplitContainerImpl.<init>(SplitContainerImpl.java:116)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:33)
at sun.reflect.InflatableConstructorAccessorImpl.newInstance(InflatableConstructorAccessorImpl.java:38)
at java.lang.reflect.Constructor.newInstance(Constructor.java:273)
at java.lang.Class.newInstance0(Class.java:290)
at java.lang.Class.newInstance(Class.java:249)
at org.netbeans.core.windows.frames.WindowTypesManager.createInstance(WindowTypesManager.java:179)
at org.netbeans.core.windows.frames.WindowTypesManager.createInstance(WindowTypesManager.java:162)
at org.netbeans.core.windows.frames.WindowTypesManager.createContainer(WindowTypesManager.java:64)
at org.netbeans.core.windows.ModeImpl.createContainer(ModeImpl.java:1822)
at org.netbeans.core.windows.ModeImpl.addToContainer(ModeImpl.java:1765)
at org.netbeans.core.windows.ModeImpl.access$400(ModeImpl.java:77)
at org.netbeans.core.windows.ModeImpl$1.performCommand(ModeImpl.java:396)
at org.netbeans.core.windows.DeferredPerformer.processCommand(DeferredPerformer.java:186)
at org.netbeans.core.windows.DeferredPerformer.putRequest(DeferredPerformer.java:83)
at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:377)
at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:357)
at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:345)
at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.doOpen(WindowManagerImpl.java:1456)
at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.open(WindowManagerImpl.java:1413)
at org.openide.windows.TopComponent.open(TopComponent.java:212)
at org.openide.explorer.ExplorerPanel.open(ExplorerPanel.java:88)
at org.netbeans.core.NbMainExplorer$ExplorerTab.open(NbMainExplorer.java:536)
at org.netbeans.core.NbMainExplorer$MainTab.open(NbMainExplorer.java:763)
at org.netbeans.core.windows.layers.TCRefImpl.performCommand(TCRefImpl.java:163)
at org.netbeans.core.windows.DeferredPerformer.processCommand(DeferredPerformer.java:186)
at org.netbeans.core.windows.DeferredPerformer.stateChanged(DeferredPerformer.java:155)
at org.netbeans.core.windows.StateManager.fireStateChanged(StateManager.java:117)
at org.netbeans.core.windows.StateManager.setVisibilityState(StateManager.java:142)
at org.netbeans.core.windows.StateManager.propertyChange(StateManager.java:164)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:260)
at java.awt.Component.firePropertyChange(Component.java:6476)
at org.netbeans.core.windows.MainWindow.doShowWindow(MainWindow.java:232)
at org.netbeans.core.windows.MainWindow.access$300(MainWindow.java:57)
at org.netbeans.core.windows.MainWindow$4.run(MainWindow.java:207)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
[catch] at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Log Session: Saturday, May 17, 2003 5:23:51 PM CST
System Info: Product Version = Sun ONE Studio 4 update 1, Community Edition (Build 020923)
IDE Versioning = IDE/1 spec=1.43.3.1 impl=020923
Operating System = Windows 2000 version 5.0 running on x86
Java; VM; Vendor = 1.4.0-beta; Java HotSpot(TM) Client VM 1.4.0-beta-b65; Sun Microsystems Inc.
Java Home = C:\jdk1.4\jre
System Locale; Encod. = en_US; Cp1252 (f4j_ce)
Home Dir; Current Dir = C:\Documents and Settings\Administrator.ISSPG_07; e:\Program Files\s1studio\ce\bin
IDE Install; User Dir = E:\Program Files\s1studio\ce; c:\ide-userdir
CLASSPATH = E:\Program Files\s1studio\ce\lib\patches\openide-compat.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j.jar;E:\Program Files\s1studio\ce\lib\locale\core_f4j_ce.jar;E:\Program Files\s1studio\ce\lib\locale\openide_f4j.jar;E:\Program Files\s1studio\ce\lib\core.jar;E:\Program Files\s1studio\ce\lib\openide.jar;E:\Program Files\s1studio\ce\lib\ext\bsh-1_0-fj.jar;E:\Program Files\s1studio\ce\lib\ext\cmd.jar;E:\Program Files\s1studio\ce\lib\ext\crimson.jar;E:\Program Files\s1studio\ce\lib\ext\ddl.jar;E:\Program Files\s1studio\ce\lib\ext\fjscript.jar;E:\Program Files\s1studio\ce\lib\ext\jaas.jar;E:\Program Files\s1studio\ce\lib\ext\jaxp-api.jar;E:\Program Files\s1studio\ce\lib\ext\jh.jar;E:\Program Files\s1studio\ce\lib\ext\logger.jar;E:\Program Files\s1studio\ce\lib\ext\parser.jar;E:\Program Files\s1studio\ce\lib\ext\pbclient.jar;E:\Program Files\s1studio\ce\lib\ext\regexp.jar;E:\Program Files\s1studio\ce\lib\ext\terminalemulator.jar;E:\Program Files\s1studio\ce\lib\ext\xerces.jar;E:\Program Files\s1studio\ce\lib\ext\jdbc20x.zip;C:\jdk1.4\lib\dt.jar;C:\jdk1.4\lib\tools.jar
Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-api.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\saaj-ri.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\xercesImpl.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\autoload\ext\sax.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\autoload\jaxrpc-ri-module.jar, E:\Program Files\s1studio\ce\modules\autoload\jaxr-ri-module.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-runtime.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
Warning: the extension E:\Program Files\s1studio\ce\modules\ext\jasper-compiler.jar may be multiply loaded by modules: [E:\Program Files\s1studio\ce\modules\tomcat40.jar, E:\Program Files\s1studio\ce\modules\jsp-parser.jar]
Existing modules:
Ant [org.apache.tools.ant.module/2 2.7.3.1 020923]
Applet [org.netbeans.modules.applet/1 1.7.4 020923]
Auto Update [org.netbeans.modules.autoupdate/1 2.1.2.1 020923]
Bean Patterns [org.netbeans.modules.beans/1 1.7.3.1 020923]
Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4.3.1 020923]
CSS Support [org.netbeans.modules.css/1 0.2.8.1 020923]
CVS Command-Line Client Backward Compatibility [org.netbeans.modules.vcs.cmdline.compat/1 1.0.2.1 020923]
Classfile Closure Compiler [com.sun.forte4j.modules.depclass/1 2.2 020923]
Database Explorer [org.netbeans.modules.db/1 1.5.3.1 020923]
Database Schema (JDBC Implementation) [com.sun.forte4j.modules.dbmodel.jdbcimpl/1 1.2.1.1 020923]
Editor [org.netbeans.modules.editor/1 1.8.3.1 020923]
External HTML Browser [org.netbeans.modules.extbrowser/1 0.3.4 020923]
File Copy [org.netbeans.modules.filecopy/1 1.6.2.1 020923]
Form Editor [org.netbeans.modules.form/2 1.7.3.1 020923]
General Online Help [org.netbeans.modules.usersguide/1 1.9.3.1 020923]
HTML [org.netbeans.modules.html/1 1.8.4 020923]
HTTP Monitor [org.netbeans.modules.web.monitor/1 1.5.2 020923]
HTTP Server [org.netbeans.modules.httpserver/1 1.7.4 020923]
IDE Core [org.netbeans.core/1 1.1]
Image [org.netbeans.modules.image/1 1.7.2.1 020923]
Internationalization [org.netbeans.modules.i18n/1 1.9.3.1 020923]
Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8.3 020923]
J2EE Common Library [com.sun.forte4j.j2ee.lib/1 1.2 020923]
JAR Packager [org.netbeans.modules.jarpackager/2 1.9.3.1 020923]
JDBC [org.netbeans.modules.jdbc/1 1.2.1.1 020923]
JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9.3.1 020923]
JSP Parser [org.netbeans.modules.web.jspparser/1 1.0.3 020923]
JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.6.3 020923]
JSP Tag Library Editor [org.netbeans.modules.web.taglibed/1 1.5.2 020923]
JSP/Servlet [org.netbeans.modules.web.core/1 1.6.3 020923]
JSP/Servlet (Advanced) [org.netbeans.modules.web.ie/1 1.6.4 020923]
JSP/Servlet Breakpoint Support [org.netbeans.modules.web.debug/1 1.0.3 020923]
JSP/Servlet Depl. Descriptor Editing [org.netbeans.modules.web.dd.editors/1 1.0.2 020923]
Java Source Files [org.netbeans.modules.java/1 1.7.3.1 020923]
Javadoc [org.netbeans.modules.javadoc/1 1.7.3.1 020923]
Logger (TraceLogger) [org.netbeans.modules.logger/1 1.4.1.1 020923]
PointBase Server [com.sun.forte4j.modules.pointbase/1 1.2.1.1 020923]
Product Registration [com.sun.ffj.modules.registration/1 1.2 020923]
Projects [org.netbeans.modules.projects/1 1.7.3.1 020923]
Resource Bundle Syntax Coloring [org.netbeans.modules.properties.syntax/1 1.7.3 020923]
Resource Bundles [org.netbeans.modules.properties/1 1.7.3.1 020923]
Schema2Beans Library [org.netbeans.modules.schema2beans/1 1.2.1 020923]
Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8.3.1 020923]
Sun ONE Studio Auto Update [org.netbeans.modules.autoupdateffj/1 1.0.1 020923]
Text [org.netbeans.modules.text/1 1.7.3.1 020923]
Tomcat 4.0 Server [org.netbeans.modules.web.tomcat.tomcat40/1 1.1.3 020923]
Tomcat 4.0 Server Autocompilation Support [org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 1.1.2 020923]
User Utilities [org.netbeans.modules.utilities/1 1.7.3.1 020923]
VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 1.5.3.1 020923]
Web module support for J2EE assembling [org.netbeans.modules.web.assemblee/1 1.0.2 020923]
XML Backward Compatibility [org.netbeans.modules.xml/2 0.2.8 020923]
XML Coloring Backward Compatibility [org.netbeans.modules.xml.editor.coloring/2 0.2.8 020923]
XML Core [org.netbeans.modules.xml.core/1 0.2.8.1 020923]
XML Entity Catalog [org.netbeans.modules.xml.catalog/1 0.2.8.1 020923]
XML Productivity Tools [org.netbeans.modules.xml.tools/1 0.2.8.1 020923]
XML Text Editor [org.netbeans.modules.xml.text/1 0.2.8.1 020923]
XML Tree Editor [org.netbeans.modules.xmlI would suggest downloading the latest version of the IDE (v. 5.0) which is available at:
http://wwws.sun.com/software/sundev/jde/index.html -
Hi,
I got the following during build. Any ideas?
Thanks in advance.
javac An exception has occurred in the compiler (1.5.0_12). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
javac java.lang.*NullPointerException*
javac at com.sun.tools.javac.jvm.*ClassReader.fillIn(ClassReader.java:1583)*
javac at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1535)
javac at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)There is a bug in the compiler.
You would need to localize the problem to the source file, class and specific code. Once you do that you can file a bug but do not count on a fix without updating to 1.6. However locating it would allow you to modify the code to get around this problem. -
Java.lang.NoClassDefFoundError error on sun one 6.0 web server
Hello,
I'm trying to run a simple hello_world test but get an error message as follows
[17/Nov/2003:12:49:55] info (23151): Internal Info: loading servlet /test/hello_
world.jsp
[17/Nov/2003:12:49:56] failure (23151): Internal error: Unexpected error conditi
on thrown (java.lang.NoClassDefFoundError: sun/tools/javac/Main,sun/tools/javac/
Main), stack: java.lang.NoClassDefFoundError: sun/tools/javac/Main
at com.iplanet.server.http.servlet.IWSJavaC.compile(IWSJavaC.java, Compi
led Code)
at com.iplanet.server.http.servlet.IWSJavaCompiler.compile(IWSJavaCompil
er.java:73)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled C
ode)
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.
java, Compiled Code)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntit
y.java, Compiled Code)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunn
er.java, Compiled Code)
Here is my web-apps.xml file ->
# pg web-apps.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE vs PUBLIC "-//Sun Microsystems, Inc.; iPlanet//DTD Virtual Server Web
Applications 6.0//EN"
"http://developer.iplanet.com/webserver/dtds/iws-webapps_6_0.dtd">
<vs>
<web-app uri="/hello_world" dir="/nnn.nnn.nnn.nn/test" enable="true"/>
</vs>
Just erased ip just in case.
Has anyone experinced same behaviour?What service pack of 6.0 server are you using? What is the JDK version? Try running the VM in server mode. Here's the docs to run JVM in server mode:
http://docs.sun.com/source/816-6770-10/rn60sp6.html#1017482
Hope it helps.
Thanks,
Manish
Maybe you are looking for
-
Cannot see my G5 server after upgrading to Mountain Lion. Help!
Hi everyone! I upgraded to Mountain Lion on my MBP and now my G5 Power PC that I have as a Media Server with all my iTunes movies and music is no longer visible!! Really frustrating because there is a LOT on there. It worked fine with Lion! Am I g
-
Closing an application that does not show up as open
I downloaded an application off the internet and it is messing with my computer. I tried all the ways to delete but it wont because the error message says that it is still open. however, I cannot close it using the conventional methods including tu
-
I have a late 2008 13 inch aluminum macbook and want to purchase an iMac computer or apple display to use as an external display for it while I'm at my desk. I can afford up to $700 for sure, maybe up to $1000 and would like one that has built in cam
-
see the subject - that's it, I would just like for videos to play, please
-
Hi , I need your help in the below scenario: I have two tables. One of my table 'table1' contains the below data: Code: Name,Value 12A,1 12B,1 12C,1 Table2 contains the below data: Code: value,result 1,12 1,24 1,56 1,423 1,32 1,3 I need to join based