RE: ClientAbortException in Tomcat 4.1.31 console

2004-12-30 Thread MERCADIER Didier ROSI/SIFAC
I have read that such clicks can throw this exception. But I can reproduce it alone, by using normally the application. I have tried with an older version 4.1.24-LE-JDK14 and it never happens. Thanks for your help. -Message d'origine- De : Mark Thomas [mailto:[EMAIL PROTECTED] Envoy :

Re: Where do I set the -server option?

2004-12-30 Thread Trond G. Ziarkowski
Hi, from your next post (alternatives to jsvc) I assume you are using jsvc. Run jsvc -help to see that it has a -jvm option. Here all available jvms should be listed as well. On my debian box it did not find my jvm.cfg, so I could not use the -jvm option. To see where it tries to locate your

JarFiles and Tomcat 4.1.24 : same configurations, different behaviors

2004-12-30 Thread MERCADIER Didier ROSI/SIFAC
Hello, We have several workstations. Their configurations are more or less the same : Windows 2000, Tomcat 4.1.24 running on JSDK 1.4.1_07, (some have JSDK 1.4.2_06 too, but Tomcat always runs on 1.4.1). I'm running a servlet application, with the latest Xerces and Xalan releases, more recent

AW: jsvc alternatives?

2004-12-30 Thread Torsten Fohrer
Try wrapper.sourceforge.net -Ursprüngliche Nachricht- Von: Michael Kastner [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 30. Dezember 2004 08:21 An: Tomcat Users List Betreff: jsvc alternatives? Hello, it seems like jsvc runs very unstable on my linux system. Does anybody know any

How to use Tomcat with Apache

2004-12-30 Thread Nicholas Chua
Hi, I had successfully installed Apache Tomcat/5.0. I can login into http://domain.com:8080/admin. I am using http-proxy as the connector. I would like to enable a vhost which i host to run jsp. What should i edit in the httpd.conf to work with tomcat? Thanks VirtualHost 203.208.228.153:80

RES: I need to configure logs on my virtual hosting

2004-12-30 Thread Roberto Rios
Hi, Yes, you can. Take a look at the admin context provided with tomcat (as an example): Context path=/admin docBase=${catalina.home}/server/webapps/admin debug=0 privileged=true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_admin_log.

RE: I need to configure logs on my virtual hosting

2004-12-30 Thread Goel, Manish Kumar
Hi, can any body help me this same thing not working on tomcat 5.0.19 version. Manish -Original Message- From: Roberto Rios [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 4:03 PM To: 'Amit Gupta'; 'Tomcat Users List' Subject: RES: I need to configure logs on my virtual

RE: I need to configure logs on my virtual hosting

2004-12-30 Thread Amit Gupta
Thanks Bob. Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Goel, Manish Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 4:09 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: I need to configure logs on my

problem arising because server had jdk 1.4 and I compiled classes with jdk 1.5

2004-12-30 Thread Amit Gupta
Hi, I just want to share my experience with you. I want struggling with web application for 5 days. It was working in local but not virtual hosting server. Just few minutes before I came to know reason behind my problem. 1) I compiled classes with JDK 1.5 and server had jdk

Re: Servletexception from nowhere :/

2004-12-30 Thread Tim Funk
You have put the servlet spec jar file into your webapp classloader. Get rid of it since servlet.jar is already available via the common classloader. http://jakarta.apache.org/tomcat/faq/classnotfound.html -Tim Peter Lauri wrote: Best groupmember, I use the CommonFileUpload package to handle

Re: Where do I set the -server option?

2004-12-30 Thread Michael Kastner
Thanks Trond, well, ok. I thought I could use my old tomcat4 CATALINA_OPTS settings. Does anyone have actually _use_ jsvc and the -server parameter? Greetings Michael Kastner Trond G. Ziarkowski schrieb: Hi, from your next post (alternatives to jsvc) I assume you are using jsvc. Run jsvc -help

Re: AW: jsvc alternatives?

2004-12-30 Thread Michael Kastner
Hello Torsten, yep, thanks for the hint. I think I'll give it a shot. By the way, would mod_proxy be an alternative too? Greetings Michael Kastner Torsten Fohrer schrieb: Try wrapper.sourceforge.net -Ursprüngliche Nachricht- Von: Michael Kastner [mailto:[EMAIL PROTECTED] Gesendet:

Re: Where do I set the -server option?

2004-12-30 Thread Trond G. Ziarkowski
Hi again Michael, Does anyone have actually _use_ jsvc and the -server parameter? As you might have figured out, I'm using it, but I'm using it with tomcat 5.0.28. And as you also should have figured by now, the option when using jsvc is -jvm server. Trond

RES: I need to configure logs on my virtual hosting

2004-12-30 Thread Roberto Rios
Hi, Can you provide more details? Are you getting errors or the log files aren't being created? I always used logger inside my contexts and I never had problem. I never used TC5.0.19. I did an upgrade from TC4.1.30 to 5.0.28 and everything works well. Bob -Mensagem original- De: Goel,

Re: Session restart replication when using jsvc

2004-12-30 Thread Trond G. Ziarkowski
Thanks Bill! I checked out the latest sources from CVS and now it works correctly. Thanks also to Wade for lots of good input. Regards Trond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Where do I set the -server option?

2004-12-30 Thread Michael Kastner
Hello Trond, thanks for your patience. Of course I tried to figure out, whether there is such an option. However, jsvc --help is not explicit about this, at least from what I understand. -jvm JVM name use a specific Java Virtual Machine. Available JVMs: 'null' To me this

Re: ClientAbortException in Tomcat 4.1.31 console

2004-12-30 Thread Mark Thomas
If the app runs as expected, I wouldn't worry too much about it. If you feel the urge to investigate further, create a simple test app the reproduces the problem I'll happily have a look at it to check what is going on. I suspect (although I haven't looked at the code) the exception is

Re: Where do I set the -server option?

2004-12-30 Thread Trond G. Ziarkowski
Hi Michael -jvm JVM name use a specific Java Virtual Machine. Available JVMs: 'null' It says null because jsvc cannot find your jvm.cfg file. On my system i ran jsvc -debug -help to find out where it was looking for it. I found that jsvc was expecting to find my jvm.cfg

Re: WebDAV and redirects

2004-12-30 Thread Mark Thomas
Garret Wilson wrote: I've been struggling with the whole issue of Microsoft WebDAV clients failing to including a trailing slash in collection URIs even when I ask nicely. It looks like I can fix this with redirects, but that opens up another can of worms: the Microsoft client redirect bug. I'm

SV: Servletexception from nowhere :/

2004-12-30 Thread Peter Lauri
If you mean that I have servlet-api.jar inte WEB-INF/lib I do not. I had it in the CLASSPATH system variable (as guided in the setup of Tomcat). The only thing I have in WEB-INF/lib is mysql_connector.jar and commons-fileuplad-1.0.jar. There seems not to be any solution to this problem :( Am I

Re: SV: Servletexception from nowhere :/

2004-12-30 Thread Tim Funk
The CLASSPATH is ignored by tomcat on startup. Make sure you don't have extra jars (such as servlet-api.jar) in the ext directory of your java installation. That may be messing things up. -Tim Peter Lauri wrote: If you mean that I have servlet-api.jar inte WEB-INF/lib I do not. I had it in the

SV: SV: Servletexception from nowhere :/

2004-12-30 Thread Peter Lauri
I love you all :) The solution to the problem was that I had the Commonfileupload jar in both javas ext and WEB-INF/lib... Now it works ;) Thanks everybody for the help in this issue... /Peter -Ursprungligt meddelande- Från: Tim Funk [mailto:[EMAIL PROTECTED] Skickat: den 30

JSP compilation problem

2004-12-30 Thread Frank W. Zammetti
Hello. I'm using Tomcat 5.0.29. Working from home today and trying to run a working application on my laptop, and I'm seeing an exception when trying to access the first JSP of the app. Here's the on-screen display: HTTP Status 500 - type Exception report message description The server

Re: WebDAV and redirects

2004-12-30 Thread Garret Wilson
Mark, Mark Thomas wrote: TC4 and TC5 handle requests for http://www.example.com/folder differently. TC4 does a forward to http://www.example.com/folder/ whereas TC5 issues a redirect. ... For TC4 - returns response for ../folder/ For TC5 mapped to / issues a 302 For TC5 mapped to /* returns

RE: JVM Crash

2004-12-30 Thread Mark
I googled around and here some good(?) news, at least somebody get around the problem: http://forum.java.sun.com/thread.jspa?threadID=307252tstart=210 on of solution is : -- cut -- now I use jdk1.3.1_06 with hospot -server and it works perfectly (and faster) -- end cut --- another one was a

Re: jsvc alternatives?

2004-12-30 Thread Wade Chandler
Michael Kastner wrote: Hello, it seems like jsvc runs very unstable on my linux system. Does anybody know any alternatives to jsvc? Greetings Michael Kastner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: JVM Crash

2004-12-30 Thread Wade Chandler
Mark wrote: I googled around and here some good(?) news, at least somebody get around the problem: http://forum.java.sun.com/thread.jspa?threadID=307252tstart=210 on of solution is : -- cut -- now I use jdk1.3.1_06 with hospot -server and it works perfectly (and faster) -- end cut --- another one

Re: jsvc alternatives?

2004-12-30 Thread Wade Chandler
Wade Chandler wrote: Michael Kastner wrote: Hello, it seems like jsvc runs very unstable on my linux system. Does anybody know any alternatives to jsvc? Greetings Michael Kastner - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Session restart replication when using jsvc

2004-12-30 Thread Mark Thomas
Bill Barker wrote: This is the old, buggy, code that ships with Tomcat. You need to get the code from commons-daemon CVS HEAD if you want shutdowns (and restarts) to work properly. Bill, Just thinking ahead to the next 4.1.x release - do you know if there is a commons-daemon release that

[tomcat 5.0] context.xml treated differently in WAR and directory deployments

2004-12-30 Thread Ian Flanigan
Hi all, It seems that META-INF/context.xml is treated differently by WAR and directory deployments, at least in tomcat 5.0.30-beta. Looking at HostConfig.java, the method 'deployWARs' checks each '.war' file for a META-INF/context.xml file (line 528) and if it exists, it is copied to the

Re: jsvc alternatives?

2004-12-30 Thread Michael Kastner
Hello Wade, I just got me the most recent nightly version and compiled it. The server seems to start nicely with all applications. Knock on wood: it seems to be working. Maybe that was just about the hint I needed. I'll do some more testing overnight. Thank you and all others who read my stuff

Re: Where do I set the -server option?

2004-12-30 Thread Michael Kastner
Hello Trond, now that's an in depth explanation. Thanks a lot. Sorry for my questions, but I was somehow too much focused on the old tomcat 4.1 configuration. Thanks once again for your patience. You've helped me a lot. Greetings Michael Kastner Trond G. Ziarkowski schrieb: Hi Michael -jvm

AW: AW: jsvc alternatives?

2004-12-30 Thread Torsten Fohrer
Hi, As example use wrapper to control/check your tomcat instance and set up a apache/proxy or apache/mod_jk in front of it, to serve static resources, or use mod_rewrite/mod_cache (as example). Mod_proxy provides only connection from apache to tomcat, like mod_jk too. apache 2.1 mod_proxy

Disabling all but the production context

2004-12-30 Thread Jonck van der Kogel
Hi, This must get asked all the time, but I've searched very intently and have not been able to find how to do this. What I would like, is that the only reachable context on my server is the production context. So let's say my domain is www.example.com, and my web-app can be reached at

Looking for a few good books

2004-12-30 Thread Charles P. Killmer
I am in need of some good books for developing solid JSP code. There are a ton of books out there but I am hoping that this group has a few favorites. What I need is a book that describes how to organize a JSP Tomcat site. Describes how to compile code into servlets. As well as include those

Re: Looking for a few good books

2004-12-30 Thread Ben Souther
For organizing a development environment, the best one I've seen is the First Web App Tutorial on the tomcat site: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html For actually coding JSPs and Servlets I still like: Core Servlets And Java Server Pages and it's followup: More

How Do I Install A Valve

2004-12-30 Thread Mark Anderson
Hi. I've written a Valve that I will configure inside the Engine element in server.xml. I've made my valve class part of the org.apache.catalina.valves package. My questions is this: Where to I put the class file so that Tomcat can use it? (I'm using Tomcat 5.0.27.) - Mark

Does Windows needs special settings?

2004-12-30 Thread Nic Werner
Hi, I'm using CVS to bring in my whole project which includes Tomcat. I can grab this just fine on any linux implementation and Tomcat will start, but on Windows I get this message: E:\-\bincatalina run (Using to get error output) Using CATALINA_BASE: e:\\ Using CATALINA_HOME:

RE: FW: j2sdk problems

2004-12-30 Thread Warron French
I will probably have to wait until the next time this occurs to give you accurate details on this. Thanks for the questions it helps me to know what to be aware of in regards to this issue. Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike

RE: FW: j2sdk problems

2004-12-30 Thread Warron French
Ben, thanks for your input. Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 29, 2004 3:57 PM To: tomcat-user@jakarta.apache.org Subject: RE: FW: j2sdk problems

Re: Does Windows needs special settings?

2004-12-30 Thread David Boyer
Are you using startup.bat to start Tomcat when you receive this error? %CATALINA_HOME%\bin\bootstrap.jar needs to be in the classpath when starting tomcat. This gets set in catalina.bat which is involed by startup.bat. It shouldn't be necessary to do anything special on Windows. [EMAIL

/manager for the webs

2004-12-30 Thread Lukas Pataki
hi List is there a way to set up the manager for each webs, so that the user can start or stop their Webapplication easily thru the web ? thanx.luke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Does Windows needs special settings?

2004-12-30 Thread Ben Souther
Have you verified that these are right? Using CATALINA_BASE: e:\\ Using CATALINA_HOME: e:\---\ On Thu, 2004-12-30 at 13:30, Nic Werner wrote: Hi, I'm using CVS to bring in my whole project which includes Tomcat. I can grab this just fine on any linux implementation and

Re: /manager for the webs

2004-12-30 Thread Ben Souther
I believe, and someone will correct me if I'm wrong, you can have one manager for each host entry in your server.xml. On Thu, 2004-12-30 at 13:51, Lukas Pataki wrote: hi List is there a way to set up the manager for each webs, so that the user can start or stop their Webapplication

anyone know where mod_jk-1.2.8 binary is?

2004-12-30 Thread Glenn Parsons
Hello All, The Apache.org site says the binary is there. But when you go to retrieve it, all that is offered is 1.2.6. http://jakarta.apache.org/site/binindex.cgi I need the 1.2.8 binary to use JKUnmount, and now I'm chasing my tail to install Ant, then it appears that my build.properties for

Re: /manager for the webs

2004-12-30 Thread Lukas Pataki
hi On Thu, 30 Dec 2004 13:53:42 -0500 Ben Souther [EMAIL PROTECTED] wrote: I believe, and someone will correct me if I'm wrong, you can have one manager for each host entry in your server.xml. so maybe i missunderstood the manager-howto: cite: If you have Tomcat configured to support

Re: Disabling all but the production context

2004-12-30 Thread Tim Funk
The easiest thing to do is to create/add a filter for the webapps which perform the ACL controls you need. For example: I have some utilities called servlet utils here: http://funkman.home.comcast.net/servletutils-0.2/ The following example returns 403 for any request where the remoteaddress !=

Re: Looking for a few good books

2004-12-30 Thread apuerta.foros
Hi. I have some servers with Apache2 + Tomcat5, with some virtual hosts inside. The servers are in production and nothing is reloaded. I've installed the Tomcat Manager to reload those virtual hosts that suffers changes from preproduction. The problem is that many times the reload fails

Session already invalidated

2004-12-30 Thread apuerta.foros
Hi. I have some servers with Apache2 + Tomcat5, with some virtual hosts inside. The servers are in production and nothing is reloaded. I've installed the Tomcat Manager to reload those virtual hosts that suffers changes from preproduction. The problem is that many times the reload fails

Re: Looking for a few good books

2004-12-30 Thread apuerta.foros
Sorry, i'm a little confused. El jue, 30-12-2004 a las 20:13, apuerta.foros escribió: Hi. I have some servers with Apache2 + Tomcat5, with some virtual hosts inside. The servers are in production and nothing is reloaded. I've installed the Tomcat Manager to reload those virtual hosts

Re: /manager for the webs

2004-12-30 Thread Ben Souther
Each webapps would need to be under it's own virtual Host. On Thu, 2004-12-30 at 14:05, Lukas Pataki wrote: hi On Thu, 30 Dec 2004 13:53:42 -0500 Ben Souther [EMAIL PROTECTED] wrote: I believe, and someone will correct me if I'm wrong, you can have one manager for each host entry in

Re: /manager for the webs

2004-12-30 Thread Ben Souther
Each webapps would need to be under it's own virtual Host. Sorry, each context would need to be under it's own virtual host. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: anyone know where mod_jk-1.2.8 binary is?

2004-12-30 Thread Dwayne Ghant
Did you try to Google it. Glenn Parsons wrote: Hello All, The Apache.org site says the binary is there. But when you go to retrieve it, all that is offered is 1.2.6. http://jakarta.apache.org/site/binindex.cgi I need the 1.2.8 binary to use JKUnmount, and now I'm chasing my tail to install Ant,

RE: Looking for a few good books

2004-12-30 Thread John Najarian
O'Reilly is the 1 I've used and like. -Original Message- From: Charles P. Killmer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 10:02 AM To: Tomcat Users List Subject: Looking for a few good books I am in need of some good books for developing solid JSP code. There are a

Re: anyone know where mod_jk-1.2.8 binary is?

2004-12-30 Thread Glenn Parsons
At 02:38 PM 12/30/2004, you wrote: Did you try to Google it. Glenn Parsons wrote: Hello All, The Apache.org site says the binary is there. But when you go to retrieve it, all that is offered is 1.2.6. http://jakarta.apache.org/site/binindex.cgi I need the 1.2.8 binary to use JKUnmount, and now

Re: Disabling all but the production context

2004-12-30 Thread Jonck van der Kogel
Hi Tim, Thanks for your reply, I did what you said, however, when I try to load the page now it gives the following error: description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could not evaluate

RE: RES: Apache and Tomcat VirtualHost Config Problem

2004-12-30 Thread Aphra Behn
Does anyone know how to do what he is suggesting? What lines should be inserted or edited in these files to differentiate the requests for jsp for each virtual host? Or does anyone know any better documentation that explains how to do this? From: Roberto Rios [EMAIL PROTECTED] Reply-To:

Re: anyone know where mod_jk-1.2.8 binary is?

2004-12-30 Thread Dwayne Ghant
I hope the links below help. http://apache.planetmirror.com.au/dist/jakarta/tomcat-connectors/jk/binaries/win32/ http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.6/ http://archive.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/

Re: How Do I Install A Valve

2004-12-30 Thread Mark Anderson
Through some trial and error, I solved the problem. The class file apparently needs to be under CATALINA_HOME/server/classes. If one bundles it into a jar file, the jar needs to be in CATALINA_HOME/server/lib. I'm real new to Tomcat, so I don't know if this is really the place to put it. Is

RE: How Do I Install A Valve

2004-12-30 Thread Benson Margulies
To begin with, unless you are planning to submit your valve as a patch for inclusion, I wouldn't recommend putting it in org.apache.anything. Since Valves run inside the server, not inside the web app, they need to be in the server classpath. You can either do what you did or edit

NOT REALLY SOLVED..BUT! anyone know where mod_jk-1.2.8 binary is?

2004-12-30 Thread Glenn Parsons
At 04:31 PM 12/30/2004, you wrote: I hope the links below help. http://apache.planetmirror.com.au/dist/jakarta/tomcat-connectors/jk/binaries/win32/ http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/linux/jk-1.2.6/

ANN: Tomcat for RiA (Rich Internet Application) example live.

2004-12-30 Thread Vic
check out boardVU.com (only in IE for now). Tomcat is hosting Hessian + iBatis as services to JNLP for JDNC (RiA) application at above. So ... tomcat does not have to be just browser dhtml apps (try that PHP!) .V -- RiA-SoA w/JDNC http://www.SandraSF.com forums - help develop a community

TC Drops bytes when client uses Chunked Encoding AND specifying Content-Length at the same time.

2004-12-30 Thread Ian Huynh
We are using TC 5.0.28 on JDK 1.4.2 We have a client who POST to TC using header Transfer-encoding: chunked and at the same time specify the Content-Length header when posting to us. It seems that if the Content-Length is specified, TC is dropping the last few bytes..?? This same customer

Re: Session restart replication when using jsvc

2004-12-30 Thread Bill Barker
Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill Barker wrote: This is the old, buggy, code that ships with Tomcat. You need to get the code from commons-daemon CVS HEAD if you want shutdowns (and restarts) to work properly. Bill, Just thinking ahead to the

Re: ANN: Tomcat for RiA (Rich Internet Application) example live. [OT]

2004-12-30 Thread Wade Chandler
Vic wrote: check out boardVU.com (only in IE for now). Tomcat is hosting Hessian + iBatis as services to JNLP for JDNC (RiA) application at above. So ... tomcat does not have to be just browser dhtml apps (try that PHP!) .V OT I do something similar. I have a package I wrote I call

RE: I need to configure logs on my virtual hosting

2004-12-30 Thread Amit Gupta
Bob, Log files are not being created. I am specifying directory=logs\ in logger in context.xml. Does it matter? Amit Gupta Mobile: 91-9818052171 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: Roberto Rios [mailto:[EMAIL PROTECTED] Sent: Thursday, December 30,

Re: RE: I need to configure logs on my virtual hosting

2004-12-30 Thread penpower
This email [EMAIL PROTECTED] is no longer available due to heavy spamming. Please visit our website http://www.alestron.com for contact info. Thank you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Re: RE: I need to configure logs on my virtual hosting

2004-12-30 Thread penpower
This email [EMAIL PROTECTED] is no longer available due to heavy spamming. Please visit our website http://www.alestron.com for contact info. Thank you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Monitoring Performance Tomcat 5.0.28

2004-12-30 Thread Hari Mailvaganam
Hi: What would be the best way to monitor the performance of Tomcat - while in production? Apache HTTP server has an option that can view threads etc of a production web server. Does Tomcat have anything equivalent? On a separate note are there any kind of benchmarks on performance of Tomcat

Re: NOT REALLY SOLVED..BUT! anyone know where mod_jk-1.2.8 binary is?

2004-12-30 Thread Mladen Turk
Glenn Parsons wrote: Solving my own problem: I managed to get this beast compiled. Through some ugly trial and error, flogging it with apxs and some Apache src. It only ate half my day! Well, http://jakarta.apache.org/tomcat/connectors-doc/install/apache2.html States: [EMAIL PROTECTED] ~ $