<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#7030A0;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'>This is more question about Tomcat class loading. Worth reading
about the order of class loading from Tomcat documentation, but the general
rule is that:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'>Commons/lib and shared/lib are shared between the webapps. Then if
you put something in webapp lib directory, this should overwrite the stuff in commons
and shared and further if you put classes in the webapp classes directory this
will overwrite all jars. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'>However, sometimes you end up with conflicts between commons,
shared and webapp libs if you have different version of the same jar lying
around.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'>Maybe check commons/lib, shared/lib and opencms/WEB-INF/lib for
conflicts?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'>Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'>Olli<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#7030A0'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
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> [Bulk] [opencms-dev] Antwort: Re: Problems finding the
lib-directory<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p style='margin-bottom:12.0pt'>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 width=16 height=16 id="_x0000_i1025"
src="cid:image001.gif@01CA0487.F7BFF910"
alt="Inactive hide details for "Jonathan Woods" ---14.07.2009 11:23:53---Strange.  Does the user running Tomcat have access to the ."><span
style='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</span><o:p></o:p></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=96 height=1 id="_x0000_i1026"
  src="cid:image002.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Von:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=1 height=1 id="_x0000_i1027"
  src="cid:image003.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt'>"Jonathan Woods"
  <jonathan.woods@scintillance.com></span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=96 height=1 id="_x0000_i1028"
  src="cid:image002.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>An:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=1 height=1 id="_x0000_i1029"
  src="cid:image003.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt'>"'The OpenCms mailing list'"
  <opencms-dev@opencms.org></span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=96 height=1 id="_x0000_i1030"
  src="cid:image002.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Datum:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=1 height=1 id="_x0000_i1031"
  src="cid:image003.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt'>14.07.2009 11:23</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=96 height=1 id="_x0000_i1032"
  src="cid:image002.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Betreff:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=1 height=1 id="_x0000_i1033"
  src="cid:image003.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt'>Re: [opencms-dev] Problems finding the
  lib-directory</span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width="1%" valign=top style='width:1.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=96 height=1 id="_x0000_i1034"
  src="cid:image002.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt;color:#5F5F5F'>Gesendet von:</span><o:p></o:p></p>
  </td>
  <td width="100%" valign=top style='width:100.0%;padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><img border=0 width=1 height=1 id="_x0000_i1035"
  src="cid:image003.png@01CA0487.F7BFF910"><br>
  <span style='font-size:10.0pt'>opencms-dev-bounces@opencms.org</span><o:p></o:p></p>
  </td>
 </tr>
</table>

<div class=MsoNormal>

<hr size=2 width="100%" noshade style='color:#8091A5' align=left>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<br>
<span style='font-family:"Arial","sans-serif";color:blue'>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?</span><br>
<br>
<span style='font-family:"Arial","sans-serif";color:blue'>Jon</span><o:p></o:p></p>

<div class=MsoNormal>

<hr size=2 width="100%" align=left>

</div>

<p class=MsoNormal><b><span style='font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-family:"Tahoma","sans-serif"'> opencms-dev-bounces@opencms.org [<a
href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>]
<b>On Behalf Of </b>Frank Pertack<b><br>
Sent:</b> 14 July 2009 08:49<b><br>
To:</b> opencms-dev@opencms.org<b><br>
Subject:</b> [opencms-dev] Problems finding the lib-directory</span><o:p></o:p></p>

<p><span style='font-size:13.5pt'>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 "</span><b><span style='font-size:13.5pt;font-family:
"Arial","sans-serif"'>Only a type can be imported</span></b><span
style='font-size:13.5pt;font-family:"Arial","sans-serif"'>. x.y.MyClass <b>resolves
to a package</b> </span><span style='font-size:13.5pt'>". 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<u><span style='color:blue'><br>
</span></u></span><a href="http://www.vater-gruppe.de/"><span style='font-size:
13.5pt'>http://www.vater-gruppe.de</span></a><span style='font-size:13.5pt'><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.</span><span style='font-size:
10.0pt;font-family:"Courier New"'><br>
<tt>_______________________________________________</tt><br>
<tt>This mail is sent to you from the opencms-dev mailing list</tt><br>
<tt>To change your list options, or to unsubscribe from the list, please visit</tt><br>
<tt><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></tt></span>
<o:p></o:p></p>

</div>

</body>

</html>