I had a similar problem, except that I also had a sealed-data exception. In
my case, it turned out that the (sealed) jar file crimson.jar is in both the
lib and server directories. I fixed my problem by unsealing the .jar file --
that is, by un-jaring the file and then re-jaring it.
-----Original Message-----
From: David Wall [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 17, 2001 1:28 PM
To: [EMAIL PROTECTED]
Subject: TC4.0 catalina classloader exception
I am getting the following exception running Tomcat 4.0b1:
RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
java.lang.ClassNotFoundException: access denied to class loader
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
java.lang.ClassNotFoundException: access denied to class loader
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
is:
java.lang.ClassNotFoundException: access denied to class loader
java.lang.ClassNotFoundException: java.security.AccessControlException:
access denied (java.io.FilePermission
/usr/local/apache1.3.19/WebPub/pub/WEB-INF/classes/- read)
<<no stack trace available>>
I'm not sure what is going wrong. I am starting catalina with the
"-security" option which I need since I'm using RMI. I even made the
catalina.policy file contain only:
grant {
permission java.security.AllPermission;
};
So there really should be no security exception. Anybody know why this
exception is being thrown?
Thanks,
David