<!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=859434316-14072009><FONT color=#0000ff
size=2 face=Arial>Prima! Glad it's sorted. If only it was because I
was God-like, rather than because I'd made the same mistake many times
:-)</FONT></SPAN></DIV><BR>
<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 14:23<BR><B>To:</B> The OpenCms mailing
list<BR><B>Subject:</B> [opencms-dev] Antwort: Re: Antwort: Re: Problems
finding thelib-directory<BR></FONT><BR></DIV>
<DIV></DIV>
<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 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"
src="cid:859434316@14072009-2165" width=16 height=16><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 border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR vAlign=top>
<TD width="1%"><IMG border=0 alt="" src="cid:859434316@14072009-216C"
width=96 height=1><BR><FONT color=#5f5f5f size=2>Von:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:859434316@14072009-216C"
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:859434316@14072009-216C"
width=96 height=1><BR><FONT color=#5f5f5f size=2>An:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:859434316@14072009-216C"
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:859434316@14072009-216C"
width=96 height=1><BR><FONT color=#5f5f5f size=2>Datum:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:859434316@14072009-216C"
width=1 height=1><BR><FONT size=2>14.07.2009 15:11</FONT></TD></TR>
<TR vAlign=top>
<TD width="1%"><IMG border=0 alt="" src="cid:859434316@14072009-216C"
width=96 height=1><BR><FONT color=#5f5f5f size=2>Betreff:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:859434316@14072009-216C"
width=1 height=1><BR><FONT size=2>Re: [opencms-dev] Antwort: Re:
Problems finding the lib-directory</FONT></TD></TR>
<TR vAlign=top>
<TD width="1%"><IMG border=0 alt="" src="cid:859434316@14072009-216C"
width=96 height=1><BR><FONT color=#5f5f5f size=2>Gesendet von:</FONT></TD>
<TD width="100%"><IMG border=0 alt="" src="cid:859434316@14072009-216C"
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>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 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 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 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.<BR><BR><BR></FONT><IMG
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:859434316@14072009-2173" width=16 height=16><FONT color=#424282
size=4>"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 border=0 cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR vAlign=top>
<TD width="23%"><IMG src="cid:859434316@14072009-217A" width=96
height=1><FONT color=#5f5f5f><BR>Von:</FONT></TD>
<TD width="77%"><IMG src="cid:859434316@14072009-217A" width=1
height=1><BR>"Jonathan Woods"
<jonathan.woods@scintillance.com></TD></TR>
<TR vAlign=top>
<TD width="23%"><IMG src="cid:859434316@14072009-217A" width=96
height=1><FONT color=#5f5f5f><BR>An:</FONT></TD>
<TD width="77%"><IMG src="cid:859434316@14072009-217A" width=1
height=1><BR>"'The OpenCms mailing list'"
<opencms-dev@opencms.org></TD></TR>
<TR vAlign=top>
<TD width="23%"><IMG src="cid:859434316@14072009-217A" width=96
height=1><FONT color=#5f5f5f><BR>Datum:</FONT></TD>
<TD width="77%"><IMG src="cid:859434316@14072009-217A" width=1
height=1><BR>14.07.2009 11:23</TD></TR>
<TR vAlign=top>
<TD width="23%"><IMG src="cid:859434316@14072009-217A" width=96
height=1><FONT color=#5f5f5f><BR>Betreff:</FONT></TD>
<TD width="77%"><IMG src="cid:859434316@14072009-217A" width=1
height=1><BR>Re: [opencms-dev] Problems finding the lib-directory</TD></TR>
<TR vAlign=top>
<TD width="23%"><IMG src="cid:859434316@14072009-217A" width=96
height=1><FONT color=#5f5f5f><BR>Gesendet von:</FONT></TD>
<TD width="77%"><IMG src="cid:859434316@14072009-217A" width=1
height=1><BR>opencms-dev-bounces@opencms.org</TD></TR></TBODY></TABLE>
<HR align=left SIZE=2 width="100%" noShade>
<FONT size=4><BR><BR></FONT><FONT color=#0000ff size=4 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
color=#0000ff size=4 face=Arial><BR>Jon</FONT><FONT size=4><BR><BR></FONT>
<HR align=left SIZE=2 width="100%">
<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 color=#0000ff size=4
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 color=#0000ff size=4><BR></FONT></U><A
href="http://www.vater-gruppe.de/"><U><FONT color=#0000ff
size=5>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
color=#0000ff size=4><BR></FONT></U></TT><A
href="http://lists.opencms.org/mailman/listinfo/opencms-dev"><TT><U><FONT
color=#0000ff
size=4>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></P></BLOCKQUOTE></BODY></HTML>