Multiple class reloads causes Tomcat 4.0.1 to throw an OutOfMemory exception

2002-02-27 Thread Weaver, Scott

I could not find any mention of this in the archives, does anyone know why
this would happen?  All the class chanegs are of the non-servlet variety.

Thanks,
Scott





Using mod_webapp with Tomcat 4.0.1

2001-11-02 Thread Weaver, Scott

Hi All,

I searched the mail-archives and could not find any mention of this issue.
I recently attempted to use Tomcat 4.0.1 with Apache 1.3.20 on Win2k
professional.  Everything starts up correclty, except that CPU util goes up
to 100% with most of it (60 - 75%) being used by java.exe and it never
drops.  If remove all config references pertaining to mod_webapp from my
httpd.conf and restart, the cpu is fine.  Has anyone ever seen this kind of
behavior?  Are there any solutions?

p.s.

java -version
java version 1.3.1
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)


Thanks,
Scott

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




RE: How do I merge Tomcat 4.0.1 with apache?

2001-11-02 Thread Weaver, Scott

Download the mod_webapp binary.  The install.txt has very good instructions.
I takes the place of the old Ajap12

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/win32
/

Scott

-Original Message-
From: Gabriel J Zimmerman [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 12:51 PM
To: [EMAIL PROTECTED]
Subject: How do I merge Tomcat 4.0.1 with apache?



I am finding little or no documentation on this anywhere on the web.

I want to:
- Have Apache serve the static files 
- Have Tomcat serve dynamic files
- Use a virtual host configuration where each host has its own webapp at
the root level.

Does anyone have any information on how I do this?

Thanks for the help,

Gabriel Zimmerman

--
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: Mod_webapp configuration

2001-11-02 Thread Weaver, Scott

Dave,

Tomcat is working correctly.  Just because you have mapped to a WebAppDeploy
URL /servlet does not mean it will invoke a servlet class.  If you want to
be able to do something like this
http://localhost/servlet/vue.web.core.VueWebPageServlet

httpd.conf should look something like this

WebAppConnection conn  warp  localhost:8008
WebAppDeploy ROOT  conn  /


here is a named vhost example from my httpd.conf.

LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c 

VirtualHost *
ServerName turbine.scottw
DocumentRoot C:/webapps/Apache Tomcat 4.0/webapps/newportal
WebAppConnection conn  warp  localhost:8008
WebAppDeploy ROOT  conn  /

IfModule mod_dir.c
 DirectoryIndex index.html
/IfModule
/VirtualHost


Scott

-Original Message-
From: Cracauer, David D. [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 02, 2001 1:48 PM
To: Tomcat Users List (E-mail)
Subject: Mod_webapp configuration


I am trying to setup mod_webapp with apache and can't figure out the config.

I also cannot find any in-depth documentation.
I can access my app directly at
http://localhost:8080/servlet/vue.web.core.VueWebPageServlet

but to get to it through apache I have to use
http://localhost/servlet/servlet/vue.web.core.VueWebPageServlet

here are the relevant lines from my httpd.conf

WebAppConnection conn  warp  localhost:
WebAppDeploy ROOT conn /servlet

How can I fix this?
Sorry if this is stupid...

Dave

--
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]