Tomcat CVS Versions

2005-03-14 Thread Lionel Farbos
Hi, I'd want to get the latest version of TC4.1 Manager. Where is it ? jakarta-tomcat-4.0 ? (is yes, which tag) ? I search within http://jakarta.apache.org/site/cvsindex.html If I am right : jakarta-tomcat is for TC3.2 and TC3.3 jakarta-tomcat-4.0 is for TC4.0 (and TC 4.1?) jakarta-tomcat-5 is

RE: Using hibernate

2005-03-14 Thread Allistair Crossley
We use straight JDBC and Hibernate on our intranet. JDBC is used for where speed is needed, like hitting the database for nav functions etc... but Hibernate for pure intranet based applications like holiday forms or purchase ordering, because it's nice to persist/unpersist complex application

Re: starting tomcat from eclipse

2005-03-14 Thread t.n.a.
I am using sysdeo as well (sorry I didn't point it out more clearly). Something in my deployment descriptor seems to make it break. Amrish Bharatiya wrote: I am using sysdeo tomcat integration plugin for eclipse. it flawlessly integrates into eclipse. you can try this out. it is avaliable at

Re: Idle servlet won't restart

2005-03-14 Thread Nat Titman
Mark Winslow wrote: Hi, What happens when you try to get an image? What, if any, error messages do you get? If you retrieve the image directly, an empty page is returned. The error log records the following exception: DBImageViewer: could not retrieve image: java.sql.SQLException: No

forwarding from HTTPS to HTTP

2005-03-14 Thread Wizard of OS
Hi, I am trying to implement SSL for Tomcat 5.0.30 Java 1.4 latest for selected sites only. I configured a url path pattern: /jsp/login.jsp logging onto this site, SSL works, redirecting to /jsp/index.jsp still uses SSL :-( Requesting java actions are comepletely igonored like

OT - Beware of Firefox + HTML Validator Extension

2005-03-14 Thread Harry Mantheakis
I thought I should share this with any web-app developers on this list. I recently installed the HTML Validator extension in Firefox. This caused me no-end of troubles because HTML Validator (on Windows XP) was firing off rogue secondary requests (!) whenever I was selecting any of my form submit

Validator 0.5.5 doesn't have this bug anymore (Re: OT - Beware of Firefox + HTML Validator Extension)

2005-03-14 Thread Christoph Kutzinski
Good point, I stumbled upon this, too. Thinking this was a Firefox bug, I even filed a bug report against it. Note: The latest version of HTML Validator (0.5.5) fixed this bug. At least no more problems in my case. greetings, Christoph Harry Mantheakis wrote: I thought I should share this with

jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Paul Puschmann
Hi, we want to use Apache2 (2.0.53) as a frontend for out Tomcat (4.1.31) and don't get the right configuration for our jk2 (2.0.4). This all runs with Java 1.4.2_06 on Debian Sarge x86. We want to serve two or three different applications through our apache2. Each one gets its own VirtualHost

Re: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Mladen Turk
Paul Puschmann wrote: Hi, we want to use Apache2 (2.0.53) as a frontend for out Tomcat (4.1.31) and don't get the right configuration for our jk2 (2.0.4). This all runs with Java 1.4.2_06 on Debian Sarge x86. Do not use JK2. Use JK instead. See:

Re: Servlet Streaming file to client: Can't override file name

2005-03-14 Thread Jon Wingfield
What happens in FireFox if you do this: response.setHeader(Content-Disposition, attachment; filename=\ + theFile.getName() + \); The relevant spec is here: http://www.ietf.org/rfc/rfc2183.txt And for the definition of 'value' it references: http://www.ietf.org/rfc/rfc2045.txt The filename

Re: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Paul Puschmann
Mladen Turk wrote: Paul Puschmann wrote: Hi, we want to use Apache2 (2.0.53) as a frontend for out Tomcat (4.1.31) and don't get the right configuration for our jk2 (2.0.4). This all runs with Java 1.4.2_06 on Debian Sarge x86. Do not use JK2. Use JK instead. See:

RE: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Dale, Matt
1.2.6 is the latest and should work with Apache 2 so you don't have to go back to apache 1. Ta Matt -Original Message- From: Paul Puschmann [mailto:[EMAIL PROTECTED] Sent: 14 March 2005 12:28 To: Tomcat Users List Subject: Re: jk2 for Apache2 and Tomcat 4 Mladen Turk wrote: Paul

Re: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Paul Puschmann
Dale, Matt wrote: 1.2.6 is the latest and should work with Apache 2 so you don't have to go back to apache 1. Ta Matt Okay, but I don't get jk1 for apache2 as a ready debian-package. I prefer ready-built packages, because otherwise I could miss some important compiling options or get some

Re: Configuration Problem in Tomcat for HTTPS

2005-03-14 Thread suryadevara dushyanth
I have modified the server.xml and removed the comments for ssl connector on port 8443. I generated a self signed certificate in the path of java_home. This is the procedure given in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. After modifying the server.xml for testing I typed

RE: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Francois JEANMOUGIN
Okay, but I don't get jk1 for apache2 as a ready debian-package. I prefer ready-built packages, because otherwise I could miss some important compiling options or get some version-dependancy-errors or such. It is an open bug in debian. For a reason I don't know, they made a correlation

Re: Configuration Problem in Tomcat for HTTPS

2005-03-14 Thread Antony Paul
If you followed instruction in the tomcat docs the key will be stored in the users home directory. In windows it will be in c:\documents and settings\username\.keystore . By default Tomcat looks at this location for the key. Are you getting any error in logs ?. On Mon, 14 Mar 2005 05:09:27

driver not found ?

2005-03-14 Thread Philippe Couas
Hi, I search to connect with Sun Odbc driver to my Datasource configured in tomcat javax.servlet.ServletException: Cannot create JDBC driver of class '' for connect URL 'null', cause: No suitable driver What is wrong ? Thanks Philippe server.xml ResourceParams name=jdbc/Agi

RE: [QUAR]SSL tomcat support

2005-03-14 Thread Sweeney, Bill
Start with: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html Then, this page details the procedure for you to set your systems up using keytool: http://java.sun.com/webservices/docs/1.1/tutorial/doc/WebAppSecurity5.ht ml To use the keystore generated with keytool you will need

Re: driver not found ?

2005-03-14 Thread Parsons Technical Services
Philippe, Watch the list and please answer questions asked as the information needed to help you has not been included in your email. Please tell us the version of Tomcat. What Operating System are you using? Please post the server.xml, web.xml and context.xml or appname.xml This may make a big

Re: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Sbastien GALLET
Paul Puschmann a écrit : Dale, Matt wrote: 1.2.6 is the latest and should work with Apache 2 so you don't have to go back to apache 1. Ta Matt Okay, but I don't get jk1 for apache2 as a ready debian-package. I prefer ready-built packages, because otherwise I could miss some important

Re: Scoping of JNDI Resources?

2005-03-14 Thread Hassan Schroeder
J Malcolm wrote: I've actually got my realms defined per host. That's not the problem. The problem is that the datasources for the various realms must be declared globally (apparently). I'm assuming that any datasource that is defined globally is accessible to any Tomcat app that knows the

Re: jk2 for Apache2 and Tomcat 4

2005-03-14 Thread Paul Puschmann
Sébastien GALLET wrote: Paul Puschmann a écrit : Dale, Matt wrote: 1.2.6 is the latest and should work with Apache 2 so you don't have to go back to apache 1. Ta Matt Okay, but I don't get jk1 for apache2 as a ready debian-package. I prefer ready-built packages, because

TomCat Proxied by WebServer´s

2005-03-14 Thread Acácio Furtado Costa
HI List. Does anyone know if is it possible to use two Webserver´s (Proxies, one external and other internal) connected to multiples TomCat application Server´s (Grouped in Cluster) ? Better , Is it possible to have two connectors in operation at same time connected in same group of

Restriction of pages?

2005-03-14 Thread Chris Cherrett
Hi I would like to restrict access to certain pages within a webapp to certain IP addesses but not to the whole webapp. What is the best way to do this or do I need to take another approach? Thanks -- Chris Cherrett - To

RE: Too many open files exception

2005-03-14 Thread George Sexton
Most likely, you are not properly closing resources like files and such, and a change in the Garbage collection is hurting you. My advice would be to run findbugs and fix any issues it points out. http://findbugs.sourceforge.net/ George Sexton MH Software, Inc. http://www.mhsoftware.com/

Re: DataSource using Commons libraries 5.5.7

2005-03-14 Thread sven morales
Hi, I am not exactly sure what you meant by you don't have to do that ? For example, how would a class differentiate between org.apache.commons.dbcp.BasicDataSourceFactory and org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory without doing anything? Off course the import declarations have to

ENC: TomCat Proxied by WebServer´s - correction

2005-03-14 Thread Acácio Furtado Costa
HI List. Does anyone know if is it possible to use two Webserver´s (Proxies, one external and other internal) connected to multiples TomCat application Server´s (Grouped in Cluster) ? Better , Is it possible to have two connectors (AJP) in operation at same time connected in same

Re: DataSource using Commons libraries 5.5.7

2005-03-14 Thread QM
On Mon, Mar 14, 2005 at 08:55:35AM -0800, sven morales wrote: :I am not exactly sure what you meant by you don't : have to do that ? For example, how would a class : differentiate between : org.apache.commons.dbcp.BasicDataSourceFactory and : org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory

Re: Restriction of pages?

2005-03-14 Thread QM
On Mon, Mar 14, 2005 at 08:50:10AM -0700, Chris Cherrett wrote: : I would like to restrict access to certain pages within a webapp to certain IP : addesses but not to the whole webapp. What is the best way to do this or do I : need to take another approach? You don't state what version of

Re: Restriction of pages?

2005-03-14 Thread Chris Cherrett
Tomcat 5.028. Will that do amd is your solution the only one? Thanks On March 14, 2005 10:28 am, QM wrote: On Mon, Mar 14, 2005 at 08:50:10AM -0700, Chris Cherrett wrote: : I would like to restrict access to certain pages within a webapp to : certain IP addesses but not to the whole webapp.

RE: Scoping of JNDI Resources?

2005-03-14 Thread J Malcolm
Hassan, Thank you so much. I figured there had to be some sort of answer for that. This makes sense. I really appreciate the help. Jerry -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 9:00 AM To: Tomcat Users List Subject: Re: Scoping

Re: Tomcat CVS Versions

2005-03-14 Thread Mark Thomas
I can't speak for TC3 but for a complete build of 4.0.x from CVS you need: jakarta-servletapi-4 (HEAD tag) jakarta-tomcat-4 (tomcat_40_ tag) jakarta-tomcat-connectors (HEAD tag) (not sure about this one) For 4.1.x you need: jakarta-servletapi-4 (HEAD tag) jakarta-tomcat-4 (HEAD tag)

Re: Configuration Problem in Tomcat for HTTPS

2005-03-14 Thread suryadevara dushyanth
No I am not getting any errors in logs. --- Antony Paul [EMAIL PROTECTED] wrote: If you followed instruction in the tomcat docs the key will be stored in the users home directory. In windows it will be in c:\documents and settings\username\.keystore . By default Tomcat looks at this

Tomcat 5.5.7+JRockit = windows service won't start

2005-03-14 Thread BB Commish
Hi, I am running Tomcat 5.5.7 with the JRockit 1.5.0 jdk. Everything is fine if I start TC using the startup.bat approach but installing it as a Windows service presents an issue (XP Home). I have tried using the Tomcat.exe installer and by modifying the provided service.bat file (modified to

Re: Tomcat 5.5.7+JRockit = windows service won't start

2005-03-14 Thread Mark Thomas
Perhaps you could try looking in the registry to see what parameters have been set there and if they are compatible with the JRockit JVM? Mark BB Commish wrote: Hi, I am running Tomcat 5.5.7 with the JRockit 1.5.0 jdk. Everything is fine if I start TC using the startup.bat approach but

tomcat freezes when accessing db after several queries

2005-03-14 Thread Larry Johnson
Hi all, I've encountered a rather strange error that I need some help getting to the bottom of. Recently I lost the hard drive on one of my tomcat application servers. I've since reinstalled and set everything on the effected machine to mirror the configuration of my other app servers

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-14 Thread David Tonhofer, m-plify S.A.
Well, I'm running that configuration in 5.5.7, yes. Holds water so far. But this has been done by directly editing server.xml - so it's not really a self-contained webapp configuration. Best regards, -- David --On Thursday, March 10, 2005 9:48 AM -0500 Phillip Qin [EMAIL PROTECTED] wrote: Very

Redhat Tomcat support

2005-03-14 Thread Trice, Jim
All, I'm relatively new to Tomcat support. Has any had any experience with RedHat support for Tomcat? We're currently running Tomcat 4.1 and would have to upgrade to 5.5 to get support from RedHat. Is it worth it? Jim James H. Trice Haas TCM, Inc. [EMAIL PROTECTED] (512) 519-3955

Re: Redhat Tomcat support

2005-03-14 Thread QM
On Mon, Mar 14, 2005 at 03:57:28PM -0600, Trice, Jim wrote: :I'm relatively new to Tomcat support. Has any had any experience with : RedHat support for Tomcat? We're currently running Tomcat 4.1 and would have : to upgrade to 5.5 to get support from RedHat. Is it worth it? I've never used

Re: Tomcat 5.5.7+JRockit = windows service won't start

2005-03-14 Thread Dominik Drzewiecki
Perhaps the Tomcat5.exe process manager is trying to send sun jvm specific parameters to the jrockit jvm? Indeed, it does. Tomcat5w.exe passes -Xrs to the jvm and you can do nothing about it as it is hardcoded. See Bugzilla Bug 33777: http://issues.apache.org/bugzilla/show_bug.cgi?id=33777

Re: Redhat Tomcat support

2005-03-14 Thread QM
On Mon, Mar 14, 2005 at 03:57:28PM -0600, Trice, Jim wrote: : [snip] : RedHat support for Tomcat? We're currently running Tomcat 4.1 and would have : to upgrade to 5.5 to get support from RedHat. Is it worth it? by the way, in response to your question Is it worth it? -- did you mean RedHat's

LDAP Realm issues

2005-03-14 Thread William Stranathan
I opened a bug on this a couple of weeks ago, but it hasn't been touched. Maybe other folks have seen this behavior... I'm using the LDAP realm for AAA in my application. However, the LDAP server it connects to drops stale sessions after a pretty short time. Evidently, Tomcat tries to keep

Re: Configuration Problem in Tomcat for HTTPS

2005-03-14 Thread Jason Bainbridge
On Mon, 14 Mar 2005 12:04:55 -0800 (PST), suryadevara dushyanth [EMAIL PROTECTED] wrote: No I am not getting any errors in logs. Where exactly is your .keystore? You are best putting it somewhere simple and then referencing it with the parameter keystoreFile in the connector for the SSL. As a

RE: Why so much virtual memory?

2005-03-14 Thread Montz, James C. (James Tower)
On a related note, It would appear to me that java is not adhering to the -Xmx option; I have several instances that report using 3-4X RSS Memory what -Xmx is set to. For example, Instance1: CATALINA_OPTS=-sqerver -Xms64m -Xmx128m PS Ouput: USER%CPU%MEMVSZ RSS

RE: Redhat Tomcat support

2005-03-14 Thread Phillip Qin
Agree. Whether O/S is Red hat or Debian, I also download tc from apache site and install it. -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: March 14, 2005 5:05 PM To: Tomcat Users List Subject: Re: Redhat Tomcat support On Mon, Mar 14, 2005 at 03:57:28PM -0600, Trice, Jim

Re: Why so much virtual memory?

2005-03-14 Thread QM
On Mon, Mar 14, 2005 at 04:12:16PM -0600, Montz, James C. (James Tower) wrote: : On a related note, It would appear to me that java is not adhering to : the -Xmx option; : : I have several instances that report using 3-4X RSS Memory what -Xmx is : set to. Keep in mind, -Xmx and -Xms are options

RE: tomcat freezes when accessing db after several queries

2005-03-14 Thread George Sexton
Look for something like this: Try { statement.execUupdate(some statement); } catch (SQLException se){ } Make sure that the catch has: conn.rollback(); In JDBC, a failed update leaves the underlying record locked until it is rolled back. George Sexton MH Software, Inc.

Re: tomcat freezes when accessing db after several queries

2005-03-14 Thread William Stranathan
Also, make sure you have a finally block that always closes the connection so the connection is returned to the pool. Will Stranathan On Mon, 14 Mar 2005 15:27:29 -0700, George Sexton [EMAIL PROTECTED] wrote: Look for something like this: Try { statement.execUupdate(some

Re: Configuration Problem in Tomcat for HTTPS

2005-03-14 Thread Sanjeev Srivastava
Hi Dushyanth, Have you created server.keystore, also are you specifing the right path in server.xml for the server.keystore. Check this, your problem will be solved. In case of any problem, do let me know... Cheers!, Sanjeev --- suryadevara dushyanth [EMAIL PROTECTED] wrote: No I am not

RE: tomcat freezes when accessing db after several queries

2005-03-14 Thread Larry Johnson
I've checked my code and verified that both these measures are implemented where I query the db. However, I don't think my problem has to do with the code itself because I'm running versions identical to that of the problem machine on my other app servers and those are running without a hitch.

Session listener

2005-03-14 Thread Christian Rebollar
I used weblogic and HttpSessionListener interface, and when I closed browser weblogic invalidated the session and the listener class catch it, but with tomcat didn't happen the same, the session died until timeout. There is a way to do it or it can't be done?? thx

Re: Session listener

2005-03-14 Thread Ben Souther
How could weblogic know that you closed your browser? On Mon, 2005-03-14 at 17:57, Christian Rebollar wrote: I used weblogic and HttpSessionListener interface, and when I closed browser weblogic invalidated the session and the listener class catch it, but with tomcat didn't happen the same,

Re: Session listener

2005-03-14 Thread Christian Rebollar
I don't know, but when I closed the browser the listener class catch sessionDestroyed event. --- Ben Souther [EMAIL PROTECTED] wrote: How could weblogic know that you closed your browser? On Mon, 2005-03-14 at 17:57, Christian Rebollar wrote: I used weblogic and HttpSessionListener

RE: Redhat Tomcat support

2005-03-14 Thread Benson Margulies
Personally, I've never gotten anything from Redhat but a bill. Their support agreement is a masterpiece of extracting the maximum money for the minimum in actual support. Pretty much anything you might actually need help with is carefully excluded. -Original Message- From: QM

RE: Redhat Tomcat support

2005-03-14 Thread Trice, Jim
All, Thanks for the feedback. I'm coming from an environment that was more SUN than anything else and my experience with Redhat support has been very limited. This helps. Jim -Original Message- From: Benson Margulies [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 5:43 PM To:

Re: Validator 0.5.5 doesn't have this bug anymore (Re: OT - Beware of Firefox + HTML Validator Extension)

2005-03-14 Thread phil campaigne
Christoph Kutzinski wrote: Good point, I stumbled upon this, too. Thinking this was a Firefox bug, I even filed a bug report against it. Note: The latest version of HTML Validator (0.5.5) fixed this bug. At least no more problems in my case. greetings, Christoph Harry Mantheakis wrote: I

Re: Tomcat 5.5.7+JRockit = windows service won't start

2005-03-14 Thread BB Commish
Perhaps the Tomcat5.exe process manager is trying to send sun jvm specific parameters to the jrockit jvm? Indeed, it does. Tomcat5w.exe passes -Xrs to the jvm and you can do nothing about it as it is hardcoded. See Bugzilla Bug 33777: http://issues.apache.org/bugzilla/show_bug.cgi?id=33777

getting started

2005-03-14 Thread Kemin Zhou
Dear Friends, I am trying to get started with tomcat 5.5.7 which is the most stable release. I have spent a lot time on reading the documents. Here I am trying to get some pointer. First let me introduce myself, I have a lot of experience using the RedHat linux. Right now my system is

Over 1000 threads running in production

2005-03-14 Thread Guillaume Lahitette
Hello Tomcat'oids, This is Tomcat 4.1.26 on Linux with JDK 1.4.1_03, load balanced accross 2 servers by a BigIP device. User base is around 50. Our operations team discovered over 1000 java threads running on each production server. It appears that about 20 threads are added to this count

JK2 URI configuration

2005-03-14 Thread Ian Franco
I can't figure out, or find any documentation on how to map a uri in workers2.properties to something other than its webapp directory name. For instance, I want to make the directory $CATALINA_BASE/webapps/mywebappv2.0.23 respond as though it were $CATALINA_BASE/webapps/mywebapp. I'm certain

Re: getting started

2005-03-14 Thread Antony Paul
You can find Linux packages at JPackage.org. On Mon, 14 Mar 2005 17:22:53 -0800, Kemin Zhou [EMAIL PROTECTED] wrote: Dear Friends, I am trying to get started with tomcat 5.5.7 which is the most stable release. I have spent a lot time on reading the documents. Here I am trying to get

RE: Over 1000 threads running in production

2005-03-14 Thread Caldarale, Charles R
From: Guillaume Lahitette [mailto:[EMAIL PROTECTED] Subject: Over 1000 threads running in production Our operations team discovered over 1000 java threads running on each production server. It appears that about 20 threads are added to this count every hour. Since no one else seems to be

RE: Tomcat 5.5.7+JRockit = windows service won't start

2005-03-14 Thread Caldarale, Charles R
From: BB Commish [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5.7+JRockit = windows service won't start Thanks Dominik. I am surprised the developers would hardcode a non-standard -X parameter. By definition _all_ -X parameters are non-standard, but there are quite a few you simply

Tomcat 5.0.28 http not redirecting to https with Struts

2005-03-14 Thread ADNAN TARIQ
---BeginMessage--- ---End Message--- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]