Directed Load Balancing with Sticky Sessions

2009-04-20 Thread Mike Duffy
I've read through the load balancing info in the docs: Using Apache HTTP Server 2.x with mod_proxy What I would like to do is have users sign in on one server and then, based on geographic characteristics, redirect them to another server. If I simply use the method sendRedirect(String locatio

Deploying to Tomcat Server

2009-04-20 Thread Richard Coutinho
Hello: I am using Netbeans 6.5 IDE to deploy to Tomcat 4.1 server. This Tomcat server cannot be registered with the Netbeans tool as it is an older version of Tomcat. I follow the instructions and try to start the Tomcat server from the IDE [see syntax below]. If I run it from the IDE or simply r

Apache / Tomcat Load Balanced mode

2009-04-20 Thread Karthik Nanjangude
Hi Would the same work with Apache / Tomcat Load Balanced mode Configuration for single installation of the web application "acme" "www.acme.com" being exposed to INTERNET "www.acme.com/admin"being exposed to INTRANET Reason : The application uses a single DB to request of o

Re: Tomcat is idle when Oracle crashed

2009-04-20 Thread shak.shaik
Thanks Dave, We are using JDBC thin driver. I think there is work around in tomcat called "ValidationQuery" to make sure connection is not dead (which might cause the idle stage of tomcat as per various discussion forums) which needs to configure in context.xml( in tomcat/conf folder). But I wa

Re: Tomcat is idle when Oracle crashed

2009-04-20 Thread David Fisher
I've been investigating Oracle configuration myself - this page was helpful to me for Oracle 10g - http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/readme_10201.html It contains a reference to the following bug - BUG-3209390 JDBC OCI Driver's TAF functionality will not wor

Re: what can Tomcat be doing that a profiler can't see?

2009-04-20 Thread dukehoops
The network's nominal bandwith is 1GB (gigabit with a "G"). Even @ 30% util, that's 300mbit/sec. In your calc bandwith required is ~98mbit -or 1/3 of practical available. Not sure why you asserted that the bandwith is 1mbps. btw, windows says "network utilization" is < 2% during said test. FWIW,

Re: what can Tomcat be doing that a profiler can't see?

2009-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 4/16/2009 3:09 PM, dukehoops wrote: > In brief: > I am load-testing an app running on Tomcat 6 NIO and am observing a big > discrepancy between avg request latency as reported by JMeter (660ms) and > the profiler (19ms). I would like to und

Tomcat is idle when Oracle crashed

2009-04-20 Thread shak.shaik
We've production environment as follows. We have two web servers with load balancing capability. We've two Oracle DB servers and we are using Virtual IP to connect to one of the db servers. our web server is tomcat 6.0 Our application should up and running even there is no DB connectivity and i

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liraz, On 4/20/2009 4:25 PM, Liraz Siri wrote: > Christopher Schultz wrote: >> I would argue that "A" is best achieved by a hardware load balancer >> rather than Apache httpd, "B" is actually /not/ achieved by the addition >> of Apache httpd (more com

Re: 15 second for redeployment is to much

2009-04-20 Thread János Löbb
3. 5-7 seconds waiting while Tomcat finds that my webapp deployed files are changed If You run quartz it can look in a shorter time if Your webapp deployed or not. - To unsubscribe, e-mail: users-unsubscr...@tomcat.ap

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Liraz Siri
Christopher Schultz wrote: > I would argue that "A" is best achieved by a hardware load balancer > rather than Apache httpd, "B" is actually /not/ achieved by the addition > of Apache httpd (more components means more complexity which means > higher maintenance costs), and "C" is served perfectly b

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Liraz, On 4/20/2009 4:17 AM, Liraz Siri wrote: > You're right Chris, you don't _need_ Apache, and therefore mod_jk to run > Tomcat. Tomcat can listen (and does by default, though we turned it off > for security reasons) and answer requests directly. >

RE: catalina errors

2009-04-20 Thread Walter Thompson
Nope, that had little to do with the problem. I did figure out what was causing the problems. 1) There were two libraries that I needed to put in the widows\system32 directory that eliminated most of the INFO: messages. 2) The other was that I didn't need the root directory because nothing

Re: 15 second for redeployment is to much

2009-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/19/2009 2:57 PM, André Warnier wrote: > There must exist a more efficient mechanism for [redeploying webapps in > Tomcat]. > One should probably check how the Tomcat Manager deploys an application > on-demand, and use the same mechanism e

Re: 15 second for redeployment is to much

2009-04-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andre-John, On 4/19/2009 7:25 PM, Andre-John Mas wrote: > This is one reason I would like to see a "file change" listener as > standard in Java. You'd have to wait for a "file change" listener as standard in an OS, too. > The idea is that for system

RE: Tomcat 5.5 Trust Stores and Client Authentication

2009-04-20 Thread Jason Smith
I think by installing the .cer file, you installed the "public" part of the client certificate. A .cer file is supposed to contain the publicly distributable portion of the client certificate. The browsers need the "private" part. That's why it's called a "client certificate". You import the

Re: 15 second for redeployment is to much

2009-04-20 Thread Gregor Schneider
On Sun, Apr 19, 2009 at 9:43 PM, Caldarale, Charles R wrote: > > How about pointless?  Somewhat akin to debating the number of angels that can > dance on the head of a pin. > Why pointless? The answer is obvious: 42 scnr... Gregor -- just because your paranoid, doesn't mean they're not after y

RE: Tomcat 5.5 Trust Stores and Client Authentication

2009-04-20 Thread Jorge Medina
I have not used client certificates, but in order to use SSL with self-generated certificates you need to add your server self-signed certificate to the trusted roots of your Windows account or computer account. Use the "Certificates" plug-in on an MMC console to perform the operation. The operat

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-20 Thread János Löbb
On Apr 17, 2009, at 8:28 AM, André Warnier wrote: Rainer Jung wrote: [...] What remains for me is your suggestion, that the error is not a fatal one, since there are other balanced workers left. We could include such a check in the startup code, although I'm not really convinced, that your

Re: org.apache.axis.InternalException: org.apache.axis.ConfigurationException:.....??

2009-04-20 Thread Mark Thomas
shashidhar velagandula wrote: > HI , > > I am using , apache-tomcat-6.0.18 ,,, i have deployed one application , > while accessing the application , it is throwing some configuration error as > > > org.apache.axis.InternalException: org.apache.axis.ConfigurationException: > org.apache.axis.d

org.apache.axis.InternalException: org.apache.axis.ConfigurationException:.....??

2009-04-20 Thread shashidhar velagandula
HI , I am using , apache-tomcat-6.0.18 ,,, i have deployed one application , while accessing the application , it is throwing some configuration error as org.apache.axis.InternalException: org.apache.axis.ConfigurationException: org.apache.axis.deployment.wsdd.WSDDException: Must include typ

SEVERE: Manager [/signifotest]: Unable to receive message through TCP channel

2009-04-20 Thread Sarath Polavarapu
Hi, Can anyone address me how to fix the below log error: "SEVERE: Manager [/signifotest]: Unable to receive message through TCP channel" Full Stack Trace Log is as follows: Apr 17, 2009 9:31:20 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tom

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Leon Rosenberg
2009/4/20 Markus Schönhaber : > Leon Rosenberg: > >> tomcat standalone performs better in most setups (yes, yes sendfile >> myth is there too, but the performance measurements shows that tomcats >> plain old java connector performs better) > > Which performance measurements do show that? Tomcat: T

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Markus Schönhaber
Leon Rosenberg: > tomcat standalone performs better in most setups (yes, yes sendfile > myth is there too, but the performance measurements shows that tomcats > plain old java connector performs better) Which performance measurements do show that? Regards mks -

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Liraz Siri
Leon Rosenberg wrote: > Apparently you haven't consulted any tomcat-using java developers, since That's sort of why we posted to tomcat-users. We're not Apache Tomcat experts ourselves, so we figured the community would have some good feedback on our first stab at a Tomcat appliance. > tomcat sta

Re: Tomcat doesn't stop if a java thread is running

2009-04-20 Thread Leon Rosenberg
On Mon, Apr 20, 2009 at 9:29 AM, Paolo Gambetti wrote: > I have this problem. If in my web application running in Tomcat there is a > java thread running when i stop Tomcat with shutdown.bat or shutdown.sh > tomcat process doesn't end and i have to kill it manually. How can i solve > this problem?

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Leon Rosenberg
On Mon, Apr 20, 2009 at 10:17 AM, Liraz Siri wrote: > Christopher Schultz wrote: >> If your goal was a minimal set of components, why did you choose to >> include Apache httpd + mod_jk, neither of which are required to run Tomcat. > > You're right Chris, you don't _need_ Apache, and therefore mod_

Re: Building Tomcat 5.5.27 & tomcat-native

2009-04-20 Thread Mark Thomas
Andre-John Mas wrote: > > On 19-Apr-2009, at 16:45, Mark Thomas wrote: > >> Andre-John Mas wrote: >>> the only thing which seems odd is the generated tar balls are marked as >>> 5.5.26. Is this normal? >> >> No :). That is a bug. > > I suppose it is the wrong time to open a ticket for this, but

Tomcat 5.5 Trust Stores and Client Authentication

2009-04-20 Thread Ron Perkins
Hi All, I have done the following to create a Trust Store for Tomcat to use: Created a keystore with new certificate: keytool -genkey -alias mycert -keyalg RSA -kaypass changeit -keystore keystore.jks -storepass changeit Exported certificate: keytool -export -alias mycert -file mycert.cer -key

Re: Announcing new Apache Tomcat installable Live CD appliance

2009-04-20 Thread Liraz Siri
Christopher Schultz wrote: > On 4/13/2009 1:55 PM, Liraz Siri wrote: >> We're proud to announce the release of TurnKey Apache Tomcat, an >> installable live CD of Apache Tomcat that can run on real hardware in >> addition to most types of virtual machines (e.g., VMWare, VirtualBox, >> Parallels, Xe

Re: Tomcat doesn't stop if a java thread is running

2009-04-20 Thread Markus Schönhaber
Paolo Gambetti: > I have this problem. If in my web application running in Tomcat there is a > java thread running when i stop Tomcat with shutdown.bat or shutdown.sh > tomcat process doesn't end and i have to kill it manually. How can i solve > this problem? Is there anything to change in java th

Tomcat doesn't stop if a java thread is running

2009-04-20 Thread Paolo Gambetti
I have this problem. If in my web application running in Tomcat there is a java thread running when i stop Tomcat with shutdown.bat or shutdown.sh tomcat process doesn't end and i have to kill it manually. How can i solve this problem? Is there anything to change in java threads code? thank you.