RE: Need help for case insensitive deployment
Hi Wendy: Thanks for your tip. That was it. I had to use Resources ... instead of Resource I also had to play with the directory structure somewhat to get everything to work. Here is the final context that I had for my application. Context path=/BBS docBase=BBS debug=0 privileged=true Resources name = type=org.apache.naming.resources.FileDirContext caseSensitive=false cached=true / /Context Here is a few things that I learned. 1. I can't have a docBase in Resources... Tomcat is using the docBase from Context.. not matter what I do. 2. The docBase in Context... is using the appBase in Host.. as its root directory. In my case, it is ~tomcat/webapps/. When the same docBase is used by the Resources.., the root path is switched to ~tomcat/. This caused some problem. I had to create an empty directory of ~tomcat/BBS in order for my application to deploy. The actual files for the application is still in ~tomcat/webapps/BBS. 3. No longer able to use file resources from remote server. In the past I was able to set docBase to //host1/dir1. It is quirky, but it is working now. May be things are better in Tomcat 5.0. Thank you for your help. Willy -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 5:58 PM To: Tomcat Users List Subject: Re: Need help for case insensitive deployment From: Willy Lin [EMAIL PROTECTED] Thank you. Now, I know I am not talking to myself. You are right that there is no mention of case sensitivity at the context level in Tomcat 4.0, but it is mentioned at the resource level. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/resources.html Okay... the only thing I see is an extra 's'. The docs say: A Resources element MAY be nested inside a Context component.: And you have: Context path=/Live docBase=\\host1\dir1 debug=0 privileged=true Resource name = type=org.apache.naming.resources.FileDirContext ... Resource vs. Resource_s_? -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need help for case insensitive deployment
Hi: I need to server up some pages through Tomcat4 that are case insensitive. I have found an attribute in resources for case sensitivity, but I could not get it to work. Here is my context definition. Context path=/Live docBase=\\host1\dir1 debug=0 privileged=true Resource name = type=org.apache.naming.resources.FileDirContext docBase=\\host1\dir1 caseSensitive=false cached=true / /Context Can someone tell me what is wrong or point me to a sample configuration for case insensitive deployment. Thanks a lot. Crazy Monkey
RE: Need help for case insensitive deployment
Hi: Can someone tell me whether my question is posted or not? Am I having problem with my mail server? Thanks. Willy -Original Message- From: Willy Lin Sent: Tuesday, September 28, 2004 10:39 AM To: 'Tomcat Users List' Subject: Need help for case insensitive deployment Hi: I need to server up some pages through Tomcat4 that are case insensitive. I have found an attribute in resources for case sensitivity, but I could not get it to work. Here is my context definition. Context path=/Live docBase=\\host1\dir1 debug=0 privileged=true Resource name = type=org.apache.naming.resources.FileDirContext docBase=\\host1\dir1 caseSensitive=false cached=true / /Context Can someone tell me what is wrong or point me to a sample configuration for case insensitive deployment. Thanks a lot. Crazy Monkey
Re: Need help for case insensitive deployment
From: Willy Lin [EMAIL PROTECTED] Can someone tell me whether my question is posted or not? Am I having problem with my mail server? We got it the first time. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html I don't see any reference to 'caseSensitive' there, do you? It's on the Tomcat 5.0 version of that page, however... -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need help for case insensitive deployment
On Tue, Sep 28, 2004 at 10:39:19AM -0700, Willy Lin wrote: : I need to server up some pages through Tomcat4 that are case : insensitive. Time for some creative Filter action, then? -or even not-so-creative Filter action...? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need help for case insensitive deployment
Thank you. Now, I know I am not talking to myself. You are right that there is no mention of case sensitivity at the context level in Tomcat 4.0, but it is mentioned at the resource level. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/resources.html Willy -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 5:18 PM To: Tomcat Users List Subject: Re: Need help for case insensitive deployment From: Willy Lin [EMAIL PROTECTED] Can someone tell me whether my question is posted or not? Am I having problem with my mail server? We got it the first time. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html I don't see any reference to 'caseSensitive' there, do you? It's on the Tomcat 5.0 version of that page, however... -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need help for case insensitive deployment
From: Willy Lin [EMAIL PROTECTED] Thank you. Now, I know I am not talking to myself. You are right that there is no mention of case sensitivity at the context level in Tomcat 4.0, but it is mentioned at the resource level. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/resources.html Okay... the only thing I see is an extra 's'. The docs say: A Resources element MAY be nested inside a Context component.: And you have: Context path=/Live docBase=\\host1\dir1 debug=0 privileged=true Resource name = type=org.apache.naming.resources.FileDirContext ... Resource vs. Resource_s_? -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]