Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread thomas2004
>I know, that you have seen a problem, the errno=11 thing. I need to know, whether *this* problem (errno=11, which is your original PDF generation problem) also happens, when no socket-timeout and no reply_timeout is set. Your reproduction attempt using a simple html snippet did *not* show a mod_

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-17 Thread Yagnesh Chawda
Hi, There is no difference in the outcome when I use "com.mysql.jdbc.Driver" max_connections=200 is still same in MySQL. I confirmed that MySQL is able to handle that much load by running JMeter load testing which causes my application to create even 95 connection if I set "maxActive" connec

java.lang.ClassNotFoundException: org.apache.catalina.realm.CombinedRealm

2009-11-17 Thread DJVege
Hi guys, I'm quite simply trying to create a combined realm that will hold 2 JNDI realms, but am receiving the error above. I thought the realms were native to tomcat? I shouldn't need any extra lib/jar files, should I? Anyone know why I might be getting this error? Even if I use the example fr

how can I get info when tomcat 5.5 exited abnormally

2009-11-17 Thread hu jingoal
-- Forwarded message -- From: hu jingoal Date: 2009/11/18 Subject: how can I get info when tomcat 5.5 exited abnormally To: users@tomcat.apache.org My environment is : apache + two tomcat 5.5. recently, tomcat exited abnomally without any info frequently. in catalina.sh, I had

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Imad Hachem
Dear Pid, After one Tomcat Cluster node shutdown, what kind of variables (that might come as null) I should rely on to know that my node has been stoped. Best Regards, Imad Hachem System Engineer > From: p...@pidster.com > Date: Wed, 18 Nov 2009 00:19:07 + > Subject: Re: MI

Re: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Pid Ster
On 18 Nov 2009, at 00:07, Imad Hachem wrote: > Dear Pid, > find below my explanation: > > 1. Manually set an attribute (e.g. MANUAL_STOP=1) in application scope > 2. Manually shutdown Tomcat instance. > 3. Tomcat expires all sessions > 4. Tomcat fires HttpSessionListener.sessionDestroyed for each

Re: silent / unattended install - tomcat 5.5

2009-11-17 Thread Pid Ster
I'd IMAGINE that you could download the zip version and examine the contents of service.bat. The rest is generic batch file commands, I think. p On 17 Nov 2009, at 23:31, "Beatty.Thomas" wrote: > Hi > > Can someone PLEASE tell me how to install tomcat 5.5 silently? I > need to install the serv

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Imad Hachem
Dear Pid, find below my explanation: 1. Manually set an attribute (e.g. MANUAL_STOP=1) in application scope 2. Manually shutdown Tomcat instance. 3. Tomcat expires all sessions 4. Tomcat fires HttpSessionListener.sessionDestroyed for each session 5. custom code checks for, and finds,

silent / unattended install - tomcat 5.5

2009-11-17 Thread Beatty.Thomas
Hi Can someone PLEASE tell me how to install tomcat 5.5 silently? I need to install the service, set the destination folder, set the Administrator user name and password, and set the path to the JVM. Does anyone know the parameters that I need to set at the command line in order to accomplish t

Re: http and/or ajp connectors

2009-11-17 Thread André Warnier
Jeffrey Trimble wrote: Recently, I used the cheap and easy http redirects from my apache server to my tomcat server. I ran into two issues, that I hope someone is able to guide me to a better solution First, I wanted to have the user not have to know about port 8080, and to have the root of

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yagnesh, On 11/17/2009 10:51 AM, Yagnesh Chawda wrote: > Thanks for reply. I had tried using "com.mysql.jdbc.Driver" as well > earlier. But no luck :( What does happen when you use com.mysql.jdbc.Driver? What are the current values for max_connect

Re: https and port numbers

2009-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 11/17/2009 11:59 AM, David Smith wrote: > Christopher Schultz wrote: >> David, >> >> On 11/17/2009 7:39 AM, David Smith wrote: >>> Your tomcat has to listen on 443 to remove the port number from the >>> URL. This is not a tomcat issue, but

Re: http and/or ajp connectors

2009-11-17 Thread Pid
On 17/11/2009 19:11, Neil Aggarwal wrote: Jeffrey: Recently, I used the cheap and easy http redirects from my apache server to my tomcat server. I ran into two issues, that I hope someone is able to guide me to a better solution I think you need to use mod_jk. That will allow you to use con

Re: Multiple war files for the same application context.

2009-11-17 Thread Ziggy
Lol that was just an example. There are thousands of jsps and servlets. With regards to the path, i am using struts and tiles so the directories are not really part of the path to the resource via the browser. That path will be configured in the tiles and struts configuration. I am trying this fo

Re: http and/or ajp connectors

2009-11-17 Thread Hassan Schroeder
On Tue, Nov 17, 2009 at 11:05 AM, Jeffrey Trimble wrote: > Recently, I used the cheap and easy http redirects from my apache server to > my tomcat > server.  I ran into two issues, that I hope someone is able to guide me to a > better solution > > First, I wanted to have the user not have to know

proxy host System.setProperty question

2009-11-17 Thread J- MAN
Hi, i'm sure this has been asked a hundred times, but i can't find the answer on google. I'm trying to make my servlet connect to an external webservice, but we have an http proxy at work. I was initially trying to put this code in my servlet method: System.setProperty("http.proxyH

RE: http and/or ajp connectors

2009-11-17 Thread Neil Aggarwal
Jeffrey: > Recently, I used the cheap and easy http redirects from my apache > server to my tomcat > server. I ran into two issues, that I hope someone is able to guide > me to a better solution I think you need to use mod_jk. That will allow you to use connections to port 80 and 443 for bo

http and/or ajp connectors

2009-11-17 Thread Jeffrey Trimble
Recently, I used the cheap and easy http redirects from my apache server to my tomcat server. I ran into two issues, that I hope someone is able to guide me to a better solution First, I wanted to have the user not have to know about port 8080, and to have the root of the apache redirect t

Re: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Ronald Klop
@P I didn't want to pollute my deployment process with this manual stuff. So I 'solved' it different for our setup. I do not log users out on sessionDestroy. I only record that they are logged out. Which is overwritten by later logout events. So in the end the data is pretty ok. Not very nice,

Re: Error starting the web server

2009-11-17 Thread John McCleskey
Sorry, Tomcat. On Tue, Nov 17, 2009 at 11:51 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: John McCleskey [mailto:jmccleske...@gmail.com] > > Subject: Re: Error starting the web server > > > > I was able to install a stand-alone Apache web server on > > my iSeries with j

RE: Error starting the web server

2009-11-17 Thread Caldarale, Charles R
> From: John McCleskey [mailto:jmccleske...@gmail.com] > Subject: Re: Error starting the web server > > I was able to install a stand-alone Apache web server on > my iSeries with java 1.5. The term "Apache web server" is rather ambiguous; did you mean httpd or Tomcat? - Chuck THIS COMMUNICAT

RE: Testing Tomcat with Virtual Hosts

2009-11-17 Thread Caldarale, Charles R
> From: Marty Pitt NZ [mailto:martyp...@me.com] > Subject: Testing Tomcat with Virtual Hosts > I've edited my hosts file to look as follows: > 127.0.0.1 localhost > ::1 localhost > 127.0.0.1 test1.localhost > localhost test2.localhost The last line is a little odd; w

Re: Servlet MessageBrokerServlet is not available on Ubuntu AMD64

2009-11-17 Thread R. S. Patil
Thanks > > Something wrong in your blazeds config I'd guess.  I'd ask those folks for > help, if I were you. > I did the same but there was no response. So I thought that there might be some problem regarding Tomcat Win and Tomcat Lin (Ubuntu Specific). I too can logically say that when a war file

Re: Error starting the web server

2009-11-17 Thread John McCleskey
Thanks to everyone who helped with the deployment of this project. I was able to install a stand-alone Apache web server on my iSeries with java 1.5. It was not as straight-forward as I would have liked, due mainly to the poor iSeries "how-to" documentation and my ignorance, but it is running. - Jo

Re: centralized log server

2009-11-17 Thread Pid
On 17/11/2009 16:28, Kaushal Shriyan wrote: On Tue, Nov 17, 2009 at 8:53 PM, Caldarale, Charles R wrote: From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] Subject: centralized log server is there a centralized application to access all the tomcat server catalina.logs Your question is

Re: https and port numbers

2009-11-17 Thread David Smith
Christopher Schultz wrote: > David, > > On 11/17/2009 7:39 AM, David Smith wrote: > > Your tomcat has to listen on 443 to remove the port number from the > > URL. This is not a tomcat issue, but rather the browser's expectation. > > That's not entirely true. If Robert configures his firewall to re

RE: centralized log server

2009-11-17 Thread Caldarale, Charles R
> From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] > Subject: Re: centralized log server > > I got to see tcat server from > http://www.mulesoft.com/tcat-server-enterprise-tomcat-application-server > which says about centralized logging system and also additional > features. Sorry, I can't

Re: centralized log server

2009-11-17 Thread Kaushal Shriyan
On Tue, Nov 17, 2009 at 8:53 PM, Caldarale, Charles R wrote: >> From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] >> Subject: centralized log server >> >> is there a centralized application to access all the tomcat server >> catalina.logs > > Your question is badly phrased, as Pid keeps tryi

Re: synchronizing in tomcat

2009-11-17 Thread Pid
On 17/11/2009 15:43, David Balažic wrote: Hi! Does tomcat offer any mechanism for locking servlet executions? So if one servlet does: - get 10 EUR from account 1 (read account 1 balance; substract 10; store new balance) - add 10 EUR to account 2 (...) How can I make sure no other servlet d

Re: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Pid
On 17/11/2009 16:11, Imad Hachem wrote: Dear Pid, I am expecting them to come as null to know that the Tomcat Node (or context) has been shutdown. That makes no sense. These are the logical steps. 1. Manually set an attribute (e.g. MANUAL_STOP=1) in application scope 2. Manually shutdown T

RE: synchronizing in tomcat

2009-11-17 Thread Joseph Morgan
I completely agree with Chuck, and completely disagree with Neil. Never rely upon static state in servlet classes unless you have complete control over class loading, which you shouldn't, otherwise you'd write your own servlet container. As Chuck says, it is not a Tomcat issue, but one for the

Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread Rainer Jung
Hello Thomas, On 17.11.2009 11:05, thomas2004 wrote: > >> I think the reproduction with html is not working because of some other > reasons likely not related with mod_jk. In the original message he has a > jk error message referring to errno 11=EAGAIN. There is a change between > 1.2.26 and 1.2.

RE: synchronizing in tomcat

2009-11-17 Thread Caldarale, Charles R
> From: Neil Aggarwal [mailto:n...@jammconsulting.com] > Subject: RE: synchronizing in tomcat > > At first thought, I would create a class > with synchronized static methods to do each of your > processing tasks. That way, you are guaranteed > only one method is executing at a time. That's proba

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Imad Hachem
Dear Pid, I am expecting them to come as null to know that the Tomcat Node (or context) has been shutdown. Best Regards, Imad Hachem System Engineer > Date: Tue, 17 Nov 2009 16:08:37 + > From: p...@pidster.com > To: users@tomcat.apache.org > CC: ihac...@lb.path-solutions.com

Re: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Pid
On 17/11/2009 15:57, Imad Hachem wrote: Dear Pid, I have tried to set application context variables, but it didn't worked, since I m expecting to get these variables as null values after node shutdown, but in fact they are coming as not null. If you set them as "not null" and they are "not

Re: Loading customized StandardContext subclass

2009-11-17 Thread Konstantin Kolinko
2009/11/17 Joel SCHAAL : > > Since we want to have more than one of our application in the same server, I > put our jars in ${catalina.home}/lib/ instead of WEB-INF/lib and I added the > reference of every sub-folder in ${catalina.home}/lib/ to the server.loader Tomcat version = ? Try with common

Re: Why Tomcat on startup should navigate to some jsp?

2009-11-17 Thread Mark Thomas
gamby wrote: > Unfortunately the stacktrace is not useful for you because exceptions are > thrown because of some bean missing, but it is absolutely normal in my > opinion, no one filter has yet started during this phase of startup. > > Tomcat tries to load the 404, but I have redefined it, includ

RE: synchronizing in tomcat

2009-11-17 Thread Neil Aggarwal
> Does tomcat offer any mechanism for locking servlet executions? I think you are going to have to take care of this in your application code. At first thought, I would create a class with synchronized static methods to do each of your processing tasks. That way, you are guaranteed only one met

Re: synchronizing in tomcat

2009-11-17 Thread Leon Rosenberg
How would you do it in a non-servlet environment? Exactly the same works here too. regards Leon On Tue, Nov 17, 2009 at 4:43 PM, David Balažic wrote: > Hi! > > Does tomcat offer any mechanism for locking servlet executions? > > So if one servlet does: >  - get 10 EUR from account 1 (read accoun

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Imad Hachem
Dear Pid, I have tried to set application context variables, but it didn't worked, since I m expecting to get these variables as null values after node shutdown, but in fact they are coming as not null. Best Regards, Imad Hachem System Engineer > Date: Tue, 17 Nov 2009 15:38:22

RE: centralized log server

2009-11-17 Thread Matthew Chambers
This application might help. Doesn't matter what versions you have. Takes a bit to get setup though. http://www.splunk.com/ From: Caldarale, Charles R [chuck.caldar...@unisys.com] Sent: Tuesday, November 17, 2009 7:23 AM To: Tomcat Users List Subject: R

Classloading problem in jasper when using JSF with OSGi

2009-11-17 Thread Thierry Templier
Hello, I'm trying to use JSF RI within an OSGi environment (Equinox) which embeds Tomcat 5.5. The latter is started using facilities of Spring DM. I provision the container with necessary OSGi bundles for JSF RI 1.2.08 (bundles from SpringSource repository) and create a Web bundle containing a

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-17 Thread Yagnesh Chawda
Hi Chris, Thanks for reply. I had tried using "com.mysql.jdbc.Driver" as well earlier. But no luck :( Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Yagnesh, > > On 11/17/2009 12:32 AM, Yagnesh Chawda wrote: >> Thanks Chris, That was just a typo. Than

Re: jdbc-pool ignoring minIdle ?

2009-11-17 Thread Filip Hanik - Dev Lists
hi Xavier, if you don't configure a maxAge, then you will get the behavior the way you expected it. However, the maxAge has a very unique functionality, and that is to close a DB session regardless of usage after a certain amount of time. You see, if your test case had five or more threads, you'd

RE: Multiple war files for the same application context.

2009-11-17 Thread Caldarale, Charles R
> From: Ziggy [mailto:zigg...@gmail.com] > Subject: Re: Multiple war files for the same application context. > > That is interesting. Is the # supposed to be part of the filename? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Automatic%20Application%20Deployment - Chuck

synchronizing in tomcat

2009-11-17 Thread David Balažic
Hi! Does tomcat offer any mechanism for locking servlet executions? So if one servlet does: - get 10 EUR from account 1 (read account 1 balance; substract 10; store new balance) - add 10 EUR to account 2 (...) How can I make sure no other servlet does (read account 1 balance; sustract 10; stor

RE: Apache Tomcat 5.5.27 on a load balanced environment

2009-11-17 Thread Caldarale, Charles R
> From: Yashesh Bhatia [mailto:yashe...@venuslabs.co.in] > Subject: Apache Tomcat 5.5.27 on a load balanced environment > > We wanted to remove the localhost completely and have it only accessed > with solr.company1.com Why? What do you think that achieves? If you have only one entry in your T

Re: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Pid
On 17/11/2009 14:40, Ronald Klop wrote: Hi Imad, > Ronald. (The Ronald of the link mentioned by Pid.) Did the code supplied therein, work for you Ronald? @Imad The Servlet Spec (and therefore Tomcat) doesn't differentiate between causes of session expiry. The code requires you to set a

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Ronald Klop
Hi Imad, You can do everything you like, but it will all be dirty. 1. Set a global variable in your webapp before shutdown of a node. To see If it is a planned shutdown or not. 2. Keep references about the nr. of clusternodes yourself. Can be done quite cleanly with JMX. 3. Do not really logout

Loading customized StandardContext subclass

2009-11-17 Thread Joel SCHAAL
Hello all, First, thank you for releasing Tomcat as free software, it is some really nice and valuable software. At our company we developped an application server under java, and we used to have tomcat included as third-party library. Now we would like to only have a dependency on Tomcat. Thu

Re: Deployment specific configuration - best practice

2009-11-17 Thread Rainer Frey
On Tuesday 17 November 2009 16:04:48 Mark Thomas wrote: > Rainer Frey (Inxmail GmbH) wrote: > > On Tuesday 17 November 2009 01:15:52 Mark Thomas wrote: > >> Rainer Frey wrote: > > Thanks for the info, will do that. The actual problem is described in > > Message-Id: <200911161424.38011.rainer.f...@i

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-17 Thread Rainer Frey
On Monday 16 November 2009 14:24:37 Rainer Frey wrote: > Hi, > > I found a problem when using DriverManager.getConnection() with a build > from current 6.0 SVN [...] As requested, added a bugzilla entry: https://issues.apache.org/bugzilla/show_bug.cgi?id=48214 Rainer --

Re: https and port numbers

2009-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 11/17/2009 7:39 AM, David Smith wrote: > Your tomcat has to listen on 443 to remove the port number from the > URL. This is not a tomcat issue, but rather the browser's expectation. That's not entirely true. If Robert configures his firewa

Re: Why Tomcat on startup should navigate to some jsp?

2009-11-17 Thread gamby
Unfortunately the stacktrace is not useful for you because exceptions are thrown because of some bean missing, but it is absolutely normal in my opinion, no one filter has yet started during this phase of startup. Tomcat tries to load the 404, but I have redefined it, including in it a header and

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Imad Hachem
Hi Ronald, Thanks for your reply. So, what 's the solution in my Case? I need to differentiate between Tomat Cluster node shutdown and session.invalidate and session Timout? Is that Possible as configuration or Programming ? Best Regards, Imad Hachem System Engineer

RE: centralized log server

2009-11-17 Thread Caldarale, Charles R
> From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] > Subject: centralized log server > > is there a centralized application to access all the tomcat server > catalina.logs Your question is badly phrased, as Pid keeps trying to point out. If all you want is to be able to look at the log fi

Re: Tomcat DBCP Connection Pooling to MySQL limited number of connection issue in Spring2.5 + Hibernate3 + commons-DBCP1.2

2009-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yagnesh, On 11/17/2009 12:32 AM, Yagnesh Chawda wrote: > Thanks Chris, That was just a typo. Thanks for pointing it out. But in real > configuration was was not commented. It was some other config which I was > trying and forgot to uncomment it in po

Re: authenticate LDAP across domains

2009-11-17 Thread Pid
On 17/11/2009 14:25, nabbleQuestioner wrote: I am trying to use tomcat to authenticate using LDAP and configured the server.xml with no problems... the problem is that the request is not able to get to the Active directory because I am sending the request from a client that sits on domain A and

Re: Why Tomcat on startup should navigate to some jsp?

2009-11-17 Thread Mark Thomas
gamby wrote: > Hi all, > > In my web app I've noticed that on Tomcat startup, "someone" tries to > navigate to some unidentified jsp and not finding that, tries to navigate to > 404 error page. > > And so, there is a page forwarding during Tomcat startup that I'm not able > to understand, even if

Re: Tomcat shudown does not kill java process

2009-11-17 Thread Mark Thomas
raj kumar wrote: > Hi , Please find my thread dump...and suggest me what;'s causing the issue. > > > "Thread-41" prio=5 tid=0x00319a68 nid=0x33 in Object.wait() > [0xd4181000..0xd41819c8] & > "Thread-40" prio=5 tid=0x0065c8c0 nid=0x32 in Object.wait() > [0xd4281000..0xd42819c8] and any thread

Re: Deployment specific configuration - best practice

2009-11-17 Thread Mark Thomas
Rainer Frey (Inxmail GmbH) wrote: > On Tuesday 17 November 2009 01:15:52 Mark Thomas wrote: >> Rainer Frey wrote: >>> * settings in /META-INF/context.xml >> This one please. >> >> Tomcat will extract it on first deployment. OK that will fail but we can >> then edit the extracted version and Tomcat

RE: Cannot Start Apache Tomcat 6 service

2009-11-17 Thread Caldarale, Charles R
> From: Ron Halford [mailto:rhalf...@crnm.mb.ca] > Subject: Cannot Start Apache Tomcat 6 service > > Checked Tomcat log: Jakarta_service_20091116 and noted the following - > [174 javajni.c] [error] %1 is not a valid win32 application > [994 prunsrv.c] [error] failed creating java c:\program > file

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Ronald Klop
Hi Imad, I think also that Tomcat should only invalidate the Session on shutdown if it is the last node in the cluster. But the developers of Tomcat think of it as invalidating the Session object (as in java Object) and you and me see it as invalidating the session of the user. Ronald. (The Ro

Why Tomcat on startup should navigate to some jsp?

2009-11-17 Thread gamby
Hi all, In my web app I've noticed that on Tomcat startup, "someone" tries to navigate to some unidentified jsp and not finding that, tries to navigate to 404 error page. And so, there is a page forwarding during Tomcat startup that I'm not able to understand, even if enable all tomcat logs. Th

authenticate LDAP across domains

2009-11-17 Thread nabbleQuestioner
I am trying to use tomcat to authenticate using LDAP and configured the server.xml with no problems... the problem is that the request is not able to get to the Active directory because I am sending the request from a client that sits on domain A and the LDAP server sits on domain B. Is there any

Apache Tomcat 5.5.27 on a load balanced environment

2009-11-17 Thread Yashesh Bhatia
Hello Group: I was trying to configure Apache Solr using the Tomcat Servlet container in a load balanced environment. Here's the setup Load Balancer | --- |

Re: https and port numbers

2009-11-17 Thread Robert Denison
That's exactly what I was hoping for, thanks David (and others who have posted), you're a gent. I thought it might be something like that but I couldn't find any conclusive evidence about handling secure ports... R. On 17 Nov 2009, at 12:39, David Smith wrote: > Your tomcat has to listen on

RE: https and port numbers

2009-11-17 Thread Neil Aggarwal
> It works fine but as it stands https requests have the form > https://mydomain.com:8443. I would like to set it up so like > most secure internet sites there is no port number in the URL > even when using https. Can anyone point me in the right > direction or at some documentation that will h

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Imad Hachem
Dear Pid, I am running a Logout Process at each sessionDestroy. After applying the Cluster configuration, I don't want to Logout my Users (or run this Logout Process) after any Tomcat Cluster node shutdown, since the Session has been replicated to the other Node Cluster. Best Rega

Re: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Pid Ster
On 17 Nov 2009, at 12:11, Imad Hachem wrote: > > Dear Pid, > > > > I have tried that code and didn't helped, note that my context & > session variables are not coming as null in order to rely on to be > able to differenciate between Tomcat Node shutdown & > session.invalidate(). I'm sorry but I

Re: https and port numbers

2009-11-17 Thread Tobias Crefeld
Am Tue, 17 Nov 2009 09:40:46 + schrieb Robert Denison : > I've set up my tomcat server to serve http requests on port 8080 and > https on port 8443. My firewall forwards requests for 80 to 8080 and > 8443 to 8443. Tomcat cannot help you in this case. You will have to make your firewall for

RE: "Tomcat 6.0 requires JRE 5.0" issue

2009-11-17 Thread Elizabeth Gorkic
Thank you! > Date: Mon, 16 Nov 2009 19:28:52 -0500 > From: ma...@apache.org > To: users@tomcat.apache.org > Subject: Re: "Tomcat 6.0 requires JRE 5.0" issue > > Caldarale, Charles R wrote: > >> From: Elizabeth Gorkic [mailto:egor...@hotmail.com] > >> Subject: "Tomcat 6.0 requires JRE 5.0" issue

Re: https and port numbers

2009-11-17 Thread David Smith
Your tomcat has to listen on 443 to remove the port number from the URL. This is not a tomcat issue, but rather the browser's expectation. -- David On Nov 17, 2009, at 4:40 AM, Robert Denison wrote: Hi, I've set up my tomcat server to serve http requests on port 8080 and https on port

Re: Cannot Start Apache Tomcat 6 service

2009-11-17 Thread Konstantin Kolinko
2009/11/17 Ron Halford : > Running Windows 7  - 64 bit o/s > > > [174 javajni.c] [error] %1 is not a valid win32 application > > [994 prunsrv.c] [error] failed creating java c:\program > files\\java\jre6\bin\server\jmv.dll > I think it should be "jvm", not jmv

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Imad Hachem
Dear Pid, I have tried that code and didn't helped, note that my context & session variables are not coming as null in order to rely on to be able to differenciate between Tomcat Node shutdown & session.invalidate(). Best Regards, Imad Hachem System Engineer > Date: Tue, 17

Re: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Pid
On 17/11/2009 11:31, Imad Hachem wrote: Dear Pid, Thanks for your reply. > But can you specify exactly which Servlets API method to use? The link I sent had some code in it, did you read it? Note that Tomat-5.5.12 is deployed on Production environment and we are not facing major issues.

RE: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Imad Hachem
Dear Pid, Thanks for your reply. But can you specify exactly which Servlets API method to use? Note that Tomat-5.5.12 is deployed on Production environment and we are not facing major issues. I will appreciate if you can adivse to which Tomcat Stable version we should Migrate tak

Re: Servlet MessageBrokerServlet is not available on Ubuntu AMD64

2009-11-17 Thread Pid
On 17/11/2009 10:40, R. S. Patil wrote: Hello, Production Config. OS - Kubuntu 9.10 AMD64 (Dell Vostro 1710 Laptop, 4 GB, 250GB -> XP Dual Booting) Java - Java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02

Re: centralized log server

2009-11-17 Thread Pid
On 17/11/2009 10:36, Kaushal Shriyan wrote: On Tue, Nov 17, 2009 at 3:52 PM, Pid wrote: On 17/11/2009 07:51, Kaushal Shriyan wrote: Hi, is there a centralized application to access all the tomcat server catalina.logs All of them on the internet? I googled for it. but could not locate any

RE: Tomcat shudown does not kill java process

2009-11-17 Thread Gerhardus.Geldenhuis
Hi Probably not your problem but worth mentioning. If you options like: JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=5001 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false " that is CATALINA specific you should change it to CATALINA_OPTS="-

Re: Tomcat shudown does not kill java process

2009-11-17 Thread raj kumar
Hi , Please find my thread dump...and suggest me what;'s causing the issue. "Thread-41" prio=5 tid=0x00319a68 nid=0x33 in Object.wait() [0xd4181000..0xd41819c8] at java.lang.Object.wait(Native Method) - waiting on <0xd941bdd8> (a BlockingQueue) at java.lang.Object.wait(Obj

Testing Tomcat with Virtual Hosts

2009-11-17 Thread Marty Pitt NZ
'm trying to test Tomcat virtual hosts on my dev machine (windows 7/Tomcat 6). I'd like to have requests for localhost, test1.localhost and test2.localhost all route through to the same tomcat instance. I've edited my hosts file to look as follows: 127.0.0.1 localhost ::1 loca

Re: jdbc-pool ignoring minIdle ?

2009-11-17 Thread Xavier Poinsard
Hi Filip, Thanks for this precision. Based on the description on the minIdle parameter, I was thinking the validation query failure was the only case where the pool can have less connections than minIdle. Maybe you could add a note about this or change the behaviour. Best regards, Xavier. Fi

Servlet MessageBrokerServlet is not available on Ubuntu AMD64

2009-11-17 Thread R. S. Patil
Hello, Production Config. OS - Kubuntu 9.10 AMD64 (Dell Vostro 1710 Laptop, 4 GB, 250GB -> XP Dual Booting) Java -    Java version "1.6.0_15"    Java(TM) SE Runtime Environment (build 1.6.0_15-b03)    Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode) Tomcat - Tomcat 6.0.20-2ubuntu2

Re: centralized log server

2009-11-17 Thread Kaushal Shriyan
On Tue, Nov 17, 2009 at 3:52 PM, Pid wrote: > On 17/11/2009 07:51, Kaushal Shriyan wrote: >> >> Hi, >> >> is there a centralized application to access all the tomcat server >> catalina.logs > > All of them on the internet? I googled for it. but could not locate any one. Thanks, Kaushal ---

Re: Some advice on apache tomcat

2009-11-17 Thread Anthony Jay
Yep, I had come accross mod_auth_cookie, but its current status is questionable and people seem to have moved on to other things. I am just trying to find out what those "other things" are! Best practises etc. It would be nice to conduct a poll to find out what people are actually using. I am acce

Re: Tomcat shudown does not kill java process

2009-11-17 Thread raj kumar
After shutting down the tomcat server, java process remains running till i explicitly kill it. By the way how to take thread dump. Please help me with the command Thanks, Raj On Tue, Nov 17, 2009 at 3:57 PM, Pid wrote: > On 17/11/2009 10:01, raj kumar wrote: > >> Hi friends, >> >> I am currentl

Re: Tomcat shudown does not kill java process

2009-11-17 Thread Pid
On 17/11/2009 10:01, raj kumar wrote: Hi friends, I am currently using Tomcat( jakarta-tomcat-5.0.28). When i shutdown the tomcat server from my unix platform using ./shutdown.sh the java process is not getting closed.I need to close the process explicitly. Please help me in this regard. It do

Re: centralized log server

2009-11-17 Thread Pid
On 17/11/2009 07:51, Kaushal Shriyan wrote: Hi, is there a centralized application to access all the tomcat server catalina.logs All of them on the internet? p Thanks, Kaushal - To unsubscribe, e-mail: users-unsubscr...

Re: Java Out of Heap Issue

2009-11-17 Thread Pid
On 16/11/2009 23:54, Elli Albek wrote: You can try getting an object dump from a profiler and see which objects are the source of memory starvation. Simple JSPs are very unlikely to cause memory starvation, but you mentioned “application code”, which implies that you have more than simple JSPs.

Re: MISC; Tomcat-5.5.12; After one Tomcat Cluster node shutdown, sessionDestroyed been called before contextDestroyed

2009-11-17 Thread Pid
On 17/11/2009 04:14, Imad Hachem wrote: Dear all, I am using Tomcat-5.5.12 as Clustering nodes, and after one node shutdown sessionDestroyed is called before contextDestroyed. Are you still using 5.5.12? Hasn't anyone advised you to upgrade to a newer version yet? I think it's perfectly r

Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread thomas2004
>I think the reproduction with html is not working because of some other reasons likely not related with mod_jk. In the original message he has a jk error message referring to errno 11=EAGAIN. There is a change between 1.2.26 and 1.2.28 related to how EAGAIN gets handled while waiting for data. So

Re: Some advice on apache tomcat

2009-11-17 Thread Pid
On 16/11/2009 22:07, André Warnier wrote: Anthony Jay wrote: My main issue now is about how the authentication works between Tomcat and Apache. That's the only one I can readily answer. It is extremely simple with mod_jk. If the user is authenticated at the Apache level, mod_jk will pass this

Tomcat shudown does not kill java process

2009-11-17 Thread raj kumar
Hi friends, I am currently using Tomcat( jakarta-tomcat-5.0.28). When i shutdown the tomcat server from my unix platform using ./shutdown.sh the java process is not getting closed.I need to close the process explicitly. Please help me in this regard. Thanks, Phani.

Re: Apache Tomcat Connector (AJP13) is corrupting html content

2009-11-17 Thread Rainer Jung
On 17.11.2009 02:33, ndunn1979 wrote: > > > Rainer Jung-3 wrote: >> >> >> BTW: Do you use the tomcat native connector? If so, try whether the >> problem comes from tcnative. >> >> > > So, I tried increasing the log level on the Tomcat side, but it was a stab > in the dark because I'm not very fa

Re: A question about mod_jk 1.2.28 configuration

2009-11-17 Thread thomas2004
Sorry for the late reply. I was not in office yesterday. >Are you saying that the web browser does not show anything? I'd be interested in seeing what the browser is receiving, because that HTML is pretty ugly (i.e. not well-formed). What I mean is: The browser is waiting for the returned page w

https and port numbers

2009-11-17 Thread Robert Denison
Hi, I've set up my tomcat server to serve http requests on port 8080 and https on port 8443. My firewall forwards requests for 80 to 8080 and 8443 to 8443. It works fine but as it stands https requests have the form https://mydomain.com:8443. I would like to set it up so like most secure inte

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-17 Thread Rainer Frey
On Monday 16 November 2009 14:24:37 Rainer Frey wrote: > Hi, > The error originally occured in a much more complicated application with a > home-grown DB connection pool, but the servlet I mentioned above exhibits > this behavior. For anyone willing to test: here is a .war file with this > servle

Re: Deployment specific configuration - best practice

2009-11-17 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 17 November 2009 01:15:52 Mark Thomas wrote: > Rainer Frey wrote: > > * settings in /META-INF/context.xml > > This one please. > > Tomcat will extract it on first deployment. OK that will fail but we can > then edit the extracted version and Tomcat will use that from then on. Thanks fo