tomcat 5.5.20 with jsvc crash

2008-07-09 Thread Umesh Kudtarkar
Hi All, We are running Tomcat 5.5.20 on RHEL 4 with jsvc. After running for 2-3 days tomcat suddenly crashes with error similar to this. GC09/07/2008 11:17:52 1049 jsvc.exec error: Service did not exit cleanly There is no other information in log file. No other error file is generated.

Re: Error HTTP 500 in war deployment

2008-07-09 Thread Mark Thomas
Marcos wrote: Hi people. I need to deploy a war file in Tomcat 5.5.26 I upload the war, but when uploads finished i have the next error. What can be wrong ? (I can deploy in my pc as localhost, but in my ISP don?t work and is the same .war file ) thanks for any help. 1. Don't hi-jack threads.

CacheEventQueue.QProcessor Thread --Problem with JCS

2008-07-09 Thread Raghavendra Kumar Naik
Hi Myself Raghu, is implementing the JCS for one of my projects.Here I use the concept of RemoteCacheServer and RemoteCacheClient. When I populate some 1 lakh objects from the client it updates server as well.My problem is to update the objects from client to server JCS maintains only "ONE

domain level session tracking (cookie based)

2008-07-09 Thread Dave
Hi,   We are using JBoss 4.0.5GA. The web server can be accessed using a number of subdomains, such as:   a.mydomain.com b.mydomain.com   In a same web browser instance, if a user visits a.mydomain.com, then click b.mydomain.com in the page, the new page will be a different session.   For cookie

Re: Error HTTP 500 in war deployment

2008-07-09 Thread Sameer Acharya
Looks like your ISP's Tomcat installation is missing some jars . -Sameer --- On Thu, 7/10/08, Marcos <[EMAIL PROTECTED]> wrote: > From: Marcos <[EMAIL PROTECTED]> > Subject: Error HTTP 500 in war deployment > To: "Tomcat Users List" > Date: Thursday, July 10, 2008, 9:04 AM > Hi people. > > I

Error HTTP 500 in war deployment

2008-07-09 Thread Marcos
Hi people. I need to deploy a war file in Tomcat 5.5.26 I upload the war, but when uploads finished i have the next error. What can be wrong ? (I can deploy in my pc as localhost, but in my ISP don?t work and is the same .war file ) thanks for any help. HTTP Status 500 - type Exception report

RE: Tomcat 6 virtual hosting and subdomain

2008-07-09 Thread Caldarale, Charles R
> From: Angelo Chen [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 virtual hosting and subdomain > > I'd like to let a web application pointing at something like a > subdomain or alias, like this: > www.test.example.com Your question is not phrased well, so I can only guess at what you're asking f

RE: How to configure multiple web applications in a single host

2008-07-09 Thread Caldarale, Charles R
> From: Elliot Huntington [mailto:[EMAIL PROTECTED] > Subject: Re: How to configure multiple web applications in a > single host > > >$CATALINA_HOME/conf/Catalina/localhost/A.xml > > > type="org.apache.catalina.UserDatabase"/> > > >$CATALINA_HOME/conf/Catalina/localhost/B.xml > > > typ

Tomcat 6 virtual hosting and subdomain

2008-07-09 Thread Angelo Chen
hi, this question might not be totally tomcat related, sorry for that. I'd like to let a web application pointing at something like a subdomain or alias, like this: www.test.example.com any tips/directions on how to achieve this ? thanks. Angelo -- View this message in context: http://www.na

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-09 Thread Bill Barker
"Suma Rakesh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> Hi, >> >> I am starting Tomcat through one of my C++ programs on >> windows 2003 server. I am using Bootsrap >> org.apache.catalina.startup.Bootstrap.main() method and >> pass 'Start' and 'Stop' as arguments. >> You nee

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-09 Thread Steve Ochani
On 9 Jul 2008 at 17:03, Suma Rakesh wrote: > > Hi, > > > > I am starting Tomcat through one of my C++ programs on > > windows 2003 server. I am using Bootsrap > > org.apache.catalina.startup.Bootstrap.main() method and > > pass 'Start' and 'Stop' as arguments. Hmm OK, I would have used the star

Re: How to configure multiple web applications in a single host

2008-07-09 Thread Elliot Huntington
Thank you for your quick response. When I say "put one of the web applications in the webapps folder" I mean that if the webapps folder looks like either: > $CATALINA_HOME/webapps/ > $CATALINA_HOME/webapps/A/ > $CATALINA_HOME/webapps/A/... or > $CATALINA_HOME/webapps/ > $CATALINA_HOME/webapps/B/ >

Blocking port 8005 in TomCat in Deamon Mode

2008-07-09 Thread Suma Rakesh
> Hi, > > I am starting Tomcat through one of my C++ programs on > windows 2003 server. I am using Bootsrap > org.apache.catalina.startup.Bootstrap.main() method and > pass 'Start' and 'Stop' as arguments. > > The documentation read mentioned that this will start > tomcat in daemon mode. Howeve

RE: How to configure multiple web applications in a single host

2008-07-09 Thread Caldarale, Charles R
> From: Elliot Huntington [mailto:[EMAIL PROTECTED] > Subject: How to configure multiple web applications in a single host > > If I only put one of the web applications in the webapps > folder (either of them) then that single web application > will work properly. What exactly do you mean by "put

How to configure multiple web applications in a single host

2008-07-09 Thread Elliot Huntington
Hi, Tomcat version 5.5.26 running on Linux. I'm trying to run 2 web applications in the same host but I haven't been able to figure out how to make it work right. If I only put one of the web applications in the webapps folder (either of them) then that single web application will work properly. B

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-09 Thread Mark Thomas
Tim Hunt wrote: If I comment out the 'Include /etc/httpd/conf/working_mod_jk2.conf' line from httpd.conf and restart, it serves simple .jsp pages as text (not processed) Storing httpd content and Tomcat content in the same directory structure is asking for a world of security pain (generally of

Re: Problems with jsp include files in sub-directories

2008-07-09 Thread Mark Thomas
Andrew Connick wrote: Hello Mark Thomas Thanks for your reply. I have got some information from my hosting company, my setup is: www.windsor-chamber.co.uk Which doesn't quite fit with your example, although I suspect that as appBase equals docBase I will have similar or same problem ? Yep

RE: Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Caldarale, Charles R
> From: Sérgio Vieira Rolanski [mailto:[EMAIL PROTECTED] > Subject: Re: Problem publishing application to debian with > tomcat 5.5.17 > > I believe you mean the System.GetProperty("file.encoding") It's System.getProperty(), but yes. > on my windows computer I get "Cp1252" and on my > debian serve

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Sérgio Vieira Rolanski
I believe you mean the System.GetProperty("file.encoding"), if that is the case on my windows computer I get "Cp1252" and on my debian server I get "UTF-8". How do I change it to be same on both computers? Should I use UTF-8, right? Caldarale, Charles R wrote: From: Sérgio Vieira Rolanski [ma

RE: Problems with jsp include files in sub-directories

2008-07-09 Thread Caldarale, Charles R
> From: Andrew Connick [mailto:[EMAIL PROTECTED] > Subject: Re: Problems with jsp include files in sub-directories > > appBase="/home/andrew42/public_html"> > www.windsor-chamber.co.uk > docBase="/home/andrew42/public_html" > debug="1"/> > > > Which doesn't quite fit with your example Actually,

Re: Problems with jsp include files in sub-directories

2008-07-09 Thread Andrew Connick
Hello Mark Thomas Thanks for your reply. I have got some information from my hosting company, my setup is: www.windsor-chamber.co.uk Which doesn't quite fit with your example, although I suspect that as appBase equals docBase I will have similar or same problem ? One further question, could

RE: Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Caldarale, Charles R
> From: Sérgio Vieira Rolanski [mailto:[EMAIL PROTECTED] > Subject: Re: Problem publishing application to debian with > tomcat 5.5.17 > > This is my "java -version" from the server running debian: O.k., that looks good. Digging deeper into your error messages, there's this one: > does not have

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Sérgio Vieira Rolanski
This is my "java -version" from the server running debian: Java version "1.5.0_14" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03) Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode) About my Tomcat, I downloaded and used the last 5.5.x and the 6.0.16 versions on b

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-09 Thread Tim Hunt
Quick update: I looked farther back in the logs, and "WARNING: Unable to open config file" was in the Catalina log all the time back when it worked, so sorry for the bad steer. I compared my httpd.conf, working_mod_jk2.conf, server.xml, and web.xml files to versions on a working server and fou

Re: What are the consequences of putting shared web resources in the "common" folder?

2008-07-09 Thread David Smith
If you look at the development of tomcat, you'll see tomcat 6.0.x actually eliminated the split between shared and common putting all shared and common jars in the /lib directory. I would guess it's primarily because no one was using shared. With that in mind, I don't see any benefit to using

RE: What are the consequences of putting shared web resources in the "common" folder?

2008-07-09 Thread Edward Song
Thanks guys for replying. I should of stated that the shared resources were already in the common folder and have been for quite a while. It seems to work fine, however, I was looking at my catalina.properties and the documentation and noticed that maybe the shared resources should be moved to

Re: What are the consequences of putting shared web resources in the "common" folder?

2008-07-09 Thread Steve Ochani
Date sent: Wed, 09 Jul 2008 12:42:34 -0400 From: David kerber <[EMAIL PROTECTED]> Subject:Re: What are the consequences of putting shared web resources in the "common" folder? To: Tomcat Users List Send reply to:

Re: What are the consequences of putting shared web resources in the "common" folder?

2008-07-09 Thread David kerber
Steve Ochani wrote: On 9 Jul 2008 at 11:57, Edward Song wrote: What are the consequences of putting shared web resources in the "common" folder vs. the "shared" folder? I´m not sure how to articulate the consequences of putting shared resources in the "common" folder. The following below

Re: What are the consequences of putting shared web resources in the "common" folder?

2008-07-09 Thread Steve Ochani
On 9 Jul 2008 at 11:57, Edward Song wrote: > > What are the consequences of putting shared web resources in the "common" > folder vs. the > "shared" folder? > > I´m not sure how to articulate the consequences of putting shared resources > in the "common" > folder. > The following below is in the

What are the consequences of putting shared web resources in the "common" folder?

2008-07-09 Thread Edward Song
What are the consequences of putting shared web resources in the "common" folder vs. the "shared" folder? I'm not sure how to articulate the consequences of putting shared resources in the "common" folder. The following below is in the documentation, but is it enough to force another QA cycl

RE: Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Caldarale, Charles R
> From: Sérgio Vieira Rolanski [mailto:[EMAIL PROTECTED] > Subject: Problem publishing application to debian with tomcat 5.5.17 > > java.lang.IllegalArgumentException: Value is no String > (class=java.lang.Integer, value=4) and component > _idJsp46:smUnidadewith The above error message does not lo

Re: Custom Authentication

2008-07-09 Thread Tim Williams
On Wed, Jul 9, 2008 at 9:20 AM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> From: Tim Williams [mailto:[EMAIL PROTECTED] >> Subject: Custom Authentication >> >> The docs[2] suggests registering it by adding the entry >> to the Authenticators.properties file, which, I gather, >> requires unja

Re: Problems with jsp include files in sub-directories

2008-07-09 Thread Mark Thomas
Andrew Connick wrote: I'm having problems with the jsp includes directive where the jsp is in a sub-directory. I have 2 subdirectories: /admin /segments index.jsp contains the line <%@ include file="/segments/setup.jsp" %> which is fine admin/index.jsp also contains the line <%@ include file=

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-09 Thread Tim Hunt
Thanks *a lot* for the suggestion, but I was not able to find a file with that pattern anywhere on my system. I tried again to load a few jsp pages, including a very simple one, but they all failed, after what seemed like 5 minutes of trying, with 503. The failed requests didn't add anything t

Re: Problems with jsp include files in sub-directories

2008-07-09 Thread Hassan Schroeder
On Wed, Jul 9, 2008 at 6:45 AM, Andrew Connick <[EMAIL PROTECTED]> wrote: > I'm having problems with the jsp includes directive where the jsp is in a > sub-directory. > I have 2 subdirectories: > /admin uh-oh :-) > I suspect the issue is that Tomcat now sees sub-directory /admin as a > separate

Problem publishing application to debian with tomcat 5.5.17

2008-07-09 Thread Sérgio Vieira Rolanski
Hi, I get the following error when I publish my web application to debian server running apache-tomcat 5.5.17: java.lang.IllegalArgumentException: Value is no String (class=java.lang.Integer, value=4) and component _idJsp46:smUnidadewith path: {Component-Path : [Class: org.ajax4jsf.framewor

Problems with jsp include files in sub-directories

2008-07-09 Thread Andrew Connick
I'm having problems with the jsp includes directive where the jsp is in a sub-directory. I have 2 subdirectories: /admin /segments index.jsp contains the line <%@ include file="/segments/setup.jsp" %> which is fine admin/index.jsp also contains the line <%@ include file="/segments/setup.jsp" %

RE: Custom Authentication

2008-07-09 Thread Caldarale, Charles R
> From: Tim Williams [mailto:[EMAIL PROTECTED] > Subject: Custom Authentication > > The docs[2] suggests registering it by adding the entry > to the Authenticators.properties file, which, I gather, > requires unjaring catalina.jar. Put your authenticator config in: ${CATALINA_HOME}/lib/org/apache/

Re: @PersistenceContext injection works on other app server, not Tomcat...

2008-07-09 Thread ericp56
That's good to know. I think the basis of my problem is Tomcat 6 on it's own doesn't support this? Eric -- View this message in context: http://www.nabble.com/%40PersistenceContext-injection-works-on-other-app-server%2C-not-Tomcat...-tp18350591p18360896.html Sent from the Tomcat - User maili

Custom Authentication

2008-07-09 Thread Tim Williams
I'm wanting to register a custom authenticator to send out and handle a custom WWW-Authenticate header (similar to what's described here[1]). I gather that I can implement AuthenticatorBase for this purpose but I'm curious about registering it. The docs[2] suggests registering it by adding the ent

CipherSuite

2008-07-09 Thread Stephan Schöffel
Hi there, I tries to make my Tomcat 5.5.25 standalone to only communicate via a certain encryption. For test I altered the server.xml: Yet, when I connect to it, it uses a different encryption. Additionally, I wonder how Tomcat knows, which certificate in the keystore to use. There is no a

Re: Where is "org.apache.webapp.balancer.rules.RoundRobinRule" ??

2008-07-09 Thread Filip Hanik - Dev Lists
Shepherd, Mathew (IST) wrote: Thankyou! And for your prompt reply. Now to get it working... why would you want to use the tomcat-balancer app? if you are looking for load balancing, this is not really the route to take. take a look at mod_jk or mod_proxy_balancer used with httpd Filip Che

Re: Tomcat 5.5.26 Sessions getting replicated but not working via browser

2008-07-09 Thread martinjd
I created a test app of my own and was able to prove that the cluster is working correctly. Its the vendor app that is having problems. I have referred the issue back to them. Here is the app I used: index.jsp <%@ page language="java" import="java.util.*" session="true" pageEncoding="IS

Re: mod_jk on the loopback?

2008-07-09 Thread Rainer Jung
David Smith wrote: Nope I do it on my production server and it works like a charm. Just have to add address="127.0.0.1" to your AJP connector in server.xml to force it to bind to the loopback. --David And in fact if you don't configure any workers, I think there's a builtin default wor

Re: @PersistenceContext injection works on other app server, not Tomcat...

2008-07-09 Thread Mark Thomas
ericp56 wrote: I have the following declaration in my class: @PersistenceContext(unitName = "CallScheduler") EntityManagerFactory emf; If I compile the code in NetBeans/Glassfish, emf is instantiated. If I compile the code in Eclipse/Tomcat, emf is *not* instantiated - no errors, other than a

Re: Running CGI (Perl) => Can't load module DBI

2008-07-09 Thread Joris Kimpe
I found a solution... Instead of setting this in my web.xml: cgi org.apache.catalina.servlets.CGIServlet debug 6 cgiPathPrefix WEB-INF/cgi 5 cgi /cgi-bin/* I added this to my servlet: passShellEnvironment true