Re: mod_jk load balancer questions

2006-08-03 Thread Rainer Jung
example: localhost/abc.html;jsessionid=afsdfasdf?test=abc or localhost/abc.html?;jsessionid=adsfasdftest=abc which of the above is correct? The first one. Rainer - To start a new topic, e-mail: users@tomcat.apache.org

Re: How to identify busy Tomcat threads

2006-08-03 Thread Ramdas . Hegde
Thanks for that tip. Since the current Tomcat status page shows these threads as busy even though they are waiting for connections from Apache, it is a bit misleading since we are not sure if we are out of capacity on the Tomcat side and if we need to increase to Tomcat capacity. What is the best

Re: Install on XP Home edition

2006-08-03 Thread Sameer Acharya
Open a command prompt and then try manually running the Tomcat startup batch file, you should be able to see the error message. Post the same here. -Sameer Lou Caudell [EMAIL PROTECTED] wrote: McRaven, Brian wrote: I installed Tomcat 5.5.17 on my home computer so that I can test my project

Tomcat 5.0.30

2006-08-03 Thread Stuart Fox
Hi Just a quick question, can I user the server=Something bit in a connector to hide the Apache/Coyote-1.1 banner in tomcat 5.0.30 like I can in 4.1.32 ? Cheers Stuart This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity

Pointing domain to your application

2006-08-03 Thread Gamefaqs Philippines
Hi guys, I've read about the tomcat connectors. I haven't finished doing it but I know more or less what will happen. Well... I have two domains, for simplicity sake I will use the domain names domain1.com and domain2.com which can be accesed by invoking http://www.domain1.com in your browser

How to do the precompilation on jsp

2006-08-03 Thread Raju Balugu
Hi All, We are using the clearcase for version control(vob).My requirement is like..I need to do the precompilation before going to ran a build?is there any utilities in tomcat end or third partys.(as the jasper-compiler is so fast we are palning to do this).please share your experience on

Re: Pointing domain to your application

2006-08-03 Thread Li
Not a connector way, but a simple and more direct way is you can refresh the apache home page (e.g. index.htm) by pointing to your application path. But this will not separate the request typs (static/dynamic). On 8/3/06, Gamefaqs Philippines [EMAIL PROTECTED] wrote: Hi guys, I've read about

Re: Unable to compile the Jsp in Tomcat

2006-08-03 Thread devteam_matsys
HI Uday, Thanks for your quick response. I have included that jar file in the classpath still i got that type of error. is there any other solution for that. Waiting for your earliest reply. -- View this message in context:

Re: Pointing domain to your application

2006-08-03 Thread Gamefaqs Philippines
But wouldn't this be specific to only one application? Also, wouldn't this expose the real url of my site like http://www.xxx.xxx.xxx.xxx:8080/myapp/requesServ.do?uid=12345 instead of http://www.mydomain.com/requesServ.do?uid=12345 ? - Talk is

Re: Pointing domain to your application

2006-08-03 Thread Li
On 8/3/06, Gamefaqs Philippines [EMAIL PROTECTED] wrote: But wouldn't this be specific to only one application? Also, wouldn't this expose the real url of my site like http://www.xxx.xxx.xxx.xxx:8080/myapp/requesServ.do?uid=12345 instead of http://www.mydomain.com/requesServ.do?uid=12345 ?

Re: How to do the precompilation on jsp

2006-08-03 Thread Sameer Acharya
My understanding is that you need to pre-compile jsp's from your build before you start using the application right ? You can write a simple script to hit all your jsp's ( need to start tomcat first), this will precompile your jsp's. -Sameer Raju Balugu [EMAIL PROTECTED] wrote: Hi All, We are

Re: How to do the precompilation on jsp

2006-08-03 Thread Chris Lear
* Raju Balugu wrote (03/08/06 10:14): Hi All, We are using the clearcase for version control(vob).My requirement is like..I need to do the precompilation before going to ran a build?is there any utilities in tomcat end or third partys.(as the jasper-compiler is so fast we are palning to do

Re: How to do the precompilation on jsp

2006-08-03 Thread Chris Lear
* Chris Lear wrote (03/08/06 11:48): * Raju Balugu wrote (03/08/06 10:14): Hi All, We are using the clearcase for version control(vob).My requirement is like..I need to do the precompilation before going to ran a build?is there any utilities in tomcat end or third partys.(as the

Re: Tomcat 5.0.30

2006-08-03 Thread Mark Thomas
Stuart Fox wrote: Hi Just a quick question, can I user the server=Something bit in a connector to hide the Apache/Coyote-1.1 banner in tomcat 5.0.30 like I can in 4.1.32 ? Doesn't look like it from the docs. You would be fine in 5.5.17 though. Mark

Re: Pointing domain to your application

2006-08-03 Thread Edmund Urbani
Edmund Urbani wrote: Li wrote: On 8/3/06, Gamefaqs Philippines [EMAIL PROTECTED] wrote: But wouldn't this be specific to only one application? Also, wouldn't this expose the real url of my site like http://www.xxx.xxx.xxx.xxx:8080/myapp/requesServ.do?uid=12345 instead of

Re: Unable to compile the Jsp in Tomcat

2006-08-03 Thread Uday K Sarvasiddhi
Hi , Please find the .jar files from the tomcat4.x\common\lib directory . Copy all these files and keep it in your application folder (ex: helloworld) Say for example if you have a folder under webapps( Ex: helloworld ) copy all those files in the below lib directory . Drectory structure:

Query regarding tomcat cluster

2006-08-03 Thread Vinod Devarajan
Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more instance and followed the steps in the website below. http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html I am basically installing both instances on same machine. I was able to start both the instances. The

Re: place to put taglib descriptors

2006-08-03 Thread David Smith
The only way a tld should be in WEB-INF/lib is if it's in the META-INF of the jar containing the taglib classes. They can be in let's say WEB-INF/tlds and then added to web.xml in a jsp-config tag, one per taglib tag. --David Marten Lehmann wrote: Hello, currently (in a 2.4 container)

Re: Unable to compile the Jsp in Tomcat

2006-08-03 Thread David Smith
You say: 1. On first load after deploying, you get the exception below 2. Second request to the jsp loads fine. I'm not sure why, but it sounds like the results of compiling the .jsp to .java isn't written yet when the compiler is invoked for compiling the .java to a .class. By the time the

RE: Install on XP Home edition

2006-08-03 Thread McRaven, Brian
This is where I believe my mistake is. I installed Java on my home computer in response and now I'm working on getting the JAVA_HOME variable set. I thought I created the correct JAVA_HOME environment variable but I found out I was creating it in the top user box and not in the bottom system

Re: Pointing domain to your application

2006-08-03 Thread Gamefaqs Philippines
Thanks for your reply guys, not only it was very fast... But it was very informative as well... If it's ok, I'd like to go back to the domain pointing to my application part. http://www.mydomain.com - xxx.xxx.xxx.xxx:8080/myapplication I'd like to do this without having to go to

Query regarding tomcat cluster

2006-08-03 Thread Vinod Devarajan
Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more instance and followed the steps in the website below. http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html I am basically installing both instances on same machine. I was able to start both the instances. The

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
that link contains all the necessary steps, when installing on the same machine, you must avoid port conflicts, the two instances aren't allowed to share ports like 8080,8009,4001 etc Filip Vinod Devarajan wrote: Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more

RE: Response time banding

2006-08-03 Thread Edward Hibbert
Well, it turns out I was wrong about the 2s banding. This _was_ garbage collection, and was cured by using -XX:+UseConcMarkSweepGC -XX:+UseParNewGC. I still get the 5s banding, though, which is a puzzler. Edward. -Original Message- From: Kurt Overberg [mailto:[EMAIL PROTECTED] Sent:

Re: Query regarding tomcat cluster

2006-08-03 Thread Vinod Devarajan
Yes. I changed all the post numbers. I used the next different for the second instance. So should I run two different instances in two different browers initially. Like 1 will be http://localhost:8080 and other will be http://localhost:8081 Then if one fails will it automatically connect to other

How to run the manager web-app for Tomcat into Jonas?

2006-08-03 Thread gaston . azerty
Hi, Im my previous work, I tried to see how to call on Tomcat about the validity of a session. I have found a solution using the web-app manager provided with Tomcat. And I am trying to install this webapp in JOnAS, but I run up against some problems, so some questions: Is it possible to

multiple instances of tomcat

2006-08-03 Thread Pratap Parne
how to setup and deploy applications on multiple instances of tomcat on a single box.can anyone give me the steps to do that __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: multiple instances of tomcat

2006-08-03 Thread Christopher Schultz
Pratap, how to setup and deploy applications on multiple instances of tomcat on a single box.can anyone give me the steps to do that RTFM: See RUNNING.txt supplied with the Tomcat package. There's a section on Advanced Configuration - Multiple Tomcat Instances. -chris signature.asc

Re: multiple instances of tomcat

2006-08-03 Thread Chris Lear
* Pratap Parne wrote (03/08/06 15:50): how to setup and deploy applications on multiple instances of tomcat on a single box.can anyone give me the steps to do that You need to use different CATALINA_BASE variables for the different instances. It's badly documented (in my opinion), but you can

Re: multiple instances of tomcat

2006-08-03 Thread Filip Hanik - Dev Lists
it could be easier to just cp -r TC_HOME_1 TC_HOME_2 and voila, two instances, just remember to change the ports in TC_HOME_2/conf/server.xml to be different from server_1 Filip Chris Lear wrote: * Pratap Parne wrote (03/08/06 15:50): how to setup and deploy applications on multiple

Re: How to identify busy Tomcat threads

2006-08-03 Thread Edmon Begoli
Ramdas, The most precise way is to use JConsole or other JMX client and to lookup the maxThreads and related properties of the 8009 jk connector. Regards, Edmon http://blogs.ittoolbox.com/eai/software -- Forwarded message -- From: [EMAIL PROTECTED] To: Tomcat Users List

Re: Pointing domain to your application

2006-08-03 Thread Hassan Schroeder
On 8/3/06, Edmund Urbani [EMAIL PROTECTED] wrote: Ah. Sorry. I missed the important part, where you said you had two applications in one tomcat. They can't both have the root context then. Of course they can -- the OP is talking about two different domains. So there would be two Host

RE: Query regarding tomcat cluster

2006-08-03 Thread Tim Lucia
-Original Message- From: Vinod Devarajan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 9:46 AM To: Tomcat Users List Subject: Re: Query regarding tomcat cluster Yes. I changed all the post numbers. I used the next different for the second instance. So should I run

Re: Pointing domain to your application

2006-08-03 Thread Gamefaqs Philippines
Of course they can -- the OP is talking about two different domains. So there would be two Host elements, each having its own ROOT context. So simple, no mod_rewrite nonsense required... But I'm still probably be needing mod_jk right? How do I point each IP to my application?

Is there a way so specify a wildcard in host/alias to avoid dealing with bunch of virtual hosts?

2006-08-03 Thread David Gagnon
Hi all, I have a lot of virtual hosts on my network. I need all of them to access the same application on a tomcat 5.5. I know there are the ALIAS directive in server.xml but the problem is that new virtual host may be added when the application is running and I don't want to manually

Re: Is there a way so specify a wildcard in host/alias to avoid dealing with bunch of virtual hosts?

2006-08-03 Thread Chris Lear
* David Gagnon wrote (03/08/06 17:12): Hi all, I have a lot of virtual hosts on my network. I need all of them to access the same application on a tomcat 5.5. I know there are the ALIAS directive in server.xml but the problem is that new virtual host may be added when the application is

Re: Query regarding tomcat cluster

2006-08-03 Thread Vinod Devarajan
Thank you very much. I have to also use Iplanet (sun one) web server version 4.1 and integrate all these. Any suggestions this. Vinod On 8/3/06, Tim Lucia [EMAIL PROTECTED] wrote: -Original Message- From: Vinod Devarajan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
search the docs for iplanet and see if it has any load balancing capabilities, here are some resources, if you want a software balancer to play around with http://www.linux.com/article.pl?sid=05/07/27/1729229 http://www.inlab.de/balance.html http://siag.nu/pen Vinod Devarajan wrote: Thank

Help with redirection from http to https

2006-08-03 Thread Chandra Muppavarapu
Folks, I have a packaged software that uses tomcat as the webserver. I would like the users to be automatically redirected to https even when the type in an URL starting with http. 1) Is there any way this could be acheived through a tomcat configuration change? 2) If not what are the

Tomcat 4: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-08-03 Thread Roy Kiesler
I have been trying for 2 days now to setup a simple connection pool in Tomcat 4.0.6 for a Hypersonic database with the ever-so-popular error in the subject. I have read every possible Google post on the subject, but found not solution for Tomcat 4, only 5.x. Anyhow, here's the setup: 1.

Re: Pointing domain to your application

2006-08-03 Thread Hassan Schroeder
On 8/3/06, Gamefaqs Philippines [EMAIL PROTECTED] wrote: Of course they can -- the OP is talking about two different domains. So there would be two Host elements, each having its own ROOT context. So simple, no mod_rewrite nonsense required... But I'm still probably be needing mod_jk right?

Re: mod_jk load balancer questions

2006-08-03 Thread vin
Thank you for the reply. My configuration uses IIS 5.1 as the webserver. I read on some forums that IIS has issues handling uris with ;jsessionid. Is this still the case in iis 5.1? Does anyone know? thanks. --- Rainer Jung [EMAIL PROTECTED] wrote: example:

Tomcat 3.3.1 with an IBM JVM

2006-08-03 Thread William Chu
Hello Has anyone ever configured Tomcat 3.3.1 with an IBM JVM to use https? I have unable to get it working. I see the following exception: INFO tomcat server output Caused by: org.apache.tomcat.core.TomcatException: Root cause - Class com.ibm.jsse.bt configured for SSLContext not a SSLContext

how to use jsvc to stop the tomcat service

2006-08-03 Thread Patrick Wang
Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the documentation page, however it did not mention how to stop the tomcat, I am currently using kill processed and wondering if there is a more elegant solution. Thanks Pat

Re: Help with redirection from http to https

2006-08-03 Thread Filip Hanik - Dev Lists
yes, web.xml for your web-application http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727 user-data-constraint CONFIDENTIAL Filip Chandra Muppavarapu wrote: Folks, I have a packaged software that uses tomcat as the webserver. I would like the users to be automatically redirected

Problem with JOTM...

2006-08-03 Thread Moises Lejter
I cannot seem to get JOTM to work with Tomcat 5.5.17 on Suse Linux 10.0 in my web app, even though I think I am doing all the right things and I am hoping someone here can spot my problem J The error I get is this, when looking up java:comp/UserTransaction in the InitialContext:

Re: WAR deployments and uploaded files...

2006-08-03 Thread Moises Lejter
This only works as long as I don't redeploy the webapp that has WebDAV enabled via its WAR file, right? I did not find anything that would have Tomcat realize it was not supposed to delete the WebDAV's directory inside the second web app on redeploy... Moises Mark Thomas [EMAIL PROTECTED]

Re: can not install a web application to a remote tomcat web server by Ant

2006-08-03 Thread Nicholas Sushkin
On Thursday 03 August 2006 14:14, Bo Xu wrote: Hi all, I spent a whole day trying to use ant to deploy an web app to a remote tomcat web server. I can use the list task, but that is not the case of the deploy task. Is there anyone who can tell how to use the path, war and localwar

Tomcat SSL question

2006-08-03 Thread David Miller
When I run my app using Tomcat only (without apache httpd) I specify the ports for secure and non-secure pages; http://localhost:8080/my-app or https://localhost:8443/my-app for example. I've installed mod_jk hoping that Apache httpd would handle the connection allowing me to omit the port

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Warren Pace
From: Patrick Wang [EMAIL PROTECTED] Date: 2006/08/03 Thu PM 02:27:35 EDT To: 'Tomcat Users List' users@tomcat.apache.org Subject: how to use jsvc to stop the tomcat service Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the

Re: Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Warren Pace
Pat, See reply below. I left out the left curly brace in the if [ ! -x ${JSVC_BIN} ]; then statement. Sorry, didn't proof-read before I hit send... From: Warren Pace [EMAIL PROTECTED] Date: 2006/08/03 Thu PM 05:20:47 EDT To: Tomcat Users List users@tomcat.apache.org Subject: Re:

Re: Pointing domain to your application

2006-08-03 Thread Gamefaqs Philippines
Do you need Apache httpd for some reason? Supporting PHP or some other non-Java app? If not, forget it and mod_jk. Each individual app (Context) is contained within the appropriate Host element. That's it. Yes I need httpd so I could also host PHP 5 applications. Yes I am

RE: Silent install of tomcat 4.1.31 on windows fails

2006-08-03 Thread ehawkes
Hi Mark, Thanks for letting me know. I am trying to work around the problem with tomcat not appearing in the list of programs in Windows Control Panel Add or Remove Programs. What I tried is explained below. However, it isn't completely successful. I think the problem has something

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Re: Tomcat SSL question

2006-08-03 Thread Mark Thomas
David Miller wrote: When I run my app using Tomcat only (without apache httpd) I specify the ports for secure and non-secure pages; http://localhost:8080/my-app or https://localhost:8443/my-app for example. I've installed mod_jk hoping that Apache httpd would handle the connection allowing

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Filip Hanik - Dev Lists
of course, stopping a service is used using the Windows Services GUI. Control Panel - Administrative Tools - Services Filip Patrick Wang wrote: Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the documentation page, however it did not mention

401 Page not getting displayed on failed BASIC authentication

2006-08-03 Thread Dhiraj Ramakrishnan
Hello, I am facing a problem with BASIC authentication. On failure of authentication i want the application to go to a servlet where i can find out who failed authentication and log the results in the database. In my web.xml i have mentioned that on 401 error , the application should go

Re: Tomcat SSL question

2006-08-03 Thread David Miller
I can't do that because the web server uses those ports. Perhaps someone can just verify the following; will tomcat with mod_jk allow me to access encrypted pages without seeing the port in the URL? Example: we want to see this https://localhost/my-secured-webapp and NOT this

Re: Help with mod_jk: undefined symbol: apr_sockaddr_ip_get error

2006-08-03 Thread Christopher Schultz
To whom it may concern, Hi guys, I'm using Apache Web Server 1.3.x, my jk version is mod_jk-apache-2.0.46-linux-i686.so (well, that's the file I downloaded). That's your problem: you are using a binary mod_jk compiled for 2.0.46 with a 1.3.x Apache. :( You really need to compile mod_jk for

Re: Help with mod_jk: undefined symbol: apr_sockaddr_ip_get error

2006-08-03 Thread Gamefaqs Philippines
compile it against your current Apache install and everything will be fine. Uhhh... Surely this would make me look dumb... Just gonna try what you're saying anyway... Thanks! - Groups are talking. Weacute;re listening. Check out the handy