Tomcat IO exception on startup

2009-02-18 Thread paul.ockleford
Hi, I am using tomcat version 5.5.23 and I have noticed that tomcat is now giving the following exception on startup: - IOException while loading persisted sessions: java.io.EOFException java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputSt .java:2228)

RE: Dara P Maginnis/IR/AIB is out of the office.

2009-01-16 Thread paul.ockleford
Yes, I have had about 15 now! -Original Message- From: Pid [mailto:p...@pidster.com] Sent: 16 January 2009 14:26 To: Tomcat Users List Subject: Re: Dara P Maginnis/IR/AIB is out of the office. that was annoying after 3 copies... someone unsubscribe him please? p

Web.xml entries

2008-12-12 Thread paul.ockleford
Hi, I have a basic question about the tomcat server start-up. If there are classes missing that are referenced as servlet entries in the web.xml should this render the server unuseable? I did a little test today with a web app, and when tomcat started it reported class not found exceptions for

RE: Web.xml entries

2008-12-12 Thread paul.ockleford
Ok thanks for the quick response! -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: 12 December 2008 11:50 To: Tomcat Users List Subject: Re: Web.xml entries paul.ocklef...@nhs.net wrote: Hi, I have a basic question about the tomcat server start-up. If there are

RE: common jars for all applications in tomcat

2008-10-16 Thread paul.ockleford
I use tomcat/shared/lib for this, but I don't know how appropriate that is. -Original Message- From: Raghu [mailto:[EMAIL PROTECTED] Sent: 16 October 2008 15:38 To: 'Tomcat Users List' Subject: common jars for all applications in tomcat I have different applications using spajco.jar I

RE: how to avoid multiple requests from the same client

2008-10-06 Thread paul.ockleford
Could you just use javascript? -Original Message- From: colin_ [mailto:[EMAIL PROTECTED] Sent: 06 October 2008 15:07 To: users@tomcat.apache.org Subject: Re: how to avoid multiple requests from the same client any idea how i would do that, or where to find an example? Mark Thomas-18

RE: [NEWBIE] Apache Tomcat 5.5.17

2008-09-12 Thread paul.ockleford
Its hard to see but arent the extra processes your greps? -Original Message- From: Jon [mailto:[EMAIL PROTECTED] Sent: 11 September 2008 15:11 To: Tomcat Subject: [NEWBIE] Apache Tomcat 5.5.17 I'm using grep to monitor apache process (tomcat apache 5.5.17). It seems to create a new

Tomcat and jar loading

2008-06-26 Thread paul.ockleford
Hi, I have a brief question regarding the way tomcat loads jar files. Are the references to all jar files in common\lib and shared\lib loaded on server startup? I know classes are loaded once they are requested, but I added a new jar file that was never there before (so no classes were

Environment Variables

2008-06-06 Thread paul.ockleford
Hi, Can anybody tell me which environment variables tomcat uses? I am pretty sure it uses JAVA_HOME for core java, and I am guessing it uses the web application directories for classes belonging to web apps under it. The reason I am asking this is that I have a jar file clash on my development

RE: Environment Variables

2008-06-06 Thread paul.ockleford
Brilliant thanks for that. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: 06 June 2008 07:49 To: Tomcat Users List Subject: Re: Environment Variables Tomcat does not use CLASSPATH. The list of variables used by tomcat is written at the top of catalina.sh script.

Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Hi, Is it possible to configure a separate class loader for each web app running under tomcat? A colleague has informed that he can do this with web sphere and I am wondering if it is possible with tomcat. Thanks Paul Ockleford

RE: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Ok, that's strange because yesterday I had a small problem, and I assumed that it was due to the same class being loaded on startup by 2 web apps. I had a url endpoint loaded into a config class on startup from the web.xml, for some reason no messages were reaching the correct end point. This

RE: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Thanks for the reply. To be honest I am not sure, both web apps are separated, have their own web.xml files and also are accessed via different ports, however as they are effectively the same application at different stages of development they each need to load parameters in on start up to a

RE: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Ok thanks, it's starting to become clearer now. The class file is in a jar file that lives in tomcat\shared\lib. I am guessing that these classes are loaded by a class loader further up the hierarchy described in the tomcat docs. I suppose in this instance there would only be one class loaded?

RE: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Thanks for the replies, I think I understand what is happening now, I think for safety's sake I will use a separate config file for each web app instead of trying to share one between them all and load separate copies. Thank you. -Original Message- From: Mark Thomas [mailto:[EMAIL

Multiple web apps on different ports under one tomcat

2008-04-29 Thread paul.ockleford
Hi, I am trying to achieve the above, at the moment I am trying to do this by including an additional service parameter and assigning different ports for the connectors. However now my original web apps are not working either. My tomcat log file contains: INFO: Stopping Coyote HTTP/1.1 on

RE: Multiple web apps on different ports under one tomcat

2008-04-29 Thread paul.ockleford
Hi Ben, Firstly thanks for replying, it could be that my file is not arranged in the most suitable order then, I might have tags inside other tags when they don't need to be (could be shared by both services?). I have pasted my server.xml into this email, if you could take a look at the order of