cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Heid <h...@fh-heilbronn.de>
Subject AW: C2b1 with Resin 2.0.0
Date Sat, 09 Jun 2001 16:54:36 GMT
I think there's no possibility for a classpath in Resin on Win. Are you sure
that you use Resin - not Tomcat???

-----Ursprüngliche Nachricht-----
Von: Grzegorz Stelmaszek [mailto:greg@tenet.pl]
Gesendet: Samstag, 9. Juni 2001 18:48
An: cocoon-users@xml.apache.org
Betreff: Re: C2b1 with Resin 2.0.0


I'm using the following classpath and it works fine for me

set CLASSPATH=.
set CLASSPATH=%TOMCAT_HOME%\classes
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet_2_2.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jasper.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\cocoon.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces_1_2.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan_1_2_D02.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\ant_1_1.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\bsf.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\bsfengines.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\fesi.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\fop_0_15_0.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\sax-bugfix.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\stylebook-1.0-b2.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\turbine-pool.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\w3c.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xt.jar
set CLASSPATH=%CLASSPATH%;c:\Oracle\Ora81\jdbc\lib\classes12.zip


check if your classpath order is more/less the same, or if any of the libs
is missing.

I hope this'll help you at least a little.

regards,
  greg

----- Original Message -----
From: "Jörn Heid" <heid@fh-heilbronn.de>
To: "Cocoon-Users" <cocoon-users@xml.apache.org>
Sent: Saturday, June 09, 2001 6:34 PM
Subject: C2b1 with Resin 2.0.0


> Although I removed all dom, sax und jaxp libs and added first xerces and
> after that all cocoon libs, I get the following error:
>
> org.apache.avalon.framework.component.ComponentException:
markup-languages:
> ComponentSelector could not access the Component for hint: sitemap
> at
>
org.apache.avalon.excalibur.component.DefaultComponentSelector.select(Defaul
> tComponentSelector.java:191)
> at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:155)
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
> at java.lang.Thread.run(Thread.java:579)
>
> In the error log I get
>
> force-load class: com.ibm.servlet.classloader.Handlerorg.hsqldb.jdbcDriver
> java.lang.ClassNotFoundException:
> com.ibm.servlet.classloader.Handlerorg.hsqldb.jdbcDriver
> at java.net.URLClassLoader$1.run(URLClassLoader.java:201)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:189)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:304)
>
>
> and
>
> [2001/06/09 17:29:31] WARN    1142    [cocoon  ] (Thread-0): Configuration
> Error: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
> java.lang.ClassNotFoundException: org/apache/xerces/parsers/SAXParser
> at
>
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:1
> 18)
> at
>
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:9
> 6)
> at
>
org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logic
> sheet.java:99)
> at
>
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLo
> gicsheet(AbstractMarkupLanguage.java:183)
>
> Any hint?
>
> JOERN_HEID
>
>
> ---------------------------------------------------------------------
> 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>


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


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