Re: tomcat starts but no welcome page

2006-08-23 Thread kaustubh shinde
webapps is installed. i have following directories in $CATALINA_HOME bin,conf,logs,common,server,shared,.ssh,temp,webapps,work. I just checked catalina.2006-08-22.log and it has following Aug 22, 2006 8:26:06 PM org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed

Re: tomcat starts but no welcome page

2006-08-23 Thread Lung Chan
Is webapps installed??? in my windows configuration, I have tomcat-XXX ---server --webapps --lib --classes On 8/23/06, kaustubh shinde <[EMAIL PROTECTED]> wrote: tomcat is installed on 8080. apache is on 80. so there is no conflict. On 8/23/06, Lung Chan <[EMAIL PROTECTED]> wrote:

Re: tomcat starts but no welcome page

2006-08-23 Thread kaustubh shinde
tomcat is installed on 8080. apache is on 80. so there is no conflict. On 8/23/06, Lung Chan <[EMAIL PROTECTED]> wrote: Is tomcat install on the port 8080?? How about Apache, is it on port 8080 too?? maybe a conflit. On 8/23/06, kaustubh shinde <[EMAIL PROTECTED]> wrote: > > Hi, > > I am tryi

Re: tomcat starts but no welcome page

2006-08-23 Thread Lung Chan
Is tomcat install on the port 8080?? How about Apache, is it on port 8080 too?? maybe a conflit. On 8/23/06, kaustubh shinde <[EMAIL PROTECTED]> wrote: Hi, I am trying to install tomcat 5.5.17 on suse 9.2 I have jdk 1.5 which is required by tomcat 5.5.17 After following the steps mentioned i

Re: debugging tomcat with eclipse

2006-08-23 Thread Mark Thomas
Douglas Ferguson wrote: > I have found various different examples, just curious what folks are > find to be the best practice? http://tomcat.apache.org/faq/development.html Works for me. Use it all the time. Mark - To start a n

tomcat starts but no welcome page

2006-08-23 Thread kaustubh shinde
Hi, I am trying to install tomcat 5.5.17 on suse 9.2 I have jdk 1.5 which is required by tomcat 5.5.17 After following the steps mentioned in docs I do following. ./startup.sh Using CATALINA_BASE: /usr/local/apache-tomcat-5.5.17 Using CATALINA_HOME: /usr/local/apache-tomcat-5.5.17 Using CAT

Re: Running Tomcat from Bootstrap.main

2006-08-23 Thread Filip Hanik - Dev Lists
your missing commons-logging from your classpath Zach Calvert wrote: I am running an Eclipse java application that makes a call to the Bootstrap.main function. I am using Log4J as my logger. I set the catalina.home, catalina.base, java.endorsed.dirs, and java.io.tempdir before I call Bootstr

Apache 5.5 HelloWorldExample 404 error

2006-08-23 Thread Steve Willett \(Initiative Computing\)
I have installed Apache.5.5.17 on my Windows XP development box (steve.elsewise.net) to work on a web-app, but I cannot get the webapp to find the servlet files. When I try, with a jsp link: I get the following error: HTTP Status 404 - /elsewise/servlet/ui/user/LoginServlet

Re: Intercepting with a Filter is "too late".

2006-08-23 Thread Leon Rosenberg
On 8/23/06, Will Hartung <[EMAIL PROTECTED]> wrote: ... I have my filter intercepting on /static, it checks the local web app dir and notices that the file, xyz.jpg, does not exist and proceed to copy it in to the web app directory. Then it simply does a Filter chain to let the request proceed.

debugging tomcat with eclipse

2006-08-23 Thread Douglas Ferguson
I have found various different examples, just curious what folks are find to be the best practice? D-

Re: run tomcat behind proxy server the problem is solved thanks all

2006-08-23 Thread valle
How did you solve this problem? I'm having the same issue. Shuaibin Wang wrote: > > hi , the problem is solved. thanks for the attentation. a nice weekend . > swang > > - Original Message - > From: "Shuaibin Wang" <[EMAIL PROTECTED]> > To: > Sent: Friday, June 23, 2006 12:11 PM >

RE: 2 tomcat on the same PC

2006-08-23 Thread Roger Alix-Gaudreau
Under Tomcat\bin, you will find service.bat, which installs Tomcat as a Windows service. If you just type "service" at the command line, it should reply with some usage information identifying what you need to do. You'll have to give at least one of them a non-default service name. You might als

Running Tomcat from Bootstrap.main

2006-08-23 Thread Zach Calvert
I am running an Eclipse java application that makes a call to the Bootstrap.main function. I am using Log4J as my logger. I set the catalina.home, catalina.base, java.endorsed.dirs, and java.io.tempdir before I call Bootstrap.main with Bootstrap.main(new String[] {"start"}); I get the error

Intercepting with a Filter is "too late".

2006-08-23 Thread Will Hartung
Hi all, I have a simple Filter. The role of the filter is essentially to "lazy load" a static resource in to the space of my webapp from an external repository so that Tomcat can serve it directly. The goal was to store this content out side of the web app so that I could easily upgrade and dep

RE: Log4j and Tomcat problem

2006-08-23 Thread Propes, Barry L
to my knowledge, I don't have this at all, the log4j*.jar file, but was hoping to enable log4j on my system. Granted, I am not running on the same OS or server as the previous poster, but would like to go about enabling it. How can I do that? How/where should I go to get the log4j jar file(s)? T

Getting Apache & JBoss/Tomcat working.

2006-08-23 Thread Brian
Hello All, I am currently trying to get apache to talk to JBoss/Tomcat. Basically My Apache server is on the internet and the JBoss/Tomcat (application) server is behind a firewall. I'm trying to use the Apache Tomcat connector (mod_jk). However I can't seem to get things working. If anyone c

RE: Log4j and Tomcat problem

2006-08-23 Thread Lorenzo Jiménez
Also in order to work with log4j, you have to include this in the WEB-INF/classes directory. Commons-loggin.properties Log4j.properties I include them as a sample. Regards, Lorenzo -Original Message- From: Lou Caudell [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 1:08 PM

Re: Log4j and Tomcat problem

2006-08-23 Thread Lou Caudell
pompiuses wrote: I'm using Tomcat 5.0.30 running on Ubuntu Linux (6.06). I've made a small webapp which runs fine under Tomcat on Windows, but on Linux I've got a problem with log4j. I've put "commons-logging-1.1.jar" and "log4j-1.2.13.jar" in the webapp libs directory ($CATALINA_HOME/webapps/R

Re: 2 tomcat on the same PC

2006-08-23 Thread Yan Bai
Thanks Robert, how to create services? could you pls shed some lights? On 8/23/06, Robert Harper <[EMAIL PROTECTED]> wrote: Set up a command file for each version that sets the CATALINA_HOME to the correct location. Also have the batch files set other needed environment values as well. If you w

Re: 2 tomcat on the same PC

2006-08-23 Thread Yan Bai
Thanks Peter. what does CATALINA_BASE mean here? I only setup CATALINA_HOME as a system environmental variable, don't know which directory shall $c_base point to. On 8/23/06, Peter Crowther <[EMAIL PROTECTED]> wrote: > From: Yan Bai [mailto:[EMAIL PROTECTED] > It doesn't work in my case. even

SOAP Header creation differences in Tomcat 5.0.x and 5.5.x

2006-08-23 Thread Nilantha
Hi, I need to digitally sign the SOAP messages and signature element need to be put into the header. If I try to create the SOAP Header programmatically it is not getting created in Tomcat 5.5.x saying header is already available but when I try to sign the message, header is not available. I am us

RE: How to change jdk in Tomcat 5.0.x

2006-08-23 Thread Lorenzo Jiménez
Dear Andres: Thanks! I worked! Regards, Lorenzo -Original Message- From: Andrés González [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 11:48 AM To: Tomcat Users List Subject: Re: How to change jdk in Tomcat 5.0.x > We have a tomcat 5.0.28 running on jdk 1.4.2_08 in linux an

Re: How to change jdk in Tomcat 5.0.x

2006-08-23 Thread Andrés González
> We have a tomcat 5.0.28 running on jdk 1.4.2_08 in linux and we want to > upgrade to jdk 1.5.0.x but do not know to do it. > > ¿Does any one knows how or knows a webpage that explains it? Check your tomcat startup script and look for the JAVA_HOME variable. In my case: tomcat5.sh: #!/bin/sh

Re: Lost native libary?

2006-08-23 Thread Andrés González
El mié, 23-08-2006 a las 18:16 +0200, Jorge Lázaro Molina escribió: > Helo, > > Yesterday I deployed a tomcat 5.5.17 in a debian sarge. Then I started > the tomcat. > Tomcat run ok, and the apps that I deployed works fine, but I finded > this line in the catalina.out: > > INFO: The Apache Tomca

How to change jdk in Tomcat 5.0.x

2006-08-23 Thread Lorenzo Jiménez
Hi, We have a tomcat 5.0.28 running on jdk 1.4.2_08 in linux and we want to upgrade to jdk 1.5.0.x but do not know to do it. ¿Does any one knows how or knows a webpage that explains it? Thanks very appreciated. Regards, Lorenzo Jimenez Si usted no es el destinatario indicado en est

Re: Deploying web app over cluster.

2006-08-23 Thread Filip Hanik - Dev Lists
a recent change in 5.5, deploy dir must be your webapps directory, we'll revise this again in 6.0 [EMAIL PROTECTED] wrote: Hello, I am having some trouble getting a web app to deploy over a cluster. Node 1 is a Linux box, with /tmp/war-listen, /tmp/war-deploy, /tmp/war-temp Node 2 is a Windows

RE: 2 tomcat on the same PC

2006-08-23 Thread Peter Crowther
> From: Yan Bai [mailto:[EMAIL PROTECTED] > It doesn't work in my case. even after changed the port numbers in one > server.xml. > I have both T4.1 and T5.5 installed on win XP. > becoz CATALINA_HOME point to where T5 is, even explicitly call T4 > 'startup' script, T5 server is started. > Any othe

RE: 2 tomcat on the same PC

2006-08-23 Thread Robert Harper
Set up a command file for each version that sets the CATALINA_HOME to the correct location. Also have the batch files set other needed environment values as well. If you want both of them to run as a service, create a service for both versions and set the command line. You could also set up a user

Re: 2 tomcat on the same PC

2006-08-23 Thread Yan Bai
It doesn't work in my case. even after changed the port numbers in one server.xml. I have both T4.1 and T5.5 installed on win XP. becoz CATALINA_HOME point to where T5 is, even explicitly call T4 'startup' script, T5 server is started. Any other tricks to make both work? On 8/18/06, Peter Crowthe

Lost native libary?

2006-08-23 Thread Jorge Lázaro Molina
Helo, Yesterday I deployed a tomcat 5.5.17 in a debian sarge. Then I started the tomcat. Tomcat run ok, and the apps that I deployed works fine, but I finded this line in the catalina.out: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was

Do you run IIS 6.0 with JK 1.2.18?

2006-08-23 Thread Jessica
Hi, Is there anyone that has got the latest JK version (1.2.18) to run under IIS 6.0? If so how did you install the dll? Please help if you can! Regards Jessica -- View this message in context: http://www.nabble.com/Do-you-run-IIS-6.0-with-JK-1.2.18--tf2153322.html#a5947643 Sent from the Tomca

Deploying web app over cluster.

2006-08-23 Thread sfbell
Hello, I am having some trouble getting a web app to deploy over a cluster. Node 1 is a Linux box, with /tmp/war-listen, /tmp/war-deploy, /tmp/war-temp Node 2 is a Windows box, with c:/tomcat5.5/tmp/war-listen etc.. The log file shows "...org.apache.catalina.cluster.deploy.FarmWarDeployer - Ins

RE: Tomcat compliant with Servlet Spec 2.5 ?

2006-08-23 Thread COURTAULT Francois
Salut Emmanuel, Merci pour l'info . As-tu passé de bonnes vacances ? As-tu des infos sur une date de sortie de Tomcat 6.x ? Cordialement. -Message d'origine- De : Emmanuel Hugonnet [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 août 2006 16:38 À : Tomcat Users List Objet : Re: To

Re: Tomcat compliant with Servlet Spec 2.5 ?

2006-08-23 Thread Emmanuel Hugonnet
Hi, You can get and build a version from the Sbversion code http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/ but I would rather use Glassfish currently since it is the official RI for JEE5. Regards, Emmanuel PS: passe le bonjour à tout le monde COURTAULT Francois a écrit : I have looke

RE: Tomcat compliant with Servlet Spec 2.5 ?

2006-08-23 Thread COURTAULT Francois
I have looked at JSR 154: The servlet 2.5 spec is a maintenance release of the servlet 2.4. This maintenance release (2.5) was out since may 2006 as it is the case for the JSR 245 (JSP 2.1) ! So my interrogation points are: - Is there a Tomcat 6.x under development ? - When a Tomcat 6.x

Force authentication except for one IP address

2006-08-23 Thread Candid Dauth
Hi, we are using JSPWiki here. On our server, every user has to login using his LDAP account before they can access any page. We implemented this using security-constraint definitions for the url-pattern /*, and everything works fine. Now there is a little problem. The Wiki provides a PDF plug

Re: Tomcat compliant with Servlet Spec 2.5 ?

2006-08-23 Thread David Smith
1. When will tomcat 6 be out? No schedule, but probably tied to release of servlet spec 2.5 2. When will tomcat be servlet spec 2.5 compliant? With release of 6.0. No release version prior to 6.0 will suport servlet spec 2.5. --David COURTAULT Francois wrote: Hello, Do you know when Tom

Re: Different request.getLocalName() values

2006-08-23 Thread Mohsen Saboorian
Thank you Mark. On 8/23/06, Mark Thomas <[EMAIL PROTECTED]> wrote: Mohsen Saboorian wrote: > Hi, > I tested request.getLocalName() on two different WinXP machines, one > returning "127.0.0.1" and the other "localhost". > What is the problem? No problem, just different configurations. Check: - D

Re: Next version of Tomcat (Tomcat 6.0 ?)

2006-08-23 Thread Tim Funk
If my wording (an understanding) is correct ... Tomcat was never the reference implementation. The reference implementation provided by Sun was based on Tomcat. AFAICT - glassfish is now considered the reference implementation for any J2EE spec. -Tim Leon Rosenberg wrote: On 8/23/06, David

RE: Tomcat compliant with Servlet Spec 2.5 ?

2006-08-23 Thread COURTAULT Francois
Do you know when the upcoming 6.x version will be released ? Regards. -Message d'origine- De : Leon Rosenberg [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 août 2006 14:58 À : Tomcat Users List Objet : Re: Tomcat compliant with Servlet Spec 2.5 ? the upcoming 6.x version will do. :

Re: Next version of Tomcat (Tomcat 6.0 ?)

2006-08-23 Thread Leon Rosenberg
On 8/23/06, David Smith <[EMAIL PROTECTED]> wrote: As per a recent thread, there is no time frame for 6.0. I would suspect it's tied to the final release of Servlet Spec 2.5 given it's the reference implementation. is it? I thought tomcat isn't the reference impl anymore since glassfish? regar

Re: Tomcat compliant with Servlet Spec 2.5 ?

2006-08-23 Thread Leon Rosenberg
the upcoming 6.x version will do. :-) regards Leon On 8/23/06, COURTAULT Francois <[EMAIL PROTECTED]> wrote: Hello, Do you know when Tomcat will be compliant to the Servlet Spec 2.5 ? Regards. - To start a new topic, e-ma

Tomcat compliant with Servlet Spec 2.5 ?

2006-08-23 Thread COURTAULT Francois
Hello, Do you know when Tomcat will be compliant to the Servlet Spec 2.5 ? Regards.

Re: Different request.getLocalName() values

2006-08-23 Thread Mark Thomas
Mohsen Saboorian wrote: > Hi, > I tested request.getLocalName() on two different WinXP machines, one > returning "127.0.0.1" and the other "localhost". > What is the problem? No problem, just different configurations. Check: - DNS config - contents of C:\WINDOWS\system32\drivers\etc\hosts HTH, M

Re: Next version of Tomcat (Tomcat 6.0 ?)

2006-08-23 Thread David Smith
As per a recent thread, there is no time frame for 6.0. I would suspect it's tied to the final release of Servlet Spec 2.5 given it's the reference implementation. --David COURTAULT Francois wrote: Hello, Do you know when the next version of Tomcat (6.0 ?) will be released ? Regards.

Re: Tomcat 5.5 class loader question.

2006-08-23 Thread David Smith
If you setup your Postgres SQL database as a JNDI resource in the context xml file, Tomcat itself will need access to the driver class. Hence the need to place such drivers in common/lib. --David Borut Hadžialić wrote: Why would Catalina classloader need to see application specific jar file

Re: How to get tomcat configuration inside a servlet

2006-08-23 Thread Miguel Alcalde
I'd try to use MBeans and JMX infrastructure to find out tomcat configuration. http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html The admin webapp depends on MBeans to 'talk' to tomcat. So try this way. You're GREAT ;-). Very thank you. --

Re: Tomcat 5.5 class loader question.

2006-08-23 Thread Mikolaj Rydzewski
Borut Hadžialić wrote: Jira has a set of jar files that contain dependencies, that are not included in Jira's /WEB-INF/lib directory. Jira manual states that these jars should be copied to CATALINA_HOME/common/lib directory. When those files are copied to CATALINA_HOME/common/lib, Jira works fine

Next version of Tomcat (Tomcat 6.0 ?)

2006-08-23 Thread COURTAULT Francois
Hello, Do you know when the next version of Tomcat (6.0 ?) will be released ? Regards.

Re: Tomcat 5.5 class loader question.

2006-08-23 Thread Borut Hadžialić
Why would Catalina classloader need to see application specific jar files? On 8/23/06, Mark Thomas <[EMAIL PROTECTED]> wrote: Borut Hadžialić wrote: > However, when we move those Jira dependencies from > $CATALINA_HOME/common/lib/ to $CATALINA_BASE/shared/lib/ > Jira starup fails - it throws sev