cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goetz Botterweck" <botte...@uni-koblenz.de>
Subject RE: C2 RC2: cocoon.war file not unpacked
Date Wed, 14 Nov 2001 22:10:28 GMT
> You wrote: 
> <Host name="localhost" debug="0" appBase="/www/vaw" unpackWARs="true">

My /var/tomcat4/conf/server.xml already contains the following line.
      <Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true">

However if I compile a cocooon.war and place it in /var/tomcat4/webapps
restarting the server has no effect = server is not unpacking the .war
file.

After unpacking the .war by hand (winzip) I get the output below. Please
note the lines
	Logging Error: Could not set up Cocoon Logger, will use screen
instead
And further down
	Loading catalog: /path/to/local/catalog

Accessing http://server:8180/cocoon/ results in
	org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available. Please check logs for the exact error.

Thanks for any hints
GB
----------- CONSOLE OUTPUT STARTING HERE
-------------------------------------

[root@bender cocoon]# tomcat4 run
Using CLASSPATH:
/var/tomcat4/bin/bootstrap.jar:/opt/IBMJava2-13/lib/tools.jar
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using JAVA_HOME:     /opt/IBMJava2-13
Starting service Tomcat-Standalone
Apache Tomcat/4.0
Starting service Tomcat-Apache
Apache Tomcat/4.0
[root@bender cocoon]# tomcat4 run
Using CLASSPATH:
/var/tomcat4/bin/bootstrap.jar:/opt/IBMJava2-13/lib/tools.jar
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using JAVA_HOME:     /opt/IBMJava2-13
Starting service Tomcat-Standalone
Apache Tomcat/4.0
Logging Error: Could not set up Cocoon Logger, will use screen instead
org.apache.avalon.framework.configuration.ConfigurationException: cannot
create FileTarget
        at
org.apache.avalon.excalibur.logger.factory.FileTargetFactory.createTarge
t(Unknown Source)
        at
org.apache.avalon.excalibur.logger.DefaultLogTargetManager.configure(Unk
nown Source)
        at
org.apache.avalon.excalibur.logger.DefaultLogKitManager.setupTargetManag
er(Unknown Source)
        at
org.apache.avalon.excalibur.logger.DefaultLogKitManager.configure(Unknow
n Source)
        at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:40
0)
        at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:128)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java)
        at
org.apache.catalina.core.StandardService.start(StandardService.java)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java)
        at org.apache.catalina.startup.Catalina.start(Catalina.java)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java)
        at org.apache.catalina.startup.Catalina.process(Catalina.java)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java)
Loading catalog: /path/to/local/catalog
Loading catalog: /var/tomcat4/webapps/cocoon/resources/entities/catalog
Server.run/init: java.sql.SQLException: File input/output error:
/var/tomcat4/webapps/cocoon/WEB-INF/db/cocoondb.properties
java.sql.SQLException: File input/output error:
/var/tomcat4/webapps/cocoon/WEB-INF/db/cocoondb.properties
        at org.hsqldb.Trace.getError(Trace.java:180)
        at org.hsqldb.Trace.getError(Trace.java:144)
        at org.hsqldb.Trace.error(Trace.java:205)
        at org.hsqldb.Log.saveProperties(Log.java:630)
        at org.hsqldb.Log.open(Log.java:218)
        at org.hsqldb.Database.<init>(Database.java:96)
        at org.hsqldb.Server.run(Server.java:137)
        at org.hsqldb.Server.main(Server.java:78)
        at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101)
        at java.lang.Thread.run(Thread.java:498)
Starting service Tomcat-Apache
Apache Tomcat/4.0
----------- CONSOLE OUTPUT ENDING HERE ----------------------------


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