Re: Tomcat and multiple processors

2003-09-04 Thread Marco Tedone
It would be nice :) - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, September 05, 2003 12:07 AM Subject: Re: Tomcat and multiple processors > (1) Install TC as many times as you need JVM instances; > (2) for each instance, rename

Re: Memory leaks?

2003-09-04 Thread Nikola Milutinovic
> But depending on the DB, it can cause problems from the DB with too many > open ResultSets... I had an issue with performance testing where everything > but ResultSets were being closed and the Oracle DB started throwing errors > after about 500 queries. Better safe than sorry. Well, from what

RE: SSL/Verisign Confusion

2003-09-04 Thread Dave Wood
OK, good...glad I'm not as confused as I thought. :) Problem is...I don't see any way to extract a private key using keytool. Perhaps I just need to look at openssl...I haven't used this tool yet. Thanks, -dave -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Barker

Re: SSL/Verisign Confusion

2003-09-04 Thread Bill Barker
"Dave Wood" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks Bill. I think this highlights something I'm really not > understanding... > > Didn't I generate an important "private key" somewhere along the line that I > can't just regenerate if I blow away my keystore? I assume

RE: Tomcat and multiple processors

2003-09-04 Thread Ralph Einfeldt
In the archive you can find this: http://archives.real-time.com/pipermail/tomcat-users/2002-August/074367.html > -Original Message- > From: Pitre, Russell [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2003 11:01 PM > To: Tomcat Users List > Subject: RE: Tomcat and multiple pro

RE: Tomcat and multiple processors

2003-09-04 Thread Ralph Einfeldt
We prefer to use CATALINA_BASE and CATALINA_HOME. This decouples the application best from the tomcat installation and you still can set all set all parameters individual: http://archives.real-time.com/pipermail/tomcat-users/2002-August/074367.html (In short the trick is to do the settings in

Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-04 Thread Shailesh Modi
Hi, I have kept classes12.jar in every possible places in tomcat 4 directory(C:\jakarta-tomcat-4.1.27\common\lib or C:\jakarta-tomcat-4.1.27\server\lib), but no help. Also keeping properties files into my web-app's WEB-INF/classes directory too not able to help me out. Alternatively, I have tri

RE: SSL/Verisign Confusion

2003-09-04 Thread Dave Wood
Thanks Bill. I think this highlights something I'm really not understanding... Didn't I generate an important "private key" somewhere along the line that I can't just regenerate if I blow away my keystore? I assumed the certificate I got back from verisign would only work if I still had the orig

Re: Sharing of JSP pages across multiple web apps

2003-09-04 Thread Bill Barker
It depends what you want to accomplish basically. Personally, I prefer symlinking the pages (of course, after enabling the symlink option :). This results in seperate class files for each context that uses the page, but is easy to maintain. Alternatively, you can pre-compile the JSP to $CATALINA

Re: SSL/Verisign Confusion

2003-09-04 Thread Bill Barker
Firstly, it looks like you should wipe you keystore and start again. To use a VS cert with Tomcat, the two options I know are: 1) Follow the instructions at http://www.comu.de/docs/tomcat_ssl.htm. 2) Using openssl or otherwise, convert your cert+key to a pkcs12 file, and use that as your keystore

Re: Sharing of JSP pages across multiple web apps

2003-09-04 Thread Jacob Kjome
I think that is what the "crossContext" attribute of the tag is for (in server.xml or a context configuration file). I've never bothered using it so don't just take my word for it. Go ahead and read Tomcat's docs on the subject. Jake At 09:50 AM 9/5/2003 +0530, you wrote: Is it possible to

Unable to compile class for JSP

2003-09-04 Thread Dave Stoker
Hi, After reading the archives I see this is not an uncommon error. I've tried a couple suggestions (of removing java.exe from the winnt/system32 directory as well as changing the JDK version from 1.4.1_03 to 1.4.1_05), but no luck. Any help in resolving this issue is greatly appreciated. Dave

Sharing of JSP pages across multiple web apps

2003-09-04 Thread Ashutosh Satyam
Is it possible to share JSP page across multiple web-application within tomcat servlet container? Something like the libraries, which we want to share across multiple web application can be placed under the shared directory of tomcat. If it's not possible, why it has been not designed like that?

Re: Tomcat as an in-process Servlet container?

2003-09-04 Thread Bill Barker
I don't really understand the question. If you are using channelJni, then there is no address or port: The data is passed in-memory. "Carlos Cajina - Hotmail" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi everyone. I've followed the steps in http://www.greenfieldresearch.ca/tec

SSL/Verisign Confusion

2003-09-04 Thread Dave Wood
I'm having a problem getting an SSL certificate from Verisign working correctly. I'm going to include everything I can think of that MIGHT be a problem. Unfortunately, there are a couple things I can't quite remember for certain. Here's the situation: 1. I generated the initial key using an ali

Re: Using jdk1.4 logger problem

2003-09-04 Thread Bill Barker
"Chan, Kam Yuen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I am trying to load our App in Tomcat. > One of the initialization is being done by a Servlet, which is set to autoload. During this initialization, we also initializes the logger, which are subclasses of the

Re: Migrating from JServ to Tomcat 4.0

2003-09-04 Thread Pradeep Gummi
Thank you Filip, I can get the classes working in Tomcat if I place them in the WEB-INF Classes folder and set the mapping in the web.xml. But I do not want to change the directory structure of the classes that existed in the JServ Installation and make the Tomcat identify those classes which a

Multiple ISAPI redirectors on same server...

2003-09-04 Thread Bond
Hello All, Got a problem here, that I hope someone can help with. We have installed Tomcat on a server twice, in two different directories. We want to integrate with IIS, but we realized that the registry seetings needed to do this need to be different for each instance. Any Idea how we go

Re: Tomcat and multiple processors

2003-09-04 Thread achana
(1) Install TC as many times as you need JVM instances; (2) for each instance, rename home before proceeding with another installation eg. CATALINA_HOME_tc1=/path/to/tc1 CATALINA_HOME_tc2=/path/to/tc2 etc (3) for each inctance rename respective startup scripts eg startup_tc1.sh or catalina_tc1.sh

Re: How do I stop security checks for all files?

2003-09-04 Thread Tim Funk
From http://java.sun.com/dtd/web-app_2_3.dtd ... then later ... So you can do this: resources /input/* more resources /input2/* even more resources /input3/* user NAFO ICON EMEA

Re: How do I stop security checks for all files?

2003-09-04 Thread Jim Lynch
"Shapira, Yoav" wrote: > > Howdy, > What does your web.xml look like, specifically the security-constraint > parts? > > Yoav Shapira > Millennium ChemInformatics I think I understand where you are going and I changed it slightly and partially accomplished what I wanted to do. Here is the modi

Re: JDBC, SQL Server 2000 and Tomcat Error

2003-09-04 Thread Christopher Williams
Have you tried using the native SQL Server driver from Microsoft? The JDBC-ODBC bridge is simply awful. You can the native driver from Microsoft: http://msdn.microsoft.com/library/default.asp?url=/downloads/list/sqlserver.asp --

RE: Character Encoding problem (umlauts, etc).

2003-09-04 Thread Jeff Tulley
The FAQ ( http://jakarta.apache.org/tomcat/faq ) has a link to a thread on "How to UTF-8 your site", which I think might be similar. http://marc.theaimsgroup.com/?l=tomcat-user&m=105524426515137&w=2 is the link to the thread itself. Try some of the things there and see if they work for you. (s

RE: [OT] Realizing a search functionality

2003-09-04 Thread Schalk
Marco You may to have a look at Lucene (OpenSource Jakarata project) at: http://jakarta.apache.org/lucene/docs/index.html Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED]

Re: [OT] Realizing a search functionality

2003-09-04 Thread Marco Tedone
SorryI found Jakarta LuceneI'll work on it :) Marco - Original Message - From: "Marco Tedone" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 04, 2003 11:32 PM Subject: [OT] Realizing a search functionality > Hi, I must admit that I don'

[OT] Realizing a search functionality

2003-09-04 Thread Marco Tedone
Hi, I must admit that I don't know anything about how to realize a search functionality. The only thing that I know is that most sites have a search functionality which, when searching for something, return a list of links more or less involved in the search string. The only things I know are: 1)

Re: Session Timeout

2003-09-04 Thread Filip Hanik
>I just found out that sessions on my webapp are automatically being >logged out after some period of time. Even when they are being used. this should not be the case should be the inactivity timeout what version of tomcat? Filip - Original Message - From: "G. Wade Johnson" <[EMAIL PROTE

RE: Newbie:web application

2003-09-04 Thread Pitre, Russell
ROFL -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2003 11:57 AM To: Tomcat Users List Subject: Re: Newbie:web application ROFL Shapira, Yoav wrote: > Howdy, > Thank you for the clear instructions ;) I believe I have a fairly > firm

Session Timeout

2003-09-04 Thread G. Wade Johnson
I've just been surprised by something that I thought I understood. I just found out that sessions on my webapp are automatically being logged out after some period of time. Even when they are being used. >From reading the docs, it appears that the normal timeout behavior is to terminate any sessi

RE: Character Encoding problem (umlauts, etc).

2003-09-04 Thread Robert Priest
This is in a JSP page (which of course becomes a servlet). Do I have to set the encoding in Tomcat perhaps? -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 5:16 PM To: '[EMAIL PROTECTED]' Subject: Character Encoding problem (umlauts, e

Re: Migrating from JServ to Tomcat 4.0

2003-09-04 Thread Filip Hanik
you have to choices: 1. Do a proper migration, ie convert your webapp to a "real" webapp with WEB-INF so that you load your classes - this is the recommended method, because there is no other way to map servlets, other than web.xml 2. Put all your classes in TOMCAT_HOME/common/classes, the classe

Character Encoding problem (umlauts, etc).

2003-09-04 Thread Robert Priest
> I have a servlet that catches a request for a file. > > But if that file has characters such as an umlaut in it (for example: ä), > the path info is all wrong. > > For example: I am requesting file : > > "/38CF278C0186B466222FC48571080B83/51/dms00051/äää.txt" > > but what is coming across i

Inquiry received

2003-09-04 Thread [EMAIL PROTECTED]
Thank you for your inquiry to Alset Support! We will process your request as soon as possible. Please see www.alset.com for complete support information. Alset Support Staff - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Migrating from JServ to Tomcat 4.0

2003-09-04 Thread Pradeep Gummi
Hello all, I have a web application deployed in JServ. Now I would like to migrate the application to Tomcat 4.0 with out disturbing the existing directory structure. Since JServ doesnt have web.xml and has the following jserv.conf and jserv.properties files and also doesnt have any WEB-INF as

RE: Tomcat and multiple processors

2003-09-04 Thread Pitre, Russell
Hey people.. Where can i find more information on the web about this subject, specifically setting up multiple jvm's tied to it's respective tomcat installation? Doesn't have to include multiple processors I'm very interested in this subject, basically, just curious as to how it all wor

Re: [SOLVED]Re: Problem with a page redirecting to a non-existent page

2003-09-04 Thread John Turner
Funky. Glad you got it solved! John Norris Shelton wrote: We figured out the problem. He was working on a problem where deployed .jsp files were not being picked up. He removed all the work files and restarted tomcat from that directory. The script that we use (why, because IT wrote it and s

[SOLVED]Re: Problem with a page redirecting to a non-existent page

2003-09-04 Thread Norris Shelton
We figured out the problem. He was working on a problem where deployed .jsp files were not being picked up. He removed all the work files and restarted tomcat from that directory. The script that we use (why, because IT wrote it and says we have to use it) includes "." in the classpath. Hence,

RE: Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-04 Thread Angus Mezick
Anyone have a clue as to whether or not this is a Real bug, or am I just screwing something up? > -Original Message- > From: Angus Mezick > Sent: Wednesday, September 03, 2003 4:32 PM > To: [EMAIL PROTECTED] > Subject: Using jndi to get a DBCP BasicDataSource give > ClassCastException >

RE: Tomcat and multiple processors

2003-09-04 Thread Angus Mezick
> > 3. We plan on deploying 42+ applications to a number of > Tomcat servers. > > Since each application will support 1 customer - I think > it's a good idea to > > have 1 app -> 1 tomcat - so if Tomcat crashes, it only > affects that customer > > - rather than all customers. I've heard of set

Re: Tomcat and multiple processors

2003-09-04 Thread John Turner
Matt Raible wrote: 1. Does it support multiple processors? We have a Tomcat instance in production on a NT box with 4 processors, but Tomcat only seems to use one. Does the 1.4.2 JVM support MP? Yes, at least on Sun hardware with Solaris 8, and Intel hardware with RH Linux 7.x (duals only...we d

Using jdk1.4 logger problem

2003-09-04 Thread Chan, Kam Yuen
Hello, I am trying to load our App in Tomcat. One of the initialization is being done by a Servlet, which is set to autoload. During this initialization, we also initializes the logger, which are subclasses of the JDK1.4 logger classes. But, some how the logger manager can't find the handler

Re: forward error

2003-09-04 Thread Tim Funk
More information ... http://jakarta.apache.org/tomcat/faq/misc.html#illegalstate -Tim Shapira, Yoav wrote: Howdy, Both errors are fairly clear and essentially the same. You can't forward or redirect a response that's been committed, i.e. written to. If you're going to forward or redirect a respons

RE: Tomcat and multiple processors

2003-09-04 Thread Shapira, Yoav
Hola, >1. Does it support multiple processors? We have a Tomcat instance in >production on a NT box with 4 processors, but Tomcat only seems to use one. >Does the 1.4.2 JVM support MP? As you guessed in your question, MP support is much more VM-specific than app-specific. Tomcat doesn't have

RE: forward error

2003-09-04 Thread Shapira, Yoav
Howdy, Both errors are fairly clear and essentially the same. You can't forward or redirect a response that's been committed, i.e. written to. If you're going to forward or redirect a response, you must do so before writing to the response. You can read the JavaDoc for HttpServletResponse#sendRe

Re: Problem with a page redirecting to a non-existent page

2003-09-04 Thread Norris Shelton
Oh, great. It gets even more interesting. One of my coworkers has a problem with her search.jsp in another context and we just found that another coworder has a search.jsp and a dis_timeout.jsp. Each of the contexts is defined within their own service. How can one context affect another? ---

Tomcat and multiple processors

2003-09-04 Thread Matt Raible
We are getting ready to deploy a number of applications to Tomcat - I'm pretty familiar with Tomcat and Java, but have a couple of questions: 1. Does it support multiple processors? We have a Tomcat instance in production on a NT box with 4 processors, but Tomcat only seems to use one. Does the

forward error

2003-09-04 Thread Maxime Colas des Francs
Hi, - If at the end of on of a jsp file, i put a , i have this : java.lang.IllegalStateException: Error: Attempt to clear a buffer that's already been flushed at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:415) at org.apache.jsp.test_ps_jsp._jspService(test_ps_jsp.jav

RE: Limitation on the number of Hosts per Engine?(SAXParserFactoryImpl not found)

2003-09-04 Thread Michael Mealling
On Thu, 2003-09-04 at 15:11, Shapira, Yoav wrote: > Howdy, > There's no hosts per engine limitation in the code. Even if there was, > 11 seems like an unlikely candidate ;) Odd, huh > >Exception during startup processing > >java.lang.reflect.InvocationTargetException: > >javax.xml.parsers.Fa

RE: Limitation on the number of Hosts per Engine?(SAXParserFactoryImpl not found)

2003-09-04 Thread Shapira, Yoav
Howdy, There's no hosts per engine limitation in the code. Even if there was, 11 seems like an unlikely candidate ;) >Exception during startup processing >java.lang.reflect.InvocationTargetException: >javax.xml.parsers.FactoryConfigurationError: Provider >org.apache.xerces.jaxp.SAXParserFactoryI

Limitation on the number of Hosts per Engine? (SAXParserFactoryImpl not found)

2003-09-04 Thread Michael Mealling
Hi, I'm setting up a server with about 12 virtual hosts on it. Things go fine until I attempt to add the 9th . Each entry is a carbon copy of the others except for the Host's name and Alias. Once I add the 9th host I get this at startup: Exception during startup processing java.lang.reflect.Inv

RE: How do I stop security checks for all files?

2003-09-04 Thread Shapira, Yoav
Howdy, What does your web.xml look like, specifically the security-constraint parts? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jim Lynch [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 04, 2003 1:10 PM >To: tomcat >Subject: How do I stop security checks for

How do I stop security checks for all files?

2003-09-04 Thread Jim Lynch
I'm using the basic authentication scheme, 'cause I couldn't ever make the user type work. My pages just sat there and looped. But I'm running into a performance problem. I have dozens of .gif files and other things that get loaded with my page and it looks like it is authenticating each of them

Re: How to cache the user's input in a jsp page?

2003-09-04 Thread Ben Souther
Is this what you're looking for? <% String name = ""; String age= ""; if(request.getParameter("name") != null){ name = request.getParameter("name"); age = request.getParameter("age"); } %> Name: Age: Select One >1 >2 >3

Re: [SOLVED] Urgent - strange tomcat /mod jk (?) problem going on

2003-09-04 Thread John Turner
Glad I could help. Relaxing is good advice. ;) Have fun! John Denise Mangano wrote: There were a few things going on there... I should have taken a step back and relaxed and given everything another look before I posted... My apologies for that ... I panicked because of the bind that I am in.

RE: [SOLVED] Urgent - strange tomcat /mod jk (?) problem going on

2003-09-04 Thread Denise Mangano
There were a few things going on there... I should have taken a step back and relaxed and given everything another look before I posted... My apologies for that ... I panicked because of the bind that I am in. 1. ServerName httpd/conf did not match the value of the name attribute in the Host Elem

Re: Apache Tomcat Performance Handbook

2003-09-04 Thread Peter Lin
If the book never gets out, I plan to write a 30-50 page paper based on the results of our benchmarks and give it to the TC community. Hopefully it won't go down the drain, since Remy and I spend over 2 months doing a ton of benchmarks with all sorts of variations and tuning options. peter ---

Re: Problem with a page redirecting to a non-existent page

2003-09-04 Thread Norris Shelton
This is interesting. We changed the name of the file from search.jsp to searchnew.jsp (contents the same). It works. WTF --- Norris Shelton <[EMAIL PROTECTED]> wrote: > We are running 4.1.12 on Linux behind BigIP. > > We have a file /search.jsp. For some reason, yesterday, it > started r

Re: Urgent - strange tomcat /mod jk (?) problem going on

2003-09-04 Thread John Turner
If http://your.url:8080/yourApp doesn't work, you have to fix Tomcat first (server.xml). If http://your.url/yourApp doesn't work and http://your.url:8080/yourApp does work, you have to fix mod_jk (or rather the JK settings in Apache's httpd.conf). HTH John Denise Mangano wrote: Ok I'm a dop

RE: Tomcat 5 book

2003-09-04 Thread Goehring, Chuck Mr., RCI - San Diego
Part of Wrox stuff went to Apress and part went to John Wiley and Sons. (from http://www.booksmatter.com) Chuck -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 6:04 AM To: Tomcat Users List Subject: RE: Tomcat 5 book Howdy, An amaz

Re: Apache Tomcat Performance Handbook

2003-09-04 Thread Remy Maucherat
John Turner wrote: The book was never published. The original publisher (Wrox) went out of business and liquidated assets. The rights to the performance handbook (and many other former Wrox titles including the security handbook) were picked up by Apress. The rights to the rest were picked up

Problem with a page redirecting to a non-existent page

2003-09-04 Thread Norris Shelton
We are running 4.1.12 on Linux behind BigIP. We have a file /search.jsp. For some reason, yesterday, it started redirecting to /dis_timeout.jsp. There is no reference to dis_timeout.jsp (file or even text within a file). I deleted the work files and reloaded the webapp. No change. I copied th

JDBC, SQL Server 2000 and Tomcat Error

2003-09-04 Thread Jeremy Lewis
I'm currently experiencing a strange error with some JSP pages that have been built in Dreamweaver MX. The pages retrieve data from a SQL Server 2000 database using the Sun JDBC-ODBC driver. I currently get the following error message reported by Tomcat when I try to display more than 6 data items

Getting WebApp working at remote site: loop 'Deploying discovered web applications'

2003-09-04 Thread Simon Brooke
-BEGIN PGP SIGNED MESSAGE- I have a webapp which I've thoroughly tested on various tomcat versions, and it works fine on my servers. I've now delivered it to my customers ISP, and it won't run on their servers (Tomcat 4.1.12). I have a limited amount of access to their tech support staf

RE: Urgent - strange tomcat /mod jk (?) problem going on

2003-09-04 Thread Denise Mangano
Ok I'm a dope - sorry. I didn't realize that I had changed my ServerName in my apache httpd.conf and forgot to change it in my server.xml . However, now I am getting a bad request error. I am no longer getting the HTTP 404 resource not available error. I'm not really sure if that means Tomcat i

occasional 403 Errors (revised question) -- jk2 broken pipe error

2003-09-04 Thread Tomcat Newbie
Sorry, it seems I left out most importan information from my e-mail describing the problem. Below my question revised. ** I have an annoying problem with my setup. I searched the archives and net for similar documented cases and I thought I found the solution, but it does not seem to work. An

Urgent - strange tomcat /mod jk (?) problem going on

2003-09-04 Thread Denise Mangano
I have a major problem and I am hoping you can help. I have a web app which serves the first few pages through apache, then the last 4 secure pages through tomcat. This was all working at one point, but I've had to rebuild since - and I'm experiencing some new problems. I have apache 1.3.28, Tom

RE: Apache Tomcat Performance Handbook

2003-09-04 Thread Duncan Strang
Jeez, the stuff you learn on this list... -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: 04 September 2003 15:02 To: Tomcat Users List Subject: Re: Apache Tomcat Performance Handbook Well, I guess we have to be more clear. "Wrox" did not go out of business. Pee

Tomcat as an in-process Servlet container?

2003-09-04 Thread Carlos Cajina - Hotmail
Hi everyone. I've followed the steps in http://www.greenfieldresearch.ca/technical/jk2_config.html for configuring Apache and Tomcat to communicate using JNI with good results, but there's just one thing that I can't figure out: When using channelSocket as the communication channel between the

Re: dbtags and tomcat 4.1

2003-09-04 Thread Nikola Milutinovic
> You could use jstl instead, but from my experience SQL in the jsp is > more trouble then it is worth and causes imense headaches > when you want to do something complicated. Just a suggestion but it > could be a good time for you to have a look at migrating to Struts or > some other framework

RE: mod_jk2, load balancing and TC:TDC

2003-09-04 Thread Ralph Einfeldt
httpd instance doesn't "autodiscover" the other tomcat, you have to configure it. I would suggest the following: - define distinct propertie fieles for each mod_jk - define 2 workers for each mod_jk - each worker points to one tomcat - set the lbFactor for worker1 to 0 for one mod_jk - set the lb

Re: Compilation of mod_jk

2003-09-04 Thread John Turner
[EMAIL PROTECTED] wrote: Hi, I am using Apache 1.3.19 with Tomcat 4.1.24 I need to do a 64 bit compilation of mod_jk . I tried to do a 32 bit compilation but there were some problems in the Makefile. What problems? I need to know following things. 1. Where to get the source code for mod_jk. http

RE: tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Shapira, Yoav
Howdy, No, you don't need to recompile. My guess is you have non-daemon threads your webapp has started, and that's why the JVM can't exit. This is not a rare problem. You need to make sure any threads you start are either daemons (so the JVM kills them automatically) or are properly interrupte

FW: caching with Apache-Tomcat

2003-09-04 Thread Patrick . King
I would like to know how to cache dynamic content generated using tomcat 3.2.4 with apache 1.3.26 as a front-end. Mod_jserv is being used (ajp12) as a connector from apache to tomcat. Pat Patrick King E-mail : [EMAIL PROTECTED]

tomcat 4.1.27: cannot shutdown tomcat !!

2003-09-04 Thread Fabio Bazzani
shutdown with telnet is ok. It appears the message "Stopping service Tomcat-Standalone" on the shell but the Window does not close. Should I recompile the entire catalina source code ? Thank you fabio - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List

RE: Counting active sessions if server restarts very often

2003-09-04 Thread Shapira, Yoav
Howdy, As an aside, regarding the subject of this message, why is your server restarting very often? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 04, 2003 11:28 AM >To: 'Tomcat Users List' >Subj

RE: How to cache the user's input in a jsp page?

2003-09-04 Thread Geiglein, Gary
The problem is that you are loading a new page through javascript without sending the other data fields from the current page in the request. This is entirely a javascript processing problem. To actually make this work without a lot of re-engineering, make OnChange for the select box call a java

mod_jk2, load balancing and TC:TDC

2003-09-04 Thread Timothy Stone
List, O'Reilly's new /Tomcat:The Definitive Guide/ is worth the purchase. But something seems a miss in the chapter on load balancing Tomcats with mod_jk2. I want to provide load balancing and failover as illustrated in the book (pg. 237, fig. 10-2). For those without the book, here's the ASC

RE: Counting active sessions if server restarts very often

2003-09-04 Thread Bodycombe, Andrew
The sessionWillActivate() method is called every time a session activates. If your sessions are persistent, then each one will be re-activated when the server restarts, so this method is called once for each session that was passivated. One further point I forgot to mention - your SessionActivatio

Re: setting the field focus with a servlet

2003-09-04 Thread Christopher Williams
Easily done, but needs Javascript. Do something like the following in your JSP: ... ... ... ...