<html><body>
<p>Hi Jon,<br>
<br>
thank you a lot.<br>
That was the correct hint!<br>
The lib-directory is owned by tomcat, BUT the copied files where owned by ROOT. After I changed the ownership of the files everything works splendid.<br>
<br>
That was of great help.<br>
<br>
Best regards<br>
<br>
<br>
Frank Pertack<br>
<br>
<br>
Vater Solution GmbH<br>
Liebigstraße 26<br>
24145 Kiel<br>
<br>
Telefon: +49 431 20084-210<br>
Telefax: +49 431 20084-222<br>
Mobil: +49 151 16353519<br>
mailto: fpertack@vater-gruppe.de<br>
<a href="http://www.vater-gruppe.de">http://www.vater-gruppe.de</a><br>
<br>
Amtsgericht Kiel, HRB 6403 <br>
Geschäftsführer:<br>
Klaus-Hinrich Vater<br>
Michael Wiese<br>
-----<br>
Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email sind nicht gestattet.<br>
<br>
<br>
<img width="16" height="16" src="cid:1__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt="Inactive hide details for "Jonathan Woods" ---14.07.2009 15:11:28---I mention ownership because in the past I've copied .jar fi"><font color="#424282">"Jonathan Woods" ---14.07.2009 15:11:28---I mention ownership because in the past I've copied .jar files as root, only to find that Tomcat can</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Von:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">"Jonathan Woods" <jonathan.woods@scintillance.com></font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">An:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">"'The OpenCms mailing list'" <opencms-dev@opencms.org></font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Datum:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">14.07.2009 15:11</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Betreff:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">Re: [opencms-dev] Antwort: Re:  Problems finding the lib-directory</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Gesendet von:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" border="0" alt=""><br>
<font size="2">opencms-dev-bounces@opencms.org</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font color="#0000FF" face="Arial">I mention ownership because in the past I've copied .jar files as root, only to find that Tomcat can't read them on - so might still be worth checking that the .jars themselves are readable by Tomcat.</font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">And on the second question, I just meant that sometimes there are several installations of Tomcat kicking around, or maybe even separate TOMCAT_HOME and CATALINA_HOME hierarchies.  But if you've copied .class files manually to a classes directory parallel to your lib directory, I guess that can't be the problem.</font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">The only other thing I can think of is that your .jar doesn't package classes in the right structure - but I'm sure you've thought of that.</font><br>
<font size="4"> </font><br>
<font color="#0000FF" face="Arial">Jon</font><br>
<br>
<hr width="100%" size="2" align="left"><b><font face="Tahoma">From:</font></b><font face="Tahoma"> opencms-dev-bounces@opencms.org [</font><font face="Tahoma"><a href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a></font><font face="Tahoma">] </font><b><font face="Tahoma">On Behalf Of </font></b><font face="Tahoma">Frank Pertack</font><b><font face="Tahoma"><br>
Sent:</font></b><font face="Tahoma"> 14 July 2009 13:24</font><b><font face="Tahoma"><br>
To:</font></b><font face="Tahoma"> The OpenCms mailing list</font><b><font face="Tahoma"><br>
Subject:</font></b><font face="Tahoma"> [opencms-dev] Antwort: Re: Problems finding the lib-directory</font><font size="4"><br>
</font>
<p><font size="4">Hello Jonathan,<br>
<br>
thank you for your answer. I think since the directorys owner is "tomcat" with rwx-access, this shouldn't be the problem.<br>
More interesting ist your second question: Where can I determine, which directory OpenCms has to look up for the libraries?<br>
<br>
Thanks in advance<br>
<br>
Best regards<br>
<br>
Frank<br>
<br>
Frank Pertack<br>
<br>
<br>
Vater Solution GmbH<br>
Liebigstraße 26<br>
24145 Kiel<br>
<br>
Telefon: +49 431 20084-210<br>
Telefax: +49 431 20084-222<br>
Mobil: +49 151 16353519<br>
mailto: fpertack@vater-gruppe.de</font><u><font size="4" color="#0000FF"><br>
</font></u><a href="http://www.vater-gruppe.de/"><u><font size="4" color="#0000FF">http://www.vater-gruppe.de</font></u></a><font size="4"><br>
<br>
Amtsgericht Kiel, HRB 6403 <br>
Geschäftsführer:<br>
Klaus-Hinrich Vater<br>
Michael Wiese<br>
-----<br>
Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email sind nicht gestattet.<br>
<br>
<br>
</font><img src="cid:3__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="16" height="16" alt="Inactive hide details for "Jonathan Woods" ---14.07.2009 11:23:53---Strange.  Does the user running Tomcat have access to the ."><font size="4" color="#424282">"Jonathan Woods" ---14.07.2009 11:23:53---Strange. Does the user running Tomcat have access to the .jar files in /src/tomcat6/webapps/opencms</font><font size="4"><br>
</font>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="23%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="96" height="1"><font color="#5F5F5F"><br>
Von:</font></td><td width="77%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="1" height="1"><br>
"Jonathan Woods" <jonathan.woods@scintillance.com></td></tr>

<tr valign="top"><td width="23%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="96" height="1"><font color="#5F5F5F"><br>
An:</font></td><td width="77%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="1" height="1"><br>
"'The OpenCms mailing list'" <opencms-dev@opencms.org></td></tr>

<tr valign="top"><td width="23%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="96" height="1"><font color="#5F5F5F"><br>
Datum:</font></td><td width="77%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="1" height="1"><br>
14.07.2009 11:23</td></tr>

<tr valign="top"><td width="23%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="96" height="1"><font color="#5F5F5F"><br>
Betreff:</font></td><td width="77%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="1" height="1"><br>
Re: [opencms-dev] Problems finding the lib-directory</td></tr>

<tr valign="top"><td width="23%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="96" height="1"><font color="#5F5F5F"><br>
Gesendet von:</font></td><td width="77%"><img src="cid:4__=4EBBFF60DFDAD3358f9e8a93@vater-gruppe.de" width="1" height="1"><br>
opencms-dev-bounces@opencms.org</td></tr>
</table>
<hr width="100%" size="2" align="left" noshade><font size="4"><br>
<br>
</font><font size="4" color="#0000FF" face="Arial"><br>
Strange. Does the user running Tomcat have access to the .jar files in /src/tomcat6/webapps/opencms/WEB-INF/lib? Are you sure that's the lib folder your OpenCms instance is looking at?</font><font size="4"><br>
</font><font size="4" color="#0000FF" face="Arial"><br>
Jon</font><font size="4"><br>
<br>
</font><hr width="100%" size="2" align="left"><b><font size="4" face="Tahoma">From:</font></b><font size="4" face="Tahoma"> opencms-dev-bounces@opencms.org [</font><a href="mailto:opencms-dev-bounces@opencms.org"><u><font size="4" color="#0000FF" face="Tahoma">mailto:opencms-dev-bounces@opencms.org</font></u></a><font size="4" face="Tahoma">] </font><b><font size="4" face="Tahoma">On Behalf Of </font></b><font size="4" face="Tahoma">Frank Pertack</font><b><font size="4" face="Tahoma"><br>
Sent:</font></b><font size="4" face="Tahoma"> 14 July 2009 08:49</font><b><font size="4" face="Tahoma"><br>
To:</font></b><font size="4" face="Tahoma"> opencms-dev@opencms.org</font><b><font size="4" face="Tahoma"><br>
Subject:</font></b><font size="4" face="Tahoma"> [opencms-dev] Problems finding the lib-directory</font>
<p><font size="5">Hello mailing-list,<br>
<br>
I have a strange problem with OpenCms finding the jars in the lib-directory.<br>
First of all, I have a windows-based development-server on which everything runs fine: If I put a new jar-file into the directory<br>
"C:\Program Files\Apache Software Foundation\Tomcat-eclipse\webapps\opencms\WEB-INF\lib"<br>
everything works fine (which means the classes in the imports of the jsp's work).<br>
<br>
On the openSuse Linux 11.1 production-server on the other hand OpenCms doesn't seem to find the added jars in that directory<br>
"/srv/tomcat6/webapps/opencms/WEB-INF/lib"<br>
I get arrors like "</font><b><font size="5" face="Arial">Only a type can be imported</font></b><font size="5" face="Arial">. x.y.MyClass </font><b><font size="5" face="Arial">resolves to a package</font></b><font size="5" face="Arial"> </font><font size="5">". These java-errors vanish when I manually copy the respective class-files into the class directory of the module.<br>
But I prefer to have the jars centrally in the opencms-lib directory, since several modules use these libraries.<br>
<br>
Does anybody have an idea, in which config-file I have to change something to make this work?<br>
<br>
Thank you in advance<br>
<br>
Frank<br>
<br>
<br>
Frank Pertack<br>
<br>
<br>
Vater Solution GmbH<br>
Liebigstraße 26<br>
24145 Kiel<br>
<br>
Telefon: +49 431 20084-210<br>
Telefax: +49 431 20084-222<br>
Mobil: +49 151 16353519<br>
mailto: fpertack@vater-gruppe.de</font><u><font size="4" color="#0000FF"><br>
</font></u><a href="http://www.vater-gruppe.de/"><u><font size="5" color="#0000FF">http://www.vater-gruppe.de</font></u></a><font size="5"><br>
<br>
Amtsgericht Kiel, HRB 6403 <br>
Geschäftsführer:<br>
Klaus-Hinrich Vater<br>
Michael Wiese<br>
-----<br>
Diese Email enthält ggfs. vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Email irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Email. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Email sind nicht gestattet.</font><tt><font size="4"><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit</font></tt><tt><u><font size="4" color="#0000FF"><br>
</font></u></tt><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev"><tt><u><font size="4" color="#0000FF">http://lists.opencms.org/mailman/listinfo/opencms-dev</font></u></tt></a><font size="4"> </font><tt><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
</tt><tt><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></tt>
<p></body></html>