You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Caroline Jen <ji...@yahoo.com> on 2004/08/30 18:03:37 UTC

Tomcat 5.0.27 Set Up Problem

I have downloaded the Tomcat 5.0.27 on the Windows XP
(I have JDK installed OKay and tested). I am able to
start the server; however I got HTTP Status 404 error.

I primarily followed Marty's Hall's instruction for
configuration at the web site
http://www.moreservlets.com/Using-Tomcat-4.html

Nonetheless, I think his instruction is sort of out of
date. Here is what I have done:

1. (done) downloaded and unzipped
jakarta-tomcat-5.0.27

2. (problem) Marty Hall says "To enable it, uncomment
the following line in the
C:\jakarta-tomcat-5.0.27\conf\server.xml:" 
<Context path="" docBase="ROOT" debug="0"/>

But, I do not find <Context path="" docBase="ROOT"
debug="0"/>
in the server.xml. I installed the Tomcal 4.1.18
before, the 
<Context ... > tag was there.

3. (done) I have followed Marty Hall's instruction and
enabled the invoker servlet by uncommenting the
following servlet-mapping element in
C:\jarkata-tomcat-5.0.27/conf/web.xml 

<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>

4. (problem) Marty Hall says to "turn on servlet
reloading" by insert the following line: 
<DefaultContext reloadable="true"/>

just below the comment "<!-- Define properties for
each web application. This is only needed if you want
to set non-default properties, or have web application
document roots in places other than the virtual host's
appBase
directory. -->

I DO NOT FIND that comment in the
C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!

5. (done) set the JAVA_HOME variable

6. (not necessary) change DOS memory settings: If you
use an older version of Windows, you may also have to
change the DOS memory settings for the startup and
shutdown scripts.

I am using the Windows XP; therefore, I do not think
that I have to change DOS memeroy settings.

7. I edited C:\jakarta-tomcat-5.0.27\bin\catalina.bat
and inserted the following after the first set of
comments: 

if not "%JAVA_HOME%" == "" goto gotJavaHome
set JAVA_HOME=C:\j2sdk1.4.0_02
:gotJavaHome

8. (done) The "Automatically detect settings" checkbox
in IExplorer Connections is unchecked.

9. (problem) Internet Explorer --> Tools --> Internet
Options -->
Connections --> Lan Settings --> check the box of 
Bypass proxy server for local addresses 

The Bypass proxy server for local addresses is grayed
out, I cannot check the box.


Please advise what I have missed in the configurtion
process. I appreciate your help.


		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat 5.0.27 Set Up Problem

Posted by Big Chiz <bi...@gmail.com>.
for easy installing you dont need to unzip files just use the tomcat
.exe installer, and check option to install tomcat as a service. make
sure to have a j2sdk installed first.

On Mon, 30 Aug 2004 13:58:56 -0400, John Villar
<jo...@florhard.com> wrote:
> Have you verified that your personal firewall (In case you have XP SP2,
> if you have a SP earlier you're stuck) isn't blocking port 8080? also,
> have you tried accesing it on the port 80? maybe you've configured it on
> your server.xml file.... also, to further help you, please, tell what
> are you intending to do (besides running tomcat) and what's your
> configuration....
> 
> Caroline Jen escribió:
> 
> >Yes, I was able to start the Tomcat server by clicking
> >on the startup script file in the
> >C:\jakarta-tomcat-5.0.27\bin directory.  I can also
> >shut down the Tomcat server by clicking on the
> >shutdown script in the same directory.  But, I typed
> >http://localhost:8080/ in the Windows XP address bar,
> >I got the HTTP Status 404 error.
> >
> >Moreover, my problem is NOT about enabling the invoker
> >servlet.  If you look at my original posting, it is
> >about
> >
> >"turn on servlet reloading" by insert the following
> >line:
> ><DefaultContext reloadable="true"/>
> >
> >just below the comment "<!-- Define properties for
> >each web application. This is only needed if you want
> >to set non-default properties, or have web application
> >document roots in places other than the virtual host's
> >appBase
> >directory. -->
> >
> >I DO NOT FIND that comment in the
> >C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!
> >
> >--- John Villar <jo...@florhard.com> wrote:
> >
> >
> >
> >>Probably, your problem isn't tomcat
> >>configuration.... are you sure
> >>you're starting it up? (at least, ran the batch file
> >>you modified,
> >>however, the service approach is much better)
> >>Reread my previous email, it seems like you haven't
> >>read all the bits i
> >>did include.... lemme include them here, separately
> >>
> >>1) Your freshly installed tomcat 5.0.27 (Update to
> >>5.0.28) is prepared
> >>to function right out-of-the-box
> >>2) Why do you want to enable the invoker
> >>servlet?.... tomcat can
> >>function properly without it.....
> >>3) It's much better to run Tomcat as a service on
> >>WindowsXP/W2K....
> >>4) If you haven't a proxy server configured, you
> >>don't have to check
> >>that box.....
> >>
> >>Caroline Jen escribió:
> 
> 
> >>
> >>
> >>
> >>><>But, the Tomcat is not configured properly!! I
> >>>
> >>>
> >>was
> >>
> >>
> >>>able to start the server. Nonetheless, when I
> >>>
> >>>
> >>typed
> >>
> >>
> >>>http://localhost:8080 in the Windows XP browser's
> >>>address bar, I got "HTTP Status 404"!!!
> >>>
> >>>
> >>--
> >>John Villar
> >>Gerente de Proyectos
> >>Computadores Flor Hard Soft 2058 C.A.
> >>www.florhard.com
> >>
> >>
> >>
> >>
> >---------------------------------------------------------------------
> >
> >
> >>To unsubscribe, e-mail:
> >>tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail:
> >>
> >>
> >tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> >_______________________________
> >Do you Yahoo!?
> >Win 1 of 4,000 free domain names from Yahoo! Enter now.
> >http://promotions.yahoo.com/goldrush
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> 
> --
> John Villar
> Gerente de Proyectos
> Computadores Flor Hard Soft 2058 C.A.
> www.florhard.com
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat 5.0.27 Set Up Problem

Posted by John Villar <jo...@florhard.com>.
Have you verified that your personal firewall (In case you have XP SP2, 
if you have a SP earlier you're stuck) isn't blocking port 8080? also, 
have you tried accesing it on the port 80? maybe you've configured it on 
your server.xml file.... also, to further help you, please, tell what 
are you intending to do (besides running tomcat) and what's your 
configuration....

Caroline Jen escribió:

>Yes, I was able to start the Tomcat server by clicking
>on the startup script file in the
>C:\jakarta-tomcat-5.0.27\bin directory.  I can also
>shut down the Tomcat server by clicking on the
>shutdown script in the same directory.  But, I typed
>http://localhost:8080/ in the Windows XP address bar,
>I got the HTTP Status 404 error.
>
>Moreover, my problem is NOT about enabling the invoker
>servlet.  If you look at my original posting, it is
>about
>
>"turn on servlet reloading" by insert the following
>line: 
><DefaultContext reloadable="true"/>
>
>just below the comment "<!-- Define properties for
>each web application. This is only needed if you want
>to set non-default properties, or have web application
>document roots in places other than the virtual host's
>appBase
>directory. -->
>
>I DO NOT FIND that comment in the
>C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!
>
>--- John Villar <jo...@florhard.com> wrote:
>
>  
>
>>Probably, your problem isn't tomcat
>>configuration.... are you sure 
>>you're starting it up? (at least, ran the batch file
>>you modified, 
>>however, the service approach is much better)
>>Reread my previous email, it seems like you haven't
>>read all the bits i 
>>did include.... lemme include them here, separately
>>
>>1) Your freshly installed tomcat 5.0.27 (Update to
>>5.0.28) is prepared 
>>to function right out-of-the-box
>>2) Why do you want to enable the invoker
>>servlet?.... tomcat can 
>>function properly without it.....
>>3) It's much better to run Tomcat as a service on
>>WindowsXP/W2K....
>>4) If you haven't a proxy server configured, you
>>don't have to check 
>>that box.....
>>
>>Caroline Jen escribió:
>>
>>    
>>
>>><>But, the Tomcat is not configured properly!! I
>>>      
>>>
>>was
>>    
>>
>>>able to start the server. Nonetheless, when I
>>>      
>>>
>>typed
>>    
>>
>>>http://localhost:8080 in the Windows XP browser's
>>>address bar, I got "HTTP Status 404"!!!
>>>      
>>>
>>-- 
>>John Villar
>>Gerente de Proyectos
>>Computadores Flor Hard Soft 2058 C.A.
>>www.florhard.com
>>
>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>To unsubscribe, e-mail:
>>tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail:
>>    
>>
>tomcat-user-help@jakarta.apache.org
>
>
>
>		
>_______________________________
>Do you Yahoo!?
>Win 1 of 4,000 free domain names from Yahoo! Enter now.
>http://promotions.yahoo.com/goldrush
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>

-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com



Re: Tomcat 5.0.27 Set Up Problem

Posted by Caroline Jen <ji...@yahoo.com>.
Yes, I was able to start the Tomcat server by clicking
on the startup script file in the
C:\jakarta-tomcat-5.0.27\bin directory.  I can also
shut down the Tomcat server by clicking on the
shutdown script in the same directory.  But, I typed
http://localhost:8080/ in the Windows XP address bar,
I got the HTTP Status 404 error.

Moreover, my problem is NOT about enabling the invoker
servlet.  If you look at my original posting, it is
about

"turn on servlet reloading" by insert the following
line: 
<DefaultContext reloadable="true"/>

just below the comment "<!-- Define properties for
each web application. This is only needed if you want
to set non-default properties, or have web application
document roots in places other than the virtual host's
appBase
directory. -->

I DO NOT FIND that comment in the
C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!

--- John Villar <jo...@florhard.com> wrote:

> Probably, your problem isn't tomcat
> configuration.... are you sure 
> you're starting it up? (at least, ran the batch file
> you modified, 
> however, the service approach is much better)
> Reread my previous email, it seems like you haven't
> read all the bits i 
> did include.... lemme include them here, separately
> 
> 1) Your freshly installed tomcat 5.0.27 (Update to
> 5.0.28) is prepared 
> to function right out-of-the-box
> 2) Why do you want to enable the invoker
> servlet?.... tomcat can 
> function properly without it.....
> 3) It's much better to run Tomcat as a service on
> WindowsXP/W2K....
> 4) If you haven't a proxy server configured, you
> don't have to check 
> that box.....
> 
> Caroline Jen escribi�:
> 
> > <>But, the Tomcat is not configured properly!! I
> was
> > able to start the server. Nonetheless, when I
> typed
> > http://localhost:8080 in the Windows XP browser's
> > address bar, I got "HTTP Status 404"!!!
> 
> 
> -- 
> John Villar
> Gerente de Proyectos
> Computadores Flor Hard Soft 2058 C.A.
> www.florhard.com
> 
> 
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
tomcat-user-help@jakarta.apache.org



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat 5.0.27 Set Up Problem

Posted by John Villar <jo...@florhard.com>.
Probably, your problem isn't tomcat configuration.... are you sure 
you're starting it up? (at least, ran the batch file you modified, 
however, the service approach is much better)
Reread my previous email, it seems like you haven't read all the bits i 
did include.... lemme include them here, separately

1) Your freshly installed tomcat 5.0.27 (Update to 5.0.28) is prepared 
to function right out-of-the-box
2) Why do you want to enable the invoker servlet?.... tomcat can 
function properly without it.....
3) It's much better to run Tomcat as a service on WindowsXP/W2K....
4) If you haven't a proxy server configured, you don't have to check 
that box.....

Caroline Jen escribió:

> <>But, the Tomcat is not configured properly!! I was
> able to start the server. Nonetheless, when I typed
> http://localhost:8080 in the Windows XP browser's
> address bar, I got "HTTP Status 404"!!!


-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com



Re: Tomcat 5.0.27 Set Up Problem

Posted by Michael McQuade <m....@sympatico.ca>.
Caroline,     you and I may be having some of the same problems,   if you
wish to talk, email me directly at m.mcquade@sympatico.ca ok,   maybe we can
help each other out... Im also using Tomcat, the windows installer version,
and having problems connecting to my database,  allows me to do it just
once,   and when I do a second open of the database,  I get 08002 which is
connection name already in use....  But go figure,  I did a Disconnect and
got a clean SqlState code from my prior connect...... TomCat seems to be
holding the database connection open,   and Im wondering if you are gonna
have this problem also......  Anyways,   email me if you wish to talk ok....
Cheers....
Mike


----- Original Message ----- 
From: "Caroline Jen" <ji...@yahoo.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, August 30, 2004 12:40 PM
Subject: Re: Tomcat 5.0.27 Set Up Problem


> But, the Tomcat is not configured properly!!  I was
> able to start the server.  Nonetheless, when I typed
> http://localhost:8080 in the Windows XP browser's
> address bar, I got "HTTP Status 404"!!!
>
> I primarily followed Marty's Hall's instruction for
> configuration at the web site
> http://www.moreservlets.com/Using-Tomcat-4.html
>
> Nonetheless, I think his instruction is sort of out of
> date. Here is what I have done:
>
> 1. (done) downloaded and unzipped
> jakarta-tomcat-5.0.27
>
> 2. (problem) Marty Hall says "To enable it, uncomment
> the following line in the
> C:\jakarta-tomcat-5.0.27\conf\server.xml:"
> <Context path="" docBase="ROOT" debug="0"/>
>
> But, I do not find <Context path="" docBase="ROOT"
> debug="0"/>
> in the server.xml. I installed the Tomcal 4.1.18
> before, the
> <Context ... > tag was there.
>
> 3. (done) I have followed Marty Hall's instruction and
> enabled the invoker servlet by uncommenting the
> following servlet-mapping element in
> C:\jarkata-tomcat-5.0.27/conf/web.xml
>
> <servlet-mapping>
> <servlet-name>invoker</servlet-name>
> <url-pattern>/servlet/*</url-pattern>
> </servlet-mapping>
>
> 4. (problem) Marty Hall says to "turn on servlet
> reloading" by insert the following line:
> <DefaultContext reloadable="true"/>
>
> just below the comment "<!-- Define properties for
> each web application. This is only needed if you want
> to set non-default properties, or have web application
> document roots in places other than the virtual host's
> appBase
> directory. -->
>
> I DO NOT FIND that comment in the
> C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!
>
> 5. (done) set the JAVA_HOME variable
>
> 6. (not necessary) change DOS memory settings: If you
> use an older version of Windows, you may also have to
> change the DOS memory settings for the startup and
> shutdown scripts.
>
> I am using the Windows XP; therefore, I do not think
> that I have to change DOS memeroy settings.
>
> 7. I edited C:\jakarta-tomcat-5.0.27\bin\catalina.bat
> and inserted the following after the first set of
> comments:
>
> if not "%JAVA_HOME%" == "" goto gotJavaHome
> set JAVA_HOME=C:\j2sdk1.4.0_02
> :gotJavaHome
>
> 8. (done) The "Automatically detect settings" checkbox
> in IExplorer Connections is unchecked.
>
> 9. (problem) Internet Explorer --> Tools --> Internet
> Options -->
> Connections --> Lan Settings --> check the box of
> Bypass proxy server for local addresses
>
> The Bypass proxy server for local addresses is grayed
> out, I cannot check the box.
>
>
>
>
> --- John Villar <jo...@florhard.com> wrote:
>
> >
> >
> > >I have downloaded the Tomcat 5.0.27 on the Windows
> > XP
> > >(I have JDK installed OKay and tested). I am able
> > to
> > >start the server; however I got HTTP Status 404
> > error.
> > >
> > >I primarily followed Marty's Hall's instruction for
> > >configuration at the web site
> > >http://www.moreservlets.com/Using-Tomcat-4.html
> > >
> > >Nonetheless, I think his instruction is sort of out
> > of
> > >date. Here is what I have done:
> > >
> > >1. (done) downloaded and unzipped
> > >jakarta-tomcat-5.0.27
> > >
> > >2. (problem) Marty Hall says "To enable it,
> > uncomment
> > >the following line in the
> > >C:\jakarta-tomcat-5.0.27\conf\server.xml:"
> > ><Context path="" docBase="ROOT" debug="0"/>
> > >
> > >But, I do not find <Context path="" docBase="ROOT"
> > >debug="0"/>
> > >in the server.xml. I installed the Tomcal 4.1.18
> > >before, the
> > ><Context ... > tag was there.
> > >
> > >
> > >
> > Your freshly installed tomcat 5.0.27 (Update to
> > 5.0.28) is prepared to
> > function right out-of-the-box
> >
> > >3. (done) I have followed Marty Hall's instruction
> > and
> > >enabled the invoker servlet by uncommenting the
> > >following servlet-mapping element in
> > >C:\jarkata-tomcat-5.0.27/conf/web.xml
> > >
> > ><servlet-mapping>
> > ><servlet-name>invoker</servlet-name>
> > ><url-pattern>/servlet/*</url-pattern>
> > ></servlet-mapping>
> > >
> > >4. (problem) Marty Hall says to "turn on servlet
> > >reloading" by insert the following line:
> > ><DefaultContext reloadable="true"/>
> > >
> > >just below the comment "<!-- Define properties for
> > >each web application. This is only needed if you
> > want
> > >to set non-default properties, or have web
> > application
> > >document roots in places other than the virtual
> > host's
> > >appBase
> > >directory. -->
> > >
> > >I DO NOT FIND that comment in the
> > >C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!
> > >
> > >
> > >
> > Why do you want to enable the invoker servlet?....
> > tomcat can function
> > properly without it.....
> >
> > >5. (done) set the JAVA_HOME variable
> > >
> > >6. (not necessary) change DOS memory settings: If
> > you
> > >use an older version of Windows, you may also have
> > to
> > >change the DOS memory settings for the startup and
> > >shutdown scripts.
> > >
> > >I am using the Windows XP; therefore, I do not
> > think
> > >that I have to change DOS memeroy settings.
> > >
> > >7. I edited
> > C:\jakarta-tomcat-5.0.27\bin\catalina.bat
> > >and inserted the following after the first set of
> > >comments:
> > >
> > >if not "%JAVA_HOME%" == "" goto gotJavaHome
> > >set JAVA_HOME=C:\j2sdk1.4.0_02
> > >:gotJavaHome
> > >
> > >
> > >
> > It's much better to run Tomcat as a service on
> > WindowsXP....
> >
> > >8. (done) The "Automatically detect settings"
> > checkbox
> > >in IExplorer Connections is unchecked.
> > >
> > >9. (problem) Internet Explorer --> Tools -->
> > Internet
> > >Options -->
> > >Connections --> Lan Settings --> check the box of
> > >Bypass proxy server for local addresses
> > >
> > >The Bypass proxy server for local addresses is
> > grayed
> > >out, I cannot check the box.
> > >
> > >
> > >
> > If you haven't a proxy server configured, you don't
> > have to check that
> > box.....
> >
> > -- 
> > John Villar
> > Gerente de Proyectos
> > Computadores Flor Hard Soft 2058 C.A.
> > www.florhard.com
> >
> >
> > >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
>
>
>
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> http://promotions.yahoo.com/goldrush
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat 5.0.27 Set Up Problem

Posted by Caroline Jen <ji...@yahoo.com>.
But, the Tomcat is not configured properly!!  I was
able to start the server.  Nonetheless, when I typed
http://localhost:8080 in the Windows XP browser's
address bar, I got "HTTP Status 404"!!!

I primarily followed Marty's Hall's instruction for
configuration at the web site
http://www.moreservlets.com/Using-Tomcat-4.html

Nonetheless, I think his instruction is sort of out of
date. Here is what I have done:

1. (done) downloaded and unzipped
jakarta-tomcat-5.0.27

2. (problem) Marty Hall says "To enable it, uncomment
the following line in the
C:\jakarta-tomcat-5.0.27\conf\server.xml:" 
<Context path="" docBase="ROOT" debug="0"/>

But, I do not find <Context path="" docBase="ROOT"
debug="0"/>
in the server.xml. I installed the Tomcal 4.1.18
before, the 
<Context ... > tag was there.

3. (done) I have followed Marty Hall's instruction and
enabled the invoker servlet by uncommenting the
following servlet-mapping element in
C:\jarkata-tomcat-5.0.27/conf/web.xml 

<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>

4. (problem) Marty Hall says to "turn on servlet
reloading" by insert the following line: 
<DefaultContext reloadable="true"/>

just below the comment "<!-- Define properties for
each web application. This is only needed if you want
to set non-default properties, or have web application
document roots in places other than the virtual host's
appBase
directory. -->

I DO NOT FIND that comment in the
C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!

5. (done) set the JAVA_HOME variable

6. (not necessary) change DOS memory settings: If you
use an older version of Windows, you may also have to
change the DOS memory settings for the startup and
shutdown scripts.

I am using the Windows XP; therefore, I do not think
that I have to change DOS memeroy settings.

7. I edited C:\jakarta-tomcat-5.0.27\bin\catalina.bat
and inserted the following after the first set of
comments: 

if not "%JAVA_HOME%" == "" goto gotJavaHome
set JAVA_HOME=C:\j2sdk1.4.0_02
:gotJavaHome

8. (done) The "Automatically detect settings" checkbox
in IExplorer Connections is unchecked.

9. (problem) Internet Explorer --> Tools --> Internet
Options -->
Connections --> Lan Settings --> check the box of 
Bypass proxy server for local addresses 

The Bypass proxy server for local addresses is grayed
out, I cannot check the box.




--- John Villar <jo...@florhard.com> wrote:

> 
> 
> >I have downloaded the Tomcat 5.0.27 on the Windows
> XP
> >(I have JDK installed OKay and tested). I am able
> to
> >start the server; however I got HTTP Status 404
> error.
> >
> >I primarily followed Marty's Hall's instruction for
> >configuration at the web site
> >http://www.moreservlets.com/Using-Tomcat-4.html
> >
> >Nonetheless, I think his instruction is sort of out
> of
> >date. Here is what I have done:
> >
> >1. (done) downloaded and unzipped
> >jakarta-tomcat-5.0.27
> >
> >2. (problem) Marty Hall says "To enable it,
> uncomment
> >the following line in the
> >C:\jakarta-tomcat-5.0.27\conf\server.xml:" 
> ><Context path="" docBase="ROOT" debug="0"/>
> >
> >But, I do not find <Context path="" docBase="ROOT"
> >debug="0"/>
> >in the server.xml. I installed the Tomcal 4.1.18
> >before, the 
> ><Context ... > tag was there.
> >
> >  
> >
> Your freshly installed tomcat 5.0.27 (Update to
> 5.0.28) is prepared to 
> function right out-of-the-box
> 
> >3. (done) I have followed Marty Hall's instruction
> and
> >enabled the invoker servlet by uncommenting the
> >following servlet-mapping element in
> >C:\jarkata-tomcat-5.0.27/conf/web.xml 
> >
> ><servlet-mapping>
> ><servlet-name>invoker</servlet-name>
> ><url-pattern>/servlet/*</url-pattern>
> ></servlet-mapping>
> >
> >4. (problem) Marty Hall says to "turn on servlet
> >reloading" by insert the following line: 
> ><DefaultContext reloadable="true"/>
> >
> >just below the comment "<!-- Define properties for
> >each web application. This is only needed if you
> want
> >to set non-default properties, or have web
> application
> >document roots in places other than the virtual
> host's
> >appBase
> >directory. -->
> >
> >I DO NOT FIND that comment in the
> >C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!
> >
> >  
> >
> Why do you want to enable the invoker servlet?....
> tomcat can function 
> properly without it.....
> 
> >5. (done) set the JAVA_HOME variable
> >
> >6. (not necessary) change DOS memory settings: If
> you
> >use an older version of Windows, you may also have
> to
> >change the DOS memory settings for the startup and
> >shutdown scripts.
> >
> >I am using the Windows XP; therefore, I do not
> think
> >that I have to change DOS memeroy settings.
> >
> >7. I edited
> C:\jakarta-tomcat-5.0.27\bin\catalina.bat
> >and inserted the following after the first set of
> >comments: 
> >
> >if not "%JAVA_HOME%" == "" goto gotJavaHome
> >set JAVA_HOME=C:\j2sdk1.4.0_02
> >:gotJavaHome
> >
> >  
> >
> It's much better to run Tomcat as a service on
> WindowsXP....
> 
> >8. (done) The "Automatically detect settings"
> checkbox
> >in IExplorer Connections is unchecked.
> >
> >9. (problem) Internet Explorer --> Tools -->
> Internet
> >Options -->
> >Connections --> Lan Settings --> check the box of 
> >Bypass proxy server for local addresses 
> >
> >The Bypass proxy server for local addresses is
> grayed
> >out, I cannot check the box.
> >
> >  
> >
> If you haven't a proxy server configured, you don't
> have to check that 
> box.....
> 
> -- 
> John Villar
> Gerente de Proyectos
> Computadores Flor Hard Soft 2058 C.A.
> www.florhard.com
> 
> 
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
tomcat-user-help@jakarta.apache.org



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat 5.0.27 Set Up Problem

Posted by John Villar <jo...@florhard.com>.

>I have downloaded the Tomcat 5.0.27 on the Windows XP
>(I have JDK installed OKay and tested). I am able to
>start the server; however I got HTTP Status 404 error.
>
>I primarily followed Marty's Hall's instruction for
>configuration at the web site
>http://www.moreservlets.com/Using-Tomcat-4.html
>
>Nonetheless, I think his instruction is sort of out of
>date. Here is what I have done:
>
>1. (done) downloaded and unzipped
>jakarta-tomcat-5.0.27
>
>2. (problem) Marty Hall says "To enable it, uncomment
>the following line in the
>C:\jakarta-tomcat-5.0.27\conf\server.xml:" 
><Context path="" docBase="ROOT" debug="0"/>
>
>But, I do not find <Context path="" docBase="ROOT"
>debug="0"/>
>in the server.xml. I installed the Tomcal 4.1.18
>before, the 
><Context ... > tag was there.
>
>  
>
Your freshly installed tomcat 5.0.27 (Update to 5.0.28) is prepared to 
function right out-of-the-box

>3. (done) I have followed Marty Hall's instruction and
>enabled the invoker servlet by uncommenting the
>following servlet-mapping element in
>C:\jarkata-tomcat-5.0.27/conf/web.xml 
>
><servlet-mapping>
><servlet-name>invoker</servlet-name>
><url-pattern>/servlet/*</url-pattern>
></servlet-mapping>
>
>4. (problem) Marty Hall says to "turn on servlet
>reloading" by insert the following line: 
><DefaultContext reloadable="true"/>
>
>just below the comment "<!-- Define properties for
>each web application. This is only needed if you want
>to set non-default properties, or have web application
>document roots in places other than the virtual host's
>appBase
>directory. -->
>
>I DO NOT FIND that comment in the
>C:\jakarta-tomcat-5.0.27\conf\server.xml anymore!
>
>  
>
Why do you want to enable the invoker servlet?.... tomcat can function 
properly without it.....

>5. (done) set the JAVA_HOME variable
>
>6. (not necessary) change DOS memory settings: If you
>use an older version of Windows, you may also have to
>change the DOS memory settings for the startup and
>shutdown scripts.
>
>I am using the Windows XP; therefore, I do not think
>that I have to change DOS memeroy settings.
>
>7. I edited C:\jakarta-tomcat-5.0.27\bin\catalina.bat
>and inserted the following after the first set of
>comments: 
>
>if not "%JAVA_HOME%" == "" goto gotJavaHome
>set JAVA_HOME=C:\j2sdk1.4.0_02
>:gotJavaHome
>
>  
>
It's much better to run Tomcat as a service on WindowsXP....

>8. (done) The "Automatically detect settings" checkbox
>in IExplorer Connections is unchecked.
>
>9. (problem) Internet Explorer --> Tools --> Internet
>Options -->
>Connections --> Lan Settings --> check the box of 
>Bypass proxy server for local addresses 
>
>The Bypass proxy server for local addresses is grayed
>out, I cannot check the box.
>
>  
>
If you haven't a proxy server configured, you don't have to check that 
box.....

-- 
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com