cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@digitalinsight.com>
Subject RE: portal engine in 2.1.4
Date Thu, 19 Feb 2004 19:19:49 GMT
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.PortletDefinitionRegistryImpl.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.initContainer(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.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.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(CocoonServlet.java:1371
)
        at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:514)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
mpl.java:993)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:869)
        at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:848)
        at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.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.preloadResources(WebAppServle
tContext.java:3174)
        at
weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
        at
weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
        at
weblogic.servlet.internal.ServletInitService.resume(ServletInitService.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

Mime
View raw message