You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jesper Rasmussen <ge...@cs.auc.dk> on 2001/08/29 15:57:47 UTC
JBoss and Cocoon 2 : Null pointer exception
I know people before me have asked about this, but none seem to have
replied to the list, so i tri again in hope thouse people might have
solved it at that time.
Here is the problem:
I have installed newest jboss (with tomcat) and cocoon2
I have bould and instaled both without problems, except i got some
exception with the tomcat test war.
I can deploy cocoon.war without problems.
when i access it with http://localhost:8080/cocoon i get the following
cocoon 2 internal server error:
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:128)
at org.apache.cocoon.Cocoon.debug(Cocoon.java:367)
at org.apache.cocoon.Cocoon.process(Cocoon.java:415)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:538)
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)
I hope someone can help my. I have spent quite some days on it up till
now. thanks.
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>