cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo Burm" <hu...@xs4all.nl>
Subject RE: Looking for help in the upcomming release
Date Thu, 28 Nov 2002 19:36:25 GMT
My results:

System:
Windows XP (no service pack)
Sun JSDK 1.4
Tomcat 4.12 (full, not the stripped one for people already having JRE 1.4)

I checked out a clean 2.0.3 branch, compiled it following the instructions
and installed the war in the Tomcat webapps dir. The size of the war is 13
Mb (that seems small compared to the war's that I did create before). When
starting Tomcat, the war is extracted.  But when I try to access the first
Cocoon sample page, I get the errors listed below.
I copied the following jar's to <tomcat_home>\common\endorsed :
xalan-2.3.1.jar, xerxesImpl-2.0.0.jar, xml-apis.jar
I did purge the Tomcat work dir, and removed my cocoon dir in Tomcat webapps
before extracting the new one.

I did see the errors about HSQLDB in the console before, when my system
clock was pointing to the year 1970. Weird, but easy to solve. Now, my clock
is telling me it is Nov 28 2002. That must be OK.

My problems could be related to the fact that I compiled and installed
successfully 2.1dev before. But  I did this "compiling and installing" many
times before, so I think I know most of the caveats. But may be I missed
one.

>From the listing below "org/apache/excalibur/instrument/Instrumentable" may
be the problem. Never heard of this class before.

Hugo 
hugob@datagram.nl


=========================================================


Tomcat Console
==============


[...]
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
server.properties not found, using command line or default properties
Opening database: E:\j\tomcat4.1\webapps\cocoon\WEB-INF\db\cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Nov 28, 2002 7:36:49 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Nov 28, 2002 7:36:49 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Nov 28, 2002 7:36:49 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=E:\j\tomcat4.1\conf\jk2.properties
Thu Nov 28 19:36:51 CET 2002 Listening for connections ...
server.properties not found, using command line or default properties
Opening database: E:\j\tomcat4.1\webapps\cocoon\WEB-INF\db\cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Server.run/init: java.sql.SQLException: The database is already in use by
anothe
r process
java.sql.SQLException: The database is already in use by another process
        at org.hsqldb.Trace.getError(Unknown Source)
        at org.hsqldb.Trace.error(Unknown Source)
        at org.hsqldb.Log.open(Unknown Source)
        at org.hsqldb.Database$Logger.openLog(Unknown Source)
        at org.hsqldb.Database.open(Unknown Source)
        at org.hsqldb.Database.<init>(Unknown Source)
        at org.hsqldb.Server.openDB(Unknown Source)
        at org.hsqldb.Server.run(Unknown Source)
        at org.hsqldb.Server.main(Unknown Source)
        at
org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:19
4)
        at java.lang.Thread.run(Thread.java:536)



Web Page in Browser
====================


HTTP Status 500 - 

----------------------------------------------------------------------------
----

type Exception report

message 

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception 

javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
exception
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:95
2)
	at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:380)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
	at java.lang.Thread.run(Thread.java:536)


root cause 

java.lang.NoClassDefFoundError:
org/apache/excalibur/instrument/Instrumentable
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1664)
	at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:953)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1394)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1274)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.configure(E
xcaliburComponentSelector.java:352)
	at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:185)
	at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:98)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(E
xcaliburComponentManager.java:158)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:270)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1276
)
	at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:485)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:92
4)
	at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:380)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)
	at java.lang.Thread.run(Thread.java:536)



----------------------------------------------------------------------------
----

Apache Tomcat/4.1.12





Mime
View raw message