Re: Default application or HTML redirect

2008-09-07 Thread Konstantin Kolinko
I am sorry, but can you summarize, what is not working at this
moment?

What computers, where in the network, are involved in the case
that is not working?

In this thread several questions were raised.

a) How to make an application the default one.

Answer: The default application is named ROOT (case sensitive).
You should undeploy the default one
(delete webapps/ROOT, webapps/ROOT.war, conf/localhost/ROOT.xml),
rename your war file to ROOT.war and deploy it.

Using the manager application you can verify, whether the deployment
was successful. But it seems that it was, because you can access
your application without MyApp path.

Also, as far as I understand, at this moment you have deployed your
application twice, as  ROOT.war and as MyApp.war.

Note, that the manager application displays a name for each application,
that name is configured in  element of web.xml.
Thus, you can see, whether your application is the root one, and not the
Tomcat's default one ("Welcome to Tomcat" is the name of the one that
comes with Tomcat).

b) IIS is not used at the server.

c) When accessing the server from a client computer, using its external
IP address of the server, the application is accessible without MyApp path.

d) If, accessed from the same client, using DNS name of the server,
default Tomcat ROOT application is displayed.

If that is the case, then you should check that it is actually accessing
your server, and not some other computer.

Check that DNS name is being resolved correctly, as you are expecting.
1) with nslookup Windows command, 2) check the contents
of file %SystemRoot%\system32\drivers\etc\hosts - the IP address
can be overwritten there.

Check the route to the server (tracert).

If there is network address translation (NAT) and/or port mapping involved,
check configuration of the router (proxy) that performs the translation.
Maybe your ISA is that proxy, and I am not familiar with how it is being
configured.

Try accessing the manager application through the server name.

If request reaches the server, it can be processed differently if virtual
servers are configured, but in your case
- Tomcat configuration does not have virtual servers (we have seen that
from your server.xml),
- You have undeployed the default ROOT application (you can check
that through the manager application), thus there is no way that the
default Tomcat page can be displayed by this instance of the server.

What is the configuration of your ISA? How your "publishing the server
through it" is configured?

So, what is not working?


Best regards,
Konstantin Kolinko

2008/9/8 Mostafa Mossaad <[EMAIL PROTECTED]>:
> Konstantin, any ideas?
>
> Guys?
>
> -Original Message-
> From: Mostafa Mossaad [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 06, 2008 2:59 PM
> To: Tomcat Users List
> Subject: RE: Default application or HTML redirect
>
> Hello Konstantin,
>I changed the port number during installation to avoid having
> users writing :8080 whenever the access my application
>
>Also, I believe I have the manager application installed, I took
> a look at it a while ago, however, my .WAR file is deployed and I didn't
> find any need to use the manager application.
>
>I have checked my META-INF folder, and didn't find any files
> except for "MANIFEST.ME"
>
>What do you think?
>
>
> Regards,
> Mostafa
>
> -Original Message-
> From: Konstantin Kolinko [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 04, 2008 12:22 PM
> To: Tomcat Users List
> Subject: Re: Default application or HTML redirect
>
> 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
>  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 fol

RE: Default application or HTML redirect

2008-09-07 Thread Mostafa Mossaad
Konstantin, any ideas?

Guys?

-Original Message-
From: Mostafa Mossaad [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 06, 2008 2:59 PM
To: Tomcat Users List
Subject: RE: Default application or HTML redirect

Hello Konstantin,
I changed the port number during installation to avoid having
users writing :8080 whenever the access my application

Also, I believe I have the manager application installed, I took
a look at it a while ago, however, my .WAR file is deployed and I didn't
find any need to use the manager application.

I have checked my META-INF folder, and didn't find any files
except for "MANIFEST.ME"

What do you think? 


Regards,
Mostafa

-Original Message-
From: Konstantin Kolinko [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2008 12:22 PM
To: Tomcat Users List
Subject: Re: Default application or HTML redirect

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
 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/j
> k/
> 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_Reques
> t_
> 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
>>
>

RE: Default application or HTML redirect

2008-09-06 Thread Mostafa Mossaad
Hello Konstantin,
I changed the port number during installation to avoid having
users writing :8080 whenever the access my application

Also, I believe I have the manager application installed, I took
a look at it a while ago, however, my .WAR file is deployed and I didn't
find any need to use the manager application.

I have checked my META-INF folder, and didn't find any files
except for "MANIFEST.ME"

What do you think? 


Regards,
Mostafa

-Original Message-
From: Konstantin Kolinko [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2008 12:22 PM
To: Tomcat Users List
Subject: Re: Default application or HTML redirect

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
 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/j
> k/
> 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_Reques
> t_
> 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 redi

Re: Default application or HTML redirect

2008-09-04 Thread Konstantin Kolinko
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

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 applica

RE: Default application or HTML redirect

2008-09-03 Thread Mostafa Mossaad
Hello Christopher,
Attached is my server.xml file from the "conf" folder. 

Please let me know what you think.

Regards,
Mostafa


-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 03, 2008 6:14 PM
To: Tomcat Users List
Subject: Re: Default application or HTML redirect

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mostafa,

Mostafa Mossaad wrote:
> Any ideas Konstantin?
> 
> Any ideas Mark?

How about posting your entire server.xml file?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki+t9wACgkQ9CaO5/Lv0PCW/QCeJG7UCdUFOdHkUmrIjwiYOv87
nRIAmwaasAIWSu3Ox7+7jTVeanEI73vC
=qVUv
-END PGP SIGNATURE-

-
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 3412 (20080903) __

The message was checked by ESET NOD32 Antivirus.

  Email message - is OK

http://www.eset.com



begin 666 server.zip
[EMAIL PROTECTED](`%&7'3E?*J0Z00D``#P9```*IW)ZF(!*2F$ $EP`M:[Y^3P,@
M"=V2J6S5KAX22T0W3M].=_/-;T]+R1Y%I7-5#)^=Q:?/F"A2E>7%?/BL-K/^
MJV>_G??>_*W?[S%VFZ>BT")C1C&S$&Q4\A3_)6IF5KP2[$K51<8-5+&C47)U
MS/[EMAIL PROTECTED]"15A:GR:6WPDW0*&9]70BQ%873,6"*$U3Z^FUR_O62S
M7 J6Y=H)X?)5;A;08Q:Y9BM5?6,S:.)9EM/%7+*\P ]+!Z,2(QQTX,@?1;&E*\'@]5J%7,+-E;5?-#8-KB%/\?)99\`0^)#(876\-&_
MZ[R"8Z=KQDO 2?D4("5?4=1L:&S$<[EMAIL PROTECTED]/N30$H:F\U6##2:'!^ M
M7K!HE+#K)&*_CY+KY 0Z/EU/WMU]F+!/HX>'T7AR?9FPNP?V]FY\<3VYOAOC
MVQ4;C;^P?UV/[EMAIL PROTECTED]@J*\(/D#EY4604T"9[&@"4'/1=ER+-9WD*NXIY
MS>>"S17ROJ#<[EMAIL PROTECTED]>!BTR7^;&II#>-2KN]?NN)MA8&?&:L1&+$E%!
M740&4\!SHX6<(6#16^0[8H=GY+8P*US0,C'#4Z;K*24#:@55@&[EMAIL PROTECTED]'-HH]<
M/@H=(<8N?Z1X%#)VDAGI+Q'3B]ID*(AAE+S[,+FX^S2.SBDUR+C1_0/\,*UXM692<[EMAIL PROTECTED]/G0E
M+]U%]AY(WR+D`B:S5'*MQWPIAA$RL4G*E!LN\X+'[EMAIL PROTECTED]'I75;3X3Z3J5HA&,
M6)+<7A9S> :21<0&YQ[5=8$4A/[EMAIL PROTECTED]&5F")_$4)0D06<'03\
MU8KV%VIEU,\C=P`ZS"U(=O/^,TOJDES=9N!$+2'.?%P.(2M4T1=/5J7Y*63+
MJ>"%CEVP]SAV\#/:_BG5E,L'H55=I4+O5]L8[PZS&U0OR,6+>(8Z&) BR_OM
MX2 PD/,.<&H!%27;(CFW>[EMAIL PROTECTED] MA5#'^)3;FD7EZ1@'2Y1?E/[F+BN
M`00>Q/D+?_Q!<+FD9.(U8E88D*%Q&[EMAIL PROTECTED];!"PPOHNU!%9X6%0^=U=]F/6
MY0%W;ZC9DLJ$3JN\)+^Y^_;82.:[EMAIL PROTECTED]&MI_%Z@
M6:]#,%=.:%M7R=$DP63;8-#L2NR1C/GZ!72Z#4YJ04J4T1
M-+M@@+!\6@@"`U:T=NN%:T3VPYG&%5*$O+O%TLTMAVFZ4;9)U_\%4_\5K@:L
M)N&;C/=H?8J]]3&*Z%F;]C3 I*U+;!+0L,&=6S)T29'2K'5B3:''WHS0J70!
M>ORB$CQ#?U!2MWGN)C_\<>D5>30NU!,K<@^)R/Y^7T'Y$[+!8^W3]?VH]2A\
M^>1D]# Z^^4T8LB(I 32]M>7T>!\H]2Z?YI<:5,@`K_0$& C`=-$D94J+PR-
M,JM%CLC0<".T<4VA$JG(41%=$E.10![!I-G/G3%U5>QM':\[N1O^R-F[R>2>
MM5A>;X:41C''WT=3J=)O-&?\G1&[-U^/M]2-;N[9077\:]EFA_M0>SXB" ,(
M'N\*-CVYD[AP@><[EMAIL PROTECTED]:;UZO35Z2;A=6>:`2)"ZU5&H5:'
M4:,J"+7_^.2$#R?Y4J@:HL]/\=D]B73%')J:>Z?_YCG[EMAIL PROTECTED];?1^%#DHZZZ;$!6U_$#4H*W/;I+D
MDKGH&%%XMR*Y3NRYWK9Q4*(7JI:9:Z5-#.Y*41 P;=92;"KN;76P
M*6*%7<)N5,CA;*/,OA>Y,G#6OG#8D9$F@ RQK>J=!KI+/AJ]C\B,BA74K9$9
ME3@@G&+#*,S([EMAIL PROTECTED]:WE?8MCSM1JZP)7X6O]A;;Z>_?J_63G\-
M;88>F/PB.I1'P>[EMAIL PROTECTED]&#OZ/*(ED_$I&DQQZZSXD*T:=T-;XRA
MJ4'*LVKL]F>[EMAIL PROTECTED],C>1(99WY
M3=\^]O>=6+XNN?99O.RTX4+_4@(K0*6P$]#<]DYI&/>85Z;&0+K M^,XX,/O
M]F1AK>I&\,ZEM)3[&M#"L*^/RP?4NGUAH/W,3^M''Q,/-GNJD,?FE"_K'NB:@[\UH:0CZ,T"FX)-A1>\LPPE]GT?DF0Q!I[%'<[EMAIL PROTECTED]'U)XW
M;P[(L"M%ZT"-B;ZR2S[":8=+_HUH1RKUC9R4;7DMZ(J-`YV.<+MB1]JF!V*P
[EMAIL PROTECTED]&S2,DXLH$E:>K%F
[EMAIL PROTECTED] ]-M=])K*L7M+N^4A#G_VBB5MGM82GI_5\3E$/7T3Q*8(74DJ0UAM3
MB!WJVTG%3?'"332NFN)0RW8*;TT-%EZX16Z[S ZM/W*8U:+C!X?VPEIN!3=<
MMN4JM!VW2[4M)[EMAIL PROTECTED])YMS7V-CJEWQ:"]S#?Q)IM;[EMAIL 
PROTECTED]&Q9F!#HS>]
MC(REL0Z0*1CDT3G&?.V'] U,="[EMAIL PROTECTED]'>C"?Y=(NES/712D>!,7:&+/0
MO<[L'_BTLG([F^=6UVF,'^_NF(--A_L>0Y!\J;.0]D*U;AOZ_/Z6)=3^."5Q
M[E_;KG(I[:YC7ZQ:_OTLK/>?Q\_;S N,M0SKR"[EMAIL PROTECTED]&/EW,IMVU06\
M\>W3Z$'[7DL+L[H0I53K?=T7F^3'%F/;??$K^45#EQC1R\CF2>L9[YO$;H1)
M/B_N"E>Q)VYF#)[EMAIL PROTECTED]@+HYDVH?06X&92?J;F-JONK=1>@4U4<6M$.
M&ENUU_3\E-HV&'O>M7"T7XG9EQ/[EMAIL PROTECTED]'BW:NY(A+D1QKZ2`&3,83OC
MD'[EMAIL PROTECTED])+)?T[I"J"!=1JNHF1_;[
M[\V #ODA;.!:J7N!X5?Q\Y[[4U3GO?\`4$L!`A0`% `"[EMAIL PROTECTED]<=.5\JI#I!
M"0``/!D```H``0" `'-E

RE: Default application or HTML redirect

2008-09-03 Thread Mostafa Mossaad
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.
>

Re: Default application or HTML redirect

2008-09-03 Thread Konstantin Kolinko
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:
>>> Ma

Re: Default application or HTML redirect

2008-09-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mostafa,

Mostafa Mossaad wrote:
> Any ideas Konstantin?
> 
> Any ideas Mark?

How about posting your entire server.xml file?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki+t9wACgkQ9CaO5/Lv0PCW/QCeJG7UCdUFOdHkUmrIjwiYOv87
nRIAmwaasAIWSu3Ox7+7jTVeanEI73vC
=qVUv
-END PGP SIGNATURE-

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



RE: Default application or HTML redirect

2008-09-03 Thread Mostafa Mossaad
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  has not been set, and that the
>> name of the only  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
 



--

RE: Default application or HTML redirect

2008-09-01 Thread Mostafa Mossaad
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  has not been set, and that the
>> name of the only  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]



RE: Default application or HTML redirect

2008-09-01 Thread Mostafa Mossaad
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  has not been set, and that the
>> name of the only  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]



Re: Default application or HTML redirect

2008-08-31 Thread Konstantin Kolinko
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  has not been set, and that the
>> name of the only  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]



RE: Default application or HTML redirect

2008-08-30 Thread Mostafa Mossaad
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  has not been set, and that the
> name of the only  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 3401 (20080829) __

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 3401 (20080829) __

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]



Re: Default application or HTML redirect

2008-08-30 Thread Mark Thomas
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  has not been set, and that the
> name of the only  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]



RE: Default application or HTML redirect

2008-08-30 Thread Mostafa Mossaad
Hello Chris,
I've uninstalled, deleted the Tomcat folder and re-installed the
whole thing, so my web.xml file should have the default data.

You said something about setting the , how do I do that?

I've read somewhere that Tomcat reads a pre-compiled version of
the index.jsp file from a .class file, so no matter what I do, it'll
still read the same thing.

-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 30, 2008 7:19 PM
To: Tomcat Users List
Subject: Re: Default application or HTML redirect

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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  has not been set, and that the
name of the only  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.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki5cvQACgkQ9CaO5/Lv0PDS5QCgm0dhPfeh0VcNcrDvQNPqtvUQ
Q28AoIGytDS8YvQPo3O8NTAfSVVg3CYE
=uuCp
-END PGP SIGNATURE-

-
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 3401 (20080829) __

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 3401 (20080829) __

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]



Re: Default application or HTML redirect

2008-08-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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  has not been set, and that the
name of the only  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.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki5cvQACgkQ9CaO5/Lv0PDS5QCgm0dhPfeh0VcNcrDvQNPqtvUQ
Q28AoIGytDS8YvQPo3O8NTAfSVVg3CYE
=uuCp
-END PGP SIGNATURE-

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



RE: Default application or HTML redirect

2008-08-30 Thread Mostafa Mossaad
Hello Mark,
It worked internally, however, as you said, it seems to be an
ISA issue

Any hints/tips/pointers on that?

Also, I've changed the listening port to "80", instead of the "8080", so
users wouldn't have to manually write it.

I'm not sure if that makes any difference, I don't think it should

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 30, 2008 2:16 PM
To: Tomcat Users List
Subject: Re: Default application or HTML redirect

Mostafa Mossaad wrote:
> Hello Mark,
>   Thanks for the reply.
> 
>   I've returned everything back to the way it was, re-installed
> Tomcat again that is, so I was wondering if you can help me?
> 
>   Also, I'm not sure if it's a proxy/DNS issue, because when
> accessing the link without the /MyApp extension, I'm directed to the
> default Tomcat page.

Stop Tomcat.
Delete or rename ROOT.war that comes with Tomcat.
Rename MyApp.war to ROOT.war.
Start Tomcat.

Check http://localhost:8080/

If that works, it becomes an ISA configuration issue.

Mark

> 
> -Original Message-
> From: Mark Thomas [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, August 30, 2008 1:07 AM
> To: Tomcat Users List
> Subject: Re: Default application or HTML redirect
> 
> Mostafa Mossaad wrote:
>> I have an application (MyApp) deployed using a
> MyApp.war
>> file inside the /webapp folder.
> 
> 
>> I've tried a lot of things, like modifying the
>> server.xml
> Bad idea.
> 
>> and web.xml file, and playing with the  tags,
> Nope, not these either.
> 
>> I've also renamed/removed the ROOT folder and renaming my .war file
to
>> ROOT,
> Bingo. That is the right way to do it.
> 
>  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.
> 
>> I'm using ISA 2006 standard to publish my MyApp
>> application/site, however, whenever I go to the URL, without the
> /MyApp
>> extension, I'm directed to the default Apache installation page.
> 
> If you have removed the default ROOT app, this isn't possible. Unless
> you mean Apache httpd in which case, why are you using that?
> 
> 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 3401 (20080829) __
> 
> 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 3401 (20080829) __
> 
> 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]
> 
> 



-
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 3401 (20080829) __

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 3401 (20080829) __

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]



Re: Default application or HTML redirect

2008-08-30 Thread Mark Thomas
Mostafa Mossaad wrote:
> Hello Mark,
>   Thanks for the reply.
> 
>   I've returned everything back to the way it was, re-installed
> Tomcat again that is, so I was wondering if you can help me?
> 
>   Also, I'm not sure if it's a proxy/DNS issue, because when
> accessing the link without the /MyApp extension, I'm directed to the
> default Tomcat page.

Stop Tomcat.
Delete or rename ROOT.war that comes with Tomcat.
Rename MyApp.war to ROOT.war.
Start Tomcat.

Check http://localhost:8080/

If that works, it becomes an ISA configuration issue.

Mark

> 
> -Original Message-
> From: Mark Thomas [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, August 30, 2008 1:07 AM
> To: Tomcat Users List
> Subject: Re: Default application or HTML redirect
> 
> Mostafa Mossaad wrote:
>> I have an application (MyApp) deployed using a
> MyApp.war
>> file inside the /webapp folder.
> 
> 
>> I've tried a lot of things, like modifying the
>> server.xml
> Bad idea.
> 
>> and web.xml file, and playing with the  tags,
> Nope, not these either.
> 
>> I've also renamed/removed the ROOT folder and renaming my .war file to
>> ROOT,
> Bingo. That is the right way to do it.
> 
>  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.
> 
>> I'm using ISA 2006 standard to publish my MyApp
>> application/site, however, whenever I go to the URL, without the
> /MyApp
>> extension, I'm directed to the default Apache installation page.
> 
> If you have removed the default ROOT app, this isn't possible. Unless
> you mean Apache httpd in which case, why are you using that?
> 
> 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 3401 (20080829) __
> 
> 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 3401 (20080829) __
> 
> 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]
> 
> 



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



RE: Default application or HTML redirect

2008-08-30 Thread Mostafa Mossaad
Hello Mark,
Thanks for the reply.

I've returned everything back to the way it was, re-installed
Tomcat again that is, so I was wondering if you can help me?

Also, I'm not sure if it's a proxy/DNS issue, because when
accessing the link without the /MyApp extension, I'm directed to the
default Tomcat page.

-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 30, 2008 1:07 AM
To: Tomcat Users List
Subject: Re: Default application or HTML redirect

Mostafa Mossaad wrote:
> I have an application (MyApp) deployed using a
MyApp.war
> file inside the /webapp folder.


> I've tried a lot of things, like modifying the
> server.xml
Bad idea.

>and web.xml file, and playing with the  tags,
Nope, not these either.

> I've also renamed/removed the ROOT folder and renaming my .war file to
> ROOT,
Bingo. That is the right way to do it.

 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.

> I'm using ISA 2006 standard to publish my MyApp
> application/site, however, whenever I go to the URL, without the
/MyApp
> extension, I'm directed to the default Apache installation page.

If you have removed the default ROOT app, this isn't possible. Unless
you mean Apache httpd in which case, why are you using that?

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 3401 (20080829) __

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 3401 (20080829) __

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]



Re: Default application or HTML redirect

2008-08-29 Thread Mark Thomas
Mostafa Mossaad wrote:
> I have an application (MyApp) deployed using a MyApp.war
> file inside the /webapp folder.


> I've tried a lot of things, like modifying the
> server.xml
Bad idea.

>and web.xml file, and playing with the  tags,
Nope, not these either.

> I've also renamed/removed the ROOT folder and renaming my .war file to
> ROOT,
Bingo. That is the right way to do it.

 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.

> I'm using ISA 2006 standard to publish my MyApp
> application/site, however, whenever I go to the URL, without the /MyApp
> extension, I'm directed to the default Apache installation page.

If you have removed the default ROOT app, this isn't possible. Unless
you mean Apache httpd in which case, why are you using that?

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]



RE: Default application or HTML redirect

2008-08-29 Thread Mostafa Mossaad
Dear Sirs,

I need to make my application the default application,
how can I do that?

 

I have an application (MyApp) deployed using a MyApp.war
file inside the /webapp folder. So, the address is
http://localhost/MyApp. I need that to be accessible via
http://localhost/ from the Internet.

 

I've tried a lot of things, like modifying the
server.xml and web.xml file, and playing with the  tags,
I've also renamed/removed the ROOT folder and renaming my .war file to
ROOT, however, all my trails only seemed to make the application
accessible via http://localhost only, not from the Internet.

 

I'm using ISA 2006 standard to publish my MyApp
application/site, however, whenever I go to the URL, without the /MyApp
extension, I'm directed to the default Apache installation page.

 

Can you please help me with this as I'm under a very
strict dead line?

 

Sincerely,

Mostafa Mossaad - IT team member,
senior.

Aramex International, Cairo - Egypt.