Apache + Tomcat sometimes pegs CPU

2002-08-02 Thread Jeff Larsen
I'm running Apache 1.3.23/Tomcat 4.0.3 (jdk1.3.1) on Solaris 7 connected with mod_jk. Sometimes I I find that the CPU on the web server box is pegged at 100%. It's a dedicated server and I am bouncing Apache and Tomcat once a week to help alleviate the problem. If I didn't restart every week,

Re: Apache + Tomcat sometimes pegs CPU

2002-08-02 Thread Jeff Larsen
I forgot to mention... Even when the CPU is pegged, the site functions normally. Jeff - Original Message - From: Jeff Larsen [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Sent: Friday, August 02, 2002 12:02 PM Subject: Apache + Tomcat sometimes pegs CPU I'm running Apache

Re: Apache + Tomcat sometimes pegs CPU

2002-08-02 Thread Jeff Larsen
): % telnet webserver 80 POST /somepage.jsp HTTP/1.1 Host: webserver:80 Connection: Close Content-Type: application/x-www-form-urlencoded Content-Length: 200 PutStuff here and kill telnet session before 200 chars -Tim Jeff Larsen wrote: I

Re: Apache + Tomcat sometimes pegs CPU

2002-08-02 Thread Jeff Larsen
to it!!! ** *** Jeff Larsen wrote: Thanks, I figured that I wasn't the first one to see this. Is my current mod_jk going to need upgrading also? Jeff - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, August 02, 2002 12

Tab Characters in web.xml (Tomcat 4.0.3)

2002-03-20 Thread Jeff Larsen
I've been developing a web application in JBuilder using Tomcat 3.2 with great success. Now it's time for the real world. I'm deploying my app on Tomcat 4.0.3 on Solaris and I'm having problems with my web.xml. When Tomcat starts, it gives me the following error: 2002-03-20 10:47:48

Tomcat 4.0.3. is not unpacking my WAR file

2002-03-21 Thread Jeff Larsen
Tomcat 4.0.3 is NOT unpacking my WAR file and my application is not getting loaded. Is this a bug or is there a configuration issue that I am missing. If I run without unpacking the war (i.e., docBase=online.war), the application runs just fine, but then I can't have Apache httpd serve my

Re: Tomcat 4.0.3. is not unpacking my WAR file

2002-03-21 Thread Jeff Larsen
Let me clarify: Tomcat NEVER unpacks the war, not when it's restarted, and even if the directory is not there. On restart, Tomcat complains that it can't start the application, because the directory does not exists. - Original Message - From: Daniel Bruce Lynes [EMAIL PROTECTED] To:

Re: Solaris Install Question

2002-03-21 Thread Jeff Larsen
Solaris will not allow an unprivileged user (i.e., not the root user) to open a server on a port number below 1024. You must run as root or use a higher port number. Jeff - Original Message - From: Scott Purcell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 21, 2002

Re: re-deploying a web app

2002-03-22 Thread Jeff Larsen
I've experimented with several versions (3.2, 3.3, 4.0) of Tomcat and none of them have handled updating of application files with any grace. The documentation on this is pretty sparse so I've never been sure whether it's a bug or the intended behavior. The only way to make sure things get

Re: REPOST: mod_jk.log question

2002-03-22 Thread Jeff Larsen
It all depends on the relevant Alias and JkMount directives in your Apache configuration. You'll need to post them in order for us to make any useful analysis. Here's an example of my config where Apache serves the static content. The servlet context is /online. # tell Apache where my app

Re: RE : java.lan.OutOfMemoryError

2002-03-22 Thread Jeff Larsen
Actually, changing java versions is easier than changing Tomcat versions. I've made it my policy to NEVER use a Java 1.x.0 version. It never pays to be on the bleeding edge. If you've ever spent any time hanging out in the Java Developer's Connection 'Bug Parade', you'll know that they rarely get

Re: Servlet mapping question

2002-03-22 Thread Jeff Larsen
You haven't said anything about your Tomcat configuration. What version? Are you running it standalone or through Apache? Basically, it sounds like you need to create a Context in your server.xml which maps the root (/) to your servlet. In the default Tomcat config, look at how they map the

Re: RE : java.lan.OutOfMemoryError

2002-03-22 Thread Jeff Larsen
- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: 22 March 2002 18:34 To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: RE : java.lan.OutOfMemoryError Actually, changing java versions is easier than changing Tomcat versions. I've made it my policy to NEVER use a Java 1.x.0

Re: REPOST: mod_jk.log question

2002-03-22 Thread Jeff Larsen
willing to ignore it if everything else is ok, but I'm concerned that I've got some sort of configuration error somewhere that's going to bite me later on. Thanks again! Cindy At 12:25 PM 3/22/02 -0600, Jeff Larsen wrote: It all depends on the relevant Alias and JkMount directives in your Apache

Re: JNDI/EJB: looking for some references

2002-03-25 Thread Jeff Larsen
I'm using servlets on Tomcat that must access one of four remote JBoss servers depending on the web user login. Basically, you have to tell the client where the JBoss server is running. Here's the java code from the servlet side... Properties props = new Properties();

Re: JNDI/EJB: looking for some references

2002-03-25 Thread Jeff Larsen
Oops, I mistyped factory in one of the lines of sample code. - Original Message - From: Jeff Larsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 25, 2002 11:26 AM Subject: Re: JNDI/EJB: looking for some references I'm using servlets on Tomcat

Re: JNDI/EJB: looking for some references

2002-03-26 Thread Jeff Larsen
Hi! Thanks for the suggestions. I'm actually able to invoke the remote EJB setting either the properties you mentioned in the call of the codenew InitialContext/code or setting them in the codeSystem/code properties and then calling codenew InitialContext/code without parameters ;

Re: Problem with cache clearing in Tomcat

2002-03-26 Thread Jeff Larsen
You may also want to try META http-equiv=Expires content=0 However, I don't really trust META tags. Browser implementations of META tags are not always reliable. Write to the response headers directly. I embed the following at the top of every jsp page. % response.setHeader(Cache-Control,

Re: Integrating Tomcat 3.3 in Jbuilder 6

2002-03-26 Thread Jeff Larsen
If you haven't done so already, try posting this question to the appropriate newsgroups at http://www.borland.com/newsgroups. I've found them to be very helpful on issues like this. Jeff - Original Message - From: Laurent Michenaud [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Basic authentication and Tomcat servlets

2002-03-27 Thread Jeff Larsen
If 'b' is not protected, then Apache will neither ask for authorization nor include authorization info in the request headers when a document in 'b' is requested. One thing you could try is to use a symbolic link to 'b' from 'a' so that /htdocs/a/b points to /htdocs/b. Then a request for

Re: session management

2002-03-27 Thread Jeff Larsen
Look at javax.servlet.http.HttpSessionBindingListener. Say you have a class MyClass that implements HttpSessionBindingListener. When you call HttpSession.setAttribute(name, myClass), the valueBound() method of MyClass gets called. Likewise when the session expires or the object is explicitly

Re: multiple users using tomcat

2002-03-28 Thread Jeff Larsen
What is the nature of the instruction? Are you teaching the students how to install and configure tomcat or are they just going to be creating webapps for tomcat? If they are going to be configuring tomcat, then each student should have his own tomcat installation directory, and (assuming they

Re: SAXParseException on catalina.sh run

2002-03-28 Thread Jeff Larsen
The XML parser in Tomcat 4.0.3 requires STRICT adherence to XML standards. I struggled for a while myself before I discovered that XML sub-elements must appear in the SAME ORDER as they are listed in the DTD. That was news to me, because I had never seen a parser that required it. So... make

Re: session from URL/Cookie

2002-03-28 Thread Jeff Larsen
I'm not entirely sure I understand your problem, but I'll take a stab at it anyway Typically, you don't need to worry about where the sessionid comes from. Anywhere you send a redirect or put a link in a JSP or servlet generated html, you should ALWAYS use HttpServletResponse.encodeURL() or

Re: JSP question

2002-03-28 Thread Jeff Larsen
Assuming you have a controller servlet that could load the hint text from the database, why not have a static hashtable in your servlet code that is initialized with the values from the database in the init() method. Then as each session is initialized, you could put a reference to the hashtable

Re: Reloading Web Applications without manager and without reloadable=true

2002-03-28 Thread Jeff Larsen
I'm not 100% sure about this, but I'm sure someone will correct me if I'm wrong Isn't the manager app limited to apps within the same virtual host? So have your sysadmin create a tomcat virtual host just for your web app. Install the manager app in your virtual host under a unique context

Re: manager/remove functionality

2002-03-28 Thread Jeff Larsen
I'm having the same problem with unpacking updated war files when the directory already exists. Anyone out there know what's up? Jeff - Original Message - From: Michael Teter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 28, 2002 11:03 AM Subject: manager/remove

Re: manager/remove functionality

2002-03-28 Thread Jeff Larsen
functionality This has NEVER worked for me, I don't think it will if the directory exists... todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Jeff Larsen wrote: I'm having the same problem with unpacking updated war files when the directory

Re: Reloading Web Applications without manager and without reloadable=true

2002-04-01 Thread Jeff Larsen
Applications without manager and without reloadable=true The role must be 'manager'. The manager app currently does not let you specify the role to use. Charlie -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 2:14 PM To: Tomcat Users

Re: taglib and contextPath

2002-04-01 Thread Jeff Larsen
HttpServletRequest request = (HttpServletRequest)pageContext.getRequest(); This request object can then be used just like in a servlet. Jeff - Original Message - From: Zsolt Koppany [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 31, 2002 3:21 AM Subject: taglib and

Re: appBase and virtual hosts

2002-04-01 Thread Jeff Larsen
You need separate webapp directories for each virtual host. Otherwise Tomcat will autodeploy everything it finds in your webapp directory, even if the app is supposed to belong to another virtual host. Jeff - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To:

Re: Reloading Web Applications without manager and without reloadable=true

2002-04-01 Thread Jeff Larsen
to only have access to their own app. Charlie -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 10:34 AM To: Tomcat Users List Subject: Re: Reloading Web Applications without manager and without reloadable=true Not true. I've

Re: Process for using Manager reload of war file?

2002-04-01 Thread Jeff Larsen
Here's the deal with unpacking of war files: It only happens when Tomcat starts and autodeploys apps that do not otherwise have a Context element in server.xml. If you manually define the context, it won't unpack the war file! If you update the war file and reload, it won't re-unpack the war

Re: Process for using Manager reload of war file?

2002-04-01 Thread Jeff Larsen
: Jeff Larsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 01, 2002 5:19 PM Subject: Re: Process for using Manager reload of war file? Here's the deal with unpacking of war files: It only happens when Tomcat starts and autodeploys apps that do not otherwise have

Re: losing session info with netscape 4.x

2002-04-01 Thread Jeff Larsen
Netscape 4.x has been working for me in this type of situation, but the value of .x might make a difference. Do you have cookies enabled? If not, does your javascript for opening the popup window use a correctly encoded URL so the popup window's request has the session id built in? For

Re: losing session info with netscape 4.x

2002-04-02 Thread Jeff Larsen
cookies option is selected. I will try your suggestion and see what it will do. Thanks. PS. how do you correctly encode URL? -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 06:29 PM To: Tomcat Users List; Huy K. Dung Subject: Re

Re: How to manage log files?

2002-04-03 Thread Jeff Larsen
I share your frustrations, but at this time I believe that our only recourse is to write our own subclass of org.apache.catalin.logger.FileLogger. At this point, I've got bigger fish to fry, so I haven't even looked at this yet. If you come up with something, post it! Jeff - Original

Re: Tomcat won't find my web.xml files.

2002-04-04 Thread Jeff Larsen
Since your running on Windows, make absolutely sure your WEB-INF directory for your app is in all-caps. Use a DOS window to verify this. Windows Explorer will always convert things to title case, so you can't tell from there. Jeff - Original Message - From: Jason Johnston [EMAIL

Re: JSP compilation exceptions thrown for Tomcat4 and JDK1.4

2002-04-05 Thread Jeff Larsen
Make sure your CLASSPATH under which Tomcat runs is not still referencing any jars (most likeley tools.jar) from the JDK1.3 installation. - Original Message - From: Bedia, Bharat [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 05, 2002 2:42 AM Subject: JSP compilation

Re: JSP compilation exceptions thrown for Tomcat4 and JDK1.4

2002-04-05 Thread Jeff Larsen
- Original Message - From: Bedia, Bharat [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, April 05, 2002 9:50 AM Subject: RE: JSP compilation exceptions thrown for Tomcat4 and JDK1.4 --snip-- Can the opposite be true? Is there an issue with JDK1.4 being

Re: Simple Question (I hope...)

2002-04-05 Thread Jeff Larsen
Could be several things. Since some details about your setup are, missing, please don't take offense if I state the obvious. Are you using Tomcat standalone or with Apache? Have you successfully gotten the Tomcat examples to work? If your homepage.class has a 'package' directive in the source,

Re: Some body Help

2002-04-08 Thread Jeff Larsen
There is NO way to know when a client kills their browser. HTTP is a stateless protocol. The only time we know that the browser is alive is during a request. After that, we don't know if the browser gets closed or if the user just navigates elsewhere. If you need to close down resources, just

Re: download link for mod_jk

2002-04-09 Thread Jeff Larsen
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/ Choose the jakarta-tomcat-connectors zip or tar.gz file as needed. Note that mod_jk is just one part of this collection. Jeff - Original Message - From: Duane Gran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc:

Re: Handle exceptions correctly

2002-04-09 Thread Jeff Larsen
The error message looks more like your page just has some mismatched brackets and not a problem with exceptions. If you have a hard time finding it in your source jsp. Look at $TOMCAT_HOME/work/host/context/yourfile$jsp.java. This is the compilable java source for your jsp. Jeff -

Re: Session already invalidated

2002-04-09 Thread Jeff Larsen
Part of the problem may be that you're grabbing a session object that you have stored in your own data structure. Tomcat doesn't know anything about your monitor HashMap and is not going to update it when it invalidates a timed-out session. Why don't you do this: try {

Re: Passing objects to taglib file

2002-04-09 Thread Jeff Larsen
Just do it! mytaglib:mytag data=%= someVectorObject % You need to support the object type in your getter and setter methods for the tag attribute... public Class MyTag extends TagSupport { private Vector data; public void setData(Vector newData) { data = newData; } public Vector

Re: Session already invalidated

2002-04-09 Thread Jeff Larsen
this in the archives some months ago to someone elses query about this same issue. But when I do this. The exception is still passed to my error page. Do you know of anyway to prevent that? Thanks for the help. Rick Jeff Larsen wrote: Part of the problem may be that you're grabbing a session

Re: optimizing tomcat for use with apache only

2002-04-09 Thread Jeff Larsen
Depending on server load, you may want to increase minProcessors, so the server doesn't have to create new threads on the fly. Jeff - Original Message - From: Ken Anderson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, April 27, 2002 12:55 PM Subject:

Re: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Jeff Larsen
Under what context path is your servlet deployed? The context path is typically the name of the directory under $TOMCAT_HOME/webapps in which your app resides. Unless your app is deployed in the ROOT context, your URL should be http://localhost:8080/context/seating. Jeff - Original

Re: Persistent Context names with auto-deploy

2002-04-10 Thread Jeff Larsen
Since you are using the manager app to deploy your war files, there is no need to keep the war files in the webapps directory. Make a separate directory outside of /www/webapps, perhaps /www/war. Then Tomcat won't find them when it starts up. Jeff - Original Message - From: bryan

Re: Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Jeff Larsen
What path does the Manager display for your app? If tomcat is auto-deploying your app, then it should be /MySeatMap since that is the subdir of webapps in which your WEB-INF/web.xml resides. Then you should be accessing http://localhost:8080/MySeatMap/seating If you are using a Context

Re: How can I automatically start a servlet in a specific time?

2002-04-10 Thread Jeff Larsen
How about using some kind of command line driven web URL grabber (e.g. webgrab for UNIX, or write your own java version) launched at the appropriate time (via cron or Task Scheduler) which asks for a URL which will cause the servlet to load and do it's thing. Of course, you need to be reasonably

Rantings about FileLogger (TC 4.0.3)

2002-04-11 Thread Jeff Larsen
I was just perusing the source code for org.apache.catalina.logger.FileLogger because, like many of you, I don't like the clutter of daily log file rotation. I noticed that even if timestamps are turned off, the FileLogger class still calls System.currentTimeMillis() on every log call!! It does

Problems serving PDF to Netscape browsers

2002-05-09 Thread Jeff Larsen
I'm running out of hair to pull out here... My ultimate goal is to server dynamically generated PDF documents generated with iText. I've got it working just fine with MSIE. However, I was just getting blank pages with Netscape (and it wasn't even showing the toolbar for Acrobat). With NS6 I

Re: WAR files don't unpack if the webapp is already there

2002-05-09 Thread Jeff Larsen
It's a feature. Sucks, huh? - Original Message - From: James Turner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 2:23 PM Subject: WAR files don't unpack if the webapp is already there I'm going through the standard compile-edit-test look on some applications

Re: Problems serving PDF to Netscape browsers

2002-05-09 Thread Jeff Larsen
: Jeff Larsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 10, 2002 3:44 AM Subject: Problems serving PDF to Netscape browsers I'm running out of hair to pull out here... My ultimate goal is to server dynamically generated PDF documents generated with iText. I've got

Re: WAR files don't unpack if the webapp is already there

2002-05-09 Thread Jeff Larsen
Not sure what you mean by new ones, but TC 4.0.3 does NOT unpack wars if the directory already exists regardless of the reloadable flag. Jeff - Original Message - From: Rick Fincher [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 2:57 PM Subject:

Re: serving CSV file

2002-05-09 Thread Jeff Larsen
What's your request URL? I do it by using a servlet mapping that ends in .csv to fool the browser into thinking it's actually downloading a file. I set the content-type header to application/csv which isn't really a universal standard, but if I remember right, the mime mapping you listed will

Re: Problems serving PDF to Netscape browsers

2002-05-09 Thread Jeff Larsen
for investigation. Andy -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: 09 May 2002 19:45 To: [EMAIL PROTECTED] Subject: Problems serving PDF to Netscape browsers I'm running out of hair to pull out here... My ultimate goal is to server dynamically

Re: Best practices for deployment?

2002-05-09 Thread Jeff Larsen
I pack it up in a war file, ftp it to the server (UNIX), create an at job for late at night which runs a script that stops tomcat, unpacks the war file and restarts tomcat. I've had spotty results with reloading a newly unpacked app while tomcat is still running. Jeff - Original Message

Re: Problems serving PDF to Netscape browsers

2002-05-10 Thread Jeff Larsen
-83d3-3cbe8fd8 Accept-Ranges: bytes Content-Length: 33747 Connection: close Content-Type: application/pdf %PDF-1.2 %âãÏÓ Andy -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: 09 May 2002 22:33 To: Tomcat Users List Subject: Re: Problems serving PDF

Re: building mod_jk on solaris

2002-05-10 Thread Jeff Larsen
apxs requires perl. You must have perl installed prior to installation of apache httpd in order for the apache install to correctly configure apxs. Otherwise, I believe you are on the right track. Jeff - Original Message - From: Peter Choe [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Multiple webapps, multiple classpaths

2002-05-10 Thread Jeff Larsen
Put the dependent external jar files in /application1/WEB-INF/lib and /application2/WEB-INF/lib. Jeff - Original Message - From: Ryan P. Davidsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 10, 2002 4:14 PM Subject: Multiple webapps, multiple classpaths I am currently

App Reload problems: java.lang.NoClassDefFoundError

2002-05-13 Thread Jeff Larsen
Tomcat 4.0.3 on Sun Solaris 7. Most of the time, the manager app successfully reloads my application. But sometimes when I make changes to a class that is packaged in a jar file in WEB-INF/lib, the reload fails with a java.lang.NoClassDefFoundError for some of the classes in that WEB-INF/lib jar

Re: catalina.LoggerBase class should have public access

2002-05-14 Thread Jeff Larsen
I was whining about this too about a month ago, but I failed to spark a discussion on this list. So I went to Bugzilla and entered it as a feature request. Apparently, somebody agreed with me. If you look at the nightly build source code, you will see that LoggerBase is now public and FileLogger

REPOST: Problems serving PDF to Netscape browsers

2002-05-14 Thread Jeff Larsen
to reproduce these problems --sometimes-- when serving static PDF files via Tomcat. - Original Message - From: Jeff Larsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 1:44 PM Subject: Problems serving PDF to Netscape browsers I'm running out of hair to pull out

Re: REPOST: Problems serving PDF to Netscape browsers

2002-05-14 Thread Jeff Larsen
on the local HDD and opens the file with Acrobat Reader. Of course you need to check whether the file is already there, open etc. HTH -Original Message- From: Jeff Larsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, May 14, 2002 12:01 PM Subject: REPOST

Re: REPOST: Problems serving PDF to Netscape browsers

2002-05-14 Thread Jeff Larsen
for writing jobs which do clean up tasks. This is of course undesirable, but sometimes you just have to do what it takes to make something work... :-( Good luck, Andy -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: 14 May 2002 17:01 To: [EMAIL

Re: Running a webapp and accessing from www.mysite.com

2002-05-15 Thread Jeff Larsen
Look at the configuration fo the ROOT context that is included in the default installation of tomcat. - Original Message - From: Donie Kelly [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, May 15, 2002 9:26 AM Subject: Running a webapp and accessing from

Client session problems when MSIE is run within Outlook

2002-06-12 Thread Jeff Larsen
I don't have MS Outlook myself, so I can't do any testing on this. But I have a customer who has been running a browser session from within Outlook. Some of my pages have javascript links that open a new browser window to view a page. When she accesses one of these popups from within Outlook,

Re: Debugging

2002-06-12 Thread Jeff Larsen
I develop with JBuilder 4 Pro which has support for Tomcat 3, but not Tomcat 4. So I did a little digging and discovered the class org.apache.catalina.startup.Embedded. Download the source and look at the main() method in this class. It will show you how to use the Embedded class to run Tomcat

Regression? Tomcat 4.1.27 spiraling out of control!

2003-09-26 Thread Jeff Larsen
I just upgraded my production server to tomcat 4.1.27 running on Solaris 7 with java 1.4.2_01. I am using Ajp13 connections to Apache 1.3.23 with mod_jk 1.2.0. I was running 4.0.4 on java 1.3.0 without incident. It ran fine for a day and a half, but then over a period of about 10 minutes I got a

Re: Regression? Tomcat 4.1.27 spiraling out of control!

2003-09-29 Thread Jeff Larsen
I don't know how to creat a test case for this. Everything ran fine on my test box. It only gets out of control under load. I don't have any tools for load testing. I was hoping that the clues about the fix between 4.0.3 and 4.0.4 would help because the symptoms are identical. I also didn't expect

Re: Tomcat with JBoss/Tomcat

2003-09-29 Thread Jeff Larsen
I don't see why they wouldn't play nice. I use them both, but on separate boxes. The can be memory pigs however. Each uses around 128Mb on Solaris 7. I haven't done it myself, but JBoss can be configured to run Tomcat within it's JVM. This might save some overhead. Neither one is a processor hog