You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Terry Paddy <te...@travelnz.co.nz> on 2000/01/27 08:25:03 UTC
Basic Installation Problem
Hi Gang,
I have RH 6.1, Apache-1.3.9 with JServ 1.1 running on a development
platform. I've installed the .jar 's as follows
jserv.properties
----------------
wrapper.classpath=/usr/local/java/Cocoon.jar
wrapper.classpath=/usr/local/java/fop_bin0_12_0.jar
wrapper.classpath=/usr/local/java/xalan.jar
wrapper.classpath=/usr/local/java/Xerces.jar
In httpd.conf I have a virtual host ...
-------------
<VirtualHost 192.168.1.4:80>
ServerName www.mysite.com
DocumentRoot /home/www/mysite/htdocs
ApJServMount /servlets /ms
Action cocoon /ms/org.apache.cocoon.Cocoon <<---- Base on comments
from
AddHandler cocoon xml <<---- Dan Egnor in this
list
ErrorLog logs/mysite-error_log
CustomLog logs/mysite-access_log common
</VirtualHost>
(Other general JServ parameters are set elsewhere)
In /home/www/mysite/htdocs/ms I have
ms.properties
-------------
repositories=/home/www/mysite/htdocs/ms,/home/www/common
and ...
servlet.org.apache.cocoon.Cocoon.initArgs=properties=/usr/lib/apache/conf/co
coon.properties
I have placed hello-page.xml and hello-page-html.xsl in
/home/www/mysite/htdocs but when I enter the URL
http://www.mysite.com/hello-page.xml I getan error in mysite-error_log of
...
File does not exist:
/home/www/mysite/htdocs/ms/org.apache.cocoon.Cocoon/hello-page.xml
If I move hello-page.xml and hello-page-html.xsl to say
/home/www/mysite/htdocs/ms I get the
File does not exist: /home/www/mysite/htdocs/ms/hello-page.xml
I'm sure its a simple config problem, but I'm a novice at this! Can anyone
see what's wrong?
Thanks ...
Terry
Christchurch - New Zealand.
linkage error
Posted by Michele Bianchi <mi...@research.telcordia.com>.
hi,
i use a debian 2.2 with cocoon 1.5, i tried v1.6 and v1.6.1 and i've got this
error when accessing to xml page:
java.lang.LinkageError
at org.apache.cocoon.Utils.getBasename(Compiled Code)
at org.apache.cocoon.producer.ProducerFromFile.getPath(Compiled Code)
at org.apache.cocoon.producer.AbstractProducer.getDocument(Compiled Code)
at org.apache.cocoon.Engine.handle(Compiled Code)
at org.apache.cocoon.Cocoon.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
i have installed: apache 1.3.9 with ApacheJServ 1.1, and:
cocoon-1.6.1.jar
fesi-1.1.3.jar
fop-0.12.jar
gnu.regexp-1.0.8.jar
jndi-1.2.1.jar
xalan-0.19.2.jar
xerces-1.0.1.jar
xml-tr2.jar
xslp-1.0.jar
xt-19991105.jar
any idea!?!?
tia
michele
-------------------------------------------------------------------------------
michele bianchi - telcordia technologies http://mic.aesthetica.it
445 south street, mcc 1d316r t +1 973 829 4117
morristown, nj 07960 f +1 973 829 5981