context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
Hello all, Let me first say that I am using Tomcat 4.1.30 and have an existing application that is working properly. I decided that I would like to explore putting the context element for my web application in a myWebapp/META-INF/context.xml file instead of in my server.xml file. The existing

RE: context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
: context.xml - what's the secret? Are you using a war file? - Original Message - From: White, Joshua A (HTSC, CASD) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:45 AM Subject: context.xml - what's the secret? Hello all, Let me first say that I am using

RE: context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
. -Original Message- From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 12:45 To: '[EMAIL PROTECTED]' Subject: context.xml - what's the secret? Hello all, Let me first say that I am using Tomcat 4.1.30 and have an existing application that is working properly. I

RE: context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
No luck. I am using the ant install task to install the war. I have tried naming the context fragment both context.xml and myAppName.xml. Any other ideas? Joshua -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 8:03 AM To: Tomcat Users

RE: context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
of negative responses -- but at least, Joshua, you'll get a lot of information !) White, Joshua A (HTSC, CASD) wrote: No luck. I am using the ant install task to install the war. I have tried naming the context fragment both context.xml and myAppName.xml. Any other ideas? Joshua -Original Message

The system cannot find the file specified - HELP

2003-07-17 Thread White, Joshua A (HTSC, CASD)
I am proxying Tomcat through IIS using the isapi_redirector2.dll. The uri I have specified in the workers2.properties file is [uri:/myapp/*] Ninety five percent of the time, every thing works fine. The other five percent of the time, users experience missing images and or css or js files.

Random, either Error 500: The system cannot find the file specif ied or images missing - Win2k : Tomcat 4.1.24 : IIS 5 : JDK 1.41

2003-07-17 Thread White, Joshua A (HTSC, CASD)
Environment: Win 2k Server IIS 5.0 - proxy using isapi_redirector2.dll - Tomcat 4.1.24 JDK 1.4.1 Note: This is an internal application and is not accessed through a proxy server or firewall. The uri I have specified in the workers2.properties file is

Is it possible to add header values to the request (not the respo nse)?

2003-07-16 Thread White, Joshua A (HTSC, CASD)
Hey all, My production application uses a site minder web agent. This agent places two name/value pairs into the request header, one for userName, the other for domain. In my application, I have a filter which looks for these values to make sure the user is logged in. Currently I do not have

RE: Is it possible to add header values to the request (not the r espo nse)?

2003-07-16 Thread White, Joshua A (HTSC, CASD)
getHeader methods to send the additional stuff you need. -Tim White, Joshua A (HTSC, CASD) wrote: Hey all, My production application uses a site minder web agent. This agent places two name/value pairs into the request header, one for userName, the other for domain. In my application, I have

RE: Relative URL problem

2003-07-09 Thread White, Joshua A (HTSC, CASD)
To: [EMAIL PROTECTED] Subject: Re: Relative URL problem It would help to know your config. e.g. Both Apache and Tomcat will respond to a request for http://localhost:8080/myapp by sending a redirect to http://localhost:8080/myapp/ . White, Joshua A (HTSC, CASD) [EMAIL PROTECTED] wrote in message

Relative URL problem

2003-07-08 Thread White, Joshua A (HTSC, CASD)
I currently server my jsp files from under the web-inf/jsp directory. If I call my application using http://localhost:8080/myapp, my images do not appear at all. If I call my application using http://localhost:8080/myapp/ (note the trailing slash) everything works fine. Subsequent calls to

context.xml in META-INF directory

2003-06-30 Thread White, Joshua A (HTSC, CASD)
Hello all, Does tomcat automatically look for a context.xml file in the META-INF directory? Can I just deploy the war or am I better off deploying the war by placing the context.xml file in the webapps directory? Is there a best practice for using the context.xml file? Regards, Joshua

Unable to compile JSP on Win 2k sp3, tc 4.1.24 as service, sdk 1. 4.1_03 - Is there a solution?

2003-06-26 Thread White, Joshua A (HTSC, CASD)
This is urgent. Your help would be much appreciated. As mentioned above, I have installed tomcat 4.1.24 as a service on Win 2k sp3 using sdk 1.4.1_03. JAVA_HOME and CATALINA_HOME have been defined as an enviromental variable. I am able to run all the jsp examples. When I run my app and hit the

referenced files such as images, js and css files seem to randoml y not get downloaded by the users browser

2003-06-26 Thread White, Joshua A (HTSC, CASD)
Hello all, I am proxying through IIS to Tomcat. I have noticed that referenced files such as images, js and css files seem to randomly not get downloaded by the users browser. Has anyone else had such a problem? Refreshing the page usually fixes the problem. I have cleared users cache and

RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread White, Joshua A (HTSC, CASD)
Check out http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work. Regards, Joshua White -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent:

context.xml question

2003-06-18 Thread White, Joshua A (HTSC, CASD)
Three questions here: Can the docBase attribute of the context element be relative? The location of the docBase will be different depending on where I am deploying to. Given mywebapp/META-INF/context.xml, the document root will always be two directories up from the context.xml file. Could this

context.xml question

2003-06-16 Thread White, Joshua A (HTSC, CASD)
Is it necessary to specify the docBase attribute of the Context element of the myWebApp/META-INF/context.xml file? Joshua This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not

Best practice development directory layout for deploying exploded war

2003-06-13 Thread White, Joshua A (HTSC, CASD)
Hello all, My company is contemplating the idea of deploying servlet applications on Tomcat in production. (woohoo!) I am hoping that some of you may suggest some best practices for laying out your development directory structure. I have my directory structure layed out like an expanded war

Siteminder integration?

2003-06-11 Thread White, Joshua A (HTSC, CASD)
Hello all, Is there a plug-in available for integrating Tomcat with Siteminder? Has anyone figured this out? Regards, Joshua This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are