Re: JK load balancer question

2005-05-03 Thread Peter Rossbach
Hey, yes, you can configure the new status worker (= jk 1.2.10) and used the new ant JkStatusUpdateTask (Tomcat 5.5.9) for active configuration. But the disabled flag don't stopp the complete traffic. Only stop that no new session create requests to the disabled worker. But I have implement a

RE: Digester / vector usage

2005-05-03 Thread Henrique, Manuel
Nobody can help me? Nobody knows? Nobody uses XML files? Everybody knows how to do a digester but nobody knows how to use it? I hope you can help me. Regards, Manuel -Original Message- From: Henrique, Manuel To: 'tomcat-user@jakarta.apache.org' Sent: 02/05/2005 17:12 Subject: Digester

Re: Digester / vector usage

2005-05-03 Thread Anto Paul
On 5/3/05, Henrique, Manuel [EMAIL PROTECTED] wrote: Nobody can help me? Nobody knows? Nobody uses XML files? Everybody knows how to do a digester but nobody knows how to use it? I hope you can help me. Regards, Manuel -Original Message- From: Henrique, Manuel To:

SSL, Form Authentication 408 error

2005-05-03 Thread Andrew Chapman
If I set the src of an IFRAME to my web application, which uses Form Authentication and SSL, the server consistently throws back a 408 error in IE when attempting to log in. The same scenario consistently works with Firefox. I suspect there are timing issues with IE, IFRAMEs and Form

servlet/jps: servlet is Ok but jsp NoClassDefFoundError

2005-05-03 Thread Ferrari Laura
I am working with Tomcat 5.0 In a working webapp \ondemand (with only jsp) I added a servlet. The servlet work correctly but the jsp is not able to find the lib/engine.jar (where the its classes are defined). Without Servlet the JSP works. With servlet I can not have my index.jsp I

RE : Digester / vector usage

2005-05-03 Thread LERBSCHER Jean-Pierre
Hi, I don't understand exactly what is your question but if it is how to get a magazine, you have to : - parse your xml with digester.parse(); - this method returns a Catalog object for example myCatalog - then call myCatalog.getMagazines() and find you magazine mag1. For example for

Re: Client Authentication

2005-05-03 Thread Mahesh S Kudva
Hi What kind of information do i need to put in the fields of First and Last name and Common name. Will any information do or is it required that I need to put in the server address in the client.p12 certificate.. Regards Thanks Mahesh S Kudva -Original Message-

Re: Client Authentication

2005-05-03 Thread lercoli
CA and Tomcat common name should be the same (localhost or better your DNS). First and Last Name of client sould the name of a Tomcat user declared in tomcat-users.xml. Luca Ercoli - Original Message - From: Mahesh S Kudva [EMAIL PROTECTED] To: Tomcat Users List

Clear session after redeployment

2005-05-03 Thread Stepan Herold
Redeploying a web application on Tomcat 5.0.x clears its session, this, however, doesn't work on Tomcat 5.5.x. I guess it is a new feature and here goes the question: Is there a way how to tell Tomcat that it should clear session after redeployment? Thanks, Stepan

Re: Tomcat j2sdk and image

2005-05-03 Thread andre . lagadec
Hi, I find my problem. If I put these lines in my startup.sh of Tomcat DISPLAY=localhost:0.0 export DISPLAY The generation of GIF image works. If I put these lines in my startup.sh of Tomcat DISPLAY=AnOtherServer:0.0 export DISPLAY where AnOtherServer is a different server on Sun Solaris, where I

Deply/undeploy applications from a Servlet

2005-05-03 Thread Erik Hellman \(KA/EAB\)
I've managed to figure out how to list all installed applications by callind findChildren() on the current Host-object. However, now I wish to be able to deploy/undeply applications through this servlet. Basically, I need a reload command for a set of applications. First, all application with a

Re: Clear session after redeployment

2005-05-03 Thread Peter Rossbach
Switch off that Manager save sessions : For single application used inside your conf/Catalina/localhost/apps.xml Manager pathname= or server scope inside conf/context.xml host scope inside conf/Catalina/localhost/context.xml.default Peter Stepan Herold schrieb: Redeploying a web application on

Re: Client Authentication

2005-05-03 Thread Mahesh S Kudva
Hi It seems like a silly question. But I am new to SSL and Certificates as well as Tomcat. If my machines IP is 192.168.0.1 then I access tomcat as https://192.168.0.1:8443. Keeping this mind should I give the Common Name as 192.168.0.1 ??? How do I specify the client info in the

Auto-login

2005-05-03 Thread Bedin, Stephane \(GE Healthcare\)
Hello, I do not find if there is a way to auto-login in a protected directory by a simple URL like: http://host:8080/myapp/?user=totopassword=titi My issue is that a user who is authentificated under webmin (...) shall access to anoter module (written under tomcat) without been asked again for

Re: Clear session after redeployment

2005-05-03 Thread Stepan Herold
Thank you, this is exactly what I was looking for. Stepan Peter Rossbach wrote: Switch off that Manager save sessions : For single application used inside your conf/Catalina/localhost/apps.xml Manager pathname= or server scope inside conf/context.xml host scope inside

FW: Tomcat 5.5 and IIS 6.0 connecter problem.

2005-05-03 Thread charles doweary
From: charles doweary [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org CC: [EMAIL PROTECTED] Subject: Tomcat 5.5 and IIS 6.0 connecter problem. Date: Sat, 30 Apr 2005 11:21:12 -0400 I've configured the following on my Windows Server 2003 operations system: JDK1.5.0_01, Tomcat-5.5.9,

Re: servlet/jps: servlet is Ok but jsp NoClassDefFoundError

2005-05-03 Thread Anoop kumar V
Does your servlet do anything like modify tomcat properties etc?? Seems liek an unusual problem to me - one that I have not encoutered!! -Anoop On 5/3/05, Ferrari Laura [EMAIL PROTECTED] wrote: I am working with Tomcat 5.0 In a working webapp \ondemand (with only jsp) I added a

Re: servlet/jps: servlet is Ok but jsp NoClassDefFoundError

2005-05-03 Thread Jason Bainbridge
On 5/3/05, Ferrari Laura [EMAIL PROTECTED] wrote: I am working with Tomcat 5.0 In a working webapp \ondemand (with only jsp) I added a servlet. The servlet work correctly but the jsp is not able to find the lib/engine.jar (where the its classes are defined). NoClassDefFoundError means

Help - Alias or Symlink to external(to the context) images directory?

2005-05-03 Thread Matt Galvin
Hi All, Does anyone know of a way to set an alias to an external directory that contains images to be displayed on a web page? Maybe explaining what I need to do would help: I have a directory, for example: /tmp/images I have a webapp in: /opt/tomcat/webapps/myapp I need to be able to store

Re: FW: Tomcat 5.5 and IIS 6.0 connecter problem.

2005-05-03 Thread Jess Holle
Don't use isapi_redirector2 -- development on it has ceased and it is unsupported. Instead use the latest isapi_redirect. charles doweary wrote: From: charles doweary [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org CC: [EMAIL PROTECTED] Subject: Tomcat 5.5 and IIS 6.0 connecter problem.

Permissioning?

2005-05-03 Thread argeo . c . sales
Problem: The voice browser in a voice gateway, like BeVocal, executing a subdialog to save a voice message can't reach the jsp, recordingsave.jsp, deployed locally in Tomcat 5.0. The jsp is used to save the message locally. Solutions tried but failed: The following have been added in

Re: Permissioning?

2005-05-03 Thread Jason Bainbridge
It isn't even reaching tomcat, the 403 is coming from a Proxy: squid/2.5.STABLE4, you will need to either authenticate with the proxy or bypass it somehow in your voice gateway. Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com On 5/3/05,

detecting tomcat 5.5

2005-05-03 Thread Jason Novotny
Hi, I'm trying to update my build script to do some conditional checking to see if I'm deploying my code to Tomcat 5.5 or using an older version. Is there something (like a particular file or directory) I can check reliably that would indicate that I'm using 5.5 versus an older version?

Re: Help - Alias or Symlink to external(to the context) images directory?

2005-05-03 Thread Mott Leroy
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html - see the allowLinking property. As far as how to create the symlink when the app is deployed, not sure beyond running some sort of script when the application loads (using a context listener perhaps). Matt Galvin wrote: Hi

Re: detecting tomcat 5.5

2005-05-03 Thread Jason Bainbridge
On 5/3/05, Jason Novotny [EMAIL PROTECTED] wrote: Hi, I'm trying to update my build script to do some conditional checking to see if I'm deploying my code to Tomcat 5.5 or using an older version. Is there something (like a particular file or directory) I can check reliably that would

Re: detecting tomcat 5.5

2005-05-03 Thread Jason Novotny
Thanks-- unfortunately by default (at least on Unix) that file is not executable so it wouldn't even execute by default. Has anyone actually created an ant task or can give me some ant logic for doing Tomcat version detection for 5.5? Here's a snippet that worked for Tomcat 4 and Tomcat

Concurrency Issue With a SessionListener.

2005-05-03 Thread Jacob Champlin
I am having issues with a SessionListener I have written. The purpose of the Listener is to maintain a List of Active Users on the site. Here is the code for the Listener. // BEGIN CODE public class ActiveUsersListener implements Serializable, HttpSessionListener { public static Set

Re: Concurrency Issue With a SessionListener.

2005-05-03 Thread Frank W. Zammetti
I had to do almost the exact same thing a while back... I'm not sure what the source of your lockup is, although I can say my code synchronized on what would be your activeSessions Set any place it was accessed (probably more than I had to frankly)... I'm not even sure there would have been

Re: Removal from List

2005-05-03 Thread Mark Thomas
I have just confirmed you are no longer subscribed to this list and I have configured the list not to accept any future attempts to join it from your address. Mark [EMAIL PROTECTED] Dean Trafelet wrote: Thanks. DMT - Original Message - From: Parsons Technical Services [EMAIL

Re: Client Authentication

2005-05-03 Thread Mark Thomas
The CN for your server cert can be anything you like but you will get a warning in your browser if the CN differs from how you express it in the URL. The user needs to look something like this user username=CN=Mark Thomas, OU=Jakarta, O=Apache, L=London, C=GB password=null roles=tomcat,certs/

Re: detecting tomcat 5.5

2005-05-03 Thread Will Hartung
From: Jason Novotny [EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 2:11 PM Thanks-- unfortunately by default (at least on Unix) that file is not executable so it wouldn't even execute by default. Did you bother to even LOOK at the script? All it does is call 'catalina.sh version' (I'd

Re: detecting tomcat 5.5

2005-05-03 Thread Tim Funk
available classname=org.apache.catalina.valves.FastCommonAccessLogValve classpath=${appserver.home}/server/lib/catalina-optional.jar property=is55/ -Tim Jason Novotny wrote: Thanks-- unfortunately by default (at least on Unix) that file is not executable so it wouldn't

tomcat stopped

2005-05-03 Thread Fred Cook
Hi All, We are new to tomcat and have been having some difficulties. Things started out well, but when development work started, Tomcat stopped responding to any changes in the reinstalled .war file. IE a new //localhost:8080/foo/ was the same as the old. We get localhost:8080, but now

Re: tomcat stopped

2005-05-03 Thread Anoop kumar V
Have you tried restarting tomcat manually? You can check out what tomcat is pushing out : errors/messages by doing a tail -f catalina.out at the prompt. HTH, Anoop On 5/3/05, Fred Cook [EMAIL PROTECTED] wrote: Hi All, We are new to tomcat and have been having some difficulties.

Re: tomcat stopped

2005-05-03 Thread Wendy Smoak
From: Fred Cook [EMAIL PROTECTED] We are new to tomcat and have been having some difficulties. Things started out well, but when development work started, Tomcat stopped responding to any changes in the reinstalled .war file. What do you mean by 'reinstalled'? Are you copying the .war file

Re: detecting tomcat 5.5

2005-05-03 Thread Jason Novotny
Thanks Tim, That is exactly what I was looking for, but I still can't get it to work, and it seems that the available task is somewhat broken. Instead of just checking if the class is contained in the jar it also tries to resolve all of its dependencies, so this is what I get when using ant

Re: detecting tomcat 5.5

2005-05-03 Thread Tim Funk
It looks like the available task tries to load the class in a new classloader. Of course - doing so loads all it's super classes too - so you'd need to also add catalina.jar to your classpath for the available task. -Tim Jason Novotny wrote: Thanks Tim, That is exactly what I was looking

Re: detecting tomcat 5.5

2005-05-03 Thread Jason Novotny
Yeah-- it was even lamer than that. I also had to add jmx.jar from bin/ to classpath since that was involved in the Valve dependency from catalina.jar Thanks, Jason Tim Funk wrote: It looks like the available task tries to load the class in a new classloader. Of course - doing so

Turbine? DBCP?

2005-05-03 Thread Geoff Wiggs
What ever happened to Turbine? Is it still used with Tomcat 5.5.+? If so, where do I go to get it? If not, then how am I supposed to handle things like connection pooling? Is there a good tutorial available? I'm working my way through some examples that were written in previous version of

Re: Turbine? DBCP?

2005-05-03 Thread Robert r. Sanders
You might want to checkout Spring: http://www.springframework.org/docs/reference/index.html Geoff Wiggs wrote: What ever happened to Turbine? Is it still used with Tomcat 5.5.+? If so, where do I go to get it? If not, then how am I supposed to handle things like connection pooling? Is there

Network Disk Not Exist Under Tomcat-5.5.9

2005-05-03 Thread NanFei Wang
Hi All, My file test.jsp as follow: --- %@ page language=java contentType=text/html;charset=Big5 % % out.print(This page is from WebServer Apache Tomcat/5.5.9br); out.print(I have made a Network Disk

configuring tomcat on XP as a service

2005-05-03 Thread Greg Baynham
I'm getting tripped up trying to get tomcat to run JSP code when it's installed as a service. when I access a JSP page I get this error: root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK However, I have set