Re: tomcat process memory

2009-04-13 Thread Nikola Bozadziev
Dear Andrew, have a look at http://www.lambdaprobe.org/d/index.htm, it helped us by memory problems a lot. Best regards, Nikola

retrieve session data stored in db using JDBCStore.

2009-04-13 Thread jerrySheen
Hi, I have been successful in saving the sessions to my mysql db, using the given code in my server configuration file. Store className=org.apache.catalina.session.JDBCStore connectionURL=jdbc:mysql://X/xx?user=zamp;password=zz

Expose URL via Apache / Tomcat Load

2009-04-13 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/adminbeing exposed to INTRANET Reason : The application uses a single DB to request

Re: retrieve session data stored in db using JDBCStore.

2009-04-13 Thread Pid
jerrySheen wrote: Hi, I have been successful in saving the sessions to my mysql db, using the given code in my server configuration file. Store className=org.apache.catalina.session.JDBCStore connectionURL=jdbc:mysql://X/xx?user=zamp;password=zz

RE: clustering error

2009-04-13 Thread Jorge Medina
Yes, you can test clustering using two tomcats on the same machine. -Original Message- From: supareno [mailto:reno.rkc...@free.fr] Sent: Saturday, April 11, 2009 7:12 AM To: Tomcat Users List Subject: clustering error hello, we 're trying to do some tomcat clustering but i think that

Removal of (or disable) /admin for the user manager

2009-04-13 Thread Farid Hamjavar
Tomcat 5.5.23 on Linux Hello, I have a question in reference to Tomcat's Tomcat Manager's default page 'Tomcat Web Application Manager' When I log in, as user 'manager' to that page I like to either: 1) remove the row '/admin' all together, 2) if I can not do that, I at least like to

RE: Removal of (or disable) /admin for the user manager

2009-04-13 Thread Caldarale, Charles R
From: Farid Hamjavar [mailto:hamja...@unm.edu] Subject: Removal of (or disable) /admin for the user manager 1) remove the row '/admin' all together, 2) if I can not do that, I at least like to prevent the ability to do any of the actions mentioned in the 'commands' column (start/stop

Re: Removal of (or disable) /admin for the user manager

2009-04-13 Thread Farid Hamjavar
On 04/13/2009 10:30 AM, Caldarale, Charles R wrote: From: Farid Hamjavar [mailto:hamja...@unm.edu] Subject: Removal of (or disable) /admin for the user manager 1) remove the row '/admin' all together, 2) if I can not do that, I at least like to prevent the ability to do any of the actions

reading jvmRoute property specified in server.xml

2009-04-13 Thread bhanujirao
Guys, i have the following property set in server.xml. i need to read jvmRoute in my web app. Can someone please suggestion how to read this property in java class ? Thanks in advance venky -- View this message in context:

Announcing new Apache Tomcat installable Live CD appliance

2009-04-13 Thread Liraz Siri
Hi everyone, I'm one of the developers for TurnKey Linux, a community oriented open source project developing a family of free, Ubuntu-based installable Live CDs which are lightweight and optimized for ease of use in server-type usage scenarios (e.g., LAMP, Joomla CMS, Drupal, Ruby on Rails):

Tomcats in two mod_jk lb-clusters simultaneously

2009-04-13 Thread J Channel
Im need it for failover issues. Is this possible? Scheme of my idea here: http://pic.ipicture.ru/uploads/090413/k3k83oomS1.gif Any remarks are welcome. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

RE: reading jvmRoute property specified in server.xml

2009-04-13 Thread Caldarale, Charles R
From: bhanujirao [mailto:dumpala.venk...@gmail.com] Subject: reading jvmRoute property specified in server.xml i need to read jvmRoute in my web app. It should be part of the session id; if your code is running in a servlet, try: HttpServletRequest.getSession().getId() and parse it

RE: Tomcats in two mod_jk lb-clusters simultaneously

2009-04-13 Thread Anthony J. Biacco
I don't see anything not doable in your diagram, although I would take issue with you having your apache servers separated in your cisco load balancer. Why aren't you load balancing to both apaches in a single cluster instead of having one take all the load and the other in reserve in case the

RE: Tomcats in two mod_jk lb-clusters simultaneously

2009-04-13 Thread Anthony J. Biacco
Oh no, I wasn't saying to have cisco loadbalance the tomcats, I was asking why cisco isn't load balancing your apache requests? But yes, your answer is yes. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com

JSP: No suitable driver found

2009-04-13 Thread John Cartwright
Hello All, I have what should be a simple problem, but can't seem to resolve it. Basic JSP using a non-pooled connection: sql:setDataSource var=myDS url=jdbc:oracle:thin:@host.example.com:1521:ORACLE driver=oracle.jdbc.driver.OracleDriver user=username password=password / I'm

RE: JSP: No suitable driver found

2009-04-13 Thread Martin Gainty
please download classes12.jar from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html and place classes12.jar into $TOMCAT_HOME/AppContext/WEB-INF/lib/ HTH Martin Gainty __ Disclaimer and Confidentiality/Verzicht und

Re: JSP: No suitable driver found

2009-04-13 Thread John Cartwright
Thank you for your prompt reply Martin and for your suggestion. Given that I have the ojdbc14.jar in the WEB-INF/lib, doesn't that the version of the OracleDriver suitable for jdk 1.4+? It *seems* like it started working when I replaced jstl-1.2.jar w/ jstl-1.1.2.jar - does that make any

RE: JSP: No suitable driver found

2009-04-13 Thread Martin Gainty
I believe classes12.jar is the jdbc library (with tracing) jstl-1.1.2.jar is for JSTL Taglibs, version 1.1.2 feel free to ping chuck,mark,chris,rainier and hassan for relevant details HTH Martin __ Disclaimer and Confidentiality/Verzicht und

Re: JSP: No suitable driver found

2009-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 4/13/2009 6:24 PM, John Cartwright wrote: I have what should be a simple problem, but can't seem to resolve it. Basic JSP using a non-pooled connection: sql:setDataSource var=myDS url=jdbc:oracle:thin:@host.example.com:1521:ORACLE

Re: JSP: No suitable driver found

2009-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 4/13/2009 10:02 PM, Christopher Schultz wrote: Is sql:setDataSource part of the JSTL? Duh. Yes. Sorry 'bout that. When you execute your query, how do you do it? Can you post your sql:query (or whatever) that you use? - -chris -BEGIN

RE: No suitable driver found

2009-04-13 Thread Caldarale, Charles R
From: John Cartwright [mailto:john.c.cartwri...@noaa.gov] Subject: JSP: No suitable driver found DataSource invalid: java.sql.SQLException: No suitable driver found for ${myDS} The presence of the ${} in the message is certainly rather odd. This is not likely to be related, but you might

RE: reading jvmRoute property specified in server.xml

2009-04-13 Thread bhanujirao
Well thanks for ur reply.. i know that is one alternative but i need to read it in java class which i dont have access to HttpServletRequest .. any other alternative... Thanks Venkat Caldarale, Charles R wrote: From: bhanujirao [mailto:dumpala.venk...@gmail.com] Subject: reading jvmRoute

RE: reading jvmRoute property specified in server.xml

2009-04-13 Thread Caldarale, Charles R
From: bhanujirao [mailto:dumpala.venk...@gmail.com] Subject: RE: reading jvmRoute property specified in server.xml i need to read it in java class which i dont have access to HttpServletRequest So what does this Java class have access to? If you'd provide information about what you *are*

RE: reading jvmRoute property specified in server.xml

2009-04-13 Thread bhanujirao
We have Quartz jobs running in back ground. It needs to know whether this instance has to run the job or not. Earlier we use to catilina.base which we can read as System property . now all the servers have the same instance names..so i am just thinking is there any way this property will help to

Re: retrieve session data stored in db using JDBCStore.

2009-04-13 Thread jerrySheen
Why? The risk is that you will introduce inconsistencies into live sessions. Surely modifying the session using the API provided by the Servlet spec is a) safer and b) easier. As we are dealing with sessions that are no more accessable, this action would have no effect on any live sessions thus