[opencms-dev] Antwort: Re: Problems finding the lib-directory

Frank Pertack fpertack at vater-gruppe.de
Tue Jul 14 14:23:30 CEST 2009


Hello Jonathan,

thank you for your answer. I think since the directorys owner is "tomcat"
with rwx-access, this shouldn't be the problem.
More interesting ist your second question: Where can I determine, which
directory OpenCms has to look up for the libraries?

Thanks in advance

Best regards

Frank

Frank Pertack


Vater Solution GmbH
Liebigstraße 26
24145 Kiel

Telefon: +49 431 20084-210
Telefax: +49 431 20084-222
Mobil: +49 151 16353519
mailto: fpertack at vater-gruppe.de
http://www.vater-gruppe.de

Amtsgericht Kiel, HRB 6403
Geschäftsführer:
Klaus-Hinrich Vater
Michael Wiese
-----
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.



|------------>
| Von:       |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Jonathan Woods" <jonathan.woods at scintillance.com>                                                                                                |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| An:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"'The OpenCms mailing list'" <opencms-dev at opencms.org>                                                                                            |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Datum:     |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |14.07.2009 11:23                                                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Betreff:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [opencms-dev] Problems finding the lib-directory                                                                                              |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Gesendet   |
| von:       |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |opencms-dev-bounces at opencms.org                                                                                                                   |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





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?

Jon

 From: opencms-dev-bounces at opencms.org [
 mailto:opencms-dev-bounces at opencms.org] On Behalf Of Frank Pertack
 Sent: 14 July 2009 08:49
 To: opencms-dev at opencms.org
 Subject: [opencms-dev] Problems finding the lib-directory



 Hello mailing-list,

 I have a strange problem with OpenCms finding the jars in the
 lib-directory.
 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
 "C:\Program Files\Apache Software
 Foundation\Tomcat-eclipse\webapps\opencms\WEB-INF\lib"
 everything works fine (which means the classes in the imports of the jsp's
 work).

 On the openSuse Linux 11.1 production-server on the other hand OpenCms
 doesn't seem to find the added jars in that directory
 "/srv/tomcat6/webapps/opencms/WEB-INF/lib"
 I get arrors like "Only a type can be imported. x.y.MyClass resolves to a
 package ". These java-errors vanish when I manually copy the respective
 class-files into the class directory of the module.
 But I prefer to have the jars centrally in the opencms-lib directory,
 since several modules use these libraries.

 Does anybody have an idea, in which config-file I have to change something
 to make this work?

 Thank you in advance

 Frank


 Frank Pertack


 Vater Solution GmbH
 Liebigstraße 26
 24145 Kiel

 Telefon: +49 431 20084-210
 Telefax: +49 431 20084-222
 Mobil: +49 151 16353519
 mailto: fpertack at vater-gruppe.de
 http://www.vater-gruppe.de

 Amtsgericht Kiel, HRB 6403
 Geschäftsführer:
 Klaus-Hinrich Vater
 Michael Wiese
 -----
 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.
 _______________________________________________
 This mail is sent to you from the opencms-dev mailing list
 To change your list options, or to unsubscribe from the list, please visit
 http://lists.opencms.org/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090714/c5fe6f68/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090714/c5fe6f68/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090714/c5fe6f68/attachment-0001.gif>


More information about the opencms-dev mailing list