Re: Question about configuration

2001-02-27 Thread Web master

Hi Stote,

What OS are u using? If you are using Win'98 or Win NT, please let me 
know, I will try my level best to help you.

-Unni



Stote, Robert wrote:

 Hello:
 
 I was wondering...after I get apache and Tomcat installed where do I go from
 there...I've read all the documentation (users guide, developing
 applications, howto etc..)...and feeling over whelmed. I would like to have
 my servlets reside on Tomcat, the requests would be coming from html pages
 from apache...worded poorly sorry...but the long and the short of it is I
 have no idea what I should or shouldn't be changing...on the config files
 for example...are the pound signs..section that are commented out...where do
 I add the included statments..and when I did follow the users guide and
 edited the sever.xml file the whole thin (Tomcat) stopped working...I hope
 some one can help me..all I want to have happen is have an html, or jsp
 forward a request to a servlet which resides on Tomcat, have the servlet do
 what it has to do...then stream back the html, or xml back to the browser.
 
 I am completely lost..is there a book or something I should be reading ? I
 am a java programmer, and used to using javawebserver...
 
 Rob (total newbie)
 I guess there is a reason I only program in java ;)
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Question about configuration

2001-02-27 Thread Stote, Robert

unni

I'm on Win2k

sorry I should have provided that

thnx 

Rob 

-Original Message-
From: Web master [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 4:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about configuration


Hi Stote,

What OS are u using? If you are using Win'98 or Win NT, please let me 
know, I will try my level best to help you.

-Unni



Stote, Robert wrote:

 Hello:
 
 I was wondering...after I get apache and Tomcat installed where do I go
from
 there...I've read all the documentation (users guide, developing
 applications, howto etc..)...and feeling over whelmed. I would like to
have
 my servlets reside on Tomcat, the requests would be coming from html pages
 from apache...worded poorly sorry...but the long and the short of it is I
 have no idea what I should or shouldn't be changing...on the config files
 for example...are the pound signs..section that are commented out...where
do
 I add the included statments..and when I did follow the users guide and
 edited the sever.xml file the whole thin (Tomcat) stopped working...I hope
 some one can help me..all I want to have happen is have an html, or jsp
 forward a request to a servlet which resides on Tomcat, have the servlet
do
 what it has to do...then stream back the html, or xml back to the browser.
 
 I am completely lost..is there a book or something I should be reading ? I
 am a java programmer, and used to using javawebserver...
 
 Rob (total newbie)
 I guess there is a reason I only program in java ;)
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Question about configuration

2001-02-27 Thread Robert Keddie



HI Unni...can u helpme out too?
I have Apache 1.3.14/Tomcat 1.1.2
both running...
i can call up the helloworld example through the local host
but i cant call up my own jsp's! i get a 404

im on a win nt

Robert Keddieweb developmentMarion County, FL 
[EMAIL PROTECTED] 02/27/01 04:45PM unniI'm on 
Win2ksorry I should have provided thatthnx Rob 
-Original Message-From: Web master 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 27, 2001 4:26 PMTo: 
[EMAIL PROTECTED]Subject: Re: Question about 
configurationHi Stote,What OS are u using? If you are using 
Win'98 or Win NT, please let me know, I will try my level best to help 
you.-UnniStote, Robert wrote: Hello: 
 I was wondering...after I get apache and Tomcat installed where do I 
gofrom there...I've read all the documentation (users guide, 
developing applications, howto etc..)...and feeling over whelmed. I 
would like tohave my servlets reside on Tomcat, the requests would 
be coming from html pages from apache...worded poorly sorry...but the 
long and the short of it is I have no idea what I should or shouldn't be 
changing...on the config files for example...are the pound 
signs..section that are commented out...wheredo I add the included 
statments..and when I did follow the users guide and edited the 
sever.xml file the whole thin (Tomcat) stopped working...I hope some one 
can help me..all I want to have happen is have an html, or jsp forward a 
request to a servlet which resides on Tomcat, have the servletdo 
what it has to do...then stream back the html, or xml back to the 
browser.  I am completely lost..is there a book or something I 
should be reading ? I am a java programmer, and used to using 
javawebserver...  Rob (total newbie) I guess there is a 
reason I only program in java ;) 
- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For 
additional commands, email: [EMAIL PROTECTED]  
 
-To 
unsubscribe, e-mail: [EMAIL PROTECTED]For 
additional commands, email: 
[EMAIL PROTECTED]-To 
unsubscribe, e-mail: [EMAIL PROTECTED]For 
additional commands, email: 
[EMAIL PROTECTED]


Re: Question about configuration

2001-02-27 Thread Web master

I never used Win2K, but let us see, if i can help.

First you down load everything  fresh.(Tomcat and JDK)
you have update two variable in your environment
JAVA_HOME=c:\jdk1.3
TOMCAT_HOME=c:\jakarta-tomcat-3.2.1 (or what ever directory you have)
You can set it through the control panel.

Now go to tomcat bin directory

in my example it would be
c:\jakarta-tomcat-3.2.1\bin\
and execute startup.bat ie

c:\cd c:\jakarta-tomcat-3.2.1\bin\
c:\jakarta-tomcat-3.2.1\binstartup

Now this should bring in another ms dos prompt. that will be java 
console. You need not worry about it at this time

Now lanch your browser and put the following url and it should show the 
tomcat home page.
http://localhost:8080/

If you can see the tomcat home, then you are ready to make change to 
lanch your application. If you can not see tomcat homebase, we have to 
fix your configuration before continuing...



Robert Keddie wrote:

 HI Unni...can u helpme out too?
 
 I have Apache 1.3.14/Tomcat 1.1.2
 
  both running...
 
 i can call up the helloworld example through the local host
 
 but i cant call up my own jsp's! i get a 404
 
  
 
 im on a win nt
 
  
 
 Robert Keddie
 web development
 Marion County, FL
 
   [EMAIL PROTECTED] 02/27/01 04:45PM 
 unni
 
 I'm on Win2k
 
 sorry I should have provided that
 
 thnx
 
 Rob
 
 -Original Message-
 From: Web master [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 27, 2001 4:26 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Question about configuration
 
 
 Hi Stote,
 
 What OS are u using? If you are using Win'98 or Win NT, please let me
 know, I will try my level best to help you.
 
 -Unni
 
 
 
 Stote, Robert wrote:
 
   Hello:
  
   I was wondering...after I get apache and Tomcat installed where do I go
 from
   there...I've read all the documentation (users guide, developing
   applications, howto etc..)...and feeling over whelmed. I would like to
 have
   my servlets reside on Tomcat, the requests would be coming from 
 html pages
   from apache...worded poorly sorry...but the long and the short of 
 it is I
   have no idea what I should or shouldn't be changing...on the config 
 files
   for example...are the pound signs..section that are commented 
 out...where
 do
   I add the included statments..and when I did follow the users guide and
   edited the sever.xml file the whole thin (Tomcat) stopped 
 working...I hope
   some one can help me..all I want to have happen is have an html, or jsp
   forward a request to a servlet which resides on Tomcat, have the 
 servlet
 do
   what it has to do...then stream back the html, or xml back to the 
 browser.
  
   I am completely lost..is there a book or something I should be 
 reading ? I
   am a java programmer, and used to using javawebserver...
  
   Rob (total newbie)
   I guess there is a reason I only program in java ;)
  
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
  
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Question about configuration

2001-02-27 Thread Stote, Robert

so far I'm with you...

I have both apache...and tomcat up and running I can see each of there home
pages...where I getting stuck is the ability to configure apache or tomcat
(I'm not sure which one) to forward the requests that come in from apache to
tomcat to get tomcat to run the servlet. 

right now I'm reading a good article from java world..but it seams to
concentrate on running tomcat as a stand alone...
good article though...

http://www.javaworld.com/javaworld/jw-02-2001/jw-0223-servletweblogic.html

Rob



-Original Message-
From: Web master [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 5:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about configuration


I never used Win2K, but let us see, if i can help.

First you down load everything  fresh.(Tomcat and JDK)
you have update two variable in your environment
JAVA_HOME=c:\jdk1.3
TOMCAT_HOME=c:\jakarta-tomcat-3.2.1 (or what ever directory you have)
You can set it through the control panel.

Now go to tomcat bin directory

in my example it would be
c:\jakarta-tomcat-3.2.1\bin\
and execute startup.bat ie

c:\cd c:\jakarta-tomcat-3.2.1\bin\
c:\jakarta-tomcat-3.2.1\binstartup

Now this should bring in another ms dos prompt. that will be java 
console. You need not worry about it at this time

Now lanch your browser and put the following url and it should show the 
tomcat home page.
http://localhost:8080/

If you can see the tomcat home, then you are ready to make change to 
lanch your application. If you can not see tomcat homebase, we have to 
fix your configuration before continuing...



Robert Keddie wrote:

 HI Unni...can u helpme out too?
 
 I have Apache 1.3.14/Tomcat 1.1.2
 
  both running...
 
 i can call up the helloworld example through the local host
 
 but i cant call up my own jsp's! i get a 404
 
  
 
 im on a win nt
 
  
 
 Robert Keddie
 web development
 Marion County, FL
 
   [EMAIL PROTECTED] 02/27/01 04:45PM 
 unni
 
 I'm on Win2k
 
 sorry I should have provided that
 
 thnx
 
 Rob
 
 -Original Message-
 From: Web master [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 27, 2001 4:26 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Question about configuration
 
 
 Hi Stote,
 
 What OS are u using? If you are using Win'98 or Win NT, please let me
 know, I will try my level best to help you.
 
 -Unni
 
 
 
 Stote, Robert wrote:
 
   Hello:
  
   I was wondering...after I get apache and Tomcat installed where do I go
 from
   there...I've read all the documentation (users guide, developing
   applications, howto etc..)...and feeling over whelmed. I would like to
 have
   my servlets reside on Tomcat, the requests would be coming from 
 html pages
   from apache...worded poorly sorry...but the long and the short of 
 it is I
   have no idea what I should or shouldn't be changing...on the config 
 files
   for example...are the pound signs..section that are commented 
 out...where
 do
   I add the included statments..and when I did follow the users guide and
   edited the sever.xml file the whole thin (Tomcat) stopped 
 working...I hope
   some one can help me..all I want to have happen is have an html, or jsp
   forward a request to a servlet which resides on Tomcat, have the 
 servlet
 do
   what it has to do...then stream back the html, or xml back to the 
 browser.
  
   I am completely lost..is there a book or something I should be 
 reading ? I
   am a java programmer, and used to using javawebserver...
  
   Rob (total newbie)
   I guess there is a reason I only program in java ;)
  
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
  
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Question about configuration

2001-02-27 Thread Web master

where do you have the jsp's?
If you have the JSP in say c:\test
then create a context entry in server.xml

something like this

   Context path="/test" docBase="/test" debug="0" reloadable="true" 
   /Context

in the server.xml in the conf directory, right before /ContextManager

after then stop and start the server.
go back and type in http://localhost:8080/test/example.jsp

Hope this helps.


Robert Keddie wrote:

 HI Unni...can u helpme out too?
 
 I have Apache 1.3.14/Tomcat 1.1.2
 
  both running...
 
 i can call up the helloworld example through the local host
 
 but i cant call up my own jsp's! i get a 404
 
  
 
 im on a win nt
 
  
 
 Robert Keddie
 web development
 Marion County, FL
 
   [EMAIL PROTECTED] 02/27/01 04:45PM 
 unni
 
 I'm on Win2k
 
 sorry I should have provided that
 
 thnx
 
 Rob
 
 -Original Message-
 From: Web master [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 27, 2001 4:26 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Question about configuration
 
 
 Hi Stote,
 
 What OS are u using? If you are using Win'98 or Win NT, please let me
 know, I will try my level best to help you.
 
 -Unni
 
 
 
 Stote, Robert wrote:
 
   Hello:
  
   I was wondering...after I get apache and Tomcat installed where do I go
 from
   there...I've read all the documentation (users guide, developing
   applications, howto etc..)...and feeling over whelmed. I would like to
 have
   my servlets reside on Tomcat, the requests would be coming from 
 html pages
   from apache...worded poorly sorry...but the long and the short of 
 it is I
   have no idea what I should or shouldn't be changing...on the config 
 files
   for example...are the pound signs..section that are commented 
 out...where
 do
   I add the included statments..and when I did follow the users guide and
   edited the sever.xml file the whole thin (Tomcat) stopped 
 working...I hope
   some one can help me..all I want to have happen is have an html, or jsp
   forward a request to a servlet which resides on Tomcat, have the 
 servlet
 do
   what it has to do...then stream back the html, or xml back to the 
 browser.
  
   I am completely lost..is there a book or something I should be 
 reading ? I
   am a java programmer, and used to using javawebserver...
  
   Rob (total newbie)
   I guess there is a reason I only program in java ;)
  
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
  
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]