cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From flepr...@atraxis.com
Subject cocoon2 installation
Date Mon, 15 Oct 2001 13:16:33 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message