Thank you very much.

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, September 27, 2004 1:54 PM
To: Tomcat Users List
Subject: RE: Linking to smbmount into context classes directory



Hi,
For Tomcat5, drop the FileDirContext element and add allowLinking="true"
as a Context attribute.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Luc Foisy [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 27, 2004 1:51 PM
>To: Tomcat User List (E-mail)
>Subject: Linking to smbmount into context classes directory
>
>
>We are mounting a windows share onto a RedHat box, trying to symlink it
in
>multiple context WEB-INF/classes directories
>It was working for us with tomcat 4, but can not get it to work right
with
>tomcat 5
>
>The smb mount:(not quite sure if its alright to have it here, but thats
>where it was put)
>/home/tomcat/webapp/mount/tmc2ksbs/smbmountpoint
>
>The context:
>/home/tomcat/webapp/crm
>
>We are using the following to create the link to the mount:
>ln -s /home/tomcat/webapps/mount/tmc2ksbs/smbmountpoint
>/home/tomcat/webapps/crm/WEB-INF/classes
>
>When trying to access the context are crm, can not compile jsps because
>packages in the classes directory can not be found.
>
>This is the context xml in /home/tomcat/conf/Catalina/localhost/
>        <Context
>                className="org.apache.catalina.core.StandardContext"
>                cachingAllowed="false"
>
charsetMapperClass="org.apache.catalina.util.CharsetMapper"
>                cookies="true"
>                crossContext="false"
>                debug="0"
>                docBase="crm"
>
>mapperClass="org.apache.catalina.core.StandardContextMapper"
>                path="/crm"
>                privileged="false"
>                reloadable="false"
>                swallowOutput="true"
>                useNaming="true"
>
wrapperClass="org.apache.catalina.core.StandardWrapper">
>          <Logger
>                className="org.apache.catalina.logger.FileLogger"
>                debug="0"
>                directory="logs"
>                prefix="crm_log."
>                suffix=".txt"
>                timestamp="true"
>                verbosity="1"
>          />
>          <Resources
>                className="org.apache.naming.resources.FileDirContext"
>                allowLinking="true"
>                docBase=""
>                />
>        </Context>
>
>We were assuming the allowLinking was what was letting us do this with
>tomcat 4, since I believe the documentation read that you needed this
to
>allow sym linking to other places.
>
>Anyone have some marvelous insight they could offer?
>
>Luc



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to