Hi,
It's your code that's looking for this class, not Tomcat.  Anyways,
putting code in jre/lib/ext is tantamount to playing Russian roulette.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Wout Perquin [mailto:[EMAIL PROTECTED]
>Sent: Saturday, November 20, 2004 10:29 PM
>To: Tomcat Users List
>Subject: Looking for classes that were moved out
>
>Hi,
>
>My web application is in /var/tomcat4/webapps/logging2.
>
>Initially I had placed a number of classes (com.sun.jini.reggie.*) in
>/var/tomcat4/webapps/logging/WEB-INF/classes
>Later on I moved them into the extension directory.
>
>However, and this is my problem, log catalina.out keeps on saying:
>java.security.AccessControlException: access denied
(java.io.FilePermission
>/var/tomcat4/webapps/logging/WEB-
>INF/classes/com/sun/jini/reggie/RegistrarAd
>min.class read)
>and many more similar messages
>
>Bottom line:
>1) Tomcat searches for classes that have been moved, it should not
because:
>2) my application runs ok.  In other words the classes are found
elsewhere
>
>I did the following to resolve it:
>a) I stopped tomcat, moved the webapp out of the /var/tomcat4/webapps
>directory, started tomcat, stopped tomcat again, moved the webapp back
in
>but now with a changed directory name being logging2 iso logging
>No difference.  Now catalina.out says:
>java.security.AccessControlException: access denied
(java.io.FilePermission
>/var/tomcat4/webapps/logging2/WEB-
>INF/classes/com/sun/jini/reggie/RegistrarA
>dmin.class read)
>and many more similar messages
>
>
>Anybody some clue ?
>Much appreciated.
>
>Regards, Wout Perquin
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to