Re: help with mod_jk autoconfigure

2007-03-08 Thread Bill Barker
Todd Nine [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I'm trying to get the mod_jk auto configuration to work. I have the following line in my conf/server.xml right after the Listeners that are declared in the default file. Here is what I have Listener

Re: Retrieve list of all sessions

2007-03-08 Thread Glen Vermeylen
We use Tomcat 5.5.20. I actually have no synchronization in place whatsoever. I will change to hashtable and see if it solves the problem. Thank you. 2007/3/7, Caldarale, Charles R [EMAIL PROTECTED]: From: Glen Vermeylen [mailto:[EMAIL PROTECTED] Subject: Retrieve list of all sessions

Re: Retrieve list of all sessions

2007-03-08 Thread albrecht andrzejewski
I actually track my connected users with this code: public class MySessionManager{ public static Set String connecteds; /** Creates a new instance of MySessionManager */ public MySessionManager() { connecteds = new java.util.HashSet(); and i use this method to add an

JSP Specification

2007-03-08 Thread Mendez Yanes, Jose Ignacio
Hi !! I got this error when I startup tomcat: INFO: Starting Servlet Engine: Apache Tomcat/6.0.10 08-mar-2007 11:21:11 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(D:\apache-tomcat-6.0.10\webapps\octs\WEB-INF\lib\j2ee.ja r) - jar not loaded. See Servlet

Re: JSP Specification

2007-03-08 Thread Markus Schönhaber
Mendez Yanes, Jose Ignacio wrote: I got this error when I startup tomcat: INFO: Starting Servlet Engine: Apache Tomcat/6.0.10 08-mar-2007 11:21:11 org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(D:\apache-tomcat-6.0.10\webapps\octs\WEB-INF\lib\j2ee.ja r)

RE: JSP Specification

2007-03-08 Thread Mendez Yanes, Jose Ignacio
OK, THANX, that was what I thought but I wasn't sure because I hadnt be able to read the specs. Greetz -Mensaje original- De: Markus Schönhaber [mailto:[EMAIL PROTECTED] Enviado el: jueves, 08 de marzo de 2007 11:59 Para: Tomcat Users List Asunto: Re: JSP Specification Mendez Yanes,

RE: More domains

2007-03-08 Thread Marcell Kiss-Toth
From: Marcell Kiss-Toth [mailto:[EMAIL PROTECTED] Subject: Re: More domains I mean that I copied the entire webapps\ROOT folder to webapps\mydomain.com\ROOT. Why did you pick that location when the appBase for the www.mydomain.com Host is together.hu? Your default app should be

Re: Retrieve list of all sessions

2007-03-08 Thread Glen Vermeylen
Thanks for the idea, putting a sessionbindinglistener on the session each time a user logs on is a much cleaner approach. Locally it seems to work nicely and I can delete the sessionlistener from web.xml. 2007/3/8, albrecht andrzejewski [EMAIL PROTECTED]: I actually track my connected users

Re: More domains

2007-03-08 Thread Wayne Gemmell
Hi, I've been fighting with the same thing today. On Wed, 07 Mar 2007 19:27:30 +0100 Marcell Kiss-Toth [EMAIL PROTECTED] wrote: I copied the localhost Host section and replaced the localhost value to my domain name. Already created the folders so on. Have no errors, just getting a blank

Re: Retrieve list of all sessions

2007-03-08 Thread Peter Stavrinides
You might want to use something like this: //String,Visit is the sessionid and the Visit Object private static ConcurrentHashMapString,Visit visitHistory_ = new ConcurrentHashMapString,Visit(); and implement it as a singleton with synchronized accessor methods. Glen Vermeylen

Re: More domains

2007-03-08 Thread Wayne Gemmell
K, forget about my last post, you need to put a context tag in the server.xml file like this... Context displayName=site name docBase= path= workDir=work/Catalina/site name/_/Context I don't think its a recommended method of doing things but it works... Cheers Wayne

Re: Tomcat process on windows

2007-03-08 Thread Stefan Baramov
Hernâni Cerqueira wrote: Hello all, I have a little curiosity, that may seem trivial for some of you. I usually do my work on linux, but sometime I work on a laptop that runs windows, and because i do lots of application reloads using tomcat manager, i usually ran out of memory, and then it

Re: Is APR worth it (for me?)

2007-03-08 Thread Peter Kennard
Hmm I woudl have thought otherwise, since after reading the protocol it seems specificly designed to support keeping connection alive. That a sender would keep a pool of available connections and when a hit comes in get one which is already connected, and push the request out, and the

Re: Is APR worth it (for me?)

2007-03-08 Thread Rainer Jung
Peter Kennard wrote: Hmm I woudl have thought otherwise, since after reading the protocol it seems specificly designed to support keeping connection alive. That a sender would keep a pool of available connections and when a hit comes in get one which is already connected, and push the request

Re: Another howto: Load Balancer + fail over (two active Tomcats, one backup Tomcat)

2007-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Miehs wrote: If you need two devices load balancers to deal with your current load, then you already have a problem. I was thinking from a failover standpoint, not so much a too much load for a single piece of hardware stance. These

GUI implementation with tomcat

2007-03-08 Thread Alicia Sánchez-Mora
Hi, after one week fighting with the same I decided to ask I am implementig a web service class and a client in java, using tomcat and axis and I have to create a GUI. When I start the application a window has to appear and every time the client calls a method in the service class a new

Re: tomcat connector through cgi-bin?

2007-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacob, Jacob Rhoden wrote: Anyway, In case anyone is interested, I have now written a perl script which [acts as an HTTP proxy to Tomcat]. So if anyone needs a perl tomcat connector send me an email. (: Why not post it to the list. Then it will

performance increase - connection refused exceptions!!!

2007-03-08 Thread Leon van der Merwe
Hi guys I need to know what the max is that I can set my connections to. We are running the app of the server that is robust. Want to up it to about maxProcessors from 75 to 500? Thanks Leon van der Merwe FinSource FinSource (Pty) Ltd 22 Leeuwen Street, Cape Town, 8001 PO Box 3149,

Re: GUI implementation with tomcat

2007-03-08 Thread David Delbecq
En l'instant précis du 08/03/07 15:05, Alicia Sánchez-Mora s'exprimait en ces termes: I have the class Window to initialize the GUI and I call (locally) an instance of this class from my service class. The problem, or at least what I think the problem is, is that every time I make a call the

Re: Multiple Instances on one Machine

2007-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rahul, Rahul wrote: While trying to debug that I am wondering if my way of using two server.xml files for this scenario correct or is there any other way? (A similar solution is mentioned at

Re: GUI implementation with tomcat

2007-03-08 Thread Kristian Rink
Alicia; [Alicia Sánchez-Mora [EMAIL PROTECTED] @ Thu, 8 Mar 2007 15:05:09 +0100] I have the class Window to initialize the GUI and I call (locally) an instance of this class from my service class. The problem, or at least what I think the problem is, is that every time I make a call the

Re: performance increase - connection refused exceptions!!!

2007-03-08 Thread David Delbecq
I recommend you play with jarkarta JMeter to have informations about your response time depending on load, simulteanous request served and so on. It's difficult to tell you the behaviour of tomcat with maxprocessors at 500, this mainly depend on the os, the server, the bandwidth and the response

Re: Possible JSTL/EL bug in 6.0.10

2007-03-08 Thread Gerald Holl
David Delbecq wrote: En l'instant précis du 07/03/07 14:43, Gerald Holl s'exprimait en ces termes: David Delbecq wrote: En l'instant précis du 07/03/07 12:04, Gerald Holl s'exprimait en ces termes: David Delbecq wrote: Please provide the full jsp please. Side note: JSF and non-JSF tags do

RE: More domains

2007-03-08 Thread Caldarale, Charles R
From: Wayne Gemmell [mailto:[EMAIL PROTECTED] Subject: Re: More domains K, forget about my last post, you need to put a context tag in the server.xml file like this... Context displayName=site name docBase= path= workDir=work/Catalina/site name/_/Context I don't think its a

Re: Possible JSTL/EL bug in 6.0.10

2007-03-08 Thread Rémy Maucherat
On 3/8/07, Gerald Holl [EMAIL PROTECTED] wrote: I extracted the jstl-1.2jar file and found many .tld files. Nearly all of them contain jsp-version1.2/jsp-version and not 2.1 as you said. Only tags version 2.1 will be passed deferred expressions. The .tlds need to have a declaration like this

RE: Multiple Instances on one Machine

2007-03-08 Thread Caldarale, Charles R
From: Rahul [mailto:[EMAIL PROTECTED] Subject: Multiple Instances on one Machine I have two webapps a and b with their respective web.xml files in $CATALINA_HOME\webapps\WEB-INF. That's incorrect right there, assuming webapps is declared as the appBase for your Host. Sounds like yet

Re: GUI implementation with tomcat

2007-03-08 Thread Alicia Sánchez-Mora
Hi Kristian, here I send you some short pieces of my code to make the arquitecture of my application clearer :) This is the class to initilize the window public class ListItems { List listOptions; private static ListItems instance; private Frame f; public static ListItems getInstance ()

RE: Tomcat process on windows

2007-03-08 Thread Caldarale, Charles R
From: Stefan Baramov [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat process on windows Reloading an app leads to creating a new class loader to load all of the application classes. The old class loader is still there it is just not used. The old class loader will be discarded if the app

Re: GUI implementation with tomcat

2007-03-08 Thread Kristian Rink
Alicia; first off; thanks for your explanation and pointing things out a little more. :) I think I slightly understand the structure of your application but honestly I doubt it will work out this way: [Alicia Sánchez-Mora [EMAIL PROTECTED] @ Thu, 8 Mar 2007 16:24:33 +0100] public class

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
Thanks, but i followed the examples on the tomcat site. I have removed the factory declaration from server.xml but this still doesnt help I'm still getting a Cannot create resource instance error, i have pasted the stack dump to offer more clarity. Cheers, Natasha STACK DUMP ---

RE: Cannot create resource instance

2007-03-08 Thread Raghupathy, Gurumoorthy
Hi, are you sure that you have put the jdbc drivers for oracle in the common/lib directory of tomcat somehitng tells me that there is an issue with the JDBC driver jars but I may be totally wrong Regards Guru

Re: Possible JSTL/EL bug in 6.0.10

2007-03-08 Thread Gerald Holl
Rémy Maucherat wrote: On 3/8/07, Gerald Holl [EMAIL PROTECTED] wrote: I extracted the jstl-1.2jar file and found many .tld files. Nearly all of them contain jsp-version1.2/jsp-version and not 2.1 as you said. Only tags version 2.1 will be passed deferred expressions. The .tlds need to have a

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
Raghupathy, Gurumoorthy wrote: My javax.servlet classes oracle drivers were in a file called classes12.zip I created a jar of this placed it into my WEB-INF/lib as classes.jar. classes.zip is the file listed in my classpath. I suspect that this is the issue too - is there a naming convention

Re: Cannot create resource instance

2007-03-08 Thread Natasha N Wright
My javax.servlet classes oracle drivers were in a file called classes12.zip I created a jar of this placed it into my WEB-INF/lib as classes.jar. classes.zip is the file listed in my classpath. I suspect that this is the issue too - is there a naming convention here i'm not adhering to?

Re: Cannot create resource instance

2007-03-08 Thread David Smith
The JDBC driver has to be in common/lib of the tomcat installation to be available to tomcat as well as your webapp. WEB-INF/lib just won't work. --David Natasha N Wright wrote: Raghupathy, Gurumoorthy wrote: My javax.servlet classes oracle drivers were in a file called classes12.zip I

RE: Cannot create resource instance

2007-03-08 Thread Caldarale, Charles R
From: Natasha N Wright [mailto:[EMAIL PROTECTED] Subject: Re: Cannot create resource instance classes.zip is the file listed in my classpath. Do not add any extra .zip or .jar files to the Tomcat classpath - that is guaranteed to cause problems with the classloaders. - Chuck THIS

Re: Installing Apache Portable Runtime on Linux

2007-03-08 Thread Orlando Reis
Download the latest apache source. APR compiling # Build and install apr 1.2 cd srclib/apr ./configure --prefix=/usr/local/apr-httpd/ make make install # Build and install apr-util 1.2 cd ../apr-util ./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/ make make

apache22 + mod_jk + tomcat55 on FreeBSD - configuration problem (maybe ?)

2007-03-08 Thread Mario Pavlov
Hello guys I'm trying to set up apache to redirect requests to tomcat on my FreeBSD-6.2-STABLE but I can't get this to work please help me :) here is what I do: so first I've installed the latest ports apache-2.2.4 mod_jk-ap2-1.2.21,1 tomcat-5.5.20 and I've edited the config files to look like

tomcat 5.5 wants to shut down on its own

2007-03-08 Thread tk-2506
When the following exceptions occurs (from the tomcat log, and for which tomcat doesn't include stack traces), tomcat says it's shutting down, although it never does. Any idea: 1) Why these exceptions? 2) Failed to restart: What is it trying to restart? 3) Why tomcat wants to shut down? 4) What

Re: apache22 + mod_jk + tomcat55 on FreeBSD - configuration problem (maybe ?)

2007-03-08 Thread Rainer Jung
JkMount works with respect to URLs, not file system pathes: Use JkMount /jsp-examples/* damnjk instead of JkMount /usr/local/tomcat5.5/webapps/jsp-examples/* damnjk There might be further config bugs after fixing this one :) Regards, Rainer Mario Pavlov wrote: Hello guys

Re: apache22 + mod_jk + tomcat55 on FreeBSD - configuration problem (maybe ?)

2007-03-08 Thread Joe Riopel
On 3/8/07, Rainer Jung [EMAIL PROTECTED] wrote: Mario Pavlov wrote: and I've edited the config files to look like this: for apache httpd and mod_jk /usr/local/etc/apache22/httpd.conf [CODE] ServerRoot /usr/local Is your httpd working at all? I am not 100% sure but the server root doesn't

Re: Re: apache22 + mod_jk + tomcat55 on FreeBSD - configuration problem (maybe ?)

2007-03-08 Thread Mario Pavlov
This worked :) thank you very much man! :) JkMount works with respect to URLs, not file system pathes: Use JkMount /jsp-examples/* damnjk instead of JkMount /usr/local/tomcat5.5/webapps/jsp-examples/* damnjk There might be further config bugs after fixing this

Re: [OT] tomcat 5.5 wants to shut down on its own

2007-03-08 Thread tk-2506
Apparently, these are RMI exceptions from the RMI threads outside the application's control. Does tomcat attempt to shut down on a Warning log message? tk-2506 wrote: When the following exceptions occurs (from the tomcat log, and for which tomcat doesn't include stack traces), tomcat says

Re: Possible JSTL/EL bug in 6.0.10

2007-03-08 Thread Rémy Maucherat
On 3/8/07, Gerald Holl [EMAIL PROTECTED] wrote: Well, I think I can't give you access to all the details of our (secret) project. Anyway, thanks for the offer. Ok, I am obviously not going to look at your application. What I meant is I would look at a minimal war (containing only one JSP).

Standalone Tomcat - Does vulnerability CVE-2007-0774 apply?

2007-03-08 Thread shishir patil
Hi, I have standalone Tomcat version 5.5 running on my production machine (Windows 2003 server). I think in this case vulnerability CVE-2007-0774 (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0774) does not apply as there is no other Webserver (apache etc.) to which tomcat talks

Re: Multiple Instances on one Machine

2007-03-08 Thread Rahul J
Thanks Chris and Chuck. I have created separate bases (e.g. aBase) and within it I have webapps\a and so on respectively. It works fine now. One question: I don't have the Context spec file like aBase\conf\catalina\localhost\a.xml etc, but it doesn't seem to be affecting anything. What's the

noob in Tomcat installation hell

2007-03-08 Thread kjcollins
I am attempting to set up Tomcat 5.5.2 in a Linux Red Hat environment. I am also looking to include Tomcat Administration Manager. However, I can not get Tomcat Administration to work. First I set up Java version 6, and when things were not working, I scaled back to 5. (JDK 5 )

Re: [OT] tomcat 5.5 wants to shut down on its own

2007-03-08 Thread tk-2506
It looks like stopping is not written by Tomcat, but by RMI again... case closed. tk-2506 wrote: Apparently, these are RMI exceptions from the RMI threads outside the application's control. Does tomcat attempt to shut down on a Warning log message? tk-2506 wrote: When the following

Re: Correct static member cluster configuration for Tomcat 6/JDK.1.6.0/Linux

2007-03-08 Thread Filip Hanik - Dev Lists
I will look into this for you Filip Gmail User wrote: I am trying to configure a cluster with static members, but so far no luck. Am I missing something or is it not meant to be tested with both members on localhost? Both instances create their own sessions and no session propagation is

unable to launch a servlet using tomcat 5.5.20

2007-03-08 Thread suchitha koneru
Hello Tomcat Users , I am facing a problem starting a servlet from tomcat's web.xml . I am using Tomcat 5.5.20. The reason , I am placing this servlet in tomcat's web.xml instead of a web app is because I want , this servlet to start before tomcat loads any of the web

Re: Standalone Tomcat - Does vulnerability CVE-2007-0774 apply?

2007-03-08 Thread Mark Thomas
No. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Multiple Instances on one Machine

2007-03-08 Thread Caldarale, Charles R
From: Rahul J [mailto:[EMAIL PROTECTED] Subject: Re: Multiple Instances on one Machine One question: I don't have the Context spec file like aBase\conf\catalina\localhost\a.xml etc, but it doesn't seem to be affecting anything. What's the significance of that? You don't actually need a

RE: noob in Tomcat installation hell

2007-03-08 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: noob in Tomcat installation hell However, I can not get Tomcat Administration to work. Did you download and install the admin package? If so, is it located in server/webapps/admin and does conf/Catalina/[host] the admin.xml file?

RE: installing the admin on 5.5

2007-03-08 Thread Donal
I had similar difficulty setting up the admin package. My issue was that I was starting tomcat as user tomcat, but after unzipping the admin files were owned by root. Once I did chown -R tomcat:tomcat CATALINA_HOME/server/webapps/admin/ I was able to login to the admin (after clearing the

the cluster deployer can not work on 6.0.10

2007-03-08 Thread Li She
Hello guys On tomcat 6.0.10 , I use FarmWarDeployer and set watchEnabled=true, but I always get the error 2007-3-9 10:47:51 org.apache.catalina.ha.deploy.FarmWarDeployer messageReceived severe: javax.management.RuntimeOperationsException: Exception occured trying to get an MBean