You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Keith Miller <ke...@brokat.com> on 2001/05/02 02:03:26 UTC

Can I serve up JSP without a web server?

Will Tomcat allow this? I keep seeing references to using TOmcat w/o a web
server. Can someone point me to the documentation on this?
-Keith

-----Original Message-----
From: Tony Armstrong [mailto:tarmstrong@bcgas.com]
Sent: Tuesday, May 01, 2001 3:33 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: Re: Newbie : Help integrating Tomcat with PWS on NT


Hi Keith

Here is a previous post on the subject. It seems most errors with this occur
because of incorrect registry settings. Attached is also a registry example
pic previously posted (the person had problems so this may be wrong) that
you can use as an example.
 <<Registry.jpg>> 

As for the web server you choose, that decision should be based on many
factors e.g. company policy, client needs, requirements etc. So if PWS fits
your purpose then it should be fine to use. 

> -----Original Message-----
> From:	Craig O'Brien [SMTP:craig@dynamic-apps.com]
> Sent:	Sunday, April 22, 2001 9:28 PM
> To:	tomcat-user@jakarta.apache.org
> Subject:	RE: Tomcat  & Windows NT & IIS
> 
> Good,
> 
> So you have tomcat running and can view the JSP and Servlet examples using
> port 8080.  (localhost:8080/)  Do not add any contexts yet.  First you
> want
> to get the isapi_redirect.dll installed so that you can call the examples
> directly without referencing the port. If you haven't downloaded this yet
> get the binary from the apache site.  There are several steps to follow in
> the "IIS how to" instructions.  Again follow them explicitly.  You will
> need
> to register the isapi _redirect.dll with IIs, modify your registry (be
> very
> careful!!), create a directory to place the isapi redirect into, and
> modify
> your workers properties file. (tomcat/conf/workersproperties)  I am doing
> this by memory so follow your instructions carefully. Most people make
> their
> errors in the registry settings. Again it is so much easier if you print
> out
> the instructions.
> 
> If you want to test some jsps or servlets that you have already made
> before
> you have the isapi working, place the jsps into the ROOT directory and
> call
> them with (localhost:8080/yourjspname.jsp).  Servlets must be placed in
> the
> WEB_INF/classes directory and are referenced by
> (localhost:8080/servlet/yourservletname_noextention).  Spend a little time
> getting familiar with the directories.  All of your web apps go under the
> webapps/ROOT directory. You will know if isapi is working when you can
> drop
> the port reference and still get them.
> 
> Sounds like you are getting there. Go one small step at a time, test your
> results, then proceed.  By the time you install tomcat for the 3rd or 4th
> time it will only take 30 minutes.  Print out all of the conf files.  All
> your tomcat configuration is done through modifying them. They are well
> documented with comments.
> 
> Tomcat adheres strictly to the Sun jsp/servlet APIs so those documents are
> worth getting familiar with as well.
> 
> Good luck,
> Craig
> 
> It's late here, I'm out for the night.
> 
> 
> 
> 
> -----Original Message-----
> From: test test [mailto:testt@EUROPACIFIC.au.com]
> Sent: Sunday, April 22, 2001 8:35 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: RE: Tomcat & Windows NT & IIS
> 
> 
> Craig
> 
> Thank you for your advice.
> 
> I have been through the instructions on IIS (tomcat-iis-howto.html).
> 
> However, I still cannot get the examples to work under IIS (they work fine
> with Tomcat),
> 
> I have been through the trouble shooting section with no luck.
> 
> I have not added any contexts as I can't get the examples to work.
> 
> Not sure what to do now, please help !
> 
> Thanks
> 
> Hamant
> 
> 
> 
> -----Original Message-----
> From: Craig O'Brien [mailto:craig@dynamic-apps.com]
> Sent: Monday, 23 April 2001 11:37
> To: tomcat-user@jakarta.apache.org
> Subject: RE: Tomcat & Windows 2000
> 
> 
> More information is needed if anyone is to help you.
> 
> The documentation in the tomcat download is very good.  Tomcat works well
> with Windows 2000 and IIS and many other operating systems.  Tomcat is
> 100%
> java.
> 
> If you haven't found the documentation it is in the doc directory.  Print
> it
> out and follow it explicitly. (print out the documentation, use a pencil
> to
> mark your steps.) If you have problems relay the steps you have taken and
> what error messages you are getting. The more detail the better.
> 
> Regards,
> Craig
> 
> 
> -----Original Message-----
> From: test test [mailto:testt@EUROPACIFIC.au.com]
> Sent: Sunday, April 22, 2001 5:00 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: FW: Tomcat & Windows 2000
> 
> 
> 
> 
> >  -----Original Message-----
> > From: 	test test
> > Sent:	Thursday, 19 April 2001 15:45
> > To:	'tomcat-user-subscribe@jakarta.apache.org'
> > Subject:	Tomcat  & Windows 2000
> >
> > hello
> >
> > Can anybody please tell me how I can get Tomcat to work with Windows
> 2000
> > (using IIS web server).
> >
> > I have searched the user archives - similar questions have been raised
> but
> > I can't see the answers.
> >
> > Please help
> >
> > Many thanks
> >
> > Hamant

RE: Can I serve up JSP without a web server?

Posted by Filip Hanik <ma...@filip.net>.
yes, tomcat has a web server built in, it will work standalone

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
filip@filip.net
www.filip.net

> -----Original Message-----
> From: Keith Miller [mailto:keith.miller@brokat.com]
> Sent: Tuesday, May 01, 2001 5:03 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: Can I serve up JSP without a web server?
>
>
> Will Tomcat allow this? I keep seeing references to using TOmcat w/o a web
> server. Can someone point me to the documentation on this?
> -Keith
>
> -----Original Message-----
> From: Tony Armstrong [mailto:tarmstrong@bcgas.com]
> Sent: Tuesday, May 01, 2001 3:33 PM
> To: 'tomcat-user@jakarta.apache.org'
> Subject: Re: Newbie : Help integrating Tomcat with PWS on NT
>
>
> Hi Keith
>
> Here is a previous post on the subject. It seems most errors with
> this occur
> because of incorrect registry settings. Attached is also a
> registry example
> pic previously posted (the person had problems so this may be wrong) that
> you can use as an example.
>  <<Registry.jpg>>
>
> As for the web server you choose, that decision should be based on many
> factors e.g. company policy, client needs, requirements etc. So
> if PWS fits
> your purpose then it should be fine to use.
>
> > -----Original Message-----
> > From:	Craig O'Brien [SMTP:craig@dynamic-apps.com]
> > Sent:	Sunday, April 22, 2001 9:28 PM
> > To:	tomcat-user@jakarta.apache.org
> > Subject:	RE: Tomcat  & Windows NT & IIS
> >
> > Good,
> >
> > So you have tomcat running and can view the JSP and Servlet
> examples using
> > port 8080.  (localhost:8080/)  Do not add any contexts yet.  First you
> > want
> > to get the isapi_redirect.dll installed so that you can call
> the examples
> > directly without referencing the port. If you haven't
> downloaded this yet
> > get the binary from the apache site.  There are several steps
> to follow in
> > the "IIS how to" instructions.  Again follow them explicitly.  You will
> > need
> > to register the isapi _redirect.dll with IIs, modify your registry (be
> > very
> > careful!!), create a directory to place the isapi redirect into, and
> > modify
> > your workers properties file. (tomcat/conf/workersproperties)
> I am doing
> > this by memory so follow your instructions carefully. Most people make
> > their
> > errors in the registry settings. Again it is so much easier if you print
> > out
> > the instructions.
> >
> > If you want to test some jsps or servlets that you have already made
> > before
> > you have the isapi working, place the jsps into the ROOT directory and
> > call
> > them with (localhost:8080/yourjspname.jsp).  Servlets must be placed in
> > the
> > WEB_INF/classes directory and are referenced by
> > (localhost:8080/servlet/yourservletname_noextention).  Spend a
> little time
> > getting familiar with the directories.  All of your web apps go
> under the
> > webapps/ROOT directory. You will know if isapi is working when you can
> > drop
> > the port reference and still get them.
> >
> > Sounds like you are getting there. Go one small step at a time,
> test your
> > results, then proceed.  By the time you install tomcat for the
> 3rd or 4th
> > time it will only take 30 minutes.  Print out all of the conf
> files.  All
> > your tomcat configuration is done through modifying them. They are well
> > documented with comments.
> >
> > Tomcat adheres strictly to the Sun jsp/servlet APIs so those
> documents are
> > worth getting familiar with as well.
> >
> > Good luck,
> > Craig
> >
> > It's late here, I'm out for the night.
> >
> >
> >
> >
> > -----Original Message-----
> > From: test test [mailto:testt@EUROPACIFIC.au.com]
> > Sent: Sunday, April 22, 2001 8:35 PM
> > To: 'tomcat-user@jakarta.apache.org'
> > Subject: RE: Tomcat & Windows NT & IIS
> >
> >
> > Craig
> >
> > Thank you for your advice.
> >
> > I have been through the instructions on IIS (tomcat-iis-howto.html).
> >
> > However, I still cannot get the examples to work under IIS
> (they work fine
> > with Tomcat),
> >
> > I have been through the trouble shooting section with no luck.
> >
> > I have not added any contexts as I can't get the examples to work.
> >
> > Not sure what to do now, please help !
> >
> > Thanks
> >
> > Hamant
> >
> >
> >
> > -----Original Message-----
> > From: Craig O'Brien [mailto:craig@dynamic-apps.com]
> > Sent: Monday, 23 April 2001 11:37
> > To: tomcat-user@jakarta.apache.org
> > Subject: RE: Tomcat & Windows 2000
> >
> >
> > More information is needed if anyone is to help you.
> >
> > The documentation in the tomcat download is very good.  Tomcat
> works well
> > with Windows 2000 and IIS and many other operating systems.  Tomcat is
> > 100%
> > java.
> >
> > If you haven't found the documentation it is in the doc
> directory.  Print
> > it
> > out and follow it explicitly. (print out the documentation, use a pencil
> > to
> > mark your steps.) If you have problems relay the steps you have
> taken and
> > what error messages you are getting. The more detail the better.
> >
> > Regards,
> > Craig
> >
> >
> > -----Original Message-----
> > From: test test [mailto:testt@EUROPACIFIC.au.com]
> > Sent: Sunday, April 22, 2001 5:00 PM
> > To: 'tomcat-user@jakarta.apache.org'
> > Subject: FW: Tomcat & Windows 2000
> >
> >
> >
> >
> > >  -----Original Message-----
> > > From: 	test test
> > > Sent:	Thursday, 19 April 2001 15:45
> > > To:	'tomcat-user-subscribe@jakarta.apache.org'
> > > Subject:	Tomcat  & Windows 2000
> > >
> > > hello
> > >
> > > Can anybody please tell me how I can get Tomcat to work with Windows
> > 2000
> > > (using IIS web server).
> > >
> > > I have searched the user archives - similar questions have been raised
> > but
> > > I can't see the answers.
> > >
> > > Please help
> > >
> > > Many thanks
> > >
> > > Hamant
>