You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Nika Jones <nj...@fredesign.com> on 2002/08/01 18:48:09 UTC

Cocoon Won't Parce

-- 
Hello:

I've been looking through the archives and I can't quite seem to find 
my problem. Which is...

I go to http://localhost/cocoon and the directory contents are 
displayed... They are formatted and broken down into "subdirectories" 
and "files".

Does anyone know why they are not being run through a stylesheet?? I 
click on the sitemap.xmap and I get XML output. I go into the 
WEB-INF/cocoon.xconf and I get an error that says I don't have 
permission to access the file!?

Also I have to run /cocoon from my web directory and not the 
java/jakarta/webapps/cocoon ? this happend after I added the line:

	JKMount /cocoon/* ajp12

to my httpd.conf file (Perviously I was only getting a directory listing...)

I have all of the xalan, xml-apis, and such files in the 
cocoon/WEB-INF/lib folder

and the permissions of the files in the cocoon/WEB-INF/ folder are 
all set correctly!

Does anyone have a clue... can I try any commandline options to make 
sure that all is working?

I've tried:

	java org.apache.xalan.xslt.Process -in fooX.xml
	-xsl foo.xsl -out my.htm

in my xalan/samples folder, but I get an error:

	Exception in thread "main" java.lang.NoClassDefFoundError:
	org/apache/xalan/xslt /Process

?????
I'm pretty new at java, so I think I have all of the .jars in the 
correct place?!

well I'm using:

Cobalt Raq4
Linux
Cocoon 2.0.3
Tomcat 3.2.3
Java jdk 1.3.1

Thanks for nay help!

Nika


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: Cocoon Won't Parce

Posted by Vadim Gritsenko <va...@verizon.net>.
Nika,

Seems that you are a newbie... I recommend you first to familiarize
itself with simple setup before doing more complex stuff. Please start
with:

1. Get Tomcat 4.0.4 and install it. URL: http://localhost:8080/ should
show you tomcat welcome page.

2. Copy cocoon.war to tomcat/webapps directory, and restart tomcat.

3. Go to http://localhost:8080/cocoon/

Same in more details you can read at:

http://xml.apache.org/cocoon/installing/index.html


Vadim


> From: Nika Jones [mailto:njones@fredesign.com]
> 
> 
> --
> Hello:
> 
> I've been looking through the archives and I can't quite seem to find
> my problem. Which is...
> 
> I go to http://localhost/cocoon and the directory contents are
> displayed... They are formatted and broken down into "subdirectories"
> and "files".
> 
> Does anyone know why they are not being run through a stylesheet?? I
> click on the sitemap.xmap and I get XML output. I go into the
> WEB-INF/cocoon.xconf and I get an error that says I don't have
> permission to access the file!?
> 
> Also I have to run /cocoon from my web directory and not the
> java/jakarta/webapps/cocoon ? this happend after I added the line:
> 
> 	JKMount /cocoon/* ajp12
> 
> to my httpd.conf file (Perviously I was only getting a directory
listing...)
> 
> I have all of the xalan, xml-apis, and such files in the
> cocoon/WEB-INF/lib folder
> 
> and the permissions of the files in the cocoon/WEB-INF/ folder are
> all set correctly!
> 
> Does anyone have a clue... can I try any commandline options to make
> sure that all is working?
> 
> I've tried:
> 
> 	java org.apache.xalan.xslt.Process -in fooX.xml
> 	-xsl foo.xsl -out my.htm
> 
> in my xalan/samples folder, but I get an error:
> 
> 	Exception in thread "main" java.lang.NoClassDefFoundError:
> 	org/apache/xalan/xslt /Process
> 
> ?????
> I'm pretty new at java, so I think I have all of the .jars in the
> correct place?!
> 
> well I'm using:
> 
> Cobalt Raq4
> Linux
> Cocoon 2.0.3
> Tomcat 3.2.3
> Java jdk 1.3.1
> 
> Thanks for nay help!
> 
> Nika
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>