cocoon-users mailing list archives

Attempting to INstall cocoon2 on weblogic . But am stuck with a Null Pointer
Exception (stack trace below). Can anybody make something out of it ? Any
input will be appreciated .. I am determined to set it up today .
<Oct 2, 2001 3:10:33 PM PDT> <Notice> <WebLogicServer> <Started WebLogic
Admin S
erver "myserver" for domain "mydomain" running in Production Mode>
DEBUG 10020 [cocoon ] (): load-class was not set - defaulting to false?
DEBUG 10020 [cocoon ] (): init-classloader was not set - defaulting to
false
WARN 10020 [cocoon ] (): Servlet initialization argument
'configurations'not specified, attempting to use '/cocoon.xconf'
DEBUG 10020 [cocoon ] (): Using configuration file: /cocoon.xconf
<Oct 2, 2001 3:11:18 PM PDT> <Error> <HTTP>
<[WebAppServletContext(7786908,cocoon,/cocoon)] Servlet failed with
Exception java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:380)
at
org.apache.avalon.framework.context.DefaultContext.put(DefaultContext
.java:107)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:179)
THanks
LAkshmi
From: Lakshmi Anantharaman [mailto:Lakshmi.Anantharaman@camsystems.com]
Sent: Tuesday, October 02, 2001 3:44 PM
To: 'cocoon-users@xml.apache.org'
Subject: RE: Get Cocoon Working
Created the WAR file with the change mentioned in
web.xml(Cocoon2\webapp\WEB-INF) and I have it at
Tomcat\webapps\ . Not able to start Tomcat ? Am I missing anything
Apache Tomcat/4.0
SessionListener: contextDestroyed()
java.lang.IllegalArgumentException: Document base ..\webapps\cocoon does not
exi
st or is not a readable directory
at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.
java:182)
at
org.apache.catalina.core.StandardContext.setResources(StandardContext
.java:1084)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
-----Original Message-----
From: Gianugo Rabellino [mailto:gianugo@rabellino.it]
Sent: Tuesday, October 02, 2001 12:42 PM
To: cocoon-users@xml.apache.org
Subject: Re: Get Cocoon Working
> THanks Ciao, I suppose you are talking about Cocoon 2.o . I have got
cocoon
> two with Tomcat 4.0
> Do I need to build the apache Cocoon files or can i use the executable
> provided with the downloads .
The executable (the jar/war) is more than enough. There is a
misconfiguration somewhere (AFAIK not in the default distro, I have to
assume that it's something you did) that maps something to
org.apache.cocoon.Cocoon instead then to the proper entry point which is
org.apache.cocoon.servlet.CocoonServlet. Most probably it's a connector
(mod_jk?) directive or an error in Cocoon's web.xml. It might also be an
old version of Cocoon floating around, if I recall correctly the class
name for the servlet is the one used today by the main Cocoon class.
Ciao,
--
Gianugo Rabellino
---------------------------------------------------------------------
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>
---------------------------------------------------------------------
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>
---------------------------------------------------------------------
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>