Re: 404 with mod_jk

2010-07-15 Thread Michael Powe
On Thu, Jul 15, 2010 at 01:52:17AM -0400, Michael Powe wrote: On Thu, Jul 15, 2010 at 02:28:52AM +0200, André Warnier wrote: Michael Powe wrote: To install mod_jk, I resorted to my good friend Google, and used a tutorial to set up the connector. In that tutorial, the method used was

No members active in cluster group

2010-07-15 Thread Andrew Bruno
Hello all, I am having problems in getting clustering to work in a windows server 2008 environment using tomcat 6.0.20 java 1.5 I get the No members active in cluster group message on both tomcats. The engine element on the first tomcat is: Engine name=Catalina defaultHost=localhost

Spring security configuration in web.xml results in 403 error

2010-07-15 Thread Ashish Jain
Hi, I have an application which uses non interactive login and hence utilizes NONLogin Authenticator in tomcat. Here is a snippet from web.xml. context-param param-namecontextConfigLocation/param-name param-value/WEB-INF/applicationContext-security.xml/param-value

Re: problems start cyclos in Tomcat with secutrity manager

2010-07-15 Thread stefan-b
awarnier wrote: stefan-b wrote: Hello, I hope you can help. I've installed cyclos (http://project.cyclos.org) on my tomcat5.5 running on debian lenny on amd64Bit Machine. A Mail to the Cyclos Team itself gets no answer since a week and the Cyclos Forum is nearly dead :( With an

Re: No members active in cluster group

2010-07-15 Thread Rainer Jung
On 15.07.2010 10:08, Andrew Bruno wrote: Hello all, I am having problems in getting clustering to work in a windows server 2008 environment using tomcat 6.0.20 java 1.5 I get the No members active in cluster group message on both tomcats. The engine element on the first tomcat is: Engine

deploying tomcat not on localhost

2010-07-15 Thread Jarosz Yohan
Hello, I setup my production environment on Apache 2.2.14 and tomcat 6.0. I want to mount tomcat and all applications on a url like http://myServ.com/tomcat/(myApps) Every things is working perfect when I set up tomcat on http://myServ.com/(myApps) but this will be reserved for another thing.

Re: problems start cyclos in Tomcat with secutrity manager (Solved)

2010-07-15 Thread stefan-b
Seems it runs with secutrity manager enabled. The Error from the Post above comes from a wrong Database version (cyclos 3.6 Beta3) what I've tested temporaly but not reset for Cyclos 3.5.6 Stable. This Lines I added to /etc/tomcat5.5/policy.d/50user.policy Inspired from this IBM Site:

Re: 404 with mod_jk

2010-07-15 Thread Rainer Jung
On 13.07.2010 23:17, Michael Powe wrote: Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM httpd server to proxy requests using mod_jk. IBM_HTTP_Server/6.0.2 Apache/2.0.47 (Unix) mod_jk/1.2.30 Server at localhost Port 80 I have followed all

Re: 404 with mod_jk

2010-07-15 Thread Michael Powe
Hello, Thank you! I did compile the module myself, wanting to be sure it was properly compatible with my target environments. I'll mod the code and see what new information is logged. Thanks. mp On Thu, Jul 15, 2010 at 01:54:48PM +0200, Rainer Jung wrote: On 13.07.2010 23:17, Michael Powe

Apache + Mod-jk + Jboss Problem

2010-07-15 Thread Rocky Chak
Hi, I have a application using Apache 2.2.15, Mod_jk and Jboss 4.2.1. Apache and Jboss Running fine till now. Suddenly there is an issue of slow browsing and later it stopped serving pages. We moved to backup server and now trying to fix this one. When Application deployed on Jboss and Jboss

Re: jsre_home is null

2010-07-15 Thread testwreq wreq
Hi, Thank you for responding. Below are the commands I used to check java. i am confused because which java is reading /usr/bin/java; i think it should be /usr/local/jdk1.6.0_20. As you see from the alternatives command, I have set the default java to /usr/local/jdk1.6.0_20/bin/java; Please

using Apache as a front end

2010-07-15 Thread James Godrej
I am looking for an example to use Apache as a front end to two tomcat servers running on different ports on same machine.ProxyPass /site1 http://site1.local.com:8080/ProxyPassReverse /site1 http://site1.local.com:8080/ as in Apache there is Document Root to serve webpages I found Tomcat uses

how to serve a website hidden to internet

2010-07-15 Thread James Godrej
I am having a website which is being served on my LAN as http://internal1.mydomain.com the vhost configuration for this is VirtualHost *:80 ServerAdmin webmas...@localhost ServerName internal1.mydomain.com ProxyRequests Off Proxy * Order deny,allow

Re: embedded tomcat, work folder wipe out issue

2010-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Federico, On 7/12/2010 3:26 AM, Federico Fissore wrote: I still think that working with embedded tomcats sharing a common base work folder has some issues: one could be that in several places in the code I've found statements like if (!new

Re: Apache + Mod-jk + Jboss Problem

2010-07-15 Thread Rainer Jung
On 15.07.2010 15:23, Rocky Chak wrote: Hi, I have a application using Apache 2.2.15, Mod_jk and Jboss 4.2.1. Apache and Jboss Running fine till now. Suddenly there is an issue of slow browsing and later it stopped serving pages. We moved to backup server and now trying to fix this one. When

changing server name in HTTP request

2010-07-15 Thread James Godrej
I am having a website which is being served on my LAN as http://internal1.mydomain.com the vhost configuration for this is VirtualHost *:80 ServerAdmin webmas...@localhost ServerName internal1.mydomain.com ProxyRequests Off Proxy * Order deny,allow Allow from all

Re: changing server name in HTTP request

2010-07-15 Thread Simão Fontes
Hello James, First of all you have to consider reading online documentation before asking questions to the mailing lists. inline responses James Godrej wrote: I am having a website which is being served on my LAN as http://internal1.mydomain.com the vhost configuration for this is

Re: setenv.sh and CATALINA_BASE

2010-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/12/2010 9:14 AM, Rainer Frey wrote: I understand that, but would it be possible/good/not causing problems to change this to do CATALINA_BASE=$CATALINA_HOME first, so a setenv.sh can rely on CATALINA_BASE being set? I think I

Re: jsre_home is null

2010-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, (Please set the name in your email client to something, or at least sign your messages with your name.) On 7/15/2010 9:49 AM, testwreq wreq wrote: Hi, Thank you for responding. Below are the commands I used to check java. i

Re: jsre_home is null

2010-07-15 Thread testwreq wreq
Hi Chris, Thank you for responding. Alternatives is defaulting to /usr/local/jdk1.6.0_20/bin/java (jdk from sun) /usr/bin/java has a symlink to - /usr/local/jdk1.6.0_20/bin/java We launch Tomcat by http://localhost:8080 We start it by running tomcat5 from /etc/init.d folder; This file calls

WebApp not recognised when having context.xml

2010-07-15 Thread bugger
Hallo, I have a webapp, developed with eclipse. Starting the project in eclipse works perfectly. However as soon I export the project as war file, unzip that file and copy it to the webapps folder of Tomcat, the manger can't find the application and I can't access it with manual typing the URL.

Re: WebApp not recognised when having context.xml

2010-07-15 Thread Caldarale, Charles R
On Jul 15, 2010, at 14:57, bugger s...@trash-mail.com wrote: Nice e-mail address; how to win friends and influence future employers... context What I am doing wrong. Misspelling Context - case matters. Also, manually unzipping the .war file may cause Tomcat to see just a portion of the

Re: WebApp not recognised when having context.xml

2010-07-15 Thread bugger
Also tried tomcat doing the unpacking via file upload of the war file but that also didn't work. I also tried to have an empty context.xml file. As soon as that file exists, my webapp is not found any more. -- View this message in context:

Re: using Apache as a front end

2010-07-15 Thread Hassan Schroeder
On Thu, Jul 15, 2010 at 7:02 AM, James Godrej jamesgod...@yahoo.in wrote: I am looking for an example to use Apache as a front end to two tomcat servers running on different ports on same machine.ProxyPass /site1 http://site1.local.com:8080/ProxyPassReverse /site1

Re: Script to restart Tomcat

2010-07-15 Thread Jordan Michaels
Most restart scripts that I've seen for Tomcat are home-brewed. Just google for Tomcat restart script and I'm sure you'll find something a bit more advanced then what you're using below. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering

Re: WebApp not recognised when having context.xml

2010-07-15 Thread bugger
Found the problem.Context must be written with capital letter at the beginning. -- View this message in context: http://old.nabble.com/WebApp-not-recognised-when-having-context.xml-tp29177124p29178120.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: WebApp not recognised when having context.xml

2010-07-15 Thread Hassan Schroeder
Found the problem.Context must be written with capital letter at the beginning. #{facepalm} -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail:

Re: No members active in cluster group

2010-07-15 Thread Andrew Bruno
Are both instances running on the same host Yes, both running on same host. I will upgrade, and see how it goes. Thanks On Thu, Jul 15, 2010 at 8:31 PM, Rainer Jung rainer.j...@kippdata.de wrote: On 15.07.2010 10:08, Andrew Bruno wrote: Hello all, I am having problems in getting

Re: WebApp not recognised when having context.xml

2010-07-15 Thread Bob Hall
--- On Thu, 7/15/10 at 2:56 PM, bugger s...@trash-mail.com wrote: Found the problem.Context must be written with capital letter at the beginning. -- Which Chuck pointed out earlier; about 50 minutes before you found it. - Bob

Re: Script to restart Tomcat

2010-07-15 Thread David Fisher
I've found that you cannot always rely on the shutdown script closing tomcat quickly. If you have a thread that is not properly managed maybe not at all. In my restart scripts I find the PID of the tomcat process, run the shutdown script, sleep 10 seconds, test if the PID is still active and if

Re: No members active in cluster group

2010-07-15 Thread Mark Eggers
A quick question: Does the Windows Server stop multicast packets? I was exploring clustering today on Fedora 13, and I had to modify my firewall rules to allow multicast. Here's a nice tool from an earlier thread about clustering. If you run this on your local machine you should see messages.

SEVERE message from DeltaManager

2010-07-15 Thread Matt Peterson
While load testing our clustered Tomcats, we are seeing the following stack trace in our catalina.out occasionally, but not regularly: Jul 16, 2010 3:34:49 PM org.apache.catalina.ha.session.DeltaManager messageReceived SEVERE: Manager [localhost#/urs]: Unable to receive message through TCP