On date 07/06/2005 14:04:59 "J. Wolfgang Kaltz" wrote:
>Sergi Tur/SGA/UPC schrieb:
>> I found some threads about this problem but no solution... It happens
when
>> you try to schedule a document.
>>
>> I use apache-lenya 1.2.3; Cocoon 2.1.7; and Tomcat 5.0.28.
>>
>> Have anyone any other extra information that could help me?
>What OS ? Are you using a self-installed Tomcat or a packaged one ?
Debian Linux. I use a self-installed Tomcat and the Netbeans 4.0 bundle
Tomcat....
>Like I said in another thread, I got that error when using Suse 9.2's
>packaged Tomcat 5.0.28; it disappeared when I instead installed Tomcat
>5.0.28 myself. I think I had to delete the jobs xml file (the one
>containing the task:task entries) as well before trying again.
>
>In my opinion, the XML error comes from Tomcat using other XML libraries
>then the ones we want it to use - see the section "Checked versions of
>endorsed libraries" in the installation instructions.
>
I checked this the first time I installed Lenya with Tomcat. I recheck it
now and I found some libraries repeated (jakarta-regexp-1.3.jar was at
server/lib an common/endorsed tomcat folders)
I think that topic of endorsed libraries it is a litle bit confusing......
>> Lenya and Tomcat will inter-operate correctly only if the proper
versions of the Xalan and Xerces libraries are used consistently throughout
the deployment. >>Unfortunately this can be difficult to get to work
correctly since both of these libraries are shipped with Java 2 SDK,
Tomcat, Cocoon and Lenya.
>>The following libraries must be placed in the endorsed library directory
for your deployment.
>> * jakarta-bcel-20040329.jar
>> * jakarta-regexp-1.3.jar
>> * xalan-2.6.0.jar
>> * xercesImpl-2.6.2.jar
>> * xml-apis.jar
>> They are placed by the build process in the directory specified by
tomcat.endorsed.dir in build.properties. You should validate that these
files are indeed in >> the proper location for your deployment. You must
then validate that no other instances of these libraries exist in any of
the following directories:
>> * The Java 2 SDK endorsed standards directories. This is usually
${JAVA_HOME}/lib/endorsed/.
>> * Any other location in your Tomcat deployment. Specifically, check
shared/lib/, common/lib/ and server/lib/.
First problem I found: jakarta-regexp-1.3.jar already exists in server/lib
folder in Tomcat 5.0.28! I removed from this folder but I ask myself if
this is correct. I think I read that libraries in server/lib folder are
used by Tomcat itself.... then maybe something could be worng if I deleted
anything here....
* Any other location in your Lenya deployment. Specifically, check
webapps/lenya/WEB-INF/lib/
But it seems a contradiction to me because lenya puts xml-apis.jar,
xercesImpl-2.6.2 and xalan-2.6.1-dev-20041008T0304 in
webapps/lenya/WEB-INF/lib/folder! Then we can found repeated libraries in
the classpath (and this as far as I know could be a source of very strange
problems)
Anyway I deleted jakarta-regexp-1.3.jar from my server/lib folder and I
delete any xalan, xml.apis or xalan libraries not in endorsed folder,
restarted Tomcat and not works..... This was yesterday. Today i tried again
and Opssss! It works!
Thanks
Sergi Tur Badenas
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]