<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=187510613-14072009><FONT color=#0000ff
size=2 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></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=187510613-14072009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=187510613-14072009><FONT color=#0000ff
size=2 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></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=187510613-14072009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=187510613-14072009></SPAN><FONT
face=Arial><FONT color=#0000ff><FONT size=2>T<SPAN class=187510613-14072009>he
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.</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=187510613-14072009></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=187510613-14072009>Jon</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><BR></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Frank
Pertack<BR><B>Sent:</B> 14 July 2009 13:24<BR><B>To:</B> The OpenCms mailing
list<BR><B>Subject:</B> [opencms-dev] Antwort: Re: Problems finding the
lib-directory<BR></FONT><BR></DIV>
<DIV></DIV>
<P>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<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 border=0
alt='Inactive hide details for "Jonathan Woods" ---14.07.2009 11:23:53---Strange. Does the user running Tomcat have access to the .'
src="cid:187510613@14072009-2157" width=16 height=16><FONT
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><BR><BR>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR vAlign=top>
<TD width="1%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=96 height=1><BR><FONT color=#5f5f5f size=2>Von:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=1 height=1><BR><FONT size=2>"Jonathan Woods"
<jonathan.woods@scintillance.com></FONT></TD></TR>
<TR vAlign=top>
<TD width="1%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=96 height=1><BR><FONT color=#5f5f5f size=2>An:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=1 height=1><BR><FONT size=2>"'The OpenCms mailing list'"
<opencms-dev@opencms.org></FONT></TD></TR>
<TR vAlign=top>
<TD width="1%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=96 height=1><BR><FONT color=#5f5f5f size=2>Datum:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=1 height=1><BR><FONT size=2>14.07.2009 11:23</FONT></TD></TR>
<TR vAlign=top>
<TD width="1%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=96 height=1><BR><FONT color=#5f5f5f size=2>Betreff:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=1 height=1><BR><FONT size=2>Re: [opencms-dev] Problems finding the
lib-directory</FONT></TD></TR>
<TR vAlign=top>
<TD width="1%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=96 height=1><BR><FONT color=#5f5f5f size=2>Gesendet von:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:187510613@14072009-215E"
width=1 height=1><BR><FONT
size=2>opencms-dev-bounces@opencms.org</FONT></TD></TR></TBODY></TABLE>
<HR style="COLOR: #8091a5" align=left SIZE=2 width="100%" noShade>
<BR><BR><BR><FONT color=#0000ff face=Arial>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><BR><FONT size=4></FONT><BR><FONT
color=#0000ff face=Arial>Jon</FONT><BR><BR>
<HR align=left SIZE=2 width="100%">
<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 08:49</FONT><B><FONT
face=Tahoma><BR>To:</FONT></B><FONT face=Tahoma>
opencms-dev@opencms.org</FONT><B><FONT
face=Tahoma><BR>Subject:</FONT></B><FONT face=Tahoma> [opencms-dev] Problems
finding the lib-directory</FONT><FONT size=4><BR></FONT>
<P><FONT size=4>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=4 face=Arial>Only a type can be imported</FONT></B><FONT
size=4 face=Arial>. x.y.MyClass </FONT><B><FONT size=4 face=Arial>resolves to
a package</FONT></B><FONT size=4 face=Arial> </FONT><FONT size=4>". 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 color=#0000ff size=4><BR></FONT></U><A
href="http://www.vater-gruppe.de/"><U><FONT color=#0000ff
size=4>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.</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></P></BLOCKQUOTE></BODY></HTML>