I have tried both with release version and cvs version, but i still get
the null pointer exception (see below).
I get the following in the log when i deploy:
[Auto deploy] Binding security/securityMgr to NullSecurityManager
But i think that should be ok as it would just give all access.

when i acces http://localhost:8080/cocoon/ i get the following in the log:
[EmbeddedTomcatSX] User: null is authenticated
nad the following error on the page:

type internal-server-error

message null

description java.lang.NullPointerException

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoon/

exception

java.lang.NullPointerException

path-info



stacktrace

java.lang.NullPointerException
        at
org.jboss.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:113)
        at
org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManager.java:837)
        at
org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341)
        at
org.apache.tomcat.facade.HttpServletRequestFacade.getRemoteUser(HttpServletRequestFacade.java:251)
        at
org.apache.cocoon.environment.http.HttpRequest.getRemoteUser(HttpRequest.java:129)
        at org.apache.cocoon.Cocoon.debug(Cocoon.java:374)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:422)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:489)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)



Thanks alot for your help, ideas, clues, .. anything :)

cheers
Jesper
- May the source be with you, Linux -


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to