Re: tomcat context with /

2015-10-06 Thread Mark Thomas
On 06/10/2015 22:56, Harish Kulkarni wrote: > Hi > > We are migrating a WebSphere app to tomcat. > In Websphere the context is defined as /secure/admin and we have hardcode > redirects with /secure/admin/* Whoops. Applications are meant to be independent of the context path at which they are

Re: tomcat context with /

2015-10-06 Thread Harish Kulkarni
Hi We are migrating a WebSphere app to tomcat. In Websphere the context is defined as /secure/admin and we have hardcode redirects with /secure/admin/* Our war is admin.war. Tomcat is not allowing /secure/admin as context. Is there a way using tomcat rewrite or apache config to achieve this.

Re: Tomcat context startup failed

2010-02-17 Thread André Warnier
Hadole, Nishant IN BOM SISL wrote: Dear Simone, The obvious error displayed from log is java.lang.NoClassDefFoundError: org/apache/xerces/util/EncodingMap. First check whether the xerces jar containing mentioned class is in place. Try downloading new jar and again restart the tomcat

Re: Tomcat context startup failed

2010-02-17 Thread Bob Hall
Andre, --- On Wed, 2/17/10 at 1:06 AM, André Warnier a...@ice-sa.com wrote: The obvious error displayed from log is java.lang.NoClassDefFoundError: org/apache/xerces/util/EncodingMap. First check whether the xerces jar containing mentioned class is in place. Try downloading new jar and

RE: Tomcat context startup failed

2010-02-17 Thread Caldarale, Charles R
From: Bob Hall [mailto:rfha...@yahoo.com] Subject: Re: Tomcat context startup failed The offending .jar files were not loaded and can't contribute to any problems. Don't bet on it: if the app has its own ClassLoader, it may well ignore the finer points of the servlet spec. Regardless

RE: Tomcat context issue

2007-05-03 Thread Caldarale, Charles R
From: tb323 [mailto:[EMAIL PROTECTED] Subject: Tomcat context issue In server.xml I have this: Host name=localhost appBase=/home/tb323/projects/www/public_html/webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false This way I

RE: Tomcat context issue

2007-05-03 Thread tb323
Thanks for the extremely quick reply. :) I'll check this out after work. /Tommy Caldarale, Charles R wrote: From: tb323 [mailto:[EMAIL PROTECTED] Subject: Tomcat context issue In server.xml I have this: Host name=localhost appBase=/home/tb323/projects/www/public_html/webapps

Re: tomcat context

2007-04-19 Thread Orlando Reis
Just deploy the context to anywhere you want it... jar xvf potatos.war Then as Andoni said: context path=bananas docBase=/path_contexts_directory/directory_where_you_extrated_the_war_file ... !-- Other stuff if necessary! -- /context Is that it? Orlando On 4/17/07, José Perdigão

Re: tomcat context

2007-04-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 José, José Perdigão wrote: I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to use a context path different to the name of the war file? Most people will suggest that you use the proper WAR file name for your context and leave

RE: tomcat context

2007-04-17 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: tomcat context An alternative is to specify a Context element in your server.xml file and specify the name of the context as well as the location of the WAR file. Gotta get you out of the 4.1 mindset, Chris :-) Do NOT put

RE: tomcat context

2007-04-17 Thread OConchubhair, Andoni
Hi, What do you mean by 'context path'? Basically, what you have is: context path=last_bit_of_URL docBase=name_of_war_or_folder ... !-- Other stuff if necessary! -- /context -Original Message- From: José Perdigão [mailto:[EMAIL PROTECTED] Sent: 17 April 2007 15:37 To:

RE: tomcat context

2007-04-17 Thread Caldarale, Charles R
From: OConchubhair, Andoni [mailto:[EMAIL PROTECTED] Subject: RE: tomcat context context path=last_bit_of_URL docBase=name_of_war_or_folder ... !-- Other stuff if necessary! -- /context Several problems with the above: 1) It's Context, not context - this is case sensitive. 2

Re: tomcat context

2007-04-17 Thread José Perdigão
OConchubhair, Andoni wrote: Hi, What do you mean by 'context path'? Basically, what you have is: context path=last_bit_of_URL docBase=name_of_war_or_folder ... !-- Other stuff if necessary! -- /context -Original Message- From: José Perdigão [mailto:[EMAIL PROTECTED] Sent: 17

Re: tomcat context

2007-04-17 Thread Johnny Kewl
I think the answer is you dont Have a look at this thread http://mail-archives.apache.org/mod_mbox/tomcat-users/200704.mbox/thread?2 == Multilevel context path problem == Date Tue, 10 Apr 2007 - Original Message - From: José Perdigão [EMAIL PROTECTED] To:

RE: Tomcat Context

2006-08-18 Thread Bala Paranj
10:33 PM To: Tomcat Users List Subject: Re: Tomcat Context Hi , How is the url mapping for the servlet in the web.xml? it should not include /myContext in the url mapping. The servlet url mapping in the web.xml should only be for /somePath/MyServlet What do you get when you just

Re: Tomcat Context

2006-08-15 Thread Dhiraj Ramakrishnan
Hi , How is the url mapping for the servlet in the web.xml? it should not include /myContext in the url mapping. The servlet url mapping in the web.xml should only be for /somePath/MyServlet What do you get when you just type in https://localhost:8443/myContextPath ? Hope that