Does a static directory now always take precedence to a url-pattern?

2007-12-28 Thread Tad Woods
I was running under TomCat 5.5.14 for two years. I just upgraded to TomCat 5.5.23 (that's the latest version my host supports). The 5.5.23 version seems to give static directories total precedence over defined in the web.xml. For example, in my application root, I had a directory "/office" whi

Re: Get tomcat version from webapp code?

2007-12-28 Thread David Kerber
Louis wrote: David kerber wrote: Thanks for the response, but I've never dealt with that at all. Is there any sample code that would give me the equivalent of something like getServerProperty( "version" ), and return "5.5.15", or "Apache Tomcat 5.5.15", or something similar? D In a JSP: <%

Re: Get tomcat version from webapp code?

2007-12-28 Thread Louis
David kerber wrote: Thanks for the response, but I've never dealt with that at all. Is there any sample code that would give me the equivalent of something like getServerProperty( "version" ), and return "5.5.15", or "Apache Tomcat 5.5.15", or something similar? D In a JSP: <%= application.

Tomcat 5 persistable cluster aware MBean?

2007-12-28 Thread Gennady Shumakher
Hi, I am considering the use of custom MBean in Tomcat 5 clustered environment. So I wonder is there a way to configure Tomcat or MBean to persist its state and once it is changed to replicate it among other MBean instances in the cluster environment automatically (similar to session replication

RES: RES: how to get rid of the path after the URL

2007-12-28 Thread siomara
That's right Pavel. Mark is correct. It's been a while that I am being forced to develop in this crap php language that I forgot that tomcat main application is not under webapps. It's under a ROOT folder. So rename ROOT to ROOTSomething create a ROOT folder. Place your application on it. Let m

RE: RES: how to get rid of the path after the URL

2007-12-28 Thread Pavel Pragin
Hello, You guys are great I will try this shortly. thanks -Original Message- From: "Rainer Jung" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: 12/28/07 11:40 AM Subject: Re: RES: how to get rid of the path after the URL Pavel Pragin schrieb: > Hello, > > Do you meet ROOT literaly?

Re: RES: how to get rid of the path after the URL

2007-12-28 Thread Rainer Jung
Pavel Pragin schrieb: > Hello, > > Do you meet ROOT literaly? Yes. All URLs that do not map to any context deployed by it's name will be mapped to the special context named ROOT. > > thanks > > -Original Message- > From: "Mark Thomas" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > S

RE: RES: how to get rid of the path after the URL

2007-12-28 Thread Pavel Pragin
Hello, Do you meet ROOT literaly? thanks -Original Message- From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: 12/28/07 11:09 AM Subject: Re: RES: how to get rid of the path after the URL [EMAIL PROTECTED] wrote: > In order to do what you want you would have to drag

RES: how to get rid of the path after the URL

2007-12-28 Thread siomara
Pavel, the default.jsp is either a index.html or index.jsp file. sio -Mensagem original- De: Pavel Pragin [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 28 de dezembro de 2007 17:08 Para: Tomcat Users List Assunto: RE: how to get rid of the path after the URL Hello, I wasn't able

Re: RES: how to get rid of the path after the URL

2007-12-28 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > In order to do what you want you would have to drag and drop all the files > inside 'jiveforums' to the folder on top of it, wich is 'webapps' ( which is > NOT recommended). No, no, no. This is completely, totally and utterly wrong. It isn't just not recommended, it won'

RE: how to get rid of the path after the URL

2007-12-28 Thread Pavel Pragin
Hello, I wasn't able to find default.jsp anywhere under "/tomcat/webapps" do I just need to create one there with the redirect? Thanks . PAVEL PRAGIN [EMAIL PROTECTED] T >  650.328.3900 M > 650.521.4377 F >  650.328.3901 SolutionSet The Brand Technology Company http://www.SolutionSet.co

http://localhost:8080/jiveforums

2007-12-28 Thread siomara
TRY accessING YOUR APPLICATION by TYPING: http://localhost:8080/jiveforums 8080 is the port you set for tomcat. change if IT is another one. remember...tomcat has its main page located inside webapps. that's the reason you get it when you access http://LOCALHOST:8080 KISSES SIO

Re: how to get rid of the path after the URL

2007-12-28 Thread David kerber
Pavel Pragin wrote: Hello, Thank you for your response. Can you please give me an example of how I can do these two: 1. Make jiveforums the root. Copy all the stuff from your jiveforums folder to the root folder under webapps. 2. Redirect in the root webapp to point it to jiveforums

RE: how to get rid of the path after the URL

2007-12-28 Thread Pavel Pragin
Hello Sio, It's a small world! This is actually for a real deployment on a production site. I need a solid solution. There will be only one application running on Tomcat. How can I accomplish what I want without dropping everything in webapps folder? Thanks . PAVEL PRAGIN [EMAIL PROTECTED]

RES: how to get rid of the path after the URL

2007-12-28 Thread siomara
Let me see if I understood: 'jiveforums' is the name of the folder where ur application is inside webapps folder, right? Tomcat is a webapplication designed to run LOTS of applications. Each one must be inside of a folder inside webapps. So far you did it correct because you created your applicat

RE: how to get rid of the path after the URL

2007-12-28 Thread Pavel Pragin
Hello, Thank you for your response. Can you please give me an example of how I can do these two: 1. Make jiveforums the root. 2. Redirect in the root webapp to point it to jiveforums Thank You . PAVEL PRAGIN [EMAIL PROTECTED] T >  650.328.3900 M > 650.521.4377 F >  650.328.3901 Soluti

Re: how to get rid of the path after the URL

2007-12-28 Thread David kerber
Pavel Pragin wrote: Hello, I am running a Jive application using Tomcat. The application resides in "/tomcat/webapps/jiveforums" on the server. When I access the site I have to use "http://www.example.com/jiveforums"; . What changes do I have to make in Tomcat so I can omit "/jiveforums" f

how to get rid of the path after the URL

2007-12-28 Thread Pavel Pragin
Hello, I am running a Jive application using Tomcat. The application resides in "/tomcat/webapps/jiveforums" on the server. When I access the site I have to use "http://www.example.com/jiveforums"; . What changes do I have to make in Tomcat so I can omit "/jiveforums" from the URL and just us

Re: War File Deployment - Permissions for ftp account

2007-12-28 Thread Juha Laiho
Carsten Schmitz wrote: > But I need a safe concept for a ftp user which should upload, delete and > manage the War file/Application. > > Tomcat 5.5 is running with tomcat:tomcat > Ftpuser is ftpuser:tomcat ... > In some circumstances it will be important for the ftp user to do some > changes to t

RE: NTLM, mod_JK and Internet Explorer

2007-12-28 Thread Lucas Blancher
I found my problem, it was the KeepAlive setting, it was set to 'Off' I Changed it to 'On' and it started working over http. I then switched to ssl and had the same problem, after looking in the ssl.conf file I found a line 'SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade

Re: Get tomcat version from webapp code?

2007-12-28 Thread David kerber
Thanks for the response, but I've never dealt with that at all. Is there any sample code that would give me the equivalent of something like getServerProperty( "version" ), and return "5.5.15", or "Apache Tomcat 5.5.15", or something similar? D Martin Gainty wrote: Hi Dave- did you look at

Re: JSF and SSI

2007-12-28 Thread mgainty
You will get a faster and more accurate response if you display contents of your jsp(f)/jsf/faces page regards/ Martin - Original Message - Wrom: CAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSF To: "Tomcat Users List" Sent: Friday, December 28, 2007 7:41 AM Subject: Re: JSF and SSI > Thank yo

Re: NTLM, mod_JK and Internet Explorer

2007-12-28 Thread Martin Gainty
good call do you have any RewriteRules in your httpd.conf? - Original Message - From: "Rainer Jung" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, December 28, 2007 5:01 AM Subject: Re: NTLM, mod_JK and Internet Explorer > Hi Lucas, > > I think I remember, that NTLM needs HTT

Re: JSF and SSI

2007-12-28 Thread Shannon Scott
Thank you for your response. I thought it was the jsf view tag that was generating the HTML/HEAD/SCRIPT tags, but after your note, I realized it was an ajax4jsf tag that was forcing the generation of the HTML/HEAD/SCRIPT tags. Thank you again. Take care. Shannon david delbecq wrote: Shannon

War File Deployment - Permissions for ftp account

2007-12-28 Thread Carsten Schmitz
First of all, everything is fine with the unpacking of the War file. But I need a safe concept for a ftp user which should upload, delete and manage the War file/Application. Tomcat 5.5 is running with tomcat:tomcat Ftpuser is ftpuser:tomcat The webapps directory has ownership ftpuser:tomcat, g

Re: ISAPI redirector error in Tomcat 4.1

2007-12-28 Thread Rainer Jung
Chacko Kuruvilla schrieb: > Thanks for your response. > > I removed the older version of isapi redirector and started from scratch > using isapi_redirect-1.2.26.dll. When I try now, I get an "Incorrect > function" message on the browser. > > Any ideas? What about my other points? > Thanks. > >

Re: NTLM, mod_JK and Internet Explorer

2007-12-28 Thread Rainer Jung
Hi Lucas, I think I remember, that NTLM needs HTTP Keepalive. Now this is default per httpd, but one can disable it, so make sure KeepAlive is active in your httpd configuration. Regards, Rainer Lucas Blancher schrieb: > Hello, > I have a setup that is using Apache 2.2.x, mod_jk 1.2.26, j