<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-342</id>
	<title>Nabble - Tomcat - User</title>
	<updated>2008-07-24T14:18:39Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Tomcat---User-f342.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tomcat---User-f342.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-18640926</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T14:18:39Z</published>
	<updated>2008-07-24T14:18:39Z</updated>
	<author>
		<name>Rainer Jung-3</name>
	</author>
	<content type="html">kohanm schrieb:
&lt;br&gt;&amp;gt; Thanks Rainer,
&lt;br&gt;&amp;gt; The probelm here is that after redirecting, the URL shows the oldapp's
&lt;br&gt;&amp;gt; &amp;nbsp;name but I want the url shows the newapp name.
&lt;br&gt;&lt;br&gt;Then it is not case 1 and you need to pick another case.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; MK
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 7/24/08, Rainer Jung &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640926&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rainer.jung@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; kohanm schrieb:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; my case is Case 1:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; can you give me an example for Redirect or RedirectMatch
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Simplest case:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Redirect /oldapp &lt;a href=&quot;http://myserver/newapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://myserver/newapp&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; More details at
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Rainer
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; MK
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Caldarale, Charles R schrieb:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640926&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt; Subject: Re: Context
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The webaplication is done now, but my boss asked me to change the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; name of URL webapplication. IF I change the directory name than
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; there are many jsp pages with many links &amp;nbsp;with old name's
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; webapplication.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Now the true problem comes out - the webapp name is hardcoded within
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the webapp; that's extremely bad practice. &amp;nbsp;I assume fixing those
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; won't be an easy task.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In this case, you're stuck with needing to deploy the webapp in the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; directory corresponding to the old name; there's no way around that.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; You can write a filter or valve in Tomcat that forwards or redirects
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; all requests for the new name to the old one. &amp;nbsp;You should also be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; able to do that with mod_jk directives, but someone else will have to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help with that.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Someone else says:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If your webapp sends out responses with absolute URLs containing the
&lt;br&gt;&amp;gt;&amp;gt; wrong
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; application name, then there's no easy solution.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Case 1: You only want to make the app reachable under the new name, but
&lt;br&gt;&amp;gt;&amp;gt; you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; don't care if users switch to the old name sometime during app use.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; That's easy, simply redirect from the new name to the old name with a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Redirect or RedirectMatch in Apache httpd.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Case 2: You accept occasional occurence of the old name in THE URLs, but
&lt;br&gt;&amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; should be mostly th enew one.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Deploy the webapp under the new name as Charles suggested. Add a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; RewriteRule to Apache httpd to redirect any URL of the from
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; /oldapp/something to /newapp/something. Whenever Users click on an
&lt;br&gt;&amp;gt;&amp;gt; oldapp
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; link, the request will be answered by the redirect and the URLs quickly
&lt;br&gt;&amp;gt;&amp;gt; get
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; replaced by the newapp URLs in the browser window. Caution: there might
&lt;br&gt;&amp;gt;&amp;gt; be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; problems with redirects and POST requests. All in all that's more a
&lt;br&gt;&amp;gt;&amp;gt; hack.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Case 3: The oldapp name is not contained in the body of responses, but
&lt;br&gt;&amp;gt;&amp;gt; only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; used in redirects coming from the webapp. Then you could try using
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mod_proxy, which allows to change the Location headers in redirects.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Case 4: You don't allow any use of the old name and the old name is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; contained in links in response bodies.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Then you dynamically need to patch the responses. This will be a hack.
&lt;br&gt;&amp;gt;&amp;gt; Have
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; a look at either mod_substitute (httpd 2.2.8 or above, I think) or
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; mod_proxy_html (note: mod_proxy_html != mod_proxy_http).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Rainer
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640926&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640926&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640926&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18640926.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18640761</id>
	<title>Solved: Question HTTP Status 408</title>
	<published>2008-07-24T14:13:01Z</published>
	<updated>2008-07-24T14:13:01Z</updated>
	<author>
		<name>Jq-4</name>
	</author>
	<content type="html">It was a weird one. My index.jsp. It was taking too long to complete
&lt;br&gt;filling in a select from database values. 
&lt;br&gt;&lt;br&gt;After I streamlined the select process the page was loaded in enough
&lt;br&gt;time. 
&lt;br&gt;&lt;br&gt;Funny that it would masquerade as a login error.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, 2008-07-24 at 15:08 -0500, Jq wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am getting an error since upgrading my production server to 6.0.16. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Error message:
&lt;br&gt;&amp;gt; 408 &amp;quot;The time allowed for the login prosess has been exceeded&amp;quot; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. This is only happening with mobile devices (Blackberry &amp; Symbol
&lt;br&gt;&amp;gt; Windows mobile 5)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2. The production server was working at 6.0.13. The development server
&lt;br&gt;&amp;gt; had exhibited this error but I thought it was due to a slower system.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 3. Login actually completes and server log shows messages in the
&lt;br&gt;&amp;gt; application.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 4. It does it with jdbc and jaas realms but not UserDataBase realm. It
&lt;br&gt;&amp;gt; was working with the others before.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a configuration setting that relates to this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this a know bug and if so is there a patch available?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640761&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640761&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640761&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Question-HTTP-Status-408-tp18639641p18640761.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18640494</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T13:57:41Z</published>
	<updated>2008-07-24T13:57:41Z</updated>
	<author>
		<name>kohanm</name>
	</author>
	<content type="html">Thanks Rainer,
&lt;br&gt;The probelm here is that after redirecting, the URL shows the oldapp's
&lt;br&gt;&amp;nbsp;name but I want the url shows the newapp name.
&lt;br&gt;&lt;br&gt;MK
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 7/24/08, Rainer Jung &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640494&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rainer.jung@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; kohanm schrieb:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; my case is Case 1:
&lt;br&gt;&amp;gt; &amp;gt; can you give me an example for Redirect or RedirectMatch
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Simplest case:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Redirect /oldapp &lt;a href=&quot;http://myserver/newapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://myserver/newapp&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; More details at
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rainer
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; thanks,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; MK
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Caldarale, Charles R schrieb:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640494&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Subject: Re: Context
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; The webaplication is done now, but my boss asked me to change the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; name of URL webapplication. IF I change the directory name than
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; there are many jsp pages with many links &amp;nbsp;with old name's
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt; webapplication.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Now the true problem comes out - the webapp name is hardcoded within
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; the webapp; that's extremely bad practice. &amp;nbsp;I assume fixing those
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; won't be an easy task.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; In this case, you're stuck with needing to deploy the webapp in the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; directory corresponding to the old name; there's no way around that.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; You can write a filter or valve in Tomcat that forwards or redirects
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; all requests for the new name to the old one. &amp;nbsp;You should also be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; able to do that with mod_jk directives, but someone else will have to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; help with that.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Someone else says:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; If your webapp sends out responses with absolute URLs containing the
&lt;br&gt;&amp;gt; wrong
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; application name, then there's no easy solution.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Case 1: You only want to make the app reachable under the new name, but
&lt;br&gt;&amp;gt; you
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; don't care if users switch to the old name sometime during app use.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; That's easy, simply redirect from the new name to the old name with a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Redirect or RedirectMatch in Apache httpd.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Case 2: You accept occasional occurence of the old name in THE URLs, but
&lt;br&gt;&amp;gt; it
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; should be mostly th enew one.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Deploy the webapp under the new name as Charles suggested. Add a
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; RewriteRule to Apache httpd to redirect any URL of the from
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; /oldapp/something to /newapp/something. Whenever Users click on an
&lt;br&gt;&amp;gt; oldapp
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; link, the request will be answered by the redirect and the URLs quickly
&lt;br&gt;&amp;gt; get
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; replaced by the newapp URLs in the browser window. Caution: there might
&lt;br&gt;&amp;gt; be
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; problems with redirects and POST requests. All in all that's more a
&lt;br&gt;&amp;gt; hack.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Case 3: The oldapp name is not contained in the body of responses, but
&lt;br&gt;&amp;gt; only
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; used in redirects coming from the webapp. Then you could try using
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; mod_proxy, which allows to change the Location headers in redirects.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Case 4: You don't allow any use of the old name and the old name is
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; contained in links in response bodies.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Then you dynamically need to patch the responses. This will be a hack.
&lt;br&gt;&amp;gt; Have
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; a look at either mod_substitute (httpd 2.2.8 or above, I think) or
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; mod_proxy_html (note: mod_proxy_html != mod_proxy_http).
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Regards,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Rainer
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640494&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640494&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640494&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Massoud
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640494&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640494&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640494&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18640494.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18640037</id>
	<title>Down the rabbit hole with JDBC</title>
	<published>2008-07-24T13:31:37Z</published>
	<updated>2008-07-24T13:31:37Z</updated>
	<author>
		<name>Matt Burkhardt</name>
	</author>
	<content type="html">Sorry - I've been slogging through this...
&lt;br&gt;&lt;br&gt;Anyway, I'm trying to get an application working, but all of their
&lt;br&gt;documentation talks about is tomcat5.5 and I've got tomcat6
&lt;br&gt;&lt;br&gt;I have gotten the latest Connector/J binary from MySQL and installed in
&lt;br&gt;into &amp;lt;tomcat&amp;gt;/lib but I would like to test it. &amp;nbsp;So, I went to
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;and followed the instructions to set up a DBTest - but I get this
&lt;br&gt;&lt;br&gt;HTTP Status 500 - 
&lt;br&gt;&lt;br&gt;________________________________________________________________________
&lt;br&gt;&lt;br&gt;type Exception report
&lt;br&gt;&lt;br&gt;message 
&lt;br&gt;&lt;br&gt;description The server encountered an internal error () that prevented
&lt;br&gt;it from fulfilling this request.
&lt;br&gt;&lt;br&gt;exception 
&lt;br&gt;&lt;br&gt;&lt;br&gt;org.apache.jasper.JasperException: The absolute uri: &lt;a href=&quot;http://java.sun.com/jsp/jstl/sql&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsp/jstl/sql&lt;/a&gt;&amp;nbsp;cannot be resolved in either web.xml or the jar files deployed with this application
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.TagLibraryInfoImpl.&amp;lt;init&amp;gt;(TagLibraryInfoImpl.java:148)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:420)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.Parser.parseElements(Parser.java:1433)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.Parser.parse(Parser.java:133)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:153)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
&lt;br&gt;&lt;br&gt;Here's the code that I'm running - are the taglibs incorrect?
&lt;br&gt;&lt;br&gt;&amp;lt;%@ taglib uri=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsp/jstl/sql&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsp/jstl/sql&lt;/a&gt;&amp;quot; prefix=&amp;quot;sql&amp;quot; %&amp;gt;
&lt;br&gt;&amp;lt;%@ taglib uri=&amp;quot;&lt;a href=&quot;http://java.sun.com/jsp/jstl/core&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/jsp/jstl/core&lt;/a&gt;&amp;quot; prefix=&amp;quot;c&amp;quot; %&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;sql:query var=&amp;quot;rs&amp;quot; dataSource=&amp;quot;jdbc/TestDB&amp;quot;&amp;gt;
&lt;br&gt;select id, foo, bar from testdata
&lt;br&gt;&amp;lt;/sql:query&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;html&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;head&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;title&amp;gt;DB Test&amp;lt;/title&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/head&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;body&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;h2&amp;gt;Results&amp;lt;/h2&amp;gt;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;lt;c:forEach var=&amp;quot;row&amp;quot; items=&amp;quot;${rs.rows}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Foo ${row.foo}&amp;lt;br/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Bar ${row.bar}&amp;lt;br/&amp;gt;
&lt;br&gt;&amp;lt;/c:forEach&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;/body&amp;gt;
&lt;br&gt;&amp;lt;/html&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Matt Burkhardt, MSTM
&lt;br&gt;President
&lt;br&gt;Impari Systems, Inc.
&lt;br&gt;﻿401 Rosemont Avenue
&lt;br&gt;Frederick, MD &amp;nbsp;21701
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640037&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mlb@...&lt;/a&gt;
&lt;br&gt;www.imparisystems.com
&lt;br&gt;(301) 644-3911
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Down-the-rabbit-hole-with-JDBC-tp18640037p18640037.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18640021</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T13:30:27Z</published>
	<updated>2008-07-24T13:30:27Z</updated>
	<author>
		<name>Rainer Jung-3</name>
	</author>
	<content type="html">kohanm schrieb:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; my case is Case 1:
&lt;br&gt;&amp;gt; can you give me an example for Redirect or RedirectMatch
&lt;br&gt;&lt;br&gt;Simplest case:
&lt;br&gt;&lt;br&gt;Redirect /oldapp &lt;a href=&quot;http://myserver/newapp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://myserver/newapp&lt;/a&gt;&lt;br&gt;&lt;br&gt;More details at
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Rainer
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; MK
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Caldarale, Charles R schrieb:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640021&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;] Subject: Re: Context
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The webaplication is done now, but my boss asked me to change the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; name of URL webapplication. IF I change the directory name than
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; there are many jsp pages with many links &amp;nbsp;with old name's
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; webapplication.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Now the true problem comes out - the webapp name is hardcoded within
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the webapp; that's extremely bad practice. &amp;nbsp;I assume fixing those
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; won't be an easy task.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In this case, you're stuck with needing to deploy the webapp in the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; directory corresponding to the old name; there's no way around that.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; You can write a filter or valve in Tomcat that forwards or redirects
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; all requests for the new name to the old one. &amp;nbsp;You should also be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; able to do that with mod_jk directives, but someone else will have to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; help with that.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Someone else says:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If your webapp sends out responses with absolute URLs containing the wrong
&lt;br&gt;&amp;gt;&amp;gt; application name, then there's no easy solution.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Case 1: You only want to make the app reachable under the new name, but you
&lt;br&gt;&amp;gt;&amp;gt; don't care if users switch to the old name sometime during app use.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; That's easy, simply redirect from the new name to the old name with a
&lt;br&gt;&amp;gt;&amp;gt; Redirect or RedirectMatch in Apache httpd.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Case 2: You accept occasional occurence of the old name in THE URLs, but it
&lt;br&gt;&amp;gt;&amp;gt; should be mostly th enew one.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Deploy the webapp under the new name as Charles suggested. Add a
&lt;br&gt;&amp;gt;&amp;gt; RewriteRule to Apache httpd to redirect any URL of the from
&lt;br&gt;&amp;gt;&amp;gt; /oldapp/something to /newapp/something. Whenever Users click on an oldapp
&lt;br&gt;&amp;gt;&amp;gt; link, the request will be answered by the redirect and the URLs quickly get
&lt;br&gt;&amp;gt;&amp;gt; replaced by the newapp URLs in the browser window. Caution: there might be
&lt;br&gt;&amp;gt;&amp;gt; problems with redirects and POST requests. All in all that's more a hack.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Case 3: The oldapp name is not contained in the body of responses, but only
&lt;br&gt;&amp;gt;&amp;gt; used in redirects coming from the webapp. Then you could try using
&lt;br&gt;&amp;gt;&amp;gt; mod_proxy, which allows to change the Location headers in redirects.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Case 4: You don't allow any use of the old name and the old name is
&lt;br&gt;&amp;gt;&amp;gt; contained in links in response bodies.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Then you dynamically need to patch the responses. This will be a hack. Have
&lt;br&gt;&amp;gt;&amp;gt; a look at either mod_substitute (httpd 2.2.8 or above, I think) or
&lt;br&gt;&amp;gt;&amp;gt; mod_proxy_html (note: mod_proxy_html != mod_proxy_http).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Rainer
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640021&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640021&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18640021&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18640021.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18639641</id>
	<title>Question HTTP Status 408</title>
	<published>2008-07-24T13:08:13Z</published>
	<updated>2008-07-24T13:08:13Z</updated>
	<author>
		<name>Jq-4</name>
	</author>
	<content type="html">I am getting an error since upgrading my production server to 6.0.16. 
&lt;br&gt;&lt;br&gt;Error message:
&lt;br&gt;408 &amp;quot;The time allowed for the login prosess has been exceeded&amp;quot; &amp;nbsp;
&lt;br&gt;&lt;br&gt;1. This is only happening with mobile devices (Blackberry &amp; Symbol
&lt;br&gt;Windows mobile 5)
&lt;br&gt;&lt;br&gt;2. The production server was working at 6.0.13. The development server
&lt;br&gt;had exhibited this error but I thought it was due to a slower system.
&lt;br&gt;&lt;br&gt;3. Login actually completes and server log shows messages in the
&lt;br&gt;application.
&lt;br&gt;&lt;br&gt;4. It does it with jdbc and jaas realms but not UserDataBase realm. It
&lt;br&gt;was working with the others before.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Is there a configuration setting that relates to this?
&lt;br&gt;&lt;br&gt;Is this a know bug and if so is there a patch available?
&lt;br&gt;&lt;br&gt;Regards.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18639641&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18639641&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18639641&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Question-HTTP-Status-408-tp18639641p18639641.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18638696</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T12:13:34Z</published>
	<updated>2008-07-24T12:13:34Z</updated>
	<author>
		<name>kohanm</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;my case is Case 1:
&lt;br&gt;can you give me an example for Redirect or RedirectMatch
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;&lt;br&gt;MK
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Caldarale, Charles R schrieb:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638696&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;] Subject: Re: Context
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The webaplication is done now, but my boss asked me to change the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; name of URL webapplication. IF I change the directory name than
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; there are many jsp pages with many links &amp;nbsp;with old name's
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; webapplication.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now the true problem comes out - the webapp name is hardcoded within
&lt;br&gt;&amp;gt;&amp;gt; the webapp; that's extremely bad practice. &amp;nbsp;I assume fixing those
&lt;br&gt;&amp;gt;&amp;gt; won't be an easy task.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In this case, you're stuck with needing to deploy the webapp in the
&lt;br&gt;&amp;gt;&amp;gt; directory corresponding to the old name; there's no way around that.
&lt;br&gt;&amp;gt;&amp;gt; You can write a filter or valve in Tomcat that forwards or redirects
&lt;br&gt;&amp;gt;&amp;gt; all requests for the new name to the old one. &amp;nbsp;You should also be
&lt;br&gt;&amp;gt;&amp;gt; able to do that with mod_jk directives, but someone else will have to
&lt;br&gt;&amp;gt;&amp;gt; help with that.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Someone else says:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If your webapp sends out responses with absolute URLs containing the wrong
&lt;br&gt;&amp;gt; application name, then there's no easy solution.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Case 1: You only want to make the app reachable under the new name, but you
&lt;br&gt;&amp;gt; don't care if users switch to the old name sometime during app use.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's easy, simply redirect from the new name to the old name with a
&lt;br&gt;&amp;gt; Redirect or RedirectMatch in Apache httpd.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Case 2: You accept occasional occurence of the old name in THE URLs, but it
&lt;br&gt;&amp;gt; should be mostly th enew one.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Deploy the webapp under the new name as Charles suggested. Add a
&lt;br&gt;&amp;gt; RewriteRule to Apache httpd to redirect any URL of the from
&lt;br&gt;&amp;gt; /oldapp/something to /newapp/something. Whenever Users click on an oldapp
&lt;br&gt;&amp;gt; link, the request will be answered by the redirect and the URLs quickly get
&lt;br&gt;&amp;gt; replaced by the newapp URLs in the browser window. Caution: there might be
&lt;br&gt;&amp;gt; problems with redirects and POST requests. All in all that's more a hack.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Case 3: The oldapp name is not contained in the body of responses, but only
&lt;br&gt;&amp;gt; used in redirects coming from the webapp. Then you could try using
&lt;br&gt;&amp;gt; mod_proxy, which allows to change the Location headers in redirects.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Case 4: You don't allow any use of the old name and the old name is
&lt;br&gt;&amp;gt; contained in links in response bodies.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then you dynamically need to patch the responses. This will be a hack. Have
&lt;br&gt;&amp;gt; a look at either mod_substitute (httpd 2.2.8 or above, I think) or
&lt;br&gt;&amp;gt; mod_proxy_html (note: mod_proxy_html != mod_proxy_http).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rainer
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638696&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638696&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638696&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Massoud
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18638696.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18638522</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T12:02:13Z</published>
	<updated>2008-07-24T12:02:13Z</updated>
	<author>
		<name>Rainer Jung-3</name>
	</author>
	<content type="html">Caldarale, Charles R schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638522&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;] Subject: Re: Context
&lt;br&gt;&amp;gt;&amp;gt; or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; The webaplication is done now, but my boss asked me to change the
&lt;br&gt;&amp;gt;&amp;gt; name of URL webapplication. IF I change the directory name than
&lt;br&gt;&amp;gt;&amp;gt; there are many jsp pages with many links &amp;nbsp;with old name's
&lt;br&gt;&amp;gt;&amp;gt; webapplication.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now the true problem comes out - the webapp name is hardcoded within
&lt;br&gt;&amp;gt; the webapp; that's extremely bad practice. &amp;nbsp;I assume fixing those
&lt;br&gt;&amp;gt; won't be an easy task.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In this case, you're stuck with needing to deploy the webapp in the
&lt;br&gt;&amp;gt; directory corresponding to the old name; there's no way around that.
&lt;br&gt;&amp;gt; You can write a filter or valve in Tomcat that forwards or redirects
&lt;br&gt;&amp;gt; all requests for the new name to the old one. &amp;nbsp;You should also be
&lt;br&gt;&amp;gt; able to do that with mod_jk directives, but someone else will have to
&lt;br&gt;&amp;gt; help with that.
&lt;/div&gt;&lt;br&gt;Someone else says:
&lt;br&gt;&lt;br&gt;If your webapp sends out responses with absolute URLs containing the 
&lt;br&gt;wrong application name, then there's no easy solution.
&lt;br&gt;&lt;br&gt;Case 1: You only want to make the app reachable under the new name, but 
&lt;br&gt;you don't care if users switch to the old name sometime during app use.
&lt;br&gt;&lt;br&gt;That's easy, simply redirect from the new name to the old name with a 
&lt;br&gt;Redirect or RedirectMatch in Apache httpd.
&lt;br&gt;&lt;br&gt;Case 2: You accept occasional occurence of the old name in THE URLs, but 
&lt;br&gt;it should be mostly th enew one.
&lt;br&gt;&lt;br&gt;Deploy the webapp under the new name as Charles suggested. Add a 
&lt;br&gt;RewriteRule to Apache httpd to redirect any URL of the from 
&lt;br&gt;/oldapp/something to /newapp/something. Whenever Users click on an 
&lt;br&gt;oldapp link, the request will be answered by the redirect and the URLs 
&lt;br&gt;quickly get replaced by the newapp URLs in the browser window. Caution: 
&lt;br&gt;there might be problems with redirects and POST requests. All in all 
&lt;br&gt;that's more a hack.
&lt;br&gt;&lt;br&gt;Case 3: The oldapp name is not contained in the body of responses, but 
&lt;br&gt;only used in redirects coming from the webapp. Then you could try using 
&lt;br&gt;mod_proxy, which allows to change the Location headers in redirects.
&lt;br&gt;&lt;br&gt;Case 4: You don't allow any use of the old name and the old name is 
&lt;br&gt;contained in links in response bodies.
&lt;br&gt;&lt;br&gt;Then you dynamically need to patch the responses. This will be a hack. 
&lt;br&gt;Have a look at either mod_substitute (httpd 2.2.8 or above, I think) or 
&lt;br&gt;mod_proxy_html (note: mod_proxy_html != mod_proxy_http).
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Rainer
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638522&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638522&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638522&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18638522.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18638501</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T12:01:49Z</published>
	<updated>2008-07-24T12:01:49Z</updated>
	<author>
		<name>kohanm</name>
	</author>
	<content type="html">In my first email I copied(short) &amp;nbsp;the mod_jk configuration in httpd.conf
&lt;br&gt;file.
&lt;br&gt;&lt;br&gt;Mk
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On 7/24/08, Caldarale, Charles R &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638501&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chuck.Caldarale@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638501&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt; &amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The webaplication is done now, but my boss asked me to change the name
&lt;br&gt;&amp;gt; &amp;gt; of URL webapplication. IF I change the directory name than there are
&lt;br&gt;&amp;gt; &amp;gt; many jsp pages with many links &amp;nbsp;with old name's webapplication.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now the true problem comes out - the webapp name is hardcoded within the
&lt;br&gt;&amp;gt; webapp; that's extremely bad practice. &amp;nbsp;I assume fixing those won't be an
&lt;br&gt;&amp;gt; easy task.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In this case, you're stuck with needing to deploy the webapp in the
&lt;br&gt;&amp;gt; directory corresponding to the old name; there's no way around that. &amp;nbsp;You
&lt;br&gt;&amp;gt; can write a filter or valve in Tomcat that forwards or redirects all
&lt;br&gt;&amp;gt; requests for the new name to the old one. &amp;nbsp;You should also be able to do
&lt;br&gt;&amp;gt; that with mod_jk directives, but someone else will have to help with that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Chuck
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
&lt;br&gt;&amp;gt; MATERIAL and is thus for use only by the intended recipient. If you received
&lt;br&gt;&amp;gt; this in error, please contact the sender and delete the e-mail and its
&lt;br&gt;&amp;gt; attachments from all computers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638501&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638501&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638501&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Massoud
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18638501.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18638334</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T11:53:23Z</published>
	<updated>2008-07-24T11:53:23Z</updated>
	<author>
		<name>David Smith-2</name>
	</author>
	<content type="html">Then you should have written your webapp so all the links are computed 
&lt;br&gt;based on the webapp's context. &amp;nbsp;In jsps you can do this with:
&lt;br&gt;&lt;br&gt;${pageContext.request.contextPath}/webapp/relative/path.jsp
&lt;br&gt;&lt;br&gt;In servlets, you can use request.getContextPath() to get the context 
&lt;br&gt;path and then append your path on to it..
&lt;br&gt;&lt;br&gt;With that strategy, at most you'd have to alter links in static html 
&lt;br&gt;files if the webapp has any.
&lt;br&gt;&lt;br&gt;--David
&lt;br&gt;&lt;br&gt;kohanm wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The webaplication is done now, but my boss asked me to change the name
&lt;br&gt;&amp;gt; of URL webapplication. IF I change the directory name than there are
&lt;br&gt;&amp;gt; many jsp pages with many links &amp;nbsp;with old name's webapplication.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 7/24/08, Caldarale, Charles R &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638334&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chuck.Caldarale@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638334&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I want to have a webapplication name /webaplicaiton/welcome.do
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; different than the directory name (/webapps/booking).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; O.k., I'll bite: why? &amp;nbsp;That's now how Tomcat is designed to work.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; My Tomcat works if the URL is the same as directory name(or.war file).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Which is as exactly how it's supposed to work. &amp;nbsp;Just use one name, and don't make things more complicated than they need to be.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;- Chuck
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638334&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638334&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638334&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18638334.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18638394</id>
	<title>Re: Server.xml Host Configuration</title>
	<published>2008-07-24T11:49:10Z</published>
	<updated>2008-07-24T11:49:10Z</updated>
	<author>
		<name>David Smith-2</name>
	</author>
	<content type="html">I can see a couple of issues:
&lt;br&gt;&lt;br&gt;1. It's not recommended to have &amp;lt;Context ... /&amp;gt; elements in server.xml. &amp;nbsp;
&lt;br&gt;It works, but not recommended.
&lt;br&gt;&lt;br&gt;2. The Host's appBase and context's docBase attributes cannot point to 
&lt;br&gt;the same directory. &amp;nbsp;It worked in older versions of tomcat, but that 
&lt;br&gt;behavior was considered a bug and fixed. &amp;nbsp;Typically the appBase is set 
&lt;br&gt;to the parent of your webapp. 
&lt;br&gt;&lt;br&gt;In your case, I recommend creating a directory named ROOT in 
&lt;br&gt;&amp;quot;/var/www/mySitelocal_stage/philly&amp;quot; and moving all the webapp's files 
&lt;br&gt;and folders into it. &amp;nbsp;Then remove the &amp;lt;Context ... /&amp;gt; element entirely 
&lt;br&gt;from server.xml.
&lt;br&gt;&lt;br&gt;--David
&lt;br&gt;&lt;br&gt;Tomcat User6 wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am facing a problem in my application with &amp;quot; tld not found&amp;quot; error.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The absolute uri: &lt;a href=&quot;http://www.mySite.com/tags-abc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mySite.com/tags-abc&lt;/a&gt;&amp;nbsp;cannot be resolved in
&lt;br&gt;&amp;gt; either web.xml or the jar files deployed with this application
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is my directory at server &amp;quot;/var/www/mySitelocal_stage/philly&amp;quot; (philly
&lt;br&gt;&amp;gt; is my application root directory)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is the taglib entry in web.xml file
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;jsp-config&amp;gt;
&lt;br&gt;&amp;gt; 	&amp;lt;taglib&amp;gt;
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;&amp;lt;taglib-uri&amp;gt;&lt;a href=&quot;http://www.mySite.com/tags-abc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mySite.com/tags-abc&lt;/a&gt;&amp;lt;/taglib-uri&amp;gt;
&lt;br&gt;&amp;gt; 	 &amp;nbsp; &amp;nbsp;&amp;lt;taglib-location&amp;gt;/WEB-INF/abc.tld&amp;lt;/taglib-location&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/taglib&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/jsp-config&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My abc.tld is at /WEB-INF/ directory.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; when I try for first page with &amp;quot;stage2.philly.mySite.com &amp;quot;it works fine. No
&lt;br&gt;&amp;gt; errors at all. 
&lt;br&gt;&amp;gt; But when I try &amp;quot;&lt;a href=&quot;http://stage2.philly.mySite.com/events/index.jsp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://stage2.philly.mySite.com/events/index.jsp&lt;/a&gt;&amp;quot; it gives
&lt;br&gt;&amp;gt; me the error for tld.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The absolute uri: &lt;a href=&quot;http://www.mySite.com/tags-abc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mySite.com/tags-abc&lt;/a&gt;&amp;nbsp;cannot be resolved in
&lt;br&gt;&amp;gt; either web.xml or the jar files deployed with this application
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Both the &amp;quot;first page's jsp&amp;quot; and &amp;quot;events/index.jsp&amp;quot; is having the tld
&lt;br&gt;&amp;gt; included as
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;%@ taglib uri=&amp;quot;&lt;a href=&quot;http://www.mySite.com/tags-abc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mySite.com/tags-abc&lt;/a&gt;&amp;quot; prefix=&amp;quot;app&amp;quot; %&amp;gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My home page is directly under /WEB-INF/ folder., where as for second URL I
&lt;br&gt;&amp;gt; have &amp;quot;/WEB-INF/events/index.jsp&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The atrange thing is, whe I try this application on my local machine, it
&lt;br&gt;&amp;gt; works fine with both the URL. but on server it fails.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have server.xml entry on Server as below:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;Host name=&amp;quot;stage2.philly.mySite.com&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; appBase=&amp;quot;/var/www/mySitelocal_stage/philly&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; unpackWARs=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; autoDeploy=&amp;quot;false&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; xmlValidation=&amp;quot;false&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; xmlNamespaceAware=&amp;quot;false&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;Alias&amp;gt;stage2.philly.mySite.com&amp;lt;/Alias&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;Alias&amp;gt;192.168.1.166&amp;lt;/Alias&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;Alias&amp;gt;207.97.248.156&amp;lt;/Alias&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;Context docBase=&amp;quot;/var/www/mySitelocal_stage/philly&amp;quot; path=&amp;quot;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;Valve className=&amp;quot;org.apache.catalina.valves.AccessLogValve&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;directory=&amp;quot;logs&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;prefix=&amp;quot;www_phillymySite_com_log.&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;suffix=&amp;quot;.txt&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;pattern=&amp;quot;common&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;resolveHosts=&amp;quot;false&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/Host&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; IT MUST BE CAUSING THAT.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please help me out with possible solutions for this problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you need anything else apart from this, then please let me know.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank You,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638394&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638394&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638394&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Server.xml-Host-Configuration-tp18636070p18638394.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18638186</id>
	<title>RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T11:44:28Z</published>
	<updated>2008-07-24T11:44:28Z</updated>
	<author>
		<name>Caldarale, Charles R</name>
	</author>
	<content type="html">&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638186&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The webaplication is done now, but my boss asked me to change the name
&lt;br&gt;&amp;gt; of URL webapplication. IF I change the directory name than there are
&lt;br&gt;&amp;gt; many jsp pages with many links &amp;nbsp;with old name's webapplication.
&lt;br&gt;&lt;br&gt;Now the true problem comes out - the webapp name is hardcoded within the webapp; that's extremely bad practice. &amp;nbsp;I assume fixing those won't be an easy task.
&lt;br&gt;&lt;br&gt;In this case, you're stuck with needing to deploy the webapp in the directory corresponding to the old name; there's no way around that. &amp;nbsp;You can write a filter or valve in Tomcat that forwards or redirects all requests for the new name to the old one. &amp;nbsp;You should also be able to do that with mod_jk directives, but someone else will have to help with that.
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Chuck
&lt;br&gt;&lt;br&gt;&lt;br&gt;THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638186&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638186&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638186&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18638186.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18638019</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T11:36:33Z</published>
	<updated>2008-07-24T11:36:33Z</updated>
	<author>
		<name>kohanm</name>
	</author>
	<content type="html">The webaplication is done now, but my boss asked me to change the name
&lt;br&gt;of URL webapplication. IF I change the directory name than there are
&lt;br&gt;many jsp pages with many links &amp;nbsp;with old name's webapplication.
&lt;br&gt;&lt;br&gt;On 7/24/08, Caldarale, Charles R &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638019&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chuck.Caldarale@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638019&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt; &amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I want to have a webapplication name /webaplicaiton/welcome.do
&lt;br&gt;&amp;gt; &amp;gt; different than the directory name (/webapps/booking).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; O.k., I'll bite: why? &amp;nbsp;That's now how Tomcat is designed to work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; My Tomcat works if the URL is the same as directory name(or.war file).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which is as exactly how it's supposed to work. &amp;nbsp;Just use one name, and don't make things more complicated than they need to be.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;- Chuck
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638019&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638019&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638019&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Massoud
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638019&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638019&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18638019&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18638019.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18637792</id>
	<title>RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T11:25:37Z</published>
	<updated>2008-07-24T11:25:37Z</updated>
	<author>
		<name>Caldarale, Charles R</name>
	</author>
	<content type="html">&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637792&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to have a webapplication name /webaplicaiton/welcome.do
&lt;br&gt;&amp;gt; different than the directory name (/webapps/booking).
&lt;br&gt;&lt;br&gt;O.k., I'll bite: why? &amp;nbsp;That's now how Tomcat is designed to work.
&lt;br&gt;&lt;br&gt;&amp;gt; My Tomcat works if the URL is the same as directory name(or.war file).
&lt;br&gt;&lt;br&gt;Which is as exactly how it's supposed to work. &amp;nbsp;Just use one name, and don't make things more complicated than they need to be.
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Chuck
&lt;br&gt;&lt;br&gt;&lt;br&gt;THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637792&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637792&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637792&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18637792.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18637716</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T11:21:46Z</published>
	<updated>2008-07-24T11:21:46Z</updated>
	<author>
		<name>kohanm</name>
	</author>
	<content type="html">I think you forgot my question, I posted this question because I want
&lt;br&gt;to have a &amp;nbsp;webapplication &amp;nbsp;name &amp;nbsp; &amp;nbsp;/webaplicaiton/welcome.do
&lt;br&gt;&amp;nbsp; different &amp;nbsp;than the directory name (/webapps/booking).
&lt;br&gt;My Tomcat works if the URL is the same as directory name(or.war file).
&lt;br&gt;&lt;br&gt;but i want to set up the Tomcat to have &amp;nbsp;(webapplication) name
&lt;br&gt;different than directory name under webapps directory
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;MK
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 7/24/08, Caldarale, Charles R &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637716&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chuck.Caldarale@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637716&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt; &amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The context located &amp;nbsp;:
&lt;br&gt;&amp;gt; &amp;gt; Tomcat 5.5\conf\Catalina\localhost\webapplication.xml
&lt;br&gt;&amp;gt; &amp;gt; and I modified as you mentioned:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;Context &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug=&amp;quot;5&amp;quot; reloadable=&amp;quot;true&amp;quot; crossContext=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ---
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/Context&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; then I tried to check the Tomcat separately with it's port:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;&lt;a href=&quot;http://localhost:*8080/booking*/welcome.do*&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:*8080/booking*/welcome.do*&lt;/a&gt;&amp;nbsp; &amp;nbsp;it worked(*
&lt;br&gt;&amp;gt; &amp;gt; Tomcat5.5/webapps/booking*) .*
&lt;br&gt;&amp;gt; &amp;gt; **
&lt;br&gt;&amp;gt; &amp;gt; and
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://localhost:*8080/webapplication/welcome.do&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:*8080/webapplication/welcome.do&lt;/a&gt;&amp;lt;&lt;a href=&quot;http://localh&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localh&lt;/a&gt;&lt;br&gt;&amp;gt; ost:8080/webapplication/welcome.do&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; did not work.*
&lt;br&gt;&amp;gt; &amp;gt; **
&lt;br&gt;&amp;gt; &amp;gt; So I think the Tomcat does not mapping to the
&lt;br&gt;&amp;gt; &amp;gt; Tomcat5.5/webapps/*booking*
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;directory properly*.*
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You need to decide if your application is going to be reachable by the webapplication URI or the booking URI; choose one or the other, change the name of the &amp;lt;Context&amp;gt; .xml file to match, change the directory name (or .war file) for the application to match, and stick with *one* name. &amp;nbsp;By trying to use both, you're just creating confusion.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; - Chuck
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637716&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637716&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637716&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Massoud
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637716&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637716&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637716&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18637716.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18637666</id>
	<title>Using Tomcat with ISAPI Redirector</title>
	<published>2008-07-24T11:20:05Z</published>
	<updated>2008-07-24T11:20:05Z</updated>
	<author>
		<name>Patrick Markiewicz</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I'm using Apache Tomcat/5.5.4 with Plesk 8.2 on a Windows Server
&lt;br&gt;2003 machine. &amp;nbsp;The isapi redirector program is supposed to allow me to
&lt;br&gt;connect to my server, and redirect my request to Tomcat, if the url
&lt;br&gt;matches a certain pattern. &amp;nbsp;I have multiple sites configured in IIS,
&lt;br&gt;including: PleskControlPanel and Default Web Site.
&lt;br&gt;&lt;br&gt;Default Web Site was previously configured with a jakarta virtual
&lt;br&gt;directory that allows the isapi redirector to work properly. &amp;nbsp;When I try
&lt;br&gt;to access &lt;a href=&quot;http://www.example.com/examples&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.example.com/examples&lt;/a&gt;, I find the tomcat error:
&lt;br&gt;HTTP Status 404 - /examples/
&lt;br&gt;&lt;br&gt;I configured PleskControlPanel (port 8880, ssl port 8443) to use a
&lt;br&gt;second jakarta virtual directory. &amp;nbsp;However, when I try to access
&lt;br&gt;&lt;a href=&quot;http://www.example.com:8880/examples&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.example.com:8880/examples&lt;/a&gt;, I find the tomcat error:
&lt;br&gt;HTTP Status 404 - /jakarta/isapi_redirect.dll
&lt;br&gt;&lt;br&gt;Does anyone know why IIS would be passing the URI:
&lt;br&gt;/jakarta/isapi_redirect.dll to Tomcat at that point? &amp;nbsp;Is there a way to
&lt;br&gt;configure IIS so that /jakarta/isapi_redirect.dll is resolved properly
&lt;br&gt;(as the filter, not the URI) and so that the next URI delivered to
&lt;br&gt;Tomcat is /examples/ ?
&lt;br&gt;&lt;br&gt;Patrick
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637666&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637666&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637666&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Using-Tomcat-with-ISAPI-Redirector-tp18637666p18637666.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18637215</id>
	<title>Re: options map empty</title>
	<published>2008-07-24T10:53:42Z</published>
	<updated>2008-07-24T10:53:42Z</updated>
	<author>
		<name>gamby</name>
	</author>
	<content type="html">never mind. i fixed.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/options-map-empty-tp18634111p18637215.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18637113</id>
	<title>RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T10:48:13Z</published>
	<updated>2008-07-24T10:48:13Z</updated>
	<author>
		<name>Caldarale, Charles R</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637113&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The context located &amp;nbsp;:
&lt;br&gt;&amp;gt; Tomcat 5.5\conf\Catalina\localhost\webapplication.xml
&lt;br&gt;&amp;gt; and I modified as you mentioned:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;Context &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug=&amp;quot;5&amp;quot; reloadable=&amp;quot;true&amp;quot; crossContext=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;lt;/Context&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; then I tried to check the Tomcat separately with it's port:
&lt;br&gt;&amp;gt; &amp;nbsp;&lt;a href=&quot;http://localhost:*8080/booking*/welcome.do*&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:*8080/booking*/welcome.do*&lt;/a&gt;&amp;nbsp; &amp;nbsp;it worked(*
&lt;br&gt;&amp;gt; Tomcat5.5/webapps/booking*) .*
&lt;br&gt;&amp;gt; **
&lt;br&gt;&amp;gt; and
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://localhost:*8080/webapplication/welcome.do&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:*8080/webapplication/welcome.do&lt;/a&gt;&amp;lt;&lt;a href=&quot;http://localh&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localh&lt;/a&gt;&lt;/div&gt;ost:8080/webapplication/welcome.do&amp;gt;
&lt;br&gt;&amp;gt; did not work.*
&lt;br&gt;&amp;gt; **
&lt;br&gt;&amp;gt; So I think the Tomcat does not mapping to the
&lt;br&gt;&amp;gt; Tomcat5.5/webapps/*booking*
&lt;br&gt;&amp;gt; &amp;nbsp;directory properly*.*
&lt;br&gt;&lt;br&gt;You need to decide if your application is going to be reachable by the webapplication URI or the booking URI; choose one or the other, change the name of the &amp;lt;Context&amp;gt; .xml file to match, change the directory name (or .war file) for the application to match, and stick with *one* name. &amp;nbsp;By trying to use both, you're just creating confusion.
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Chuck
&lt;br&gt;&lt;br&gt;&lt;br&gt;THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637113&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637113&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18637113&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18637113.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18636918</id>
	<title>Tomcat 5.5 -- Enabling of Certain Characters in URLs</title>
	<published>2008-07-24T10:36:50Z</published>
	<updated>2008-07-24T10:36:50Z</updated>
	<author>
		<name>floatingisland</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Currently running the open source webapp eXist (&lt;a href=&quot;http://exist.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://exist.sourceforge.net/&lt;/a&gt;) on Tomcat 5.5. It works well
&lt;br&gt;&lt;br&gt;expect for this glitch: in trying to access file names containing &amp;quot;(&amp;quot; or &amp;quot;,&amp;quot; characters, Tomcat generates a 404 &amp;quot;document not found&amp;quot; message. I've tried encoding these with %29 and other encodings, but that doesn't help. Is there a setting in the conf files that can be enabled to allow &amp;quot;(&amp;quot; or &amp;quot;,&amp;quot; in URLs preferably without encoding? In looking through the mailing list archives (see &lt;a href=&quot;http://mail-archives.apache.org/mod_mbox/tomcat-dev/200109.mbox/%3C764CA2FF49EC054BA086FC8253A52DD7432C22@merc09.na.sas.com%3E&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail-archives.apache.org/mod_mbox/tomcat-dev/200109.mbox/%3C764CA2FF49EC054BA086FC8253A52DD7432C22@...%3E&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;, I noticed that there is a &amp;lt;DecodeInterceptor safe=&amp;quot;false&amp;quot; /&amp;gt; setting, but I don't know if that's part of Tomcat 5.5 or if it is, can it have to be added, and if to which file and where in the conf files? Or is there another setting that can be added/enabled?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Greg
&lt;br&gt;&lt;br&gt;?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Tomcat-5.5----Enabling-of-Certain-Characters-in-URLs-tp18636918p18636918.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18636710</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T10:23:57Z</published>
	<updated>2008-07-24T10:23:57Z</updated>
	<author>
		<name>kohanm</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;The context located &amp;nbsp;:
&lt;br&gt;Tomcat 5.5\conf\Catalina\localhost\webapplication.xml
&lt;br&gt;and I modified as you mentioned:
&lt;br&gt;&lt;br&gt;&amp;lt;Context &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug=&amp;quot;5&amp;quot; reloadable=&amp;quot;true&amp;quot; crossContext=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&amp;lt;/Context&amp;gt;
&lt;br&gt;&lt;br&gt;I tried the &amp;nbsp;&lt;a href=&quot;http://localhost/webapplication/welcome.do&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost/webapplication/welcome.do&lt;/a&gt;&amp;nbsp; URl it did not
&lt;br&gt;work.
&lt;br&gt;&lt;br&gt;then I tried to check the Tomcat separately with it's port:
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://localhost:*8080/booking*/welcome.do*&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:*8080/booking*/welcome.do*&lt;/a&gt;&amp;nbsp; &amp;nbsp;it worked(*
&lt;br&gt;Tomcat5.5/webapps/booking*) .*
&lt;br&gt;**
&lt;br&gt;and &amp;nbsp;&lt;a href=&quot;http://localhost:*8080/webapplication/welcome.do&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:*8080/webapplication/welcome.do&lt;/a&gt;&amp;lt;&lt;a href=&quot;http://localhost:8080/webapplication/welcome.do&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/webapplication/welcome.do&lt;/a&gt;&amp;gt;
&lt;br&gt;did not work.*
&lt;br&gt;**
&lt;br&gt;So I think the Tomcat does not mapping to the &amp;nbsp;Tomcat5.5/webapps/*booking*
&lt;br&gt;&amp;nbsp;directory properly*.*
&lt;br&gt;Any suggestions.
&lt;br&gt;Thanks.
&lt;br&gt;MK
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On 7/24/08, Caldarale, Charles R &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chuck.Caldarale@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636710&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt; &amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I removed the &amp;nbsp;path and docBase attributes like this:
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;Context &amp;nbsp;path=&amp;quot;&amp;quot; docBase=&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug=&amp;quot;5&amp;quot; reloadable=&amp;quot;true&amp;quot; crossContext=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No, remove means remove, not change the values to null strings. &amp;nbsp;Your
&lt;br&gt;&amp;lt;Context&amp;gt; element should simply be this:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;lt;Context debug=&amp;quot;5&amp;quot; reloadable=&amp;quot;true&amp;quot; crossContext=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Where is your &amp;lt;Context&amp;gt; element located now?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Where is your webapp deployed (name of directory or war file)?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The requested resource (/webapplication/welcome.do)
&lt;br&gt;&amp;gt; &amp;gt; is not available.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Verify that you can access the webapp through Tomcat's HTTP connector,
&lt;/div&gt;then try it through httpd. &amp;nbsp;If you can get at it directly but not through
&lt;br&gt;httpd, then something's wrong with your httpd mappings, which I can't help
&lt;br&gt;you with.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;- Chuck
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
&lt;br&gt;MATERIAL and is thus for use only by the intended recipient. If you received
&lt;br&gt;this in error, please contact the sender and delete the e-mail and its
&lt;br&gt;attachments from all computers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636710&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636710&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636710&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Massoud
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18636710.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18636070</id>
	<title>Server.xml Host Configuration</title>
	<published>2008-07-24T09:52:10Z</published>
	<updated>2008-07-24T09:52:10Z</updated>
	<author>
		<name>Tomcat User6</name>
	</author>
	<content type="html">I am facing a problem in my application with &amp;quot; tld not found&amp;quot; error.
&lt;br&gt;&lt;br&gt;&lt;b&gt;The absolute uri: &lt;a href=&quot;http://www.mySite.com/tags-abc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mySite.com/tags-abc&lt;/a&gt;&amp;nbsp;cannot be resolved in either web.xml or the jar files deployed with this application&lt;/b&gt;&lt;br&gt;&lt;br&gt;Here is my directory at server &amp;quot;/var/www/mySitelocal_stage/philly&amp;quot; (philly is my application root directory)
&lt;br&gt;&lt;br&gt;Here is the taglib entry in web.xml file
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;jsp-config&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;taglib&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;taglib-uri&amp;gt;&lt;a href=&quot;http://www.mySite.com/tags-abc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mySite.com/tags-abc&lt;/a&gt;&amp;lt;/taglib-uri&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;taglib-location&amp;gt;/WEB-INF/abc.tld&amp;lt;/taglib-location&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/taglib&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/jsp-config&amp;gt;
&lt;br&gt;&lt;br&gt;My abc.tld is at /WEB-INF/ directory.
&lt;br&gt;&lt;br&gt;when I try for first page with &amp;quot;stage2.philly.mySite.com &amp;quot;it works fine. No errors at all. 
&lt;br&gt;But when I try &amp;quot;&lt;a href=&quot;http://stage2.philly.mySite.com/events/index.jsp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://stage2.philly.mySite.com/events/index.jsp&lt;/a&gt;&amp;quot; it gives me the error for tld.
&lt;br&gt;&lt;br&gt;&lt;b&gt;The absolute uri: &lt;a href=&quot;http://www.mySite.com/tags-abc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mySite.com/tags-abc&lt;/a&gt;&amp;nbsp;cannot be resolved in either web.xml or the jar files deployed with this application&lt;/b&gt;&lt;br&gt;&lt;br&gt;Both the &amp;quot;first page's jsp&amp;quot; and &amp;quot;events/index.jsp&amp;quot; is having the tld included as
&lt;br&gt;&lt;br&gt;&amp;lt;%@ taglib uri=&amp;quot;&lt;a href=&quot;http://www.mySite.com/tags-abc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mySite.com/tags-abc&lt;/a&gt;&amp;quot; prefix=&amp;quot;app&amp;quot; %&amp;gt;.
&lt;br&gt;&lt;br&gt;My home page is directly under /WEB-INF/ folder., where as for second URL I have &amp;quot;/WEB-INF/events/index.jsp&amp;quot;
&lt;br&gt;&lt;br&gt;The atrange thing is, whe I try this application on my local machine, it works fine with both the URL. but on server it fails.
&lt;br&gt;&lt;br&gt;I have server.xml entry on Server as below:
&lt;br&gt;&lt;br&gt;&amp;lt;Host name=&amp;quot;stage2.philly.mySite.com&amp;quot;
&lt;br&gt;&amp;nbsp; appBase=&amp;quot;/var/www/mySitelocal_stage/philly&amp;quot;
&lt;br&gt;&amp;nbsp; unpackWARs=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;nbsp; autoDeploy=&amp;quot;false&amp;quot;
&lt;br&gt;&amp;nbsp; xmlValidation=&amp;quot;false&amp;quot;
&lt;br&gt;&amp;nbsp; xmlNamespaceAware=&amp;quot;false&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Alias&amp;gt;stage2.philly.mySite.com&amp;lt;/Alias&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Alias&amp;gt;192.168.1.166&amp;lt;/Alias&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Alias&amp;gt;207.97.248.156&amp;lt;/Alias&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Context docBase=&amp;quot;/var/www/mySitelocal_stage/philly&amp;quot; path=&amp;quot;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Valve className=&amp;quot;org.apache.catalina.valves.AccessLogValve&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;directory=&amp;quot;logs&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;prefix=&amp;quot;www_phillymySite_com_log.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;suffix=&amp;quot;.txt&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;pattern=&amp;quot;common&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;resolveHosts=&amp;quot;false&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/Host&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;IT MUST BE CAUSING THAT.
&lt;br&gt;&lt;br&gt;Please help me out with possible solutions for this problem.
&lt;br&gt;&lt;br&gt;If you need anything else apart from this, then please let me know.
&lt;br&gt;&lt;br&gt;Thank You,
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Server.xml-Host-Configuration-tp18636070p18636070.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18636126</id>
	<title>RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T09:45:21Z</published>
	<updated>2008-07-24T09:45:21Z</updated>
	<author>
		<name>Caldarale, Charles R</name>
	</author>
	<content type="html">&amp;gt; From: kohanm [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636126&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
&lt;br&gt;&amp;gt; Tomcat 5.5
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I removed the &amp;nbsp;path and docBase attributes like this:
&lt;br&gt;&amp;gt; &amp;lt;Context &amp;nbsp;path=&amp;quot;&amp;quot; docBase=&amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; debug=&amp;quot;5&amp;quot; reloadable=&amp;quot;true&amp;quot; crossContext=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;No, remove means remove, not change the values to null strings. &amp;nbsp;Your &amp;lt;Context&amp;gt; element should simply be this:
&lt;br&gt;&amp;lt;Context debug=&amp;quot;5&amp;quot; reloadable=&amp;quot;true&amp;quot; crossContext=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;Where is your &amp;lt;Context&amp;gt; element located now?
&lt;br&gt;&lt;br&gt;Where is your webapp deployed (name of directory or war file)?
&lt;br&gt;&lt;br&gt;&amp;gt; The requested resource (/webapplication/welcome.do)
&lt;br&gt;&amp;gt; is not available.
&lt;br&gt;&lt;br&gt;Verify that you can access the webapp through Tomcat's HTTP connector, then try it through httpd. &amp;nbsp;If you can get at it directly but not through httpd, then something's wrong with your httpd mappings, which I can't help you with.
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Chuck
&lt;br&gt;&lt;br&gt;&lt;br&gt;THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636126&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636126&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18636126&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18636126.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635804</id>
	<title>Re: mod_jk for apache2-2.2.8 and tomcat4.1.30 from HP-UX server</title>
	<published>2008-07-24T09:30:13Z</published>
	<updated>2008-07-24T09:30:13Z</updated>
	<author>
		<name>Rainer Jung-3</name>
	</author>
	<content type="html">Bomfim, Marcio wrote:
&lt;br&gt;&amp;gt; This is the result of /usr/local/apache2/bin/apxs -q PREFIX
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; interpreter &amp;quot;/usr/bin/perl&amp;quot; not found
&lt;br&gt;&amp;gt; ksh: /usr/local/apache2/bin/apxs: &amp;nbsp;not found
&lt;br&gt;&lt;br&gt;So your Apache installation is broken.
&lt;br&gt;&lt;br&gt;If apxs doesn't work, then the build procedure for mod_jk will not work.
&lt;br&gt;You could either ask the people you got your Apache from, or try to repair:
&lt;br&gt;&lt;br&gt;- Check, that /usr/local/apache2/bin/apxs itself is executable (seems to 
&lt;br&gt;be the case)
&lt;br&gt;- Check the first line, Most likely something like &amp;quot;#!/usr/bin/perl&amp;quot;, 
&lt;br&gt;find a working perl on your system and change the path /usr/bin/perl to 
&lt;br&gt;the path to your working perl binary.
&lt;br&gt;- Try &amp;quot;/usr/local/apache2/bin/apxs -q PREFIX&amp;quot; again, it should output 
&lt;br&gt;the path to your apache installation (e.g. /usr/local/apache2)
&lt;br&gt;&lt;br&gt;If this works, try building mod_jk again.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Rainer
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Marcio Bomfim
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Rainer Jung [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635804&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rainer.jung@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, July 23, 2008 6:54 PM
&lt;br&gt;&amp;gt; To: Tomcat Users List
&lt;br&gt;&amp;gt; Subject: Re: mod_jk for apache2-2.2.8 and tomcat4.1.30 from HP-UX server
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Bomfim, Marcio schrieb:
&lt;br&gt;&amp;gt;&amp;gt; Does anybody know where to find the mod_jk for apache2-2.2.8 and tomcat4.1.30? (HP-UX machine)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've downloaded from &lt;a href=&quot;http://tomcat.apache.org/connectors-doc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tomcat.apache.org/connectors-doc/&lt;/a&gt;&amp;nbsp;(JK 1.2.26 release sources)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and ran the commands:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; CFLAGS=&amp;quot;$CPPFLAGS -DHPUX11GCC -DHPUX11&amp;quot; \
&lt;br&gt;&amp;gt;&amp;gt; ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-apache=/usr/local/apache2
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; got the error
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; configure: error: You must specify a valid --with-apxs path
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What's the result of
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /usr/local/apache2/bin/apxs -q PREFIX
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Rainer
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635804&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635804&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635804&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18635804.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18635675</id>
	<title>Re: TCP/AJP KeepAlive on Tomcat side?</title>
	<published>2008-07-24T09:23:57Z</published>
	<updated>2008-07-24T09:23:57Z</updated>
	<author>
		<name>Rainer Jung-3</name>
	</author>
	<content type="html">Stephanie Wullbieter wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; on mod_jk side one can define keepalive=true for OS TCP KeepAlice Activation for the (AJP) Connections to the tomcats.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there a possibility to activate tcp or ajp keepalive on the tomcat side?
&lt;br&gt;&lt;br&gt;The term Keepalive has various meanings, depending on the protocol to 
&lt;br&gt;which it gets applied. For upper level protocols it usually means, that 
&lt;br&gt;some sort of established connection gets reused during multiple 
&lt;br&gt;requests. For AJP13 this is automatically the case, no need to configure.
&lt;br&gt;&lt;br&gt;For TCP it does mean &amp;quot;send an empty packet automatically when the 
&lt;br&gt;connection is idle for a long time in order to prevent intermediate 
&lt;br&gt;network components to drop the connection information from their state 
&lt;br&gt;table&amp;quot;. Usually this is done with respect to firewalls sitting between 
&lt;br&gt;the two communicating endpoints. In this scenario it is enough, if one 
&lt;br&gt;of the two endpoints activate SO_KEEPALIVE on the socket and thus sends 
&lt;br&gt;the packets. In the mod_jk/Tomcat case, this is done via mod_jk.
&lt;br&gt;&lt;br&gt;Some information is also contained in
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tomcat.apache.org/connectors-doc/generic_howto/timeouts.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Rainer
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635675&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635675&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18635675&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/TCP-AJP-KeepAlive-on-Tomcat-side--tp18630769p18635675.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18634858</id>
	<title>Re: retrieving tomcat info from within a war</title>
	<published>2008-07-24T08:51:22Z</published>
	<updated>2008-07-24T08:51:22Z</updated>
	<author>
		<name>Johngara</name>
	</author>
	<content type="html">Awesome, that worked perfectly!
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, Jul 24, 2008 at 5:56 AM, Johnny Kewl &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634858&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;john@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----- From: &amp;quot;Jerry Atrick&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634858&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jjunos@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634858&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Wednesday, July 23, 2008 10:51 PM
&lt;br&gt;&amp;gt; Subject: retrieving tomcat info from within a war
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;Is there a way to retrieve tomcat version/info from within a War file? I
&lt;br&gt;&amp;gt;&amp;gt; actually would prefer this to be web container agnostic, but I'm working
&lt;br&gt;&amp;gt;&amp;gt; with Tomcat, so that's where I will start.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I know that the manager does almost exactly what I want when going to:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://localhost:8080/manager/serverinfo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://localhost:8080/manager/serverinfo&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; but for the life of me, I can't seem to find it in the src.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; They hide it in a property file....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; heres the code
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InputStream is = ServerInfo.class.getResourceAsStream
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&amp;quot;/org/apache/catalina/util/ServerInfo.properties&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Properties props = new Properties();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; props.load(is);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is.close();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; serverInfo = props.getProperty(&amp;quot;server.info&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; serverBuilt = props.getProperty(&amp;quot;server.built&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; serverNumber = props.getProperty(&amp;quot;server.number&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (Throwable t) {}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The rest of that stuff OS etc is just Java properties
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; like...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sInfo += &amp;quot;JVM Vendor: &amp;quot; + System.getProperty(&amp;quot;java.vm.vendor&amp;quot;) + &amp;quot;\n&amp;quot;;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; etc....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wonder what would happen if you ran this against Glassfish.... I bet it
&lt;br&gt;&amp;gt; works... coz TC is probably hiding in there somewhere ;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; agnosticism thru theft... ha ha
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Have fun..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------------
&lt;br&gt;&amp;gt; HARBOR : &lt;a href=&quot;http://www.kewlstuff.co.za/index.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.kewlstuff.co.za/index.htm&lt;/a&gt;&lt;br&gt;&amp;gt; The most powerful application server on earth.
&lt;br&gt;&amp;gt; The only real POJO Application Server.
&lt;br&gt;&amp;gt; See it in Action : &lt;a href=&quot;http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm&lt;/a&gt;&lt;br&gt;&amp;gt; ---------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634858&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634858&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634858&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/retrieving-tomcat-info-from-within-a-war-tp18620345p18634858.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18634827</id>
	<title>Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T08:49:44Z</published>
	<updated>2008-07-24T08:49:44Z</updated>
	<author>
		<name>kohanm</name>
	</author>
	<content type="html">Thanks for your replay.
&lt;br&gt;When &amp;nbsp;I sent the email it generated asterisks. In the context there is not
&lt;br&gt;any asteriske. I do not use them. The Catalina directory name was a typo
&lt;br&gt;too.
&lt;br&gt;&lt;br&gt;I removed the &amp;nbsp;path and docBase attributes like this:
&lt;br&gt;&amp;lt;Context &amp;nbsp;path=&amp;quot;&amp;quot; docBase=&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; debug=&amp;quot;5&amp;quot; reloadable=&amp;quot;true&amp;quot; crossContext=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;**
&lt;br&gt;&lt;br&gt;still &amp;nbsp;does not work: (*The requested resource (/webapplication/welcome.do)
&lt;br&gt;is not available.)*
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;MK
&lt;br&gt;&lt;br&gt;On 7/24/08, Caldarale, Charles R &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634827&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Chuck.Caldarale@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; From: kohanm &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634827&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Subject: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If I change the directory name Tomcat5.5/webapps/*booking*
&lt;br&gt;&amp;gt; &amp;gt; to the *webapplication,* the server works fine.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which is how it's supposed to work. &amp;nbsp;The URI path to the webapp is
&lt;br&gt;&amp;gt; determined by the name of the webapp's directory or .war file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The content of context xml file on
&lt;br&gt;&amp;gt; &amp;gt; Tomcat5.5/conf/localhost/*webapplication.xml*:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'll presume the above is a typo, and should really be
&lt;br&gt;&amp;gt; Tomcat5.5/conf/Catalina/localhost/webapplication.xml
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (BTW, putting asterisks in what should be verbatim configuration text only
&lt;br&gt;&amp;gt; confuses things.)
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;* *
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;lt;Context path=&amp;quot;/*webapplication*&amp;quot; docBase=&amp;quot;*booking*&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The path attribute is not allowed for this &amp;lt;Context&amp;gt; element, and the
&lt;br&gt;&amp;gt; docBase setting conflicts with the name of the .xml file. &amp;nbsp;At best you'll be
&lt;br&gt;&amp;gt; getting double deployment, but the behavior can not be guaranteed to be
&lt;br&gt;&amp;gt; consistent across different Tomcat levels.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Change the name of the deployment directory to webapplication, remove the
&lt;br&gt;&amp;gt; path and docBase attributes, and it all should work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Chuck
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
&lt;br&gt;&amp;gt; MATERIAL and is thus for use only by the intended recipient. If you received
&lt;br&gt;&amp;gt; this in error, please contact the sender and delete the e-mail and its
&lt;br&gt;&amp;gt; attachments from all computers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634827&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634827&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634827&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Massoud
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Context-or-Mapping-problems-Apache-2.2-%2Bmod_JK%2B-Tomcat-5.5-tp18619305p18634827.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18634111</id>
	<title>options map empty</title>
	<published>2008-07-24T08:16:32Z</published>
	<updated>2008-07-24T08:16:32Z</updated>
	<author>
		<name>gamby</name>
	</author>
	<content type="html">sorry my poor english. i have trouble with loginmodule config file. i
&lt;br&gt;cant see options from login configurtion file. at initialize() options
&lt;br&gt;no keyset.
&lt;br&gt;&lt;br&gt;TomCatAdminApplication {
&lt;br&gt;my.MyLoginModule required optOne=&amp;quot;one&amp;quot; optTwo=&amp;quot;two optThree=&amp;quot;three&amp;quot;;
&lt;br&gt;};
&lt;br&gt;&lt;br&gt;tomcat 6
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634111&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634111&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18634111&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/options-map-empty-tp18634111p18634111.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18633635</id>
	<title>RE: Memory question</title>
	<published>2008-07-24T07:55:50Z</published>
	<updated>2008-07-24T07:55:50Z</updated>
	<author>
		<name>Matt Burkhardt</name>
	</author>
	<content type="html">Thank you all! &amp;nbsp;I set JAVA_OPTS in the tomcat startup and it works!
&lt;br&gt;&lt;br&gt;Now to figure out the next problem, but that's an issue with the
&lt;br&gt;application I'm running and not Tomcat.
&lt;br&gt;&lt;br&gt;On Wed, 2008-07-23 at 20:00 -0500, Caldarale, Charles R wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; From: David Smith [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18633635&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dns4@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: Memory question
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I believe the startup script accepts extra parameters and just
&lt;br&gt;&amp;gt; &amp;gt; passes them on to the JVM for startup. &amp;nbsp;You should be able to do:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; startup.sh -Xmx512m
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Unfortunately not, although it certainly would be convenient. &amp;nbsp;The extra parameters are passed to Tomcat's Bootstrap class, not the JVM. &amp;nbsp;You really do have to use CATALINA_OPTS or JAVA_OPTS.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;- Chuck
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18633635&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18633635&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18633635&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Matt Burkhardt, MSTM
&lt;br&gt;President
&lt;br&gt;Impari Systems, Inc.
&lt;br&gt;﻿401 Rosemont Avenue
&lt;br&gt;Frederick, MD &amp;nbsp;21701
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18633635&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mlb@...&lt;/a&gt;
&lt;br&gt;www.imparisystems.com
&lt;br&gt;(301) 644-3911
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Memory-question-tp18620531p18633635.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18631817</id>
	<title>RE: Re direction in tomcat 5.5</title>
	<published>2008-07-24T06:13:30Z</published>
	<updated>2008-07-24T06:13:30Z</updated>
	<author>
		<name>Caldarale, Charles R</name>
	</author>
	<content type="html">&amp;gt; From: Gordon, Jack [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18631817&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jack.w.gordon@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Subject: RE: Re direction in tomcat 5.5
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm running TomCat 5.5 on a windows server.
&lt;br&gt;&lt;br&gt;You're running Tomcat, not TomCat.
&lt;br&gt;&lt;br&gt;&amp;gt; I am trying to get everything redirected to the ssl port 8443.
&lt;br&gt;&lt;br&gt;Read section 12 of the servlet spec (JSR-000154). &amp;nbsp;Only protected resources with a &amp;lt;transport-guarantee&amp;gt; of CONFIDENTIAL or better will be automatically redirected to the SSL port. &amp;nbsp;Note that the world's most popular and standards-ignoring browser (IE) frequently mishandles SSL on any port other than 443.
&lt;br&gt;&lt;br&gt;&amp;gt; Should I just disable port 8080 in the system.xml
&lt;br&gt;&lt;br&gt;(That's server.xml; precision counts.)
&lt;br&gt;&lt;br&gt;You can do that, but browsers would show an error when attempting a normal connection. &amp;nbsp;You could write a simple filter or valve that just redirects HTTP requests to HTTPS on the desired port.
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Chuck
&lt;br&gt;&lt;br&gt;&lt;br&gt;THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18631817&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18631817&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18631817&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RE%3A-Re-direction-in-tomcat-5.5-tp18631430p18631817.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18631430</id>
	<title>RE: Re direction in tomcat 5.5</title>
	<published>2008-07-24T05:57:57Z</published>
	<updated>2008-07-24T05:57:57Z</updated>
	<author>
		<name>Gordon, Jack</name>
	</author>
	<content type="html">I'm running TomCat 5.5 on a windows server. &amp;nbsp;I am trying to get everything redirected to the ssl port 8443. &amp;nbsp;I can still get to the site using the port 8080. &amp;nbsp;I haven't found any examples that show how it should be configured. &amp;nbsp;This is my first TomCat installation and most everything has gone well, just this one glictch. &amp;nbsp;Should I just disable port 8080 in the system.xml, or is there a more elegant solution. &amp;nbsp;(for my 8080 connection the redirect is to 8443).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector port=&amp;quot;8443&amp;quot; maxHttpHeaderSize=&amp;quot;8192&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;maxThreads=&amp;quot;150&amp;quot; minSpareThreads=&amp;quot;25&amp;quot; maxSpareThreads=&amp;quot;75&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;enableLookups=&amp;quot;false&amp;quot; disableUploadTimeout=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;acceptCount=&amp;quot;100&amp;quot; scheme=&amp;quot;https&amp;quot; secure=&amp;quot;true&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clientAuth=&amp;quot;false&amp;quot; sslProtocol=&amp;quot;TLS&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; keystoreFile=&amp;quot;D:\certkeystore\.keystore&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; keystorePass=&amp;quot;single1!&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; port=&amp;quot;8080&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; maxHttpHeaderSize=&amp;quot;8192&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;maxThreads=&amp;quot;150&amp;quot; minSpareThreads=&amp;quot;25&amp;quot; maxSpareThreads=&amp;quot;75&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;enableLookups=&amp;quot;false&amp;quot; redirectPort=&amp;quot;8443&amp;quot; acceptCount=&amp;quot;100&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;connectionTimeout=&amp;quot;20000&amp;quot; disableUploadTimeout=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;Jack W. Gordon Jr
&lt;br&gt;Server Administrator
&lt;br&gt;Information Technology
&lt;br&gt;Oklahoma State University
&lt;br&gt;Stillwater, Oklahoma 74078
&lt;br&gt;405-744-4540
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RE%3A-Re-direction-in-tomcat-5.5-tp18631430p18631430.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-18631451</id>
	<title>RE: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5</title>
	<published>2008-07-24T05:56:22Z</published>
	<updated>2008-07-24T05:56:22Z</updated>
	<author>
		<name>Caldarale, Charles R</name>
	</author>
	<content type="html">&amp;gt; From: kohanm &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18631451&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kohan.massoud@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If I change the directory name Tomcat5.5/webapps/*booking*
&lt;br&gt;&amp;gt; to the *webapplication,* the server works fine.
&lt;br&gt;&lt;br&gt;Which is how it's supposed to work. &amp;nbsp;The URI path to the webapp is determined by the name of the webapp's directory or .war file.
&lt;br&gt;&lt;br&gt;&amp;gt; The content of context xml file on
&lt;br&gt;&amp;gt; Tomcat5.5/conf/localhost/*webapplication.xml*:
&lt;br&gt;&lt;br&gt;I'll presume the above is a typo, and should really be
&lt;br&gt;Tomcat5.5/conf/Catalina/localhost/webapplication.xml
&lt;br&gt;&lt;br&gt;(BTW, putting asterisks in what should be verbatim configuration text only confuses things.)
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;lt;Context path=&amp;quot;/*webapplication*&amp;quot; docBase=&amp;quot;*booking*&amp;quot;
&lt;br&gt;&lt;br&gt;The path attribute is not allowed for this &amp;lt;Context&amp;gt; element, and the docBase setting conflicts with the name of the .xml file. &amp;nbsp;At best you'll be getting double deployment, but the behavior can not be guaranteed to be consistent across different Tomcat levels.
&lt;br&gt;&lt;br&gt;Change the name of the deployment directory to webapplication, remove the path and docBase attributes, and it all should work.
&lt;br&gt;&lt;br&gt;&amp;nbsp;- Chuck
&lt;br&gt;&lt;br&gt;&lt;br&gt;THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To start a new topic, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18631451&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users@...&lt;/a&gt;
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18631451&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=18631451&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;users-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Contex