cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren P Martin" <D.P.Mar...@uk.ibm.com>
Subject Cocoon Installation
Date Mon, 10 Dec 2001 15:29:01 GMT
Hi, I hope there's a little bit of help out here - I am just starting this
really but I seem to be getting just a little stuck.

System: Windows 2000, build 2195, Service Pack 1; 392 meg of RAM.

Previously had installed JDK 1.2.2 to C:\jdk1.2.2.
Downloaded Tomcat 3.2.1 and installed to C:\jakarta-tomcat-3.2.1.
Downloaded Cocoon 2.0 and installed to C:\cocoon-2.0.

JAVA_HOME environment variable set to: C:\jdk1.2.2.
TOMCAT_HOME environment variable set to: C:\jakarta-tomcat-3.2.1.
Started the Tomcat server from C:\jakarta-tomcat-3.2.1 with
bin\startup.bat.
Tested with http://127.0.0.1:8080/, successfully get the Tomcat index page
and can run the JSP and Servlet tests.
Stopped the Tomcat server from C:\jakarta-tomcat-3.2.1 with
bin\shutdown.bat.

Went to C:\cocoon-2.0, did: .\build.bat -Dinclude.webapp.libs=yes
-Dinstall.war=%TOMCAT_HOME%\webapps install.
Got warnings about optional packages: PHP and JNDI but overall received:
BUILD SUCCESSFUL.
Replaced C:\jarkata-tomcat-3.2.1\lib\jaxp.jar and parser.jar with
xerces,jar renamed parser.jar.
Restarted Tomcat; the C:\jarkarta-tomcat-3.2.1\webapps\cocoon tree was
created.
Entered the URL: http://127.0.0.1:8080/cocoon/ and got the following
Windows error:

java.exe - Application Error: The instruction at "0x504aceed" referenced
memory at "0x00000000". The memory could not be "read".

This is the same as what happens if I don't put in the Xerces parser.
This is also the same as what happens when I used Tomcat 3.3.
The next time that I run bin\startup.bat I get:

Server.run/init: java.sql.SQLException: File input/output error: C:
\jakarta-tomcat-3.2.1\webapps\cocoon\WEB-INF\db\cocoondb.backup
java.sql.SQLException: File input/output error: C:
\jakarta-tomcat-3.2.1\webapps\cocoon\WEB-INF\db\cocoondb.backup
        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.restoreBackup(Log.java, Compiled Code)
        at org.hsqldb.Log.open(Log.java:212)
        at org.hsqldb.Database.<init>(Database.java:96)
        at org.hsqldb.Server.run(Server.java, Compiled Code)
        at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java:479)

And I noticed that the cocoondb.data file in
jarkarta-tomcat\webapps\cocoon\WEB-INF\db directory is now 0 bytes -
whereas after the first termination and before this run it was 22 bytes.
But I don't think this is an issue as I just set it to non-modified next
time around. Any ideas as to what I am, quite obviously, missing here?

I've now also tried Cocoon2 with Tomcat 3.2.1, Tomcat 3.3 and Tomcat 4 -
doing all the shenanigans required for 3 with the parsers. And now I've
just downloaded the bin version of Cocoon to try that WAR file with Tomcat.
Still getting the same old error: "java.exe - Application Error: The
instruction at "0x504aceed" referenced memory at "0x00000000". The memory
could not be "read"." when I go to URL: http://127.0.0.1:8080/cocoon/ and
this is bugging me now.... what have I missed, what is going on?

Cheers, DpM


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