Re: Application context configuration & datasources

2008-03-26 Thread Sameer Acharya
Where is your Resource definition ? seems like the Driver class name and url is not defined. -Sameer --- Charl Gerber <[EMAIL PROTECTED]> wrote: > I have 4 Tomcat environments for the same > application: > two development machines, 1 test and 1 production. > Development machines are Windows 2000

Application context configuration & datasources

2008-03-26 Thread Charl Gerber
I have 4 Tomcat environments for the same application: two development machines, 1 test and 1 production. Development machines are Windows 2000 and Vista, the others are linux. All 4 machines have Tomcat 6.0.14 installed. I really have problems getting the application properly deployed and configu

Re: RESIDENTIAL MEMORY 100%

2008-03-26 Thread Alan Chaney
Caldarale, Charles R wrote: From: karthikn [mailto:[EMAIL PROTECTED] Subject: Re: RESIDENTIAL MEMORY 100% 2) In Remote TOMCAT5523 "/infinet/karthik/TOMCAT5523/bin" i inserted a new argument in "catalina.sh" as follows export JAVA_OPTS=-Dcom.sun.management.jmxremote.port=8999 I

RE: RESIDENTIAL MEMORY 100%

2008-03-26 Thread Caldarale, Charles R
> From: karthikn [mailto:[EMAIL PROTECTED] > Subject: Re: RESIDENTIAL MEMORY 100% > > 2) In Remote TOMCAT5523 "/infinet/karthik/TOMCAT5523/bin" > i inserted a new argument in "catalina.sh" as follows > export JAVA_OPTS=-Dcom.sun.management.jmxremote.port=8999 I think you also need thi

Re: RESIDENTIAL MEMORY 100%

2008-03-26 Thread karthikn
Hi Sorry for the dely, thx for the prompt reply Ther some thing seems to be wrong with the Jconsole or TOMCAT This may be or may not be the form for me to ask ,but still need help I looked at the JMX / Jconsole Tutorials and did the following steps 1) In Remote JVM " /opt/java6/jre/lib/m

RE: deployment questions

2008-03-26 Thread Caldarale, Charles R
> From: Shreekanta Prasad [mailto:[EMAIL PROTECTED] > Subject: RE: deployment questions > > I am using tomacat5.5,eventhough autoDeploy option is "true" > we have to restart the server. I just retested this on my WinXP box with 5.5.25, and dropping an updated .war file into webapps caused immed

RE: deployment questions

2008-03-26 Thread Shreekanta Prasad
Hi Chuck/All, I am using tomacat5.5,eventhough autoDeploy option is "true" we have to restart the server. above is the snippet of my server.xml which has autoDeploy option. 'tmp' and 'work' folder will not get refreshed however .war file will get replaced successfully. after stop and

Re: deployment questions

2008-03-26 Thread Kimberly Begley
Great thanks! and sorry about that its tomcat5. On Thu, Mar 27, 2008 at 1:06 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Kimberly Begley [mailto:[EMAIL PROTECTED] > > Subject: deployment questions > > > > 1) make a war file of my web app directory > > Yes. > > > 2) add a contex

RE: deployment questions

2008-03-26 Thread Caldarale, Charles R
> From: Kimberly Begley [mailto:[EMAIL PROTECTED] > Subject: deployment questions > > 1) make a war file of my web app directory Yes. > 2) add a context entry to the server.xml file on the remote > server Unless you're deploying on an ancient version of Tomcat (you didn't bother to tell us),

deployment questions

2008-03-26 Thread Kimberly Begley
Hi, I've been devloping a web app on a virtual machine on my computer and I want to move it over to remote server. I understand that I 1) make a war file of my web app directory 2) add a context entry to the server.xml file on the remote server (Q1: where in the server.xml file do I add this entry

Re: 64bit windows service executable?

2008-03-26 Thread AH NF
awesome thanks! On Mar 26, 2008, at 7:55 PM, Caldarale, Charles R wrote: From: ahnf [mailto:[EMAIL PROTECTED] Subject: 64bit windows service executable? Where can I get a 64bit Intel and AMD executables for lauching tomcat 6 service on windows 64 and 64bit java 6? A quick archive search turn

RE: 64bit windows service executable?

2008-03-26 Thread Caldarale, Charles R
> From: ahnf [mailto:[EMAIL PROTECTED] > Subject: 64bit windows service executable? > > Where can I get a 64bit Intel and AMD executables for > lauching tomcat 6 service on windows 64 and 64bit java 6? A quick archive search turned up this: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/

RE: Checking tomcat metrics in a non-intrusive way

2008-03-26 Thread Caldarale, Charles R
> From: wicket0123 [mailto:[EMAIL PROTECTED] > Subject: Checking tomcat metrics in a non-intrusive way > > I want to check tomcat response time for requests when I run, > say 500 concurrent users, on the server. Any measurements made within Tomcat itself are going to have some effect on performa

Checking tomcat metrics in a non-intrusive way

2008-03-26 Thread wicket0123
I want to check tomcat response time for requests when I run, say 500 concurrent users, on the server. I use the default setttings for tomcat which means my maxThreads = 40. I have read from some articles suggesting to use JMX Console to monitor tomcat. But, then i read from other articles that

64bit windows service executable?

2008-03-26 Thread ahnf
Hi, Where can I get a 64bit Intel and AMD executables for lauching tomcat 6 service on windows 64 and 64bit java 6? thanks! - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Tomcat 6 and placing jars in $CATALINA_HOME/lib

2008-03-26 Thread Alan Chaney
You're right. I debated whether or not there was an argument that I should always use the same jars for each project so it didn't matter, but then I decided that there was bound to be some case where that wouldn't work for some unforeseen reason. Its best to keep each webapp independent. There

RE: Tomcat 6 and placing jars in $CATALINA_HOME/lib

2008-03-26 Thread Caldarale, Charles R
> From: Alan Chaney [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 and placing jars in $CATALINA_HOME/lib > > Is there any reason why these jars (and their dependencies) > should not be placed in $CATALINA_HOME/lib? The primary reason not to lump everything in one basket is webapp independence,

Tomcat 6 and placing jars in $CATALINA_HOME/lib

2008-03-26 Thread Alan Chaney
We are using tomcat 6.0.16 with a jdk 1.6. I have a number of web applications which use, for example, spring and hibernate. Is there any reason why these jars (and their dependencies) should not be placed in $CATALINA_HOME/lib? It would save a lot of time uploading new releases of my own applic

Re: Tomcat 5.5 and Apache 2.2

2008-03-26 Thread Lasana Crider
David, That is thing, I am new to having external web applications, I have mostly written internal apps and this is killing me. I know what apache can do alot of things but for now I have one apache web server and one tomcat app server and I need it to be root url. I am going to try root and

Re: Tomcat 5.5 and Apache 2.2

2008-03-26 Thread David Fisher
Lasana, Hi I am using roller and will look there for some help. Glad to help. I think they will fix this. The project lead has in fact done it in his own personal blogs. I also have another application that I wrote using Java/Struts you know the usual and I want to do the same thing. I

Re: Tomcat 5.5 and Apache 2.2

2008-03-26 Thread Lasana Crider
David, Hi I am using roller and will look there for some help. I also have another application that I wrote using Java/Struts you know the usual and I want to do the same thing. I have read that by changing the war file to ROOT.war would work, is that possible option? Or using mod_rewrite?

RE: problem using DynDNS

2008-03-26 Thread Natasha Popoola
Well as my servlet will only be communicating with mobile phones, this is not really a problem. I tried to access the servlet from my mobile and I get the null pointer also, so everything *appears* to be OK. Thanks again for your help. > Date: Wed, 26 Mar 2008 13:05:27 -0400 > From: [EMAIL PRO

Re: Tomcat 6.0 clustering

2008-03-26 Thread Filip Hanik - Dev Lists
Ch Praveena wrote: Hi Filip, These may be very basic questions. 1. What is heart beat in Tomcat clustering? what do you mean? membership can be done in two ways, dynamic discovery using multicast, for this there is a heartbeat, sends out a signal. For static memberships, well, you define s

RES: Java 1.4.2 to 1.5 upgrade tips

2008-03-26 Thread Milanez, Marcus
You could have both tomcats running in the same server, one for legacy apps and another for new stuff, using mod_jk. It works very well. -Mensagem original- De: Jonathan Mast [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 26 de março de 2008 13:14 Para: Tomcat Users List Assunto:

Re: problem using DynDNS

2008-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Natasha, Natasha Popoola wrote: | Hmm... well a null pointer exception is what I am supposed to get if it is working, I wonder why I get the router setup page then... | Thanks for your help anyway. It's possible that your router is out-smarting you

RE: problem using DynDNS

2008-03-26 Thread Natasha Popoola
Hmm... well a null pointer exception is what I am supposed to get if it is working, I wonder why I get the router setup page then... Thanks for your help anyway. > Date: Wed, 26 Mar 2008 12:48:12 -0400 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: problem using DynDNS >

Re: Java 1.4.2 to 1.5 upgrade tips

2008-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, Jonathan Mast wrote: | What I'm worried about is the Servlet spec. We have some legacy stuff that | only compiles correctly using the "servlet.jar" which includes JSP 1.1 I | think. Anyways, my fear is that this might not be supported wit

Re: problem using DynDNS

2008-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Natasha, Natasha Popoola wrote: | I have set up dyndns so it's accessible outside of my network, | http://npopoola.doesntexist.com brings up my router set up page so I | assume that dyndns is working OK. You may want to change that... you certainly

Re: Java 1.4.2 to 1.5 upgrade tips

2008-03-26 Thread Jonathan Mast
What I'm worried about is the Servlet spec. We have some legacy stuff that only compiles correctly using the "servlet.jar" which includes JSP 1.1 I think. Anyways, my fear is that this might not be supported with Java 1.5, and that stuff will have to be recoded to make use of "servlet-api.jar" wh

Re: httpd cant talk to tomcat workers

2008-03-26 Thread David Smith
1. You probably want to clean out your workers.properties file. The log below indicates it has a lot of old depricated stuff in it. Mine is just a very bare bones one: worker.list=tcinstance1 worker.tcinstance1.port=8009 worker.tcinstance1.type=ajp13 2. Make sure an ajp13 port is alive at por

Re: httpd cant talk to tomcat workers

2008-03-26 Thread Andy Smith
Hi Peter, hey thanks a lot, got it working! As I had a number of files in the conf directory I was a bit confused and was also not reading what where comments and what where not very accuarately in the XML! :P So I just uncommented the connection in server.xml and straight off httpd can talk

problem using DynDNS

2008-03-26 Thread Natasha Popoola
Hi, Newbie question unfortunatelyI am attempting to host a servlet, it works fine using http://localhost:8080/Project/servlet/Servlet but I have set up dyndns so it's accessible outside of my network, http://npopoola.doesntexist.com brings up my router set up page so I assume that dyndns

Re: Tags not being executed on first request...

2008-03-26 Thread Nathan Wilhelmi
A few more details based on your suggestion. TagB looks like this (tagb.tag) <%@ include file="/WEB-INF/views/jsp/common/include.jsp" %> <%@ attribute name="ID" required="true" type="java.lang.String" %> ${ID} TagA looks like this (taga.tag) {html/jsp code} ">

Re: httpd cant talk to tomcat workers

2008-03-26 Thread Martin Gainty
Andy Are ports 8009 and 8080 clear or are they being blocked or natted? If ports 8009 and 8080 are clear startup TC and verify TC mod_jk listener is listening on 8009 e.g. netstat -a | grep 8009 ? Martin - Original Message - From: "Andy Smith" <[EMAIL PROTECTED]> To: Sent: Wednesday, Ma

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-26 Thread mgainty
Good Morning- the applicable snippet from jk_ajp_common.c authored by Gal Shachor <[EMAIL PROTECTED]> jk_log(l, JK_LOG_ERROR, "Can't receive the response message from tomcat, " "network problems or tomcat is down (%s), err=%d", jk

RE: httpd cant talk to tomcat workers

2008-03-26 Thread Peter Crowther
> From: Andy Smith [mailto:[EMAIL PROTECTED] Heh. Hi from a fellow Mancunian. > tomcat 5.5.23 from Alfresco 2.9B community. The general comment from the folks here will be "throw that away and get the downloaded one from the Tomcat web site". No need to compile from source, Tomcat's pure Jav

httpd cant talk to tomcat workers

2008-03-26 Thread Andy Smith
Hi list, I'm new to tomcat and am trying to get apache to talk via mod_jk. I am using httpd 2.2.8 compiled from source mod_jk 1.2.26 from source and tomcat 5.5.23 from Alfresco 2.9B community. So far I have created a workers.properties based on the example file included with tomcat 5.5 source

RE: Tomcat 6 service startup command line argument

2008-03-26 Thread Caldarale, Charles R
> From: B Reed [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 service startup command line argument > > I am not sure where I can set the system property below > when tomcat is started as a service. Use the Java tab of the tomcat6w.exe program in Tomcat's bin directory. - Chuck THIS COMMUNIC

Tomcat 6 service startup command line argument

2008-03-26 Thread B Reed
I have read the document for class loaders, I need to add an endorsed jar file for my tomcat service on Windows. I am not sure where I can set the system property below when tomcat is started as a service. The -Djava.endorsed.dirs=c:/programs/tomcat6.0/endorsed The documentation at http://tomcat.a

Re: Encryption algorithms usage in Tomcat

2008-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hitesh, Hitesh Raghav wrote: | Which encryption algorithms are used in Tomcat? Could I get detailed | information about usage of these algorithms in Tomcat? As David mentioned, the encryption that Tomcat uses directly is SSL to encrypt HTTP communic

Re: RES: Securing Tomcat

2008-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, Milanez, Marcus wrote: | We are currently using the steps published by OWASP too, in terms of | tomcat configuration (there are application related security issues that | are not covered by the article). Is there something else we should be |

Re: Routing domain request to a context path

2008-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abhay, abhay srivastava wrote: | can anyone please help me here or is their a way to install an | application in "/" context path ? Name your WAR file ROOT.war, or, if you are using non-WAR webapps, simply name the directory your webapp lives in RO

RE: Unable to read shell environment variables

2008-03-26 Thread Caldarale, Charles R
> From: Patrick Lee [mailto:[EMAIL PROTECTED] > Subject: Re: Unable to read shell environment variables > > In the code for CGIServelet.java there is no check for "windows vista" As a workaround until this gets fixed, you can override the os.name property on the command line (or in the Java tab

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-26 Thread David Smith
Which workers.properties file? It's the one specified by the JkWorkersFile directive in your httpd configuration. If you have more than one, you might want to consider getting rid of the others just to eliminate confusion. Official mod_jk connector docs can be found at http://tomcat.apache.o

Re: Unable to read shell environment variables

2008-03-26 Thread Patrick Lee
On Fri, Feb 29, 2008 at 2:23 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > When running a Java program under Win2008, what value does the system > property os.name have? windows vista > What JVM version are you running? (This has the potential of being a > JVM, not Tomcat, problem.

Re: Tomcat 5.5 and Apache 2.2

2008-03-26 Thread David Fisher
Hi - There can be three cases (at least) (1) Your blog software insists on a folder name - a weblog id. Having played with Roller 4 and Tomcat, I was defeated in trying to get what you want. They are working on it in their next version, and people have reported how to do it. If you are usin

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-26 Thread Tommy Peterson
Thanks for your advice David. I will abandon this forum and try to figure it out myself. "Tomcat Users List" on Wednesday, March 26, 2008 at 7:46 AM -0500 wrote: >Bad Gateway wouldn't be generated by tomcat unless your tomcat code was >somehow getting content from another site. Given your most

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-26 Thread Tommy Peterson
It is actually because I have gotten such inconsistent experiences from this set up . . . the Tomcat apps were being served up at one point which is what I alluded to in my original post. But to fix the failure of Apache to forward requests to Tomcat I made changes; then this came about. It is one

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-26 Thread Tommy Peterson
It is even clearer to me that you haven't read the Tomcat documentation that Apache has out there online: "For Tomcat 5, unlike Tomcat 4.x, it is NOT recommended to place elements directly in the server.xml file. This is because it makes modifing the Context configuration more invasive since the

RE: Solaris 10 Tomcat performance maxes out at 2 threads

2008-03-26 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Solaris 10 Tomcat performance maxes out at 2 threads > > I have a poor understanding of how Tomcat spawns/manages > threads. It's pretty simple, all under control of the attributes on the elements in server.xml: http://tomcat.a

Tomcat 5.5 and Apache 2.2

2008-03-26 Thread Lasana Crider
Hello, I am trying to do the following: I want to use www.kriedertech.com instead of www.kriedertech.com/blog. I am using the mod_jk for the connector to Apache. I am having alot of problems doing this. Can anyone help with this? Lasana

RE: Encryption algorithms usage in Tomcat

2008-03-26 Thread Hitesh Raghav
Thank you very much Dave for quick response. I didn't find any encryption details about Tomcat at page: http://www.apache.org/licenses/exports/. Does it mean that Tomcat does not use any encryption? Is there any URL about encryption usage details in Tomcat? Regards, -Hitesh +91-9960623311

RES: Securing Tomcat

2008-03-26 Thread Milanez, Marcus
We are currently using the steps published by OWASP too, in terms of tomcat configuration (there are application related security issues that are not covered by the article). Is there something else we should be aware of, that is not described? >> I have no personal experience with this but it mi

Re: Tomcat 6.0 clustering

2008-03-26 Thread Ch Praveena
Hi Filip, These may be very basic questions. 1. What is heart beat in Tomcat clustering? 2. From which version of Tomcat, clustering is implemented? 3. In how many ways clustering is done in Tomcat 6.x? 4. In the article, http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html, It was mentione

Re: another apache/tomcat/mod_jk/virtual hosting question/issue

2008-03-26 Thread David Smith
Bad Gateway wouldn't be generated by tomcat unless your tomcat code was somehow getting content from another site. Given your most recent log snippets have apparently been from an httpd error log file instead of tomcat's logs (like catalina.out), I'm going to guess your mod_jk setup in httpd i

Re: semi-OT: lambdaprobe and logging on tc6?

2008-03-26 Thread Kristian Rink
Hi *; Am Thu, 20 Mar 2008 10:57:20 +0100 schrieb Kristian Rink <[EMAIL PROTECTED]>: [...] > webapp: /xport 04 Mrz 2008 12:05:46 [http-8080-4] ERROR > org.jstripe.tomcat.probe.controllers.logs.ListLogsController - Could > not interrogate context logger for /xport. Enable debug logging to se > e the