users@glassfish.java.net

Re: GF3.1.1 JSP Project - WARNING: WebappClassLoader.findClassI

From: <forums_at_java.net>
Date: Mon, 19 Sep 2011 13:07:53 -0500 (CDT)

I have tried creating a standalone test case without success (I cannot get it
to fail).  Part of what I tried to state in the post was this top of the
stacktrace:

WARNING: WebappClassLoader.findClassInternal(com.company.utils.Utils)
security exception: access denied (java.io.FilePermission C:\Program
Files\glassfish\glassfish-3.1\glassfish\domains\domain1\applications\CompanyApplication\WEB-INF\classes\com\company\utils\Utils.class
read)
java.security.AccessControlException: access denied (java.io.FilePermission
C:\Program
Files\glassfish\glassfish-3.1\glassfish\domains\domain1\applications\CompanyApplication\WEB-INF\classes\com\company\utils\Utils.class
read)

has validity as a permissions problem in the
WEB-INF\classes\com\company\utils\ directory because that file isn't there. 
It is in the WEB-INF\lib directory so I would expect the program to be
looking for the file in the Utils.jar file in WEB-INF\lib.  I suppose that
would be something like:

C:\Program
Files\glassfish\glassfish-3.1\glassfish\domains\domain1\applications\CompanyApplication\WEB-INF\lib\Utils.jar\Utils.class

I am not sure how to force the compiler to make it look for the Utils.class
in Utils.jar in WEB-INF\lib.

 


--
[Message sent by forum member 'rdblaha1']
View Post: http://forums.java.net/node/841336