You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Krishna Kant T <kr...@compulsesys.com> on 2002/06/09 07:46:09 UTC

Re: Tomcat/Apache problem

hi there

i guess u will not need jserv after u start using Apache-Tomcat combo.

setting up tomcat to work with apache is easy.
mail back if u need help on that.

~krishnakant



Priya Gupta wrote:

> Hello
>    I have a very simple problem but its got me stuck!
> May be someone can take off a little time and help me
> with this!
>    I have Apache HTTP server 1.3 with JServ 1.1
> running on Windows 2000 server and would like to
> upgrade the system to Tomcat 3.1
>    Now if I wish to install Tomcat on the same machine
> but a separate directory and configure it to listen on
> a different port. Then would it mess up my JServ
> installation and if not then how do I proceed with it!
>    Any help would be deeply appreciated!
>      Thanks
>      Priya
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/


Weird URL stuff... w/ apache and tomcat....

Posted by Neil Streeter <st...@elmo.nmc.edu>.
Hi all,

Can anyone help me figure out why I can't access the tomcat examples with

http://www.myserver.com/examples/jsp/index.html

It says it can't find the document '404' error

But If I do something like this with an extra '/' it works fine...

http://www.myserver.com//examples/jsp/index.html

furthermore http://www.myserver.com/examples shows the jakarta type 
directory listing (as opposed to the 'more ugly' apache one)... but 
attempting to access /jsp or /servlets yeilds the 404 (on the 
index.html) - I can execute a test.jsp from within /examples however, 
and that works just fine or If I call:
http://www.myserver.com/examples/jsp/num/numguess.jsp
--that works just fine too... It seems to be the index.htm it has 
problems with...   :-)


.... tomcat config is for the most part 'out of the box'...

I have the following in httpd.conf
-----------------------------------------

Alias /examples /usr/local/jakarta-tomcat-4.0.1/webapps/examples
     <Directory "/usr/local/jakarta-tomcat-4.0.1/webapps/examples">
         Options Indexes MultiViews
         AllowOverride None
         Order Allow,Deny
         Allow from all
     </Directory>


---and also ----
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/

Thanks in advance,
ns



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat/Apache problem

Posted by Vijaya Kumar <vi...@businex.com>.
hai...
Just go http://jakarta.apache.org in which u can find the latest tomcat 4
beta version
1.Download it and extract the zipped content to the location u want.
2. Download JDK if u didn't have
3. change to tomcat bin directory in command window
  type set JAVA_HOME = {JDK_HOME} i.e) the root directory where  u kept jdk
ex c:/jdk3
4. then start the the server from {tomcat home}/bin/startup.bat
5. Open browser window (IE or Netscape or anything) type
http://localhost:8080/ It will display the index page of the tomcat which
has some sample codings for JSP and Servlets.
6. After reviewing that,or not, u may create your own servlets
if you put set JAVA_HOME={ JDKhome} i.e) set JAVA_HOME=c:/jdk3 make sure
JAVA_HOME is in all caps.
My advance congrats for the successfull completion of your school project.
Have a nice day
Regards
Vijay
----- Original Message -----
From: "Priya Gupta" <pi...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, June 12, 2001 10:01 AM
Subject: Re: Tomcat/Apache problem


> Hello Krishna Kant
>     I'm a graduate student working on a portfolio
> project for the school. I am very new in here and
> unfortunately theres no one in here who can help me
> with Tomcat installation and stuff!
>     I'm working with java servlets on win 2000
> proffessional. I downloaded Tomcat 3.2.2 but am having
> problems running it like, when I try executing my
> tomcat script it says:
>   'Unable to locate servlets.jar, checkthe value of
> TOMCAT_HOME'
>      Now I have included 2 lines at the beginning of
> my tomcat.batfile :
>      TOMCAT_HOME=C:\foo\jakarta-tomcat-3.2.2
>      JAVA_HOME=C:\jdk1.2.2
>       Can you please help me with this! It would be
> really nice of you.
>    Thanks
>    Priya
> --- Krishna Kant T <kr...@compulsesys.com>
> wrote:
> > hi there
> >
> > i guess u will not need jserv after u start using
> > Apache-Tomcat combo.
> >
> > setting up tomcat to work with apache is easy.
> > mail back if u need help on that.
> >
> > ~krishnakant
> >
> >
> >
> > Priya Gupta wrote:
> >
> > > Hello
> > >    I have a very simple problem but its got me
> > stuck!
> > > May be someone can take off a little time and help
> > me
> > > with this!
> > >    I have Apache HTTP server 1.3 with JServ 1.1
> > > running on Windows 2000 server and would like to
> > > upgrade the system to Tomcat 3.1
> > >    Now if I wish to install Tomcat on the same
> > machine
> > > but a separate directory and configure it to
> > listen on
> > > a different port. Then would it mess up my JServ
> > > installation and if not then how do I proceed with
> > it!
> > >    Any help would be deeply appreciated!
> > >      Thanks
> > >      Priya
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo! Mail
> > - only $35
> > > a year!  http://personal.mail.yahoo.com/
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>


Tomcat/Apache mapping

Posted by Ricardo A Bosch <rb...@actv.com>.
Hey,
	I'm having a crap of a time trying to run a servlet from tomcat 
through apache without having to see the /servlet directory.  I've 
messed with web.xml in my apps WEB-INF and the main tomcat.conf file for 
apache but I just cant get it to work.  Someone must know this is easy, 
I just dont understand the apache files well enough maybe.  I've gotten 
the servlet to work out of the tomcat directory but not throught apache.

i have

/myapp/servlets/myServlet   to work  (no sweat)
/myapp/myServlet   works too but only from the tomcat port.

i want

/myapp/myServlet from apache but HOW????


thanks();
in advance


rick

Re: Tomcat/Apache problem

Posted by Priya Gupta <pi...@yahoo.com>.
Hello Krishna Kant
    I'm a graduate student working on a portfolio
project for the school. I am very new in here and
unfortunately theres no one in here who can help me
with Tomcat installation and stuff!
    I'm working with java servlets on win 2000
proffessional. I downloaded Tomcat 3.2.2 but am having
problems running it like, when I try executing my
tomcat script it says:
  'Unable to locate servlets.jar, checkthe value of
TOMCAT_HOME'
     Now I have included 2 lines at the beginning of
my tomcat.batfile :
     TOMCAT_HOME=C:\foo\jakarta-tomcat-3.2.2
     JAVA_HOME=C:\jdk1.2.2
      Can you please help me with this! It would be
really nice of you.
   Thanks 
   Priya
--- Krishna Kant T <kr...@compulsesys.com>
wrote:
> hi there
> 
> i guess u will not need jserv after u start using
> Apache-Tomcat combo.
> 
> setting up tomcat to work with apache is easy.
> mail back if u need help on that.
> 
> ~krishnakant
> 
> 
> 
> Priya Gupta wrote:
> 
> > Hello
> >    I have a very simple problem but its got me
> stuck!
> > May be someone can take off a little time and help
> me
> > with this!
> >    I have Apache HTTP server 1.3 with JServ 1.1
> > running on Windows 2000 server and would like to
> > upgrade the system to Tomcat 3.1
> >    Now if I wish to install Tomcat on the same
> machine
> > but a separate directory and configure it to
> listen on
> > a different port. Then would it mess up my JServ
> > installation and if not then how do I proceed with
> it!
> >    Any help would be deeply appreciated!
> >      Thanks
> >      Priya
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> - only $35
> > a year!  http://personal.mail.yahoo.com/
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/