Kam,

Your war file should still get unpacked.  Having a context defined will
not affect that.  You probably have a misconfiguration in your
server.xml.  If you post your server.xml here then someone may spot the
problem.

Subir

-----Original Message-----
From: Kam Lung Leung [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 2:44 PM
To: [EMAIL PROTECTED]
Subject: RE: Can someone help me to fix the soft link problem in Tomcat
4.1.27


Thank Subir,

The link does help me to fix the problem. After creating a context for
my web component DistributedInputOutput in the server.xml file. Tomcat
is no longer unpack my web componemt DistributeInputOutput.war at
startup. Tomcat complains the directory is not accessible. In fact
Tomcat will not unpack any web components said myWebComp.war when there
is a Context defined in the server.xml. However, Tomcat does unpack
other web components when the server.xml does not contains a Context
defined for this web component.  I come to a conclusion is that the
Context is used for web component that need not to be unpacked when
Tomcat startup. Another the way to say this is that if I need the web
component to be unpack when Tomcat startup, then I should not defined a
Context for that web component in the server.xml. Please let me know if
this is not the case.

Thank,
Kam
 

On Thu, 8 Apr 2004 16:12:50 -0700, "Subir Sengupta" wrote:

> 
> http://marc.theaimsgroup.com/?l=tomcat-user&m=105159411609623&w=2
> 
> 
> -----Original Message-----
> From: Kam Lung Leung [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 08, 2004 2:54 PM
> To: [EMAIL PROTECTED]
> Subject: Can someone help me to fix the soft link problem in Tomcat
> 4.1.27
> 
> 
> Hi,
> 
> I installed Tomcat 4.1.27 on our server and drop a myApp.war into the 
> webapps directory. We restart Tomcat and wait for it to finish to 
> unpack all web components, then we stop Tomcat. We create a soft link 
> within our web component to point to directory outside the root 
> context of our web component. But Tomcat says the requested resource 
> is not available when we try to access the soft linked directory from 
> the browser. In fact a "null" shows up in the last modified column. 
> Can someone please tell me what to do to fix this problem. Your help 
> is greatly appreciated.
> 
> Kam
> 
> ---------------------------------------------------------------------
> 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]


Kam Lung Leung
Vice President of Engineering 
Wireless Web Access Inc.
(303) 627-9684

---------------------------------------------------------------------
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