cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lakshmi Anantharaman <Lakshmi.Ananthara...@camsystems.com>
Subject RE: Get Cocoon Working
Date Wed, 03 Oct 2001 00:23:43 GMT
Got cocoon working on Weblogic6.1. (atleast partially ) .....but I am not
able to completely transform xml pages !
Is there a Cocoon.xml file located (?!?!?!?! )(http://localhost:7001/cocoon/
Gives a Error 403--Forbidden Messages 
Futhur down I can see some xml pages like /samples/index.xml . 

-----Original Message-----
From: Lakshmi Anantharaman [mailto:Lakshmi.Anantharaman@camsystems.com]
Sent: Tuesday, October 02, 2001 4:33 PM
To: 'cocoon-users@xml.apache.org'
Subject: RE: Get Cocoon Working


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>

---------------------------------------------------------------------
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>


Mime
View raw message