Well,

Judging from your server.xml file, you are using Tomcat 6.0.

Well, the file is the same as the default one, only connector port
number is changed, s/8080/80/

Do you have manager application installed? Usally it is installed.
If yes, you can add
<user username="foo" password="bar" roles="manager"/>
to your conf/tomcat-users.xml, and access the application by the
http://localhost/manager/html/

It will list all the applications that are deployed, and allows you to
undeploy applications and deploy your war file by uploading it.

Also, do you have META-INF/context.xml in your war file? If it does
exist there, and is not correctly written, it may break some things.

Best regards,
Konstantin Kolinko

2008/9/4 Mostafa Mossaad <[EMAIL PROTECTED]>:
> Hello Konstantin,
>        I believe I've miss lead you. I'm not using IIS and Tomcat
> concurrently.
>
>        What I mean is that I had an older version of this application
> that used to run on IIS *instead* of Tomcat. When I had the IIS
> application, I used to access my URL directly, without the /MyApp
> extension via a simple .html redirect file in the wwwroot folder.
>
>        Right now, I don't even use IIS, only Tomcat.
>
> Regards,
> Mostafa
>
> -----Original Message-----
> From: Konstantin Kolinko [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 04, 2008 1:59 AM
> To: Tomcat Users List
> Subject: Re: Default application or HTML redirect
>
> 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 <[EMAIL PROTECTED]>:
>> Any ideas Konstantin?
>>
>> Any ideas Mark?
>>
>> Regards,
>> Mostafa
>>
>>
>> -----Original Message-----
>> From: Mostafa Mossaad [mailto:[EMAIL PROTECTED]
>> 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:[EMAIL PROTECTED]
>> 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:[EMAIL PROTECTED]
>> 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 <[EMAIL PROTECTED]>:
>>> Can you please tell me how?
>>>
>>> -----Original Message-----
>>> From: Mark Thomas [mailto:[EMAIL PROTECTED]
>>> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>> __________ 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>> __________ 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>> __________ 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to