tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Kolinko" <knst.koli...@gmail.com>
Subject Re: Default application or HTML redirect
Date Wed, 03 Sep 2008 23:58:59 GMT
I have a thought that there is some specifics in integrating Tomcat
with IIS.

You did not mention how you did that, and what is in your
"worker.properties", and so on. Do you have proper configuration
of IIS-Tomcat ISAPI redirector?

I have to say that I have yet no experience with configuring IIS with Tomcat,
so the following are somewhat theoretical findings. Maybe, if the following
won't help you, you can repost your question mentioning IIS in its title,
and properly describing all components of your configuration.

Also, you may try searching on "how to access tomcat root
application through IIS".

Here is what I have found:
1) http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/jk/config/IISConfig.html

It is some Tomcat class that writes IIS configuration files for you (e.g.
as the initial configuration of the server). Note the "noRoot" configuration
attribute.

If you examine the sources of that class, you may note, that root
context (ctxPath equals "") have some special processing. That includes
the following comment:
"# Note: To correctly serve the Tomcat's root context, IIS's Home
Directory must"
"# must be set to: \"" + getAbsoluteDocBase(context) + "\""

May be that is what you are missing?

Somehow I cannot not find any mention of root context specifics in the
tomcat and tomcat connector documention and wiki.

2) The following two articles might be useful:
http://www.iisadmin.co.uk/?p=8
http://blogs.msdn.com/david.wang/archive/2005/10/14/HOWTO_IIS_6_Request_Processing_Basics_Part_1.aspx

I did not read them through, though.

Best regards,
Konstantin Kolinko

2008/9/3 Mostafa Mossaad <Mostafa.Mossaad@aramex.com>:
> Any ideas Konstantin?
>
> Any ideas Mark?
>
> Regards,
> Mostafa
>
>
> -----Original Message-----
> From: Mostafa Mossaad [mailto:Mostafa.Mossaad@aramex.com]
> Sent: Monday, September 01, 2008 3:56 PM
> To: Tomcat Users List
> Subject: RE: Default application or HTML redirect
>
> I forgot to add that yes, I can access my application locally but with
> using the external IP address, also without the /MyApp extension and it
> loads like I want
>
> -----Original Message-----
> From: Mostafa Mossaad [mailto:Mostafa.Mossaad@aramex.com]
> Sent: Monday, September 01, 2008 11:51 AM
> To: Tomcat Users List
> Subject: RE: Default application or HTML redirect
>
> Hello Konstantin
>
> 1- Yes, my host is accessible by its IP address, when I enter the IP,
> without the /MyAPp extension, it loads the web page I want normally, not
> the Apache default page
>
> 2- I always delete temp files and clear my cookies whenever I'm trying
>
> 3- After uninstalling Tomcat, I deleted all its folders, especially the
> ones that contain conf/server.xml and conf/web.xml
>
> 4- No, my ISA isn't on the same machine, and my ISA acts as a
> firewall/gateway, and I in this case, I use it to publish my
> application/web site
>
> A small comment, my application used to be published via IIS, and not
> Apache tomcat, and to get over this /MyApp extension, I simple created a
> simple .html redirect file in the wwroot folder inside the inetpub
> folder of the IIS. Can't the same be somehow achieved via Tomcat? Via
> the "Welcome files" or something..
>
>
> -----Original Message-----
> From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com]
> Sent: Monday, September 01, 2008 2:23 AM
> To: Tomcat Users List
> Subject: Re: Default application or HTML redirect
>
> 1. Is your host accessible by its IP address?
>
> Also, can you access your application locally, but using external
> (not 127.0.0.1) IP address?
>
> 2. I hope, that it is not a caching issue (Ctrl+F5 from browser
> retrieves non-cached instance of the page, and, I think, should also
> refresh intermediate caches, if there are any).
>
> 3. I do not remember, whether reinstalling Tomcat will reset its
> configuration (at least, when uninstalling it allows you to keep it).
>
> You may download the *.zip distribution of Tomcat and
> compare/replace your conf/server.xml and conf/web.xml files
> with the ones from there.
>
> 4. Is your Microsoft Internet Security and Acceleration (ISA) 2006
> server on the same PC?
> You mentioned it, but where it comes into play here? I do not
> have experience with that product.
>
> Best regards,
> Konstantin Kolinko
>
> 2008/8/30 Mostafa Mossaad <Mostafa.Mossaad@aramex.com>:
>> Can you please tell me how?
>>
>> -----Original Message-----
>> From: Mark Thomas [mailto:markt@apache.org]
>> Sent: Saturday, August 30, 2008 8:45 PM
>> To: Tomcat Users List
>> Subject: Re: Default application or HTML redirect
>>
>> Christopher Schultz wrote:
>>> Mark,
>>>
>>> Mark Thomas wrote:
>>>> Mostafa Mossaad wrote:
>>>>>  however, all my trails only seemed to make the application
>>>>> accessible via http://localhost only, not from the Internet.
>>>> Then you have a proxy / dns / routing issue, not a Tomcat one.
>>>
>>> It's possible that his default <Host> has not been set, and that the
>>> name of the only <Host> is "localhost". That'd do it.
>>>
>>> Mostafa, could you post your entire server.xml? Any changes you made
>> to
>>> CATALINA_BASE/conf/web.xml should be changed back.
>>
>> Yep, that would do it although the OP claimed a new Tomcat install so
>> the default host should be set.
>>
>> Mark
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3402 (20080831) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
>  Email message - is OK
>
> http://www.eset.com
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3402 (20080831) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
>  Email message - is OK
>  Email message - is OK
>
> http://www.eset.com
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3402 (20080831) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
>  Email message - is OK
>
> http://www.eset.com
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3404 (20080901) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
>  Email message - is OK
>  Email message - is OK
>
> http://www.eset.com
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3404 (20080901) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
>  Email message - is OK
>
> http://www.eset.com
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message