You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Aurelien <au...@fractals.be> on 2001/09/19 00:14:21 UTC

jboss-tomcat-cocoon: authentication problem

Hi,

I get the following error after successfully compiling and installing 
cocoon 2 on Jboss-Tomcat. Note that I also have the following line of 
output on my JBoss console:[EmbeddedTomcatSX] User: null is authenticated

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)

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>