You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gene Sohn <ge...@yahoo.com> on 2003/07/13 06:06:19 UTC

sunspot 2.0.4 w/resin 2.0.9

Hi,

Anyone gotten sunspot working with Resin?  I've got cocoon installed and
working under resin 2.0.9.  I installed the scratchpad from source, and
navigate to the url /sunspotdemoportal, which gives me the login page.  I
login as guest/guest and I get the following stack-trace:

java.lang.NullPointerException
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:836)
	at
org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(SimpleSession
Context.java:173)
	at
org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:692)
	at
org.apache.cocoon.sunshine.sunrise.SunRise.checkAuthentication(SunRise.java:
769)
	at
org.apache.cocoon.sunshine.sunrise.acting.AuthAction.act(AuthAction.java:122
)
	at
org.apache.cocoon.www.sitemap_xmap.matchN4004A9(/data1/shared/resin-ee-2.1.9
/thesohnsorg/webapps/cocoonportal/WEB-INF/tmp/cocoon-files/org/apache/cocoon
/www/sitemap_xmap.java:5323)
	at
org.apache.cocoon.www.sitemap_xmap.process(/data1/shared/resin-ee-2.1.9/thes
ohnsorg/webapps/cocoonportal/WEB-INF/tmp/cocoon-files/org/apache/cocoon/www/
sitemap_xmap.java:3368)
	at
org.apache.cocoon.www.sitemap_xmap.process(/data1/shared/resin-ee-2.1.9/thes
ohnsorg/webapps/cocoonportal/WEB-INF/tmp/cocoon-files/org/apache/cocoon/www/
sitemap_xmap.java:3121)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:227)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173)
	at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:152)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
6)
	at com.caucho.server.http.Invocation.service(Invocation.java:315)
	at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
	at
com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:344)
	at
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274
)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
	at java.lang.Thread.run(Thread.java:536)

any ideas?  I noticed from a different thread that an identical stack trace
was eliminated by removing duplicate xml jars in tomcat.  I actually
attempted to remove jaxp.jar, dom.jar, and sax.jar from $RESIN_HOME/lib,
although that didn't change the behavior at all.  The only other thing I can
think of is that resin has some xml stuff going on in resin.jar.

Thanks,

Gene


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