You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by fl...@atraxis.com on 2001/10/15 15:16:33 UTC
cocoon2 installation
Hi,
I could install Cocoon with Tomcat without problem but I would like to
install the new version (2) with Jboss & Tomcat.
I get the following security error from JBoss after installation:
type internal-server-error
message null
description java.lang.NullPointerException
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
exception
java.lang.NullPointerException
request-uri
/cocoon/samples
stacktrace
java.lang.NullPointerException
at org.jboss.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:132)
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:132)
at org.apache.cocoon.Cocoon.debug(Cocoon.java:432)
at org.apache.cocoon.Cocoon.process(Cocoon.java:493)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:534)
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:539)
path-info
samples
and from the server.log the error message is
[JBossSecurityMgrRealm] Authenticating access, username: null R( /cocoon + /samples + null)
[JBossSecurityMgrRealm] ClassLoader: org.apache.cocoon.components.classloader.RepositoryClassLoader@dfd868:14669928
[JBossSecurityMgrRealm] Servlet ClassLoader: AdaptiveClassLoader( ):653967
[JBossSecurityMgrRealm] User: null is authenticated
I understand that some authorisation must be in place for the servlet but did not find the place ....
I followed the explanation file but did not find anything about this kind
of problem ....
what should I do ?
Thanks for any help
Best regards
Franck LeprĂȘtre
---------------------------------------------------------------------
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>
SV: cocoon2 installation
Posted by Jan Normann Nielsen <co...@dubbekarl.dk>.
Hello
I remember having this problem. What version of JBoss & Tomcat are you
using? Have you replaced JBoss's XML parser with Xerces?
Best regards,
Jan Nielsen
> -----Oprindelig meddelelse-----
> Fra: flepretr@atraxis.com [mailto:flepretr@atraxis.com]
> Sendt: 15. oktober 2001 15:17
> Til: cocoon-users@xml.apache.org
> Emne: cocoon2 installation
>
>
> Hi,
>
> I could install Cocoon with Tomcat without problem but I would like to
> install the new version (2) with Jboss & Tomcat.
> I get the following security error from JBoss after installation:
>
> type internal-server-error
>
> message null
>
> description java.lang.NullPointerException
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> exception
>
> java.lang.NullPointerException
>
> request-uri
>
> /cocoon/samples
>
> stacktrace
>
> java.lang.NullPointerException
> at
> org.jboss.tomcat.security.JBossSecurityMgrRealm.authenticate(JBoss
> SecurityMgrRealm.java:132)
> at
> org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManage
> r.java:837)
> at
> org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341)
> at
> org.apache.tomcat.facade.HttpServletRequestFacade.getRemoteUser(Ht
> tpServletRequestFacade.java:251)
> at
> org.apache.cocoon.environment.http.HttpRequest.getRemoteUser(HttpR
> equest.java:132)
> at org.apache.cocoon.Cocoon.debug(Cocoon.java:432)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:493)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:534)
> 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(ContextManag
> er.java:797)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnec
> tion(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:539)
>
>
> path-info
>
> samples
>
> and from the server.log the error message is
> [JBossSecurityMgrRealm] Authenticating access, username: null
> /cocoon + /samples + null)
> [JBossSecurityMgrRealm] ClassLoader:
> org.apache.cocoon.components.classloader.RepositoryClassLoader@dfd
> 868:14669928
> [JBossSecurityMgrRealm] Servlet ClassLoader:
ptiveClassLoader(
> ):653967
> [JBossSecurityMgrRealm] User: null is authenticated
>
> I understand that some authorisation must be in place for the
> servlet but did not find the place ....
>
> I followed the explanation file but did not find anything about this kind
> of problem ....
> what should I do ?
>
> Thanks for any help
>
> Best regards
>
> Franck LeprĂȘtre
>
>
> ---------------------------------------------------------------------
> 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>
>
---------------------------------------------------------------------
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>