RE: Tomcat 4.0.3 setup

2002-04-15 Thread Diego, Emil

The only modules directory I found was in /etc/httpd/modules.  That's where
all the .so files where.  

As far as the server name.  It is defined.  It seems though that I had to
move the entries after the ServerName setting.  So i put them at the boittom
of the file and that seemed to work.  I am gettign another error though.
WebApp: Error 404.




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:01 AM
To: Tomcat Users List
Subject: Re: Tomcat 4.0.3 setup



Shouldn't the mod_webapp.so be placed in the "libexec" directory for linux?
According to the docs, the modules directory is used if you are running
Apache/Tomcat on Windows.
Also with regards to your problem, do you have the ServerName defined for
your Main server configuration. Since you aren't defining any Virtual Host
block, the WebAppDeploy defaults to the main server.

RS





"Diego, Emil" <[EMAIL PROTECTED]> on 04/15/2002 08:32:57 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:

Subject:  Tomcat 4.0.3 setup

Hello,

   I am running Redhat Linux with Apache 1.3.  I am trying to setup
and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  Here is ewhat I have done so far.

I got tomcat 4.0.3 setup as a stand alone server and works fine when I
browse localhost:8080.

I downloaded the mod_webapp.so and placed it in /etc/httpd/modules.

I added the following lines to httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples


I have not modified the tomcat server.xml file.  It seems it already came
with the service entry.

I restarted tomcat and then restarted apache.  When the apache server comes
up I get the folloeing error:
Syntax error on line 365 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

Line 365 if the WebAppDeploy entry I placed in the httpd.conf file.

I don't understand why I am getting that error.  Any suggestions would be a
help.
Thanx.

Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat 4.0.3 setup

2002-04-15 Thread rsequeira


Shouldn't the mod_webapp.so be placed in the "libexec" directory for linux?
According to the docs, the modules directory is used if you are running
Apache/Tomcat on Windows.
Also with regards to your problem, do you have the ServerName defined for
your Main server configuration. Since you aren't defining any Virtual Host
block, the WebAppDeploy defaults to the main server.

RS





"Diego, Emil" <[EMAIL PROTECTED]> on 04/15/2002 08:32:57 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:

Subject:  Tomcat 4.0.3 setup

Hello,

   I am running Redhat Linux with Apache 1.3.  I am trying to setup
and
configure Tomcat 4.0.3 mod_webapp so I can get my apache server to handle
the JSP reequests.  Here is ewhat I have done so far.

I got tomcat 4.0.3 setup as a stand alone server and works fine when I
browse localhost:8080.

I downloaded the mod_webapp.so and placed it in /etc/httpd/modules.

I added the following lines to httpd.conf:
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c

WebAppConnection conn warp localhost:8008
WebAppDeploy examples conn /examples


I have not modified the tomcat server.xml file.  It seems it already came
with the service entry.

I restarted tomcat and then restarted apache.  When the apache server comes
up I get the folloeing error:
Syntax error on line 365 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

Line 365 if the WebAppDeploy entry I placed in the httpd.conf file.

I don't understand why I am getting that error.  Any suggestions would be a
help.
Thanx.

Emil Diego
Web Coordinator
University of Miami School of Business
[EMAIL PROTECTED]



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 









--
To unsubscribe:   
For additional commands: 
Troubles with the list: