Re: Portable

2010-03-12 Thread Asangansi
Hi, I'm really sorry for that. I have a webapp that runs on tomcat 6.0.2 with a mysql database. I'm looking at creating a portable version of my server for demonstration purposes, which will run on a different port other than the default. So, i'll like to know what configuration files i need to

RE: Portable

2010-03-12 Thread Josef Pullicino
Dear All, I would like to setup a tomcat cluster with 2 nodes. The configuration must be in a horizontal alignment, meaning that the two nodes are going to reside on two different machines. Any idea of how to set it up since the default tomcat help guide does not provide any configuration

How to setup Tomcat Cluster - Help needed

2010-03-12 Thread Josef Pullicino
Dear All, I would like to setup a tomcat cluster with 2 nodes. The configuration must be in a horizontal alignment, meaning that the two nodes are going to reside on two different machines. Any idea of how to set it up since the default tomcat help guide does not provide any configuration

Re: How to setup Tomcat Cluster - Help needed

2010-03-12 Thread Philip Wigg
On 12 March 2010 09:29, Josef Pullicino josef.pullic...@go.com.mt wrote: Dear All, I would like to setup a tomcat cluster with 2 nodes. The configuration must be in a horizontal alignment, meaning that the two nodes are going to reside on two different machines. Any idea of how to set it up

Re: Portable

2010-03-12 Thread André Warnier
Please do not hijack threads. Do not just hit reply on an existing message, and then replace the text or whatever. Start a new message. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-12 Thread emerson cargnin
I am having issues to expand the tar.gz version, having tried several different mirrors. The zip works though. Regards Emerson On 11 March 2010 18:09, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: emerson cargnin [mailto:echofloripa.y...@gmail.com] Subject: Re: Tomcat 6.0.26

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-12 Thread Mark Thomas
On 12/03/2010 10:55, emerson cargnin wrote: I am having issues to expand the tar.gz version, having tried several different mirrors. The zip works though. Works for me. Try clearing your browser cache. If that fails, it could be being cached by your ISP. If you had told us the URL of at least

Re: Portable

2010-03-12 Thread Pid
On 12/03/2010 10:18, André Warnier wrote: Please do not hijack threads. Do not just hit reply on an existing message, and then replace the text or whatever. Twice. Start a new message. - To unsubscribe, e-mail:

migrating an app from JB 4.0 to 5.1. Problem with login handling.

2010-03-12 Thread Gunnar.Bostrom
Hi, I'm working on moving an application from JB 4 to JB 5. In the application we have a special login handling. The web.xml contains an auth-methodAPPFORM/auth-method and an entry in = Authentication.properties that points to the implementation class. This doesn't work in JBoss 5.1 and I've not

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-12 Thread emerson cargnin
Sorry, that happened on chrome, in FF it worked fine. On 12 March 2010 11:02, Mark Thomas ma...@apache.org wrote: On 12/03/2010 10:55, emerson cargnin wrote: I am having issues to expand the tar.gz version, having tried several different mirrors. The zip works though. Works for me. Try

Re: Stopping Catalina From MBean Server

2010-03-12 Thread Kees Jan Koster
Dear Gerukan, Is anybody try to stop the catalina engine from jconsole. I have been using Tomcat 6.0.20, and trying to stop Catalina from jconsole. I click Catalina/Service/Catalina/Operations/stop on the MBean view. INFO messages are written to the console related with stopping operation

RE: How to setup Tomcat Cluster - Help needed

2010-03-12 Thread Robin D. Wilson
This reference is what we used - it seemed to work fine for us: http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html Don't forget to add this part: distributable/ Into the 'web.xml' file from the .war files you want to use clustered sessions. In our environment, we

RE: How to setup Tomcat Cluster - Help needed

2010-03-12 Thread Josef Pullicino
Dear Robin, Thanks very much for your kind help and information provided below. Up till now, I copied the following configuration into the server.xml file of each of the two tomcats. The result is that each tomcat is being aware of each member added or deleted to/from each tomcat. So, I guess

Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

2010-03-12 Thread Rob G
Hey all, My setup: Windows Server 2003 SP2 Single instance of Apache HTTP Server 2.2.15 (C:\Apache) Two instances of Apache Tomcat 6.0.24  in load balancing mode (C:\tomcat1 and C:\tomcat2) JK 1.2.30 used to connect the Apache front end to the two tomcat instances I've trying to configure the

RE: How to setup Tomcat Cluster - Help needed

2010-03-12 Thread Robin D. Wilson
I can't recall exactly why we went with the channelSendOptions=6, but the docs are here: http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html Basically the '6' was to use synchronous replication. To get the receiver to stop 'auto' configuring on the loopback interface (lo0), we just

RE: How to setup Tomcat Cluster - Help needed

2010-03-12 Thread Josef Pullicino
Robin, Thanks a lot for your kind help. In fact, those were the ways that we were thinking to setup. Thanks again for your cooperation :) Kind Regards, Josef Pullicino Systems Administrator GO GO Mobile, Fra Diego Street, Marsa, MRS 1501, Malta. t +356 2594 6827 f +356 2124 0112

Re: Not getting an error that I though I should be getting

2010-03-12 Thread Pid
On 10/03/2010 16:20, David kerber wrote: As part of my migration from tc 5.5.x to 6.0.x, I'm reviewing my deployment scripts, and noticed that in one of them, I'm deleting the jdbc driver jar, jodbc.jar from the WEB-INF/lib folders, because it's already on the system in jre/lib/ext. However, I

RE: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

2010-03-12 Thread Caldarale, Charles R
From: Rob G [mailto:robatgumt...@gmail.com] Subject: Restrict access to Manager from local ip address (Tomcat 6.0/Windows) Context docBase=C:\tomcat1\webapps\manager privileged=true Take out the docBase attribute - it's not allowed here. ResourceLink name=users global=UserDatabase

Re: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

2010-03-12 Thread Mark Thomas
On 12/03/2010 14:06, Rob G wrote: Hey all, My setup: Windows Server 2003 SP2 Single instance of Apache HTTP Server 2.2.15 (C:\Apache) Two instances of Apache Tomcat 6.0.24 in load balancing mode (C:\tomcat1 and C:\tomcat2) JK 1.2.30 used to connect the Apache front end to the two tomcat

RE: migrating an app from JB 4.0 to 5.1. Problem with login handling.

2010-03-12 Thread Caldarale, Charles R
From: gunnar.bost...@tieto.com [mailto:gunnar.bost...@tieto.com] Subject: migrating an app from JB 4.0 to 5.1. Problem with login handling. I'm working on moving an application from JB 4 to JB 5. So why did you send a query to the *Tomcat* mailing list? The web.xml contains an

Re: Tomcat 5.5 Thread Dump Questions

2010-03-12 Thread Tomcat Novice
Can anyone else offer more suggestions? jstack is not available on windows that i why I could not find it. My environment is using jdk 1.5. On Thu, Mar 11, 2010 at 10:17 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Tomcat Novice [mailto:tomcat.nov...@gmail.com] Subject:

Re: Tomcat 5.5 Thread Dump Questions

2010-03-12 Thread Mark Thomas
On 12/03/2010 15:57, Tomcat Novice wrote: Can anyone else offer more suggestions? jstack is not available on windows that i why I could not find it. My environment is using jdk 1.5. Java 5 is no longer being updated. It reached EOL last year. You need to upgrade. Mark

Re: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

2010-03-12 Thread Rob G
Charles and Mark, Thanks for your help. Your advice on removing the docBase and Resourcelink attibutes was correct and the restriction is now working correctly. I had based my changes to the conf files based on these articles:

RE: Tomcat 5.5 Thread Dump Questions

2010-03-12 Thread Caldarale, Charles R
From: Tomcat Novice [mailto:tomcat.nov...@gmail.com] Subject: Re: Tomcat 5.5 Thread Dump Questions My environment is using jdk 1.5. The simplest thing to do is move to 1.6 (note that Sun stopped support of 1.5 some months ago, unless you want to pay for it). You can also use JConsole to

RE: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

2010-03-12 Thread Caldarale, Charles R
From: Rob G [mailto:robatgumt...@gmail.com] Subject: Re: Restrict access to Manager from local ip address (Tomcat 6.0/Windows) I had based my changes to the conf files based on these articles: http://www.unidata.ucar.edu/Projects/THREDDS/tech/reference/TomcatSecurity.html

Re: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

2010-03-12 Thread Rob G
Well I had looked at http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring Manager Application Access. And it has the docbase attribute too... All too common, unfortunately.  Use the real Tomcat doc first, then Google.

Issues with Tomcat 6.0.26

2010-03-12 Thread Sai Pullabhotla
I was waiting on a fix for Jasper (48627) and found that 6.0.26 includes this fix. When we tested the individual patch for this fix applied to 6.0.24, things seem to have worked fine. After upgrading to Tomcat 6.0.26, I'm seeing all kinds of errors. Below are the details: Note: Our application is

RE: Restrict access to Manager from local ip address (Tomcat 6.0/Windows)

2010-03-12 Thread Caldarale, Charles R
From: Rob G [mailto:robatgumt...@gmail.com] Subject: Re: Restrict access to Manager from local ip address (Tomcat 6.0/Windows) Well I had looked at http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring Manager Application Access. And it has the docbase attribute too...

Re: Issues with Tomcat 6.0.26

2010-03-12 Thread Konstantin Kolinko
2010/3/12 Sai Pullabhotla sai.pullabho...@jmethods.com: rich:tab label=#{bundle.tabQuickLinks} h:commandLink action=browseProjects title=#{node.longDescription} styleClass=#{node.selected ? 'SelectedCategoryNode' : 'CategoryNode'} actionListener=#{categoryTree.nodeClicked} What versions of

Examining where Tomcat is serving files from

2010-03-12 Thread PCJ
Hi, I'm trying to test a custom tag library and not quite getting there. I'm using Tomcat to serve the files but when I navigate to where they should be, I'm getting 404s for everything. I have a project in Eclipse called MyTagLib, which Tomcat (integrated into Eclipse) is serving on port 8080,

Re: Not getting an error that I though I should be getting

2010-03-12 Thread David kerber
Pid wrote: On 10/03/2010 16:20, David kerber wrote: As part of my migration from tc 5.5.x to 6.0.x, I'm reviewing my deployment scripts, and noticed that in one of them, I'm deleting the jdbc driver jar, jodbc.jar from the WEB-INF/lib folders, because it's already on the system in jre/lib/ext.

RE: Not getting an error that I though I should be getting

2010-03-12 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Not getting an error that I though I should be getting Is it still considered good practice to put the jdbc driver jars into the common lib location (catalina_home/lib on tc6)? If Tomcat is managing the connection pool, it's

org.apache.catalina.connector.Request.changeSessionId adds a second JSESSIONID Set-Cookie header

2010-03-12 Thread Stephan Zlatarev
Hello, I am upgrading my applications from Tomcat 6.0.18 to 6.0.24 and come across the following problem with the protection mechanism against session fixation attacks. During authentication my Authenticator implementation requires access to the HTTP session before it invokes method

Re: Not getting an error that I though I should be getting

2010-03-12 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Not getting an error that I though I should be getting Is it still considered good practice to put the jdbc driver jars into the common lib location (catalina_home/lib on tc6)? If Tomcat is managing the

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread testwreq wreq
I cannot bring up the tomcat page http://serverhost:8005 there are no errors logged in the /var/log/tomcat5 ; The server.xml file has The file is showing Server port=8005 and Connector port=8080' I know in firewall port 8005 is open. what is the connector port? Could it have something with page

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread David kerber
testwreq wreq wrote: I cannot bring up the tomcat page http://serverhost:8005 Try it on 8080; it's the connector that you want to connect to. D there are no errors logged in the /var/log/tomcat5 ; The server.xml file has The file is showing Server port=8005 and Connector port=8080' I

RE: Not getting an error that I though I should be getting

2010-03-12 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Not getting an error that I though I should be getting Could you clarify what a given branch of the classloader tree means? There's a nice picture in the docs: Bootstrap | System | Common

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 I cannot bring up the tomcat page http://serverhost:8005 As David K pointed out, you shouldn't be able to. The file is showing Server port=8005 and Connector port=8080' 8005 is

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread testwreq wreq
8080 does not work either. And, there are no logs generated. On Fri, Mar 12, 2010 at 1:27 PM, David kerber dcker...@verizon.net wrote: testwreq wreq wrote: I cannot bring up the tomcat page http://serverhost:8005 Try it on 8080; it's the connector that you want to connect to. D

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 8080 does not work either. And, there are no logs generated. Firewall? Do a netstat -ano and verify that Tomcat is listening on 8080. - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Not getting an error that I though I should be getting

2010-03-12 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Not getting an error that I though I should be getting Could you clarify what a given branch of the classloader tree means? There's a nice picture in the docs: Bootstrap | System

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread testwreq wreq
Thanks a lot. netstat -ano showed the following for 8080 tcp0 0 :::127.0.0.1:8005 :::* LISTEN off (0.00/0/0) tcp0 0 :::8009 :::* LISTEN off (0.00/0/0) tcp0 0 :::8080 :::* LISTEN off (0.00/0/0)

Re: Issues with Tomcat 6.0.26

2010-03-12 Thread Sai Pullabhotla
Thanks for the reply, Konstantin. If I understood your question correctly, you are asking about the headers in the taglib for richfaces. I pulled it from the jar file and here it is: taglib xsi:schemaLocation=http://java.sun.com/xml/ns/javaee

RE: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3 netstat -ano showed the following for 8080 Sorry, I should have said netstat -anp (-ano is for Windows). The -p option will display the pid numbers, which should be quite

RE: Examining where Tomcat is serving files from

2010-03-12 Thread Joseph Morgan
I'm getting 404s for everything Is it your tag not being accessed, or files accessed from your tag, or the whole webapp missing? If it is just an issue of your tag not being able to find files as you think they should, Just create a File (new File(xxx)) within your tag and System.out the

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread testwreq wreq
I see 8080 running as follows: tcp0 0 :::8080 :::* LISTEN 6980/java On Fri, Mar 12, 2010 at 2:27 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: How do I set up and run Tomcat

Re: Issues with Tomcat 6.0.26

2010-03-12 Thread Martin Dubuc
I am running into same issue on my side using the latest Tomcat 6.0.26 and JSF. I am using Mojarra 1.2 patch 14 and RichFaces 3.3.2 SR1. I didn't have any issues with 6.0.24. Not sure what changed in 6.0.26, but it might have broken JSF 1.2 support. Hopefully, someone can recommend a workaround.

Re: Issues with Tomcat 6.0.26

2010-03-12 Thread Sai Pullabhotla
I forgot to mention the version numbers in my previous mail. Here they are: Richfaces 3.3.1 MyFaces 1.2.4 Tomahawk 1.1.6 Regards, Sai Pullabhotla On Fri, Mar 12, 2010 at 1:16 PM, Sai Pullabhotla sai.pullabho...@jmethods.com wrote: Thanks for the reply, Konstantin. If I understood your

RE: Issues with Tomcat 6.0.26

2010-03-12 Thread Erick Lichtas
For additional commands, e-mail: users-h...@tomcat.apache.org __ Information from ESET NOD32 Antivirus, version of virus signature database 4940 (20100312) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus

Re: Tomcat 5.5 Thread Dump Questions

2010-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 3/12/2010 10:57 AM, Tomcat Novice wrote: Can anyone else offer more suggestions? http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F - -chris -BEGIN PGP SIGNATURE- Version:

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 3/10/2010 3:04 PM, Hassan Schroeder wrote: On Wed, Mar 10, 2010 at 11:19 AM, testwreq wreq testw...@gmail.com wrote: Unfortunately, I cannot use 6.0 because my boss believes that we should use the one that comes with the centos built as

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread André Warnier
testwreq wreq wrote: I see 8080 running as follows: tcp0 0 :::8080 :::* LISTEN 6980/java Ok, that /might/ be Tomcat, and it /might/ be the Tomcat we are talking about. But it is not sure yet, because it seems that there may be more running on that system

Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3

2010-03-12 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 3/10/2010 3:04 PM, Hassan Schroeder wrote: On Wed, Mar 10, 2010 at 11:19 AM, testwreq wreq testw...@gmail.com wrote: Unfortunately, I cannot use 6.0 because my boss believes that we should use the one that

RE: Examining where Tomcat is serving files from

2010-03-12 Thread PCJ
Unfortunately, everything is missing. Even flat HTML doesn't show up, and I've tried just about every permutation of directory names I can think of. It may be that Tomcat isn't even trying, or tries but sees nothing at all. I'm using 4.1 even though it's embarrassingly old because it's part of

RE: Examining where Tomcat is serving files from

2010-03-12 Thread Caldarale, Charles R
From: PCJ [mailto:peter.jones@gmail.com] Subject: RE: Examining where Tomcat is serving files from I'm using 4.1 even though it's embarrassingly old because it's part of the testing procedure for this application. Fix the procedure and get rid of some of the moving parts. Replace the

Re: Issues with Tomcat 6.0.26

2010-03-12 Thread Konstantin Kolinko
2010/3/12 Sai Pullabhotla sai.pullabho...@jmethods.com: I forgot to mention the version numbers in my previous mail. Here they are: Richfaces 3.3.1 MyFaces 1.2.4 Tomahawk 1.1.6 I have just downloaded trinidad-1.2.13-example.zip and its trinidad-demo-1.2.13.war works for me in 6.0.26.

RE: Issues with Tomcat 6.0.26

2010-03-12 Thread Erick Lichtas
-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org __ Information from ESET NOD32 Antivirus, version of virus signature database 4940 (20100312) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: Issues with Tomcat 6.0.26

2010-03-12 Thread Sai Pullabhotla
You are the man, Konstantin! The issue is with the web app specification in web.xml is set to 2.4. After I changed it to 2.5, I see most pages rendering correctly. I will do some more testing and let you know how it goes. Thanks again for pointing this. Regards, Sai Pullabhotla On Fri, Mar

RE: Issues with Tomcat 6.0.26

2010-03-12 Thread Caldarale, Charles R
From: Erick Lichtas [mailto:elich...@linoma.com] Subject: RE: Issues with Tomcat 6.0.26 5)Start the tomcat server and navigate to http://host:8080/myfaces-example-simple-1.1.9/sample1.jsf. You will notice that the many EL expressions are not resolved properly. Once the WEB-INF/web.xml