You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marcel Overdijk <m....@oravision.nl> on 2003/05/06 11:15:20 UTC

Cannot use JVM pre-1.4 access bug workaround die to restrictive security manager / Can't get definitions factory from context

Hello,
 
I have buid a webpage with Struts 1.1 using Tiles at home. Everything
works fine but after deploying it at my provider in 'real live' in won't
work.... The Apache log file give the following WARNING: Cannot use JVM
pre-1.4 access bug workaround die to restrictive security manager.
See complete log file below.

My provider uses an Ensim package wich contains the following: Apache
Tomcat 4.0.3; Java JDK 1.4.0
 
Runtime error I recieve at www.overdijk.org is:
javax.servlet.ServletException: Can't get definitions factory from
context.

I also tried to use Bean messages and this works fine. Also 'putting'
tiles works.
But when using the tile-definitions it goes wrong.
 
Also a simple forwardAction like:
<action path     ="/test" 
                type     ="org.apache.struts.actions.ForwardAction"
                parameter="/test.jsp"/>
won't work.
 
Help appreciated.
 
 
 
Starting service Tomcat-Apache13
Apache Tomcat/4.0.3
WebappLoader[]: Deploying class repositories to work directory
/var/tomcat4/work/defaulthost/_
StandardManager[]: Seeding random number generator class
java.security.SecureRandom
StandardManager[]: Seeding of random number generator has been completed
ContextConfig[]: Missing application web.xml, using defaults only
ContextConfig[]: Added certificates -> request attribute Valve
StandardWrapper[:default]: Loading container servlet default
StandardWrapper[:invoker]: Loading container servlet invoker
Apr 13, 2003 2:02:11 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Apr 13, 2003 2:02:11 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Apr 13, 2003 2:02:11 PM org.apache.commons.beanutils.MethodUtils
getMatchingAccessibleMethod
WARNING: Cannot use JVM pre-1.4 access bug workaround die to restrictive
security manager.
Apr 13, 2003 2:02:11 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='ApplicationResources', returnNull=true
Ajp13Connector[8009] Opening server socket on host IP address 127.0.0.1
Ajp13Connector[8009] Starting background thread
Ajp13Processor[8009][0] Starting background thread
Ajp13Processor[8009][1] Starting background thread
Ajp13Processor[8009][2] Starting background thread
Ajp13Processor[8009][3] Starting background thread
Ajp13Processor[8009][4] Starting background thread

 
 
 

Kind Regards,


Marcel Overdijk