Re: Delay between TCP handshake and POST (complete)

2008-04-14 Thread Tim Lavers
Thanks Ronald, I've got enableLookups="false" in the server.xml file and Wireshark shows no signs of DNS lookups. Also, all of the Webstart stuff (downloading jars etc) is pretty responsive. So I don't think that is the problem ... but is there any way that Tomcat would do reverse DNS lookups if

Re: Delay between TCP handshake and POST (complete)

2008-04-14 Thread Ronald Klop
Reverse DNS lookup which always fails? Ronald. On Mon Apr 14 23:46:23 CEST 2008 Tomcat Users List wrote: Am running a Tomcat 6.0 server that is distributing a client program using Java WebStart. The client program communicates to the server using an RMI HTTP tunnelling servlet which is runni

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

2008-04-14 Thread Roger Keays
The following configuration gives me a javax.naming.NameNotFoundException: However, if I move the JNDI resource up it works as expected: ... Is that the intended behaviour? Cheers, Roger ---

RE: tomcat-util.jar and catalina-util-xml.jar not found in tomcat6.0though they were in use in web-application developed on tomcat-5.x

2008-04-14 Thread Caldarale, Charles R
> From: harsh112 [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat-util.jar and catalina-util-xml.jar not > found in tomcat6.0though they were in use in web-application > developed on tomcat-5.x > > Though I could not find > tomcat-5.5.17/server/lib/catalina-util-xml.jar from > which org.apache.

RE: tomcat-util.jar and catalina-util-xml.jar not found in tomcat 6.0though they were in use in web-application developed on tomcat-5.x

2008-04-14 Thread harsh112
Thanks Chuck, This was a useful reply for me. Though I could not find tomcat-5.5.17/server/lib/catalina-util-xml.jar from which org.apache.catalina.util.xml.XMLAction and XMLMapper classes are being referred by one of my class. By looking at the API docs of 6.0 release, I couldn't find package org

Re: "ROOT" as 'ROOTORIG'

2008-04-14 Thread David Smith
The short of the issue is it's not the OP's fault -- 'tis a bug in the ROOT webapp as provided by Tomcat. I see Mark has fixed in the trunk and it should be in the next release. Thank you Mark! --David Felix Schumacher wrote: Am Montag, den 14.04.2008, 23:16 +0530 schrieb karthikn: Hi

RE: tomcat-util.jar and catalina-util-xml.jar not found in tomcat 6.0though they were in use in web-application developed on tomcat-5.x

2008-04-14 Thread Caldarale, Charles R
> From: harsh112 [mailto:[EMAIL PROTECTED] > Subject: tomcat-util.jar and catalina-util-xml.jar not found > in tomcat 6.0though they were in use in web-application > developed on tomcat-5.x > > Now, this application requires upgrade to tomcat-6.0.16 which > doesn't have tomcat-util.jar and cat

tomcat-util.jar and catalina-util-xml.jar not found in tomcat 6.0 though they were in use in web-application developed on tomcat-5.x

2008-04-14 Thread harsh112
Hi All, The application I've been using was developed on tomcat-5.5.17 which configures a customized NTLMRealm class in server.xml under it's realm tag. The related jar for developing this customized realm bundled in a jar under server/lib and this utilizes server/lib/(tomcat-util.jar and catalin

Re: "ROOT" as 'ROOTORIG'

2008-04-14 Thread Mark Thomas
David Smith wrote: Just took a quick look at the default ROOT page as it comes with tomcat 6.0.14 and it uses page relative link 'manager/html' instead of a server relative '/manager/html'. I'm hazarding a guess this is a very minor cosmetic bug in tomcat as I can't think of a single reason to

Delay between TCP handshake and POST (complete)

2008-04-14 Thread Tim Lavers
Am running a Tomcat 6.0 server that is distributing a client program using Java WebStart. The client program communicates to the server using an RMI HTTP tunnelling servlet which is running inside the same Tomcat instance. I've had this setup running on three different computers. On two of them

Re: data source information in context.xml - can it be external to the war

2008-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ted, Edward Pricer wrote: | I have a web application that includes a jndi resource data | source defined in context.xml. This is causing me problems when I | deploy to different environments (test/production) because the data | source parameters chan

Delay between TCP handshake and POST

2008-04-14 Thread Tim Lavers
Am running a Tomcat 6.0 server that is distributing a client program using Java WebStart. The client program communicates to the server using running an RMI HTTP tunnelling servlet and a - To start a new topic, e-mail: users@

Re: Fwd: Issue with Tomcat 5.5 Datasource configuration

2008-04-14 Thread Mark Thomas
Hanmay Udgiri wrote: -- Forwarded message -- From: Hanmay Udgiri <[EMAIL PROTECTED]> Date: Apr 2, 2008 11:48 PM Subject: Issue with Tomcat 5.5 Datasource configuration To: users@tomcat.apache.org Hi I am using a Datasource configuration with tomcat 5.5 and oracle 9i.I want to use

data source information in context.xml - can it be external to the war

2008-04-14 Thread Edward Pricer
I have a web application that includes a jndi resource data sourcedefined in context.xml. This is causing me problems when I deploy todifferent environments (test/production) because the data sourceparameters change. What is the preferred way to store such jndiinformation external to the war? T

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: |> From: Christopher Schultz [mailto:[EMAIL PROTECTED] |> Subject: Re: Problem redeploying war in Tomcat , Unix environment |> |> If a Tomcat restart fixes your problem, then you are messing with |> classes in your

Re: "ROOT" as 'ROOTORIG'

2008-04-14 Thread Felix Schumacher
Am Montag, den 14.04.2008, 23:16 +0530 schrieb karthikn: > Hi > > >> ROOT_orig? What happens if you reference what you actually named it as? > > Ok Am sorry ...( > > I rename the ROOT as ROOT_orig and NOT 'ROOTORIG' > > but still the Browser status is " HTTP Status 404 - > /ROOT_orig/ma

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Martin Gainty
There exists a mismatch on existing class on classpath for otrack.med.acuity.MedicalAcuityLevelCode 1)backup old jars and classes 2)delete all old classes of otrack.med.acuity.MedicalAcuityLevelCode.class (including any jars that contain) from deploy machine 3)copy new jars and classes from local

Re: System requirements for running Apache Tomcat on Windows Box

2008-04-14 Thread Johnny Kewl
Oh... XP professional is what we use... we dont use big expensive MS servers ;) - Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; <[EMAIL PROTECTED]> Sent: Monday, April 14, 2008 8:10 PM Subject: Re: System requirements for running Apache Tomcat o

Fwd: Issue with Tomcat 5.5 Datasource configuration

2008-04-14 Thread Hanmay Udgiri
-- Forwarded message -- From: Hanmay Udgiri <[EMAIL PROTECTED]> Date: Apr 2, 2008 11:48 PM Subject: Issue with Tomcat 5.5 Datasource configuration To: users@tomcat.apache.org Hi I am using a Datasource configuration with tomcat 5.5 and oracle 9i.I want to use a Datasource which is

Re: System requirements for running Apache Tomcat on Windows Box

2008-04-14 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true. --

Re: "ROOT" as 'ROOTORIG'

2008-04-14 Thread David Smith
Just took a quick look at the default ROOT page as it comes with tomcat 6.0.14 and it uses page relative link 'manager/html' instead of a server relative '/manager/html'. I'm hazarding a guess this is a very minor cosmetic bug in tomcat as I can't think of a single reason to use a page relativ

RE: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Problem redeploying war in Tomcat , Unix environment > > If a Tomcat restart fixes your problem, then you are messing with > classes in your webapp but somewhere an object lives on across the > restart. That should be "lives ac

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghuveer, Raghuveer Rawat wrote: | I do not have same set of jars in common/lib and WEB-INF/lib directories.My | problems resolves if i *restart the tomcat* but it should work without | restarting the tomcat because in Production environment we ca

Re: "ROOT" as 'ROOTORIG'

2008-04-14 Thread karthikn
Hi >> ROOT_orig? What happens if you reference what you actually named it as? Ok Am sorry ...( I rename the ROOT as ROOT_orig and NOT 'ROOTORIG' but still the Browser status is " HTTP Status 404 - /ROOT_orig/manager/html" Why ? with regards Karthik Caldarale, Charles R wrote: Fro

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Raghuveer Rawat
I do not have same set of jars in common/lib and WEB-INF/lib directories.My problems resolves if i *restart the tomcat* but it should work without restarting the tomcat because in Production environment we can't restart the server so many times . On Mon, Apr 14, 2008 at 12:24 PM, Litton, Tom -

RE: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Litton, Tom - CEPM
It's been my experience errors like this are caused by having the same jar file in the common/lib and WEB-INF/lib directories. -Original Message- From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 10:44 AM To: users@tomcat.apache.org Subject: Problem redeploying

Re: Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Hassan Schroeder
On Mon, Apr 14, 2008 at 8:43 AM, Raghuveer Rawat <[EMAIL PROTECTED]> wrote: > I am using Tomcat5.0.28 and my application works fine in my local system > When i redeploy appln in test server(*Unix Environment*), i get > java.lang.ClassCastException: otrack.med.acuity.MedicalAcuityLevelCode >

Re: System requirements for running Apache Tomcat on Windows Box

2008-04-14 Thread David kerber
Susan G. Conger wrote: I am trying to put together some system requires for running Apache HTTP Server and Tomcat on windows machines. I have looked all over but I can't seem to find a minimum system specification for windows. I want to run tomcat 6.0 and I need CPU, Hard Drive Space, Memory an

RE: "ROOT" as 'ROOTORIG'

2008-04-14 Thread Caldarale, Charles R
> From: karthikn [mailto:[EMAIL PROTECTED] > Subject: Re: "ROOT" as 'ROOTORIG' > > On Renaming the "ROOT" as 'ROOTORIG' , > got Http 404 error for the Manager or admin set of pages > > HTTP Status 404 - /ROOT_orig/manager/html If you renamed ROOT to ROOTORIG, why did you try to reference i

Re: System requirements for running Apache Tomcat on Windows Box

2008-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Susan, Susan G. Conger wrote: | I am trying to put together some system requires for running Apache | HTTP Server and Tomcat on windows machines. Not to start a flame war, but if you are using Intel- or AMD-based hardware, my experience has been tha

Re: "ROOT" as 'ROOTORIG'

2008-04-14 Thread karthikn
Hi >> Did the manager or admin apps work before you installed your own ROOT? Yes , the Manager or admin did work for the roles / username / password set in conf / tomcatusers.xml. On Renaming the "ROOT" as 'ROOTORIG' , got Http 404 error for the Manager or admin set of pages HTTP

Problem redeploying war in Tomcat , Unix environment

2008-04-14 Thread Raghuveer Rawat
Hi , I am using Tomcat5.0.28 and my application works fine in my local system(Dev environment). When i redeploy appln in test server(*Unix Environment*), i get the following exception when i click on some link. java.lang.ClassCastException: otrack.med.acuity.MedicalAcuityLevelCode incompatible wit

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francis, Francis Galiegue wrote: | 2008/4/12, Christopher Schultz <[EMAIL PROTECTED]>: |> Sorry to pick nits, but the fallacy that Tomcat sucks as a static |> content server just needs to die. | | Well, the performance tests we did (Tomcat 5.0.x/Co

RE: "ROOT" as 'ROOTORIG'

2008-04-14 Thread Caldarale, Charles R
> From: karthikn [mailto:[EMAIL PROTECTED] > Subject: "ROOT" as 'ROOTORIG' > > But on clicking in browser on the Tomcat Manager / Administration in > ROOTORIG, I am not able to do any Manager /Administrations. I seriously doubt that whatever error you're seeing contains the words "not able t

"ROOT" as 'ROOTORIG'

2008-04-14 Thread karthikn
Hi I have replaced the "ROOT" folder in TOMCAT 5.5.23 with my custom built WEB Application The original "ROOT" is now renamed as 'ROOTORIG' But on clicking in browser on the Tomcat Manager / Administration in ROOTORIG, I am not able to do any Manager /Administrations. Why is this h

RE: System requirements for running Apache Tomcat on Windows Box

2008-04-14 Thread Peter Crowther
> From: Susan G. Conger [mailto:[EMAIL PROTECTED] > I am trying to put together some system requires for running > Apache HTTP Server and Tomcat on windows machines. A minimal Tomcat installation takes under 10 meg of disk, starts up in under 30 meg of RAM and will cheerfully run on a low-end Cel

System requirements for running Apache Tomcat on Windows Box

2008-04-14 Thread Susan G. Conger
I am trying to put together some system requires for running Apache HTTP Server and Tomcat on windows machines. I have looked all over but I can't seem to find a minimum system specification for windows. I want to run tomcat 6.0 and I need CPU, Hard Drive Space, Memory and anything else that will

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Toni Tortosa
Philip!!! Thank you very much! It works fine. I can enter to my applications in Tomcat and the Index page of Tomcat. Best regards! Are these connections the problem? How can I close them? The top line shows a java process listening on port 8180. It has a PID of 24027. So I would proba

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Philip Wigg
> Are these connections the problem? How can I close them? The top line shows a java process listening on port 8180. It has a PID of 24027. So I would probably just murder it with a:- kill -9 24027 and then you should be fine. Cheers, Phil.

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Toni Tortosa
This is the last output from catalina log when I start tomcat: Apr 14, 2008 11:30:55 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/l

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Toni Tortosa
Hello Philip. When Tomcat is stopped. Netstat returns this: tcp6 0 0 :::8180 :::* LISTEN 24027/java tcp6 552 0 :::217.116.20.:8180 :::84.126.238.:1137 CLOSE_WAIT - tcp6 592 0 :::217.116.2

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Philip Wigg
> I've removed Tomcat, including --purge with apt-get and I've reinstalled, > but I still having the same problem. What's the result of running:- netstat -tanp | grep 8180 as root. Surely something is holding that port open? -

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Toni Tortosa
I've removed Tomcat, including --purge with apt-get and I've reinstalled, but I still having the same problem. Yes, that is the first I thougth. But 8180 port doesn't appear in my nmap localhost, even If tomcat status is running. I must to say that when I stop tomcat in my command line appear

Lost parameter file

2008-04-14 Thread Sebastien MORETTI
Hi, We are using parameter file in our tomcat application. It is stored in META-INF/ folder. Everything works well, but when the server is restarted, our application finds the parameter file no more. We have to remove the whole application folder and re-create it. With a re-creation the app

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Toni Tortosa
Yes, that is the first I thougth. But 8180 port doesn't appear in my nmap localhost, even If tomcat status is running. I must to say that when I stop tomcat in my command line appears several dots . . . . and at the end (Killing) twice. It seems that tomcat can't stop (as we see in the log) an

RE: Is it possible to serve static pages from Tomcat?

2008-04-14 Thread Peter Crowther
> From: Malcolm Gorman [mailto:[EMAIL PROTECTED] > (1) Is it possible to serve static content with Tomcat? Yes. > (2) Is the JBoss example above sufficient? Should I persevere with it? It's rather odd. Chuck's suggestion works far better. Do you *need* JBoss, or will Tomcat suffice? > (3) Is

RE: Problems stopping and starting tomcat server

2008-04-14 Thread Peter Crowther
> From: Toni Tortosa [mailto:[EMAIL PROTECTED] [...] > When I start tomcat 5.5.: [...] > java.net.BindException: Address already in use:8180 Something's hanging onto port 8180. It's probably an old Tomcat instance that hasn't properly closed down, but it may be something else. Find the process

Problems stopping and starting tomcat server

2008-04-14 Thread Toni Tortosa
Hello, Since Friday I have problems restarting my tomcat server. We were using one point project in our server, when we closed the explorer window suddenly and when we try to enter again It failed. I restarted tomcat server, but I can't see the first page index at http://myhost:8180 We've in