RE: JNDI comp namespace - Tomcat Developers Please Read

2003-12-13 Thread Tony Colson
I narrowed down the problem a bit more. I found 2 things which look like they may be bugs. 1) In the first Service tag I had a Engine tag and a Host tag as seen below: Service name=XXX Engine name=Standalone defaultHost=localhost debug=0 Host

setting opts to avoid OutOfMemory errors

2003-12-13 Thread Hans Steinraht
Maybe someone can help me out with some questions I have to avoid the OutOfMemory errors that I have from time to time The computer where Tomcat, version 4.1.24, is running is a linux machine wit 500M memory and j2sdk1.4.1. I have read in this newsgroup that the solutions to avoid OutOfMemory

How can I add a servlet to a server?

2003-12-13 Thread m . shahpar
Hello! I installed Tomcat 5.0. Please send me the answer. I will have my servlet in a directory mydir 1. under webapps. 2. out of the webapps but under CATALINA_HOME. 3. or out of that. Best Mehdi Shahpar Herder Strasse 4 12163 Berlin

simple context problems

2003-12-13 Thread Ioannis Themelidis
Hello, I have a problem with Apache Tomcat/4.1.24.I created an application and i want to put it in adirectory /reminder in webapps.I created a context using the administrator application and nothing worked.i also tried it manually in the server.xml file,by copying and configuring another

setting opts to avoid OutOfMemory errors

2003-12-13 Thread Hans Steinraht
Maybe someone can help me out with some questions I have to avoid the OutOfMemory errors that I have from time to time The computer where Tomcat, version 4.1.24, is running is a linux machine wit 500M memory and j2sdk1.4.1. I have read in this newsgroup that the solutions to avoid OutOfMemory

MOD_JK2 workers2.properties socket_keepalive

2003-12-13 Thread Kip Iles
How do I add socket_keepalive and connect_timeout to the workers2.properties file on the web server. All the examples discuss doing this in the workers.properties file which, to my understanding, does not apply to mod_jk2. The JK2 docs only discuss the format for adding properties to the

Issue with EL disabled

2003-12-13 Thread Olivier Moratin
Hello, I am getting crazy on what could be a simple thing. While the Tomcat webapp examples (accessible from the manager) run EL (${variable}) properly, my own app doesn't. I just installed Tomcat and stuff and thought it was enabled by default. Tomcat 5 on Windows with latest version of

dbcp doesn't stacktrace

2003-12-13 Thread Marten Lehmann
Hello, to test dbcp's stacktrace functionality, I didn't close the databases connection after use. But although I set the abondedTimeout to 60, the connections are never returned, they are still open and I don't see a stacktrace, too. I used the following parameters, as from the howto:

Need some Tomcat Configuration help badly

2003-12-13 Thread Dick Steflik
I'm teaching a course that covers JSPs at the local university and have switched over to Tomcat from JRun this semester. I'm using v 4.1.27 and seem to be having a problem that I never remember having with JRun. The students are busily ftping their JSP and Javabeans to the server and testing

Re: Issue with EL disabled

2003-12-13 Thread Manolo Ramirez T.
Hi, Make sure that your web.xml is according to the Servlet 2.4 Specification. Tomcat disables EL evaluation for old apps. Regards, Manolo Ramirez T. Olivier Moratin wrote: Hello, I am getting crazy on what could be a simple thing. While the Tomcat webapp examples

RE: Issue with EL disabled

2003-12-13 Thread Matt Raible
Make sure you have a Servlet 2.4 configuration for your web.xml. EL is turned off by default with 2.3 web.xml's. Here's some additional info: http://www.raibledesigns.com/page/rd?anchor=howto_upgrade_your_app_to HTH, Matt -Original Message- From: Olivier Moratin [mailto:[EMAIL

Re: How can I add a servlet to a server?

2003-12-13 Thread Rhino
Hi! I'm not sure if this advice will work for you; it works for Tomcat 4.1.x but I don't know if Tomcat 5.0 works the same as 4.1.x. 1. Check your tomcat-users.xml file and make sure that at least one of the entries there has the authority to use the manager application. For example, this will

RE: Need some Tomcat Configuration help badly

2003-12-13 Thread Matt Raible
Make sure you have reloadable=true in the contexts they're putting their beans into: Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true Matt -Original Message- From: Dick Steflik [mailto:[EMAIL PROTECTED] Sent: Saturday,

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread Jon Wingfield
And you may also need to apply the class reloading hotfix for 4.1.27 http://www.apache.org/newsletter/200307.html#Jakarta_Tomcat The hotfix jar is now here: http://archive.apache.org/dist/jakarta/tomcat-4/binaries/ HTH, Jon Matt Raible wrote: Make sure you have reloadable=true in the contexts

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread Dick Steflik
OK, I downloaded the zip file; how do I install it. It contains StandardContext.class but i don't see that class file anywhere on my server. Dick Steflik Jon Wingfield wrote: And you may also need to apply the class reloading hotfix for 4.1.27

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread Dick Steflik
I already did that Matt. Thanks Dick Matt Raible wrote: Make sure you have reloadable=true in the contexts they're putting their beans into: Context path=/examples docBase=examples debug=0 reloadable=true crossContext=true Matt -Original Message- From: Dick

RE: Tomcat 4.1.29 Clustering

2003-12-13 Thread Pitre, Russell
Thank you Filip.I will take a look at this and see if I can get it to work. Russ -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 1:48 PM To: Tomcat Users List Subject: Re: Tomcat 4.1.29 Clustering http://cvs.apache.org/~fhanik/

Sending a serialized object to/from servet

2003-12-13 Thread Dicheva, Darina
Hello, I have a problem sending a serialized object in both directions applet2servlet and servlet2applet. I use Tomcat 4.1.29 and j2sdk1.4.2. In the applet I have: try { // Create an object to communicate with the servlet URL servletURL = new URL(servletLocation2);

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread Dick Steflik
Jon (or anyone else that is out there), If you are still out there could you tell me the correct way to install the hot fix. Dick Steflik Jon Wingfield wrote: And you may also need to apply the class reloading hotfix for 4.1.27 http://www.apache.org/newsletter/200307.html#Jakarta_Tomcat The

RE: Need some Tomcat Configuration help badly

2003-12-13 Thread Matt Raible
Unzip/untar it to your $CATALINA_HOME - it will extract it into the proper folders. -Original Message- From: Dick Steflik [mailto:[EMAIL PROTECTED] Sent: Saturday, December 13, 2003 4:01 PM To: Tomcat Users List Subject: Re: Need some Tomcat Configuration help badly Jon (or

jkinit.dll

2003-12-13 Thread Tony
Does anybody know where I can find the file JKINIT.DLL for download ? Thanks. tony.

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread Dick Steflik
Matt, Thanks, that did the trick , the entire Fall2003 class of CS328 (actually the kids were probably hoping that it wouldn't get fixed and I would excuse them from the project) THANKS you . Dick Steflik Binghamton University Matt Raible wrote: Unzip/untar it to your $CATALINA_HOME - it will

Session problem?JDBCRealm: Invalid direct reference to form login page

2003-12-13 Thread Daniel Germain
I'm trying to use the JDCBRealm from Tomcat 4.1.27 with an enhydra 5.0 application servlet and got the following problem Invalid direct reference to form login page which seem to be related to the session management. From what I understand, a session is first created (by enhydra SessionMgr) when

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread David Rees
Dick Steflik wrote: Thanks, that did the trick , the entire Fall2003 class of CS328 (actually the kids were probably hoping that it wouldn't get fixed and I would excuse them from the project) THANKS you . BTW, there is a bug with Tomcat which will cause it to run out of memory after a number

Re: setting opts to avoid OutOfMemory errors

2003-12-13 Thread David Rees
Hans Steinraht wrote: Maybe someone can help me out with some questions I have to avoid the OutOfMemory errors that I have from time to time The computer where Tomcat, version 4.1.24, is running is a linux machine wit 500M memory and j2sdk1.4.1. I have read in this newsgroup that the solutions

Re: google yourself

2003-12-13 Thread phil campaigne
Nikola Milutinovic wrote: Ostad, James wrote: have you googled yourself at goole.com? I don't know how they get all of our listserv communications. Any one knows how they do that? There is a web archive of this list. Nix. -

Re: google yourself

2003-12-13 Thread David Rees
phil campaigne wrote: Nikola Milutinovic wrote: Ostad, James wrote: have you googled yourself at goole.com? I don't know how they get all of our listserv communications. There is a web archive of this list. What if you don't want everyone in the world to know your business? Don't post to a public

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread Philipp Taprogge
Hi! David Rees wrote: BTW, there is a bug with Tomcat which will cause it to run out of memory after a number of restarts. You will probably run into this with 30 students uploading new classes. You will also want to make sure that the fork attribute for the JspServlet is set to true as well

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread David Rees
Philipp Taprogge wrote: David Rees wrote: BTW, there is a bug with Tomcat which will cause it to run out of memory after a number of restarts. You will probably run into this with 30 students uploading new classes. You will also want to make sure that the fork attribute for the JspServlet is

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread QM
: You will also want to make sure that : the fork attribute for the JspServlet is set to true as well as : compiling JSPs will leak memory unless the compiling process is forked. I didn't catch the OP's OS, but this could be a catch-22. I once ran into this one: Solaris fork() does

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread Dick Steflik
I'm on W2000, just for the record. With this in mind which way should the fork be set; true ot false. Dick Steflik QM wrote: : You will also want to make sure that : the fork attribute for the JspServlet is set to true as well as : compiling JSPs will leak memory unless the compiling process

Re: Need some Tomcat Configuration help badly

2003-12-13 Thread Philipp Taprogge
Hi! Dick Steflik wrote: I'm on W2000, just for the record. With this in mind which way should the fork be set; true ot false. Concidering that this poor excuse for an OS does not even know the meaning of fork(), I'd say you set it to true. W2K should then start a completely new process from

getDate on a resource

2003-12-13 Thread Dmitry Beransky
Hi, In my application i need to determine the last modification date of a resource. I'm doing this with the following few lines of code: URL resource = context.getResource(uri); URLConnection conn = resource.openConnection(); Date date = new Date(conn.getDate()); however, the