cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Huber" <bh22...@i-one.at>
Subject Re: [C2.0rc1] Cocoon installation fails on IONA iPortal App Server
Date Thu, 25 Oct 2001 08:15:47 GMT
Hi,
I think I had the same problem on tomcat.
the stack-trace
)
  at
org.apache.cocoon.servlet.CocoonServlet.initLogger
(CocoonServlet.java:365)
  at org.apache.cocoon.servlet.CocoonServlet.init
(CocoonServlet.java:136)
  at
indicates that the cocoon logger has some problems,
I think you have to check you xconf if the cocoon-logger is
specified...
But I'm not 100% sure, that's just a hint...

----- Originalnachricht -----
Von: "Piroumian, Konstantin" <KPiroumian@flagship.ru>
Datum: Mittwoch, Oktober 24, 2001 4:57 pm
Betreff: [C2.0rc1] Cocoon installation fails on IONA iPortal App Server

> Hi, C2ers!
> 
> Did anybody try to install C2.0rc1 on IONA App Server
> (http://www.iona.com)?
> Or some other server that does not use Tomcat as a servlet 
> container? I
> think that before releasing C2.0 it must be tested with most 
> popular J2EE
> app servers (WebLogic, WebSphere) and results must be documented.
> 
> I am trying to install C2.0rc1 on IONA iPortal App Server 3.0, 
> which is a
> certified J2EE platform, but I get this error during CocoonServlet
> initialization:
> 
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:380)
>  at
> org.apache.avalon.framework.context.DefaultContext.put
(DefaultContext.java:1
> 07)
>  at
> org.apache.cocoon.servlet.CocoonServlet.initLogger
(CocoonServlet.java:365)
>  at 
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136)  
at
> 
com.iona.j2ee.web.servlet.ServletInstanceManager.loadAndInitializeServle
tCla
> ss(ServletInstanceManager.java:202)
>  at
> 
com.iona.j2ee.web.servlet.ServletInstanceManager.loadUserDefinedServlet
(Serv
> letInstanceManager.java:192)
>  at
> com.iona.j2ee.web.servlet.ServletInstanceManager.refresh
(ServletInstanceMana
> ger.java:89)
>  at
> com.iona.j2ee.web.servlet.ServletInstanceManager.<init>
(ServletInstanceManag
> er.java:74)
>  at
> com.iona.j2ee.web.servlet.ServletContextImpl.<init>
(ServletContextImpl.java:
> 56)
>  at
> com.iona.j2ee.server.WebApplicationImpl.<init>
(WebApplicationImpl.java:61)
>  at
> com.iona.j2ee.server.DeployedWarModule.applyContainerConfiguration
(DeployedW
> arModule.java:90)
>  at
> com.iona.j2ee.server.Deployed.applyContainerConfiguration
(Deployed.java:77)
>  at 
> com.iona.j2ee.server.ContainerBean.configure(ContainerBean.java:685)  
at com.iona.j2ee.server.ContainerBean._configure(ContainerBean.java:701)
> ....
> 
> The source from CocoonServlet.java [C2.0rc1] looks like this:
> 
> 363        final DefaultContext subcontext = new
> DefaultContext(this.appContext);
> 364        subcontext.put("servlet-context", this.servletContext);
> 365        subcontext.put("context-root",
> this.servletContext.getRealPath("/"));  <-- this raises an NPE
> 
> I can only guess what happens: it seems that the server does not 
> extractfiles from WAR and works with it and for whatever reason
> this.servletContext.getRealPath("/") returns null. What can be 
> done in this
> situation?
> 
> Any help would very appreciated.
> 
> Regards,
>     Konstantin Piroumian
> 
> 
> 
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 

Mime
View raw message