cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: portal engine in 2.1.4
Date Fri, 20 Feb 2004 08:43:16 GMT
Yes, this is true - this is related to the used container (the
pluto project). So, if this can be fixed, it has to be fixed
there.

Carsten 

> -----Original Message-----
> From: Ralph Goers [mailto:Ralph.Goers@digitalinsight.com] 
> Sent: Thursday, February 19, 2004 8:20 PM
> To: 'users@cocoon.apache.org'; 'dev@cocoon.apache.org'
> Subject: RE: portal engine in 2.1.4
> 
> I believe I have figured out the problem. My webapp is a war 
> so I suspect
> servletContext.getRealPath("") is returning null (which is 
> the documented behavior).  I suppose this means that the 
> Cocoon portal can only be used in an exploded app?
> 
> Ralph
> 
>  -----Original Message-----
> From: 	Ralph Goers  
> Sent:	Thursday, February 19, 2004 10:44 AM
> To:	'users@cocoon.apache.org'
> Subject:	portal engine in 2.1.4
> 
> I'm trying to upgrade to 2.1.4 in my webapp. I included the 
> portal engine block in my cocoon build. When my webapp tries 
> to deploy it fails with a NullPointerException.  I'm 
> wondering if there is some configuration I am missing.
> 
> java.lang.NullPointerException
>         at
> org.apache.cocoon.portal.pluto.om.PortletDefinitionRegistryImp
> l.initialize(P
> ortletDefinitionRegistryImpl.java:178)
>         at
> org.apache.avalon.framework.container.ContainerUtil.initialize
> (ContainerUtil
> .java:282)
>         at
> org.apache.cocoon.portal.pluto.PortletContainerEnvironmentImpl
> .init(PortletC
> ontainerEnvironmentImpl.java:137)
>         at
> org.apache.cocoon.portal.pluto.PortletContainerEnvironmentImpl
> .initialize(Po
> rtletContainerEnvironmentImpl.java:116)
>         at
> org.apache.avalon.framework.container.ContainerUtil.initialize
> (ContainerUtil
> .java:282)
>         at
> org.apache.cocoon.portal.impl.PortletPortalManager.initContain
> er(PortletPort
> alManager.java:206)
>         at
> org.apache.cocoon.portal.impl.PortletPortalManager.initialize(
> PortletPortalM
> anager.java:173)
>         at
> org.apache.avalon.framework.container.ContainerUtil.initialize
> (ContainerUtil
> .java:282)
>         at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.
> newInstance(De
> faultComponentFactory.java:313)
>         at
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandl
> er.initialize(
> ThreadSafeComponentHandler.java:143)
>         at
> org.apache.avalon.excalibur.component.ExcaliburComponentManage
> r.initialize(E
> xcaliburComponentManager.java:558)
>         at
> org.apache.cocoon.components.CocoonComponentManager.initialize
> (CocoonCompone
> ntManager.java:547)
>         at
> org.apache.avalon.framework.container.ContainerUtil.initialize
> (ContainerUtil
> .java:282)
>         at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
>         at
> org.apache.avalon.framework.container.ContainerUtil.initialize
> (ContainerUtil
> .java:282)
>         at
> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonSer
> vlet.java:1371
> )
>         at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:514)
>         at
> weblogic.servlet.internal.ServletStubImpl$ServletInitAction.ru
> n(ServletStubI
> mpl.java:993)
>         at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe
> nticatedSubjec
> t.java:317)
>         at
> weblogic.security.service.SecurityManager.runAs(SecurityManage
> r.java:118)
>         at
> weblogic.servlet.internal.ServletStubImpl.createServlet(Servle
> tStubImpl.java
> :869)
>         at
> weblogic.servlet.internal.ServletStubImpl.createInstances(Serv
> letStubImpl.ja
> va:848)
>         at
> weblogic.servlet.internal.ServletStubImpl.prepareServlet(Servl
> etStubImpl.jav
> a:787)
>         at
> weblogic.servlet.internal.WebAppServletContext.preloadServlet(
> WebAppServletC
> ontext.java:3252)
>         at
> weblogic.servlet.internal.WebAppServletContext.preloadServlets
> (WebAppServlet
> Context.java:3197)
>         at
> weblogic.servlet.internal.WebAppServletContext.preloadResource
> s(WebAppServle
> tContext.java:3174)
>         at
> weblogic.servlet.internal.HttpServer.preloadResources(HttpServ
> er.java:688)
>         at
> weblogic.servlet.internal.WebService.preloadResources(WebServi
> ce.java:483)
>         at
> weblogic.servlet.internal.ServletInitService.resume(ServletIni
> tService.java:
> 30)
>         at
> weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
>         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
>         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
>         at weblogic.Server.main(Server.java:32)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message