[opencms-dev] Antwort: Re: Antwort: Re: Problems finding the lib-directory
Frank Pertack
fpertack at vater-gruppe.de
Tue Jul 14 15:23:26 CEST 2009
Hi Jon,
thank you a lot.
That was the correct hint!
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.
That was of great help.
Best regards
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 15:11 |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Betreff: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: [opencms-dev] Antwort: Re: Problems finding the lib-directory |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Gesendet |
| von: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|opencms-dev-bounces at opencms.org |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
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.
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.
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.
Jon
From: opencms-dev-bounces at opencms.org [
mailto:opencms-dev-bounces at opencms.org] On Behalf Of Frank Pertack
Sent: 14 July 2009 13:24
To: The OpenCms mailing list
Subject: [opencms-dev] Antwort: Re: Problems finding the lib-directory
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.
Inactive hide details for "Jonathan Woods" ---14.07.2009
11:23:53---Strange. Does the user running Tomcat have access to the .
"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
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
_______________________________________________
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/faa76cd0/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/faa76cd0/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/faa76cd0/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 09744583.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090714/faa76cd0/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 09846581.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090714/faa76cd0/attachment-0003.gif>
More information about the opencms-dev
mailing list