cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gerzabek" <michael.gerza...@at.efp.cc>
Subject [user-roles] cannot find role-file (was: AW: AW: [user-roles] don't work)
Date Mon, 14 Jan 2002 11:26:24 GMT
> What does your my.roles look like and what errors are you getting?
> -pete

cocoon.xconf is: <cocoon version="2.0" user-roles="/WEB-INF/web3.roles">
web3.roles is: attached.
I logged the resolved filename, it's:
jndi:/localhost/openefp/WEB-INF/my.roles
I'm using tomcat 4.0.1
- michael

the error is: ERROR   (2002-01-11) 22:18.55:540   [cocoon  ] (Unknown-URI)
Unknown-thread/Cocoon: Could not configure Cocoon environment
java.lang.NullPointerException
	at org.apache.cocoon.Cocoon.configure(Cocoon.java:341)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:197)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:864)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:220)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3267)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:712)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:599)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:777)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:463)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:155)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
	at org.apache.catalina.core.StandardService.start(StandardService.java:388)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)




Mime
View raw message