Hi,

CRM> Struts itself shouldn't be trying to do anything not already defined in
CRM> Tomcat's default catalina.policy file, although it is certainly possible
CRM> that your application might be trying things (file access would definitely
CRM> be one of those that needs extra permissions).

CRM> What precise errors are you getting?

It looks like Struts-Layout initialisation fails. But it tries to use
the MessageResources from struts, i think. But i can not see any
permission violations.

I wrote a Init Class, that is defined as Listener in web.xml. It works
great if a do not start withe the -security option. In this Class im
instantiating my DBManager and initialize the Struts-Layout.

--- snip ---
2002-05-18 21:31:48 StandardContext[/admin-app]: Exception sending context initi
alized event to listener instance of class de.fh.wilhelmshaven.context.Init
java.lang.ExceptionInInitializerError
        at org.apache.struts.util.MessageResources.getMessageResources(MessageRe
sources.java:557)
        at fr.improve.struts.taglib.layout.util.LayoutUtils.<clinit>(LayoutUtils
.java:44)
        at de.fh.wilhelmshaven.context.Init.contextInitialized(Unknown Source)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3175)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
378)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
)
        at org.apache.catalina.core.StandardService.start(StandardService.java:3
88)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:506
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: java.lang.NullPointerException
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:494)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:285)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:255)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)
        at org.apache.struts.util.MessageResourcesFactory.<clinit>(MessageResour
cesFactory.java:135)
        ... 19 more
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullP
ointerException
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:404)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:487)
        ... 23 more
Caused by: java.lang.NullPointerException
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1307)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1243)
        at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:398)
        ... 24 more

--- snap ---
        
best regards


Ingo Bruell

---
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<ICQ# 40377720>
Oldenburg    PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
Germany      PGP-Public-Key available at pgpkeys.mit.edu



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

Reply via email to