Re: Sending mail with JavaMail [255704:132206]

2005-10-07 Thread RTE - Meridian Club
id Tonhofer, m-plify S.A." <[EMAIL PROTECTED]> > Received: 10/7/2005 1:24 PM > To: "Tomcat Users List" > Subject: Re: Sending mail with JavaMail > > --On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes <[EMAIL PROTECTED]> > wrote: > > >

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
--On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes <[EMAIL PROTECTED]> wrote: It doesn't work. No way??? Back to basics: find all the places where mail.jar is in this hierarchy of classloaders. Make sure there is only one. Make sure that jaf.jar is at the same level or above it.

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
It doesn't work. David Tonhofer, m-plify S.A. wrote: Looks like the usual Tomcat classloader hierarchy SNAFU. Try with ONLY in tomcat/common/lib. --On Friday, October 07, 2005 12:04 PM +0200 Andrés Reyes <[EMAIL PROTECTED]> wrote: activation.jar and mail.jar are placed both in /common/lib,

Re: Sending mail with JavaMail [255664:132162]

2005-10-07 Thread RTE - Meridian Club
ot;Giuseppe Briotti" <[EMAIL PROTECTED]> > Received: 10/7/2005 11:31 AM > To: "Tomcat Users List" > Subject: Re: Sending mail with JavaMail > > > == > > Date: Fri, 07 Oct 2005 12:04:37 +0200 > > From: =?ISO-8859-1?Q?Andr=E9s_Reye

Re: Sending mail with JavaMail

2005-10-07 Thread Giuseppe Briotti
> == > Date: Fri, 07 Oct 2005 12:04:37 +0200 > From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= <[EMAIL PROTECTED]> > To: Tomcat Users List > Subject: Re: Sending mail with JavaMail > == > > activation.jar and mail.jar are p

Re: Sending mail with JavaMail [255658:132158]

2005-10-07 Thread RTE - Meridian Club
id Tonhofer, m-plify S.A." <[EMAIL PROTECTED]> > Received: 10/7/2005 11:23 AM > To: "Tomcat Users List" > Subject: Re: Sending mail with JavaMail > > Looks like the usual Tomcat classloader hierarchy SNAFU. > > Try with ONLY in tomcat/common/lib. > >

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Looks like the usual Tomcat classloader hierarchy SNAFU. Try with ONLY in tomcat/common/lib. --On Friday, October 07, 2005 12:04 PM +0200 Andrés Reyes <[EMAIL PROTECTED]> wrote: activation.jar and mail.jar are placed both in /common/lib, and in /WEB-INF/lib (and also in JAVA_HOME/lib) ¿Any

Re: Sending mail with JavaMail [255655:132155]

2005-10-07 Thread RTE - Meridian Club
n Rosenberg" <[EMAIL PROTECTED]> > Received: 10/7/2005 11:17 AM > To: "Tomcat Users List" > Subject: Re: Sending mail with JavaMail > > On 10/7/05, Andrés Reyes <[EMAIL PROTECTED]> wrote: > > activation.jar and mail.jar are placed both in /com

Re: Sending mail with JavaMail

2005-10-07 Thread Leon Rosenberg
On 10/7/05, Andrés Reyes <[EMAIL PROTECTED]> wrote: > activation.jar and mail.jar are placed both in /common/lib, and in > /WEB-INF/lib (and also in JAVA_HOME/lib) > > ¿Any other place? > ;) > > ¿Maybe the error be in activation.jar itself? ( I want to believe that > it isn't :( ). > Hmm... unlik

Re: Sending mail with JavaMail [255649:132143]

2005-10-07 Thread RTE - Meridian Club
ndrés Reyes" <[EMAIL PROTECTED]> > Received: 10/7/2005 11:03 AM > To: "Tomcat Users List" > Subject: Re: Sending mail with JavaMail > > activation.jar and mail.jar are placed both in /common/lib, and in > /WEB-INF/lib (and also in JAVA_HOME/lib) >

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
wrote: == Date: Fri, 07 Oct 2005 11:46:45 +0200 From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= <[EMAIL PROTECTED]> To: Tomcat Users List Subject: Re: Sending mail with JavaMail == I have them both in /tomcat4/common/lib and included in the CLASSPATH and the servlet doesn'

Re: Sending mail with JavaMail [255646:132140]

2005-10-07 Thread RTE - Meridian Club
ot;Giuseppe Briotti" <[EMAIL PROTECTED]> > Received: 10/7/2005 10:58 AM > To: "Tomcat Users List" > Subject: Re: Sending mail with JavaMail > > > == > > Date: Fri, 07 Oct 2005 11:46:45 +0200 > > From: =?ISO-8859-1?Q?Andr=E9s_Reye

Re: Sending mail with JavaMail

2005-10-07 Thread Giuseppe Briotti
> == > Date: Fri, 07 Oct 2005 11:46:45 +0200 > From: =?ISO-8859-1?Q?Andr=E9s_Reyes?= <[EMAIL PROTECTED]> > To: Tomcat Users List > Subject: Re: Sending mail with JavaMail > == > > I have them both in /tomcat4/

RE: apache virtual hosting + server.xml + context [255643:132138]

2005-10-07 Thread RTE - Meridian Club
Many thanks for your email. This is an automated response acknowledging receipt. Please be advised that Badge mailing commences beginning of October 2005. Should your message require a response we will respond shortly. Regards Meridian Club > -Original Message- > From: "gianni dalmasso

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
I have them both in /tomcat4/common/lib and included in the CLASSPATH and the servlet doesn't work (the same javax/activation/datasource exception in the line which MimeMessage is initialized). David Tonhofer, m-plify S.A. wrote: Confirmation: I have them in common/lib, too. If the mail.jar i

Re: Sending mail with JavaMail [255621:132113]

2005-10-07 Thread RTE - Meridian Club
id Tonhofer, m-plify S.A." <[EMAIL PROTECTED]> > Received: 10/7/2005 10:21 AM > To: "Tomcat Users List" > Subject: Re: Sending mail with JavaMail > > Confirmation: I have them in common/lib, too. If the mail.jar is in > common/lib, > then the jaf.jar must

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Confirmation: I have them in common/lib, too. If the mail.jar is in common/lib, then the jaf.jar must *also* be in common/lib. --On Friday, October 07, 2005 11:15 AM +0200 Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: Andrés Reyes wrote: Yes, activation.jar and mail.jar are placed both in /WE

Re: Sending mail with JavaMail [255611:132100]

2005-10-07 Thread RTE - Meridian Club
uot;Mikolaj Rydzewski" <[EMAIL PROTECTED]> > Received: 10/7/2005 10:14 AM > To: "Tomcat Users List" > Subject: Re: Sending mail with JavaMail > > Andrés Reyes wrote: > > > Yes, activation.jar and mail.jar are placed both in /WEB-INF/lib. >

Re: Sending mail with JavaMail

2005-10-07 Thread Mikolaj Rydzewski
Andrés Reyes wrote: Yes, activation.jar and mail.jar are placed both in /WEB-INF/lib. Try to put them in tomcat's common/lib. It works for me. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> Becomo S.A. tel. (12) 2927104 - To un

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
The doPost exception is in the line 63 of the servlet, which is: --- MimeMessage message = new MimeMessage(s); --- -- /*** * Andrés Reyes ( [EMAIL PROTECTED] ) * TCOR Desarrollos y Sistemas, S.L. * Teléfono: 957 76 42 48 * Fax : 957 76 42 49

Re: Sending mail with JavaMail

2005-10-07 Thread Andrés Reyes
David Tonhofer, m-plify S.A. wrote: Did you add the Java Activation Famework jar to your WEB-INF/lib? Check this out: Yes, activation.jar and mail.jar are placed both in /WEB-INF/lib. I forget to comment it. Sorry. -- /***

Re: Sending mail with JavaMail

2005-10-07 Thread David Tonhofer, m-plify S.A.
Did you add the Java Activation Famework jar to your WEB-INF/lib? Check this out: --On Friday, October 07, 2005 9:33 AM +0200 Andrés Reyes <[EMAIL PROTECTED]> wrote: Hi. I need to send an email using a servlet (Tomcat 4.1 / Debian 3

Re: precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-06 Thread ut9h-3pye
Jon, Thanks for your help. The uribase and uriroot were not set correctly. Here is the final version that I got working. I had one additional twist that I needed to copy the JSP files to another location first using the ant task. I set uriroot to the webapps root {dir}/html, and then jasper2 au

Re: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-06 Thread Mark Eggers
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I have jakarta-tomcat-5.5.9 installed and working > properly on the new > server. It is perfectly accessible from the legacy > web server. By perfectly accessible you mean . . . ? > The main page, home.jsp, loads fine in the servlet > if no

Re: Database connections aren't being released...

2005-10-06 Thread Darryl L. Miles
Richard Road Runner wrote: I am not sure that this is a Tomcat issue, but we are not sure what exactly is causing our problem. We are running Tomcat 5.0.27. We are using the most recent jconn2.jar driver to connect to a Sybase SQL Anywhere Studio 7 database via JDBC. Over a period of time,

Re: cannot setup JNDI with MySQL

2005-10-06 Thread Darryl L. Miles
-3.1.jar commons-dbcp-1.2.1.jar commons-pool-1.2.jar I am having problems with "naming-factory-dbcp.jar" I'm not sure which base version it is for a start and it does not seem to re-use the connections in the pool. Is it possible to override the version shipped with TC adding a

Re: Tracking Datasource Connection Usage?

2005-10-06 Thread Darryl L. Miles
ree connection. I am using a JNDI binding so the auth credentials should be working. I am still in development with the application. I too had to add extra flags in to get a stage connection pooler but believe there is something broken in DBCP that stops is re-using connections like it should

Re: RE: Database connections aren't being released...

2005-10-06 Thread Richard Road Runner
I've confirmed that we added the parameter removeAbandoned="true" to the Database resource in the server.xml about a year ago and it had no effect. None of us think that we are not closing connecitons properlly.

Re: Tracking Datasource Connection Usage?

2005-10-06 Thread Rob Hills
Hi, On 6 Oct 2005 at 15:09, JWM wrote: > I started getting exceptions saying no connections were available on my JDBC > datasource (org.gjt.mm.mysql.Driver). The pool was definitely large enough > to handle the load. So it appears that I'm not freeing the all the > connections as I should. I

Re: Mark certain contexts inactive?

2005-10-06 Thread Rob Hills
Hi Scott, On 6 Oct 2005 at 13:43, Scott Purcell wrote: > On my development machine, I have created quite a few "contexts" or webapp > instances, and due to that fact, the startup time is increasing. I do not > want to remove any of the contexts as they all mean something to me, but I > would l

Re: Embedded Tomcat and SSL?

2005-10-06 Thread Mark
are you using Apace with Tomcat? I have done embedded Tomcat and SSL, but it was Apache sitting in front of Tomcat. On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I am using an embedded tomcat instance within my application. I am > trying to set up a connector using SSL. When

RE: help on a publication

2005-10-06 Thread GB Developer
-Original Message- > From: Hugo Osorio [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 5:15 PM > To: Tomcat Users List > Subject: Re: help on a publication > > > I have this failure inside the log, when i am trying to see > the context in the navigato

Re: help on a publication

2005-10-06 Thread Hugo Osorio
I have this failure inside the log, when i am trying to see the context in the navigator.. i can solve this only fixing up the X Window ? I thought X Window had nothing to do with this could be another thing? thank you 2005-10-06 19:32:32 StandardContext[/alovmap]Context initialized 58 2005-1

RE: [OT] How much RAM can java use

2005-10-06 Thread Mark Benussi
This was probably one of the best threads I have 'listened' to in ages. I am researching setting up my own Tomcat hosting. This is going to be of use. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 20:48 To: Tomcat Users List Subject: Re

RE: Q:how to remove charset from HTTP responce to allow browser use a browser selected charset?

2005-10-06 Thread Rick
om HTTP responce to allow browser use a browser selected charset? Subject: Re: Q:how to remove charset from HTTP responce to allow browser use a browser selected charset? Hi Mark, In my case servlet generates an output, so no JSP for now... Can I do it using filters? Or define and store user'

RE: Tracking Datasource Connection Usage?

2005-10-06 Thread George Sexton
http://findbugs.sourceforge.net/ Will tell you where in your code you are not freeing resources. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: JWM [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 2:09 PM >

Re: [OT] How much RAM can java use

2005-10-06 Thread Leon Rosenberg
Chuck, Ryan, thanx, you were extremely helpful! regards Leon On 10/6/05, J. Ryan Earl <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: > > >Debian 3.1, kernel 2.6.x-smp (32 bit) > >or > >Debian 3.1, kernel 2.6.x-smp-emt64 (64 bit) > > > >Hardware: AMD Opteron and Xeon64 (both 64 bit) > > > >SU

Re: Q:how to remove charset from HTTP responce to allow browser use a browser selected charset?

2005-10-06 Thread Mark
Hi Mark, In my case servlet generates an output, so no JSP for now... Can I do it using filters? Or define and store user's prefs with encoding outside of tomcat and in the session and use if it's exists in the session? Thanks a lot! Mark. --- Mark Thomas <[EMAIL PROTECTED]> wrote: > Mark wrote

Re: Q:how to remove charset from HTTP responce to allow browser use a browser selected charset?

2005-10-06 Thread Mark Thomas
Mark wrote: Hello, In my application users enter data using different languages. The problem I'm facing is the browser sets the page encoding always to ISO-8859-1. (I guess this is default based on server OS) User can change encoding on the page (Browser settings) and everything looks OK but on

Re: exception in session handling

2005-10-06 Thread Mark Thomas
Ronald Klop wrote: Hello, Is it normal that the session is invalidated before the valueUnbound handlers are called? The spec is your friend. ...For sessions that are invalidated or expire, notifications are sent after the session has been invalidated or expired... Mark --

Re: Why Tomcat return me a OLD version of my doc.jar ?

2005-10-06 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Re: mysql connection with JSP

2005-10-06 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Re: how to disable jk2 and enable jk1 on Tomcat5 with Apache 1.3

2005-10-06 Thread Mark Thomas
alebu wrote: On Tomcat startup there is info message that indicates that tomcat starts using jk2. As I understand, that cames from that line in server.xml: How to disable jk2 and prevent tomcat to use jk1.2 ? The info messages shows it starting with JK on my machine. I think we will need to

Re: isapi_redirector2.dll question

2005-10-06 Thread Mark Thomas
John, JK2 is deprecated. Are you sure you want to use it? See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html for a list of connectors and current statuses for TC4. Mark John MccLain wrote: I have installed the IIS to Tomcat redirector on my windows XP pro machine and

Re: [OT] How much RAM can java use

2005-10-06 Thread J. Ryan Earl
Leon Rosenberg wrote: Debian 3.1, kernel 2.6.x-smp (32 bit) or Debian 3.1, kernel 2.6.x-smp-emt64 (64 bit) Hardware: AMD Opteron and Xeon64 (both 64 bit) SUN jdk1.5 and/or jdk1.4.2 4 GB total RAM for 32-bit linux, with 3/1 memory partitioning 16GB total RAM for 64-bit linux. I've tested 32

Re: custom session manager

2005-10-06 Thread Mark
There is one problem with this approach. Load balancing/clustering. If you have a HashMap in one tomcat JVM, how does that information get propogated to other JVM's possibly on other machines? Thank you by the way for all the inputs so far On 10/6/05, Leon Rosenberg <[EMAIL PROTECTED]> wrot

RE: [5.5.9] Excessive jk INFO log msgs "connection timeout reached"

2005-10-06 Thread Rick
ain, Rick -Original Message- From: Jean-Marc Marchand [mailto:[EMAIL PROTECTED] Posted At: Thursday, October 06, 2005 9:15 AM Posted To: Tomcat Dev Conversation: [5.5.9] Excessive jk INFO log msgs "connection timeout reached" Subject: RE: [5.5.9] Excessive jk INFO log msgs "connec

RE: [OT] How much RAM can java use

2005-10-06 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] How much RAM can java use > > > I've seen 64-bit Sparc systems with Java heaps sized at hundreds of > > megabytes... Oops, I meant hundreds of _gigabytes_ (just a slight miscalculation :-). With the

RE: [OT] How much RAM can java use

2005-10-06 Thread Dale, Matt
Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 17:16 To: Tomcat Users List Subject: Re: [OT] How much RAM can java use On 10/6/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > > Subject: [OT] How much RAM ca

Re: [OT] How much RAM can java use

2005-10-06 Thread Leon Rosenberg
On 10/6/05, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > > Subject: [OT] How much RAM can java use > > > > Does anyone know for sure how much RAM I can use with JAVA 1.4 or 1.5? > > The answer is very platform specific. For example, on a norm

RE: [5.5.9] Excessive jk INFO log msgs "connection timeout reached"

2005-10-06 Thread Jean-Marc Marchand
d I haven't had the log entry in Tomcat since I set the cache and timeouts in Apache. Hope it helps... Jean-Marc > -Original Message- > From: Rick [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 06, 2005 09:54 > To: 'Tomcat Users List'; [EMAIL PROTECTE

Re: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread John Martyniak
recycle_timeout", "socket_timeout", "cachesize", or "cache_timeout" set? -Rick -Original Message- From: John Martyniak [mailto:[EMAIL PROTECTED] Posted At: Thursday, October 06, 2005 8:43 AM Posted To: Tomcat Dev Conversation: Modjk and Tomcat 5.5.4 problem Subject:

RE: [OT] How much RAM can java use

2005-10-06 Thread Caldarale, Charles R
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: [OT] How much RAM can java use > > Does anyone know for sure how much RAM I can use with JAVA 1.4 or 1.5? The answer is very platform specific. For example, on a normal 32-bit Windows system, each process has a maximum of 2 GB to play

RE: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread Rick
timeout", "cachesize", or "cache_timeout" set? -Rick -Original Message- From: John Martyniak [mailto:[EMAIL PROTECTED] Posted At: Thursday, October 06, 2005 8:43 AM Posted To: Tomcat Dev Conversation: Modjk and Tomcat 5.5.4 problem Subject: Re: Modjk and Tomcat 5.5.4 pr

RE: [OT] How much RAM can java use

2005-10-06 Thread Dale, Matt
Hi, This will depend on which architecture of machine you are using. You will need both a 64 bit machine and a 64bit JVM to use that much memory. We use 12GB here with no problems on 64 bit solaris. Ta Matt -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: 06 Octo

Re: custom session manager

2005-10-06 Thread Leon Rosenberg
On 10/6/05, Tobias Meyer <[EMAIL PROTECTED]> wrote: > The problem is AFAIK, that you cannot access the list of all sessions > through the servlet-api. > That feature was in the servlet-api at some time, but was removed, IIRC due > to security issues. > > If you have a list of all sessions, you can

Re: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread John Martyniak
Rick, Thanks for the info. I will try it out. It is interesting when I look at the config for all of the other Connectors, they all have a connectionTimeout value. -John On Oct 5, 2005, at 7:24 PM, Rick wrote: We had an issue where it seemed like it would crash using mod_jk, the trouble

RE: Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-06 Thread Jose Maria Ramirez Martinez
Hi, thanks a lot for your comments about the files with the same name... they are not classes ok, let me explain... I'm using the javax.mail package, which is in a jar, called mailapi.jar, and in order to use this package we also need the JavaBeans activation framework, packed in a jar, called a

RE: Database connections aren't being released...

2005-10-06 Thread George Sexton
As many people have pointed out, your app is probably not closing resources. A tool that can help find these is: http://findbugs.sourceforge.net/ George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Richard Road Runner [mailto:[E

Re: Non-servlet class cannot access jar file in ./WEB-INF/lib whena Servlet does

2005-10-06 Thread Jose Maria Ramirez Martinez
Hi David, thank you very much for the time you took to answer this do you (or anybody in the mail-list) think there's a way to solve this problem? a solution is the one I've mentioned before: unpacking the jar classes and add them to the /WEB-INF/classes directory, and there is no problem when lo

RE: Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-06 Thread Sabitha
Jose, I have a similar servlet which initializes a singleton class to load the Tomcat resources for AXIS web service. The servlet is loaded at startup. This singleton class uses classes from a jar file located in WEB-INF/lib. MY servlet and singleton and other classes are in WEB-INF/classes. I

Re: custom session manager

2005-10-06 Thread Leon Rosenberg
:20 > > An: Tomcat Users List > > Betreff: Re: custom session manager > > > > > > On 10/6/05, Tobias Meyer <[EMAIL PROTECTED]> wrote: > > > > > > Or, cou could add a static hashmap to your Servlet (or a > > bean if using JSPs) > >

Re: Non-servlet class cannot access jar file in ./WEB-INF/lib when a Servlet does

2005-10-06 Thread David Delbecq
Hi, all classes of a webapp which do not come from tomcat server itself do share a common classloader which is an aggregation of the various classes in all WEB-INF/lib/*.jar and in WEB-INF/classes/**/*.class If you get a NoClassDefFoundException, that probably mean you asked some class in server

RE: Production Settings

2005-10-06 Thread Pitre, Russell
, October 06, 2005 9:24 AM To: 'Tomcat Users List' Subject: RE: Production Settings This is vague!! Recommended production settings for what exactly...? I would think it varies from application to application. -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent:

RE: [5.5.9] Excessive jk INFO log msgs "connection timeout reached"

2005-10-06 Thread Rick
To: Tomcat Dev Conversation: [5.5.9] Excessive jk INFO log msgs "connection timeout reached" Subject: RE: [5.5.9] Excessive jk INFO log msgs "connection timeout reached" I got rid of this message when I realized that my AJP connector's configuration (in server.xml) had a "

RE: Production Settings

2005-10-06 Thread Caldarale, Charles R
> From: Pitre, Russell [mailto:[EMAIL PROTECTED] > Subject: Production Settings > > Does anyone know where I can find documentation on recommended > production setting for Windows environment? If you follow the Resources link from the Tomcat home page, you'll see a section named Articles. The o

Re: Apache & Tomcat Virtual Host question

2005-10-06 Thread Aria Bamdad
Nikola, Thank you very much for you good comments. I agree that port based servers are not common. The reason we use them is for separating for example internal web sites and external public web sites. Using host name based virtual hosting, you have to give a different host name to each port.

RE: [5.5.9] Excessive jk INFO log msgs "connection timeout reached"

2005-10-06 Thread Jean-Marc Marchand
I got rid of this message when I realized that my AJP connector's configuration (in server.xml) had a "connectionTimeout" set. Try setting it bigger or simply removing it, which will default to 'no timeout'. Cheers, Jean-Marc > -Original Message- > From: Rick [mailto:[EMAIL PROTECTED]

Re: Apache & Tomcat Virtual Host question

2005-10-06 Thread Nikola Milutinovic
Aria Bamdad wrote: Hi, I asked this question yesterday and got no hints from anyone. Since then, I have been able to accomplish what I want using multiple instances of Tomcat. However, I would much rather use one instance and serve requests on different Apache port. Does anyone have ANY commen

Re: exception in session handling (extra info)

2005-10-06 Thread Ronald Klop
I'm testing 5.5.12 here on java 1.5 on linux 2.6. My SessionList is a list of session id's which I keep to count the sessions. Ronald. On Thu Oct 06 15:19:00 CEST 2005 Tomcat Users List wrote: Hello, Is it normal that the session is invalidated before the valueUnbound handlers are called?

RE: Production Settings

2005-10-06 Thread Arup Vidyerthy
This is vague!! Recommended production settings for what exactly...? I would think it varies from application to application. -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 14:21 To: tomcat-user@jakarta.apache.org Subject: Production Settings Doe

Re: Apache & Tomcat Virtual Host question

2005-10-06 Thread Aria Bamdad
Hi, I asked this question yesterday and got no hints from anyone. Since then, I have been able to accomplish what I want using multiple instances of Tomcat. However, I would much rather use one instance and serve requests on different Apache port. Does anyone have ANY comments regarding my issue

RE: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread Rick
Hi Marcus, >> idle connections running for hours and hours That was our problem as well, with those idle connections just sitting there, as I said, I wasn't sure if my solution was the correct one.. Just telling you, it seemed to work for us. I would say give it a try, the only issue we have, i

RE: mysql connection with JSP

2005-10-06 Thread Mark Benussi
jdbc:mysql://:3306/?user=&password= However on a design front I would never personally look up a database connection in a JSP. Others may disagree. -Original Message- From: Cengiz Yazgan [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 11:46 To: 'Tomcat Users List'; 'Tomcat Users List' Su

Re: SQL Server 2000: JDBC

2005-10-06 Thread Roberto Rios
Hi, Generally this error occurs when the connection between tomcat and the database is down, or the connection object is using a connection that is poor. For instance, if your tomcat is running, and for some reason, the database goes down and then restart, you will receive this error. So,

Re: precompiling JSPs -- how to resolve references normally resolved by apache?

2005-10-06 Thread Jon Wingfield
Unless you have a directory ${TOP}/web/html/jsp/jsp your uribase/uriroot probably aren't right. [EMAIL PROTECTED] wrote: Hi, I am trying to get our JSPs to be precompiled as part of our ant build process to catch all syntax errors at compile time. The problem I have run into is that we are us

Re: Context path changes in context.xml not working

2005-10-06 Thread David Kerber
I did a bunch of googling before posting my question, but never came across that post; thanks for listing it; it appears to be exactly what I need. Dave Caldarale, Charles R wrote: From: David Kerber <[EMAIL PROTECTED]> Subject: Re: Context path changes in context.xml not working

Re: [ANN] Tomcat sources moved to Subversion

2005-10-06 Thread Jim Jagielski
work in the new structure. Thanks, Yoav --- Henri Yandell <[EMAIL PROTECTED]> wrote: Date: Wed, 5 Oct 2005 21:17:10 -0400 From: Henri Yandell <[EMAIL PROTECTED]> To: Tomcat Developers List Subject: Re: CVS->SVN Schedule On 10/2/05, Mark Thomas <[EMAIL PROTECTED]> wrote: Ma

Re: cannot setup JNDI with MySQL

2005-10-06 Thread David Smith
Hmmm... I haven't read that tutorial in a while but if that's what it says, it's wrong. The and elements should be placed between and tags of your context xml file. That would make the resource only available to that one application as opposed to being available to all webapps in that Tomcat

Re: cannot setup JNDI with MySQL

2005-10-06 Thread John Cherouvim
Thanks for your answers. I can connect to MySQL using any mysql tool and even with telnet localhost 3306 from the command line. I even tried connecting to another mysql server running on another pc in my LAN but nothing. @andy: yes I have placed mysql-connector-java-3.1.10-bin.jar in common\

Re: Modjk and Tomcat 5.5.4 problem

2005-10-06 Thread Marcus Franke
On Wed, Oct 05, 2005 at 04:24:08PM -0700, Rick wrote: > We had an issue where it seemed like it would crash using mod_jk, the > trouble was the connections were not letting go. By default, I think the > timeout is infinite, so after setting the property: connectionTimeout, in > the server.xml's co

Re: cannot setup JNDI with MySQL

2005-10-06 Thread Andrés Glez .
The problem is not JDNI. The problem is you can't connect to MySQL. Probably it's you have to check your MySQL access permissions... Can you connect to MySQL using the same parameters with another tool like MySQL Control Center? - Original Message - From: "John Cherouvim" <[EMAIL PRO

Re: cannot setup JNDI with MySQL

2005-10-06 Thread Hassan Schroeder
John Cherouvim wrote: > I've been trying to setup a mysql connection pool using JNDI as shown in > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html > But no luck. > *What I get in tomcat\logs\stdout.log is: > NotifyUtil::java.net.ConnectException: Connection ref

Re: Problem with tomcat configuration

2005-10-06 Thread Marcus Franke
On Thu, Oct 06, 2005 at 12:14:58AM -0700, Mark Eggers wrote: > https is port 443. You need to to uncomment the HTTP > 1.1 connector for 8443 and change the port to 443. > > Uncomment the following connector in server.xml: > > > > > Change the port to 443. Read the documentation > concerning

Re: cannot setup JNDI with MySQL

2005-10-06 Thread andy gordon
One more thing and i may have missed it in your note: Did you say you placed mysql's jar file in the common\lib directory ? John Cherouvim <[EMAIL PROTECTED]> wrote:Hello I've been trying to setup a mysql connection pool using JNDI as shown in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jnd

Re: cannot setup JNDI with MySQL

2005-10-06 Thread andy gordon
John, Possibly the following will help as it is listed in the 5.5 JDBC DataSource html page in the User guide: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html "Please note that JNDI resource configuration has changed somewhat between Tomcat 5.0.x and Tom

Re: custom session manager

2005-10-06 Thread Leon Rosenberg
On 10/6/05, Tobias Meyer <[EMAIL PROTECTED]> wrote: > > Or, cou could add a static hashmap to your Servlet (or a bean if using JSPs) > where you simply add the sessions with every request. You would have to put > an attribute implementing javax.servlet.http.HttpSessionActivationListener > in each s

Re: Wish: add a header in mail subject

2005-10-06 Thread Jon Wingfield
If what you are after is a way to filter messages then use a good email client and filter on the message header "List-Id". For this list it is set to: List-Id: "Tomcat Users List" Seak, Teng-Fong wrote: It would be nice if this mailing-list could add a header to mails, something like [T

Re: Why is 5.5.12 alpha?

2005-10-06 Thread Markus Schönhaber
Am Donnerstag, 6. Oktober 2005 11:00 schrieb Ronald Klop: > I searched the mail archives for the voting of 5.5.12 alpha to see the > reason why it is marked as alpha but I couldn't find the mails. > > Can somebody tell me why it is alpha? It contains some bugfixes which might > help me in my clust

Re: sharing session information across tomcats on different machines

2005-10-06 Thread Peter Rossbach
Use session replication with Tomcat Clustering and mod_jk loadbalancing http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cluster-howto.html Peter Mark schrieb: Is there any possibility for tomcats on separate machines to share session information. I am looking into load balancing a few tomca

Re: Problem with tomcat configuration

2005-10-06 Thread Mark Eggers
https is port 443. You need to to uncomment the HTTP 1.1 connector for 8443 and change the port to 443. Uncomment the following connector in server.xml: Change the port to 443. Read the documentation concerning the attributes (especially the sslProtocol and clientAuth). /mde/ --- vineesh k

Re: Database connections aren't being released...

2005-10-05 Thread Nikola Milutinovic
Richard Road Runner wrote: I am not sure that this is a Tomcat issue, but we are not sure what exactly is causing our problem. We are running Tomcat 5.0.27. We are using the most recent jconn2.jar driver to connect to a Sybase SQL Anywhere Studio 7 database via JDBC. Over a period of time,

Re: custom session manager

2005-10-05 Thread Leon Rosenberg
On 10/6/05, Mark <[EMAIL PROTECTED]> wrote: > basically, I want to prevent users from logging in and creating a > second session if a valid session for that user already exists. > > For instance. > > 1. Log in to my web app, session is created > 2. browse around in my web app > 3. close browser, do

Re: Context path changes in context.xml not working

2005-10-05 Thread Caldarale, Charles R
> From: David Kerber <[EMAIL PROTECTED]> > Subject: Re: Context path changes in context.xml not working > Nobody has any suggestions about setting up a 2-level context path > *without* putting it in the server.xml (it works fine in there)? I thought I remembered something ab

Re: useBeans problem

2005-10-05 Thread Michael Pope
Ok i found two other installations of JDK on the machine. I'm going to make sure that the only JDK i have installed on here is JDK1.5.0_p2 Michael Caldarale, Charles R wrote: From: Michael Pope [mailto:[EMAIL PROTECTED] Subject: useBeans problem I'm new to JSP and still getting used to

RE: useBeans problem

2005-10-05 Thread Caldarale, Charles R
> From: Michael Pope [mailto:[EMAIL PROTECTED] > Subject: useBeans problem > > I'm new to JSP and still getting used to the environment. > I'm using FreeBSD5.4, Jakarta tomcat 5.5.9 with JDK 1.5.0_p2 > > When I try to use Beans it comes up with the error: > javax.servlet.ServletException: UserD

RE: Tomcat does not honor acceptCount configuration variable

2005-10-05 Thread Wei Zhao
Any tips on this issue? -Original Message- From: Wei Zhao [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 11:22 AM To: tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Subject: Tomcat does not honor acceptCount configuration variable Hi: I am resending this question since

RE: Database connections aren't being released...

2005-10-05 Thread Caldarale, Charles R
> From: Richard Road Runner [mailto:[EMAIL PROTECTED] > Subject: Database connections aren't being released... > > Over a period of time, the number of connections to the > database continues to increase far beyond the possible number > of users. This is usually a problem in the webapp, in tha

RE: custom session manager

2005-10-05 Thread Caldarale, Charles R
> From: Mark [mailto:[EMAIL PROTECTED] > Subject: Re: custom session manager > > basically, I want to prevent users from logging in and creating a > second session if a valid session for that user already exists. Why? Some strange security issue? Resource consumption? An a

Re: Context path changes in context.xml not working

2005-10-05 Thread Mark Eggers
Did you try it in: $CATALINA_HOME/conf///.xml? /mde/ --- David Kerber <[EMAIL PROTECTED]> wrote: > Nobody has any suggestions about setting up a > 2-level context path > *without* putting it in the server.xml (it works > fine in there)? > > Dave ___

<    1   2   3   4   5   6   7   8   9   10   >