Re: TomCat4 Deployment

Patrick Middleton <[email protected]> Thu, 24 Feb 2005 14:57:02 +0000
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Hi.
	I'm neither a Tomcat expert nor a Java expert, so what I'm about to 
suggest could be completely wrong.

	It appears you're deploying to ${TOMCAT_HOME}/work instead of 
${TOMCAT_HOME}/webapps , which is a configuration I haven't seen 
before.  Possibly it's deploying to a non-standard location that's 
giving you security problems, possibly not.  Either way, your problems 
seem to be with not being allowed to read the property 
"com.webobjects.safeInvokeDeprecatedJarBundleAPI", and you might be 
able to fix this by editing ${TOMCAT_HOME}/conf/catalina.policy to 
allow it, then restarting Tomcat.

	I'm sure there must be other interesting possibilities, including the 
JVM loading classes from jars from somewhere you didn't expect, with 
the result that the policy file hasn't specified permissions for the 
jar involved.

-- Patrick