Re: [OT] Request an app test (free beer!)

2004-12-21 Thread wim
Subir Sengupta wrote: mandrake 10.1 Linux RH Linux v9: Linux -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 2:26 PM To: Commons User; Struts User; Tomcat User Subject: [OT] Request an app test (free beer!) I was informed last OT post

[OT] Java developer friendly Linux distro

2004-12-21 Thread Antony Paul
Hi all, Which distro (free) is most friendly for Java development. I need J2SE 1.4.2 to work on it plus Eclipse 3.x(Linux dont have a good text editor in which I can run Ant builds). I also need a good GUI so that others will be attracted to it. rgds Antony Paul

RE: [OT] Java developer friendly Linux distro

2004-12-21 Thread Søren Neigaard
I would recommend Mandrake then, or Fedora Core I run Eclipse on both, with great success. /Søren -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: 21. december 2004 10:10 To: Tomcat Users List Subject: [OT] Java developer friendly Linux distro Hi all, Which

Re: Adding Host/ withOUT server restart?

2004-12-21 Thread Peter Rossbach
HEy Robert, I think you have also a jk2.properties at conf dir with channelSocket.port=8009 ! You are right you can also use the jk2.properties, but I preferred the direct server.xml configuration (Default 5.5). The example configured the RMI JMX Adaptor: mx.enabled=true mx.jrmpPort=1099

Re: [OT] Java developer friendly Linux distro

2004-12-21 Thread Trond G. Ziarkowski
Hi! Linux dont have a good text editor in which I can run Ant builds That's where you are wrong my friend. Try jEdit from www.jedit.org. It is made in Java and runs on any platform, and it has several plugins capable of running Ant builds. A great editor in my opinion. Trond

Re: [OT] Java developer friendly Linux distro

2004-12-21 Thread wim
Trond G. Ziarkowski wrote: Hi! Linux dont have a good text editor in which I can run Ant builds That's where you are wrong my friend. Try jEdit from www.jedit.org. It is made in Java and runs on any platform, and it has several plugins capable of running Ant builds. A great editor in my opinion.

performance issue with JK und IIS6

2004-12-21 Thread Michael Südkamp
Hi, We have a strange performance issue with Tomcat 4.1.30, JK1, IIS6 (Windows 2003 Server). I placed a big file (20 MB) into a Tomcat web-app root and downloaded it on some clients with save link as. On certain clients the download rate is about 50 KB/s if the file is accessed via IIS and the

RE: Admin for TC 5.5.4 on Linux SUSE 9

2004-12-21 Thread Allistair Crossley
Hi, Admin is broken in 5.5.4. Download a later version of Tomcat for a fix. You may even be able to get the 5.5.6 version going in 5.5.4, but may be worth just getting 5.5.6 Allistair. -Original Message- From: Lars Ohlén [mailto:[EMAIL PROTECTED] Sent: 18 December 2004 18:45 To:

performance issue with JK und IIS6

2004-12-21 Thread Michael Südkamp
Hi, I found this link which confirms a IIS6 problem for ISAPI filters that use the WriteClient API. http://support.microsoft.com/default.aspx?scid=kb;EN-US;840875 Does this apply to the JK connector? The workarounds described there show no difference for us, however. Michael

Re: performance issue with JK und IIS6

2004-12-21 Thread Mladen Turk
Michael Südkamp wrote: I found this link which confirms a IIS6 problem for ISAPI filters that use the WriteClient API. http://support.microsoft.com/default.aspx?scid=kb;EN-US;840875 You just must love Microsoft engineers just for that statement. One has to make something like that, and then dare

Re: performance issue with JK und IIS6

2004-12-21 Thread Parsons Technical Services
Check the archives. There was a similar issue less than a couple of month ago. I think it involved a problem with ack. Doug - Original Message - From: Michael Südkamp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 5:32 AM Subject: performance issue with JK und

Re: Tomcat/JVM crashes on Linux

2004-12-21 Thread Greg Lappen
Well, turns out the RAM is fine in the server. Our hosting provider tested it last night and said it checked out fine. Is there any other reason that the JVM/Tomcat would just exit like this? Could System.exit() be called somewhere? Isn't there a way to prevent System.exit() from being

FORM based authentication config

2004-12-21 Thread Chris Chappell
Hi I'm having trouble getting form based authentication to work. Any help much appreciated. I'm missing something simple I'm sure. (TC 5.0.19, W2K, Mysql4) I am using a JDBC Realm which works fine with BASIC auth. After changing to FORM and try

Re: Tomcat/JVM crashes on Linux

2004-12-21 Thread Eric Rotick
I've not tried this myself but you could add a Runtime.addShutdownHook and get it to print out anything which will give you a clue. On Tue, 21 Dec 2004 08:47:49 -0500, Greg Lappen [EMAIL PROTECTED] wrote: Well, turns out the RAM is fine in the server. Our hosting provider tested it last night

RE: FORM based authentication config

2004-12-21 Thread Goel, Manish Kumar
Hi, see this this might help you http://www.webservertalk.com/message633890.html cheers Manish -Original Message- From: Chris Chappell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 7:45 PM To: Tomcat Users List Subject: FORM based authentication config Hi I'm having

Re: filterStart error on Tomcat but not on Sun 8

2004-12-21 Thread Nat Gross
QM wrote: As no one else has jumped on this yet, I'll take a stab at it: Thank you. 1/ any reason you're running 5.0.30? Unless I've missed a list post (a possibility) that's still in beta. Because I had the same error under 5.0.19 and figured I get the latest. 2/ could you crank up the log

Re: Tomcat/JVM crashes on Linux

2004-12-21 Thread Greg Lappen
That's a good idea, I'm going to try that. Its a cheap way to confirm or deny my suspicions. Thanks! On Dec 21, 2004, at 9:20 AM, Eric Rotick wrote: I've not tried this myself but you could add a Runtime.addShutdownHook and get it to print out anything which will give you a clue. On Tue, 21

Re: [OT] Java developer friendly Linux distro

2004-12-21 Thread Nat Gross
Antony Paul wrote: Hi all, Which distro (free) is most friendly for Java development. I need J2SE 1.4.2 to work on it plus Eclipse 3.x(Linux dont have a good text editor in which I can run Ant builds). I use JEDIT for quick simple editing of files, and Eclipse for the real stuff. A great

Re: Tomcat/JVM crashes on Linux

2004-12-21 Thread Eric Rotick
I'd be interested to know the outcome of this one when you crack it. On Tue, 21 Dec 2004 09:32:42 -0500, Greg Lappen [EMAIL PROTECTED] wrote: That's a good idea, I'm going to try that. Its a cheap way to confirm or deny my suspicions. Thanks! On Dec 21, 2004, at 9:20 AM, Eric Rotick

Why is tomcat (java) so memory intensive?

2004-12-21 Thread Philippe Deslauriers
I am using Tomcat 5.0.19 on Windows XP SP2, J2SDK 1.4.2_03. I have a serious memory problem with Tomcat, it just EAT memory without explanation, until OOM error occurs. The Java.exe process in the windows task manager reports using between 95Mb and 105Mb after the startup of the webapp. I do

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Filip Hanik \(lists\)
you will need to dig deeper into jprobe or whatever profiler you are using. after that you will see where the memory goes. also, try the latest version of tomcat 5.0 Filip -Original Message- From: Philippe Deslauriers [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 8:53 AM To:

Re: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Andreas Vombach
I would also be interested in some memory/performance tuning possibilities. Ok, if you do not run it standalone but with Apache the web response times should be faster, my profiling gives me the following: CPU SAMPLES BEGIN (total = 8628) Tue Dec 21 16:10:18 2004 rank self accum count

Re: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Christoph Kutzinski
Philippe Deslauriers wrote: I am using Tomcat 5.0.19 on Windows XP SP2, J2SDK 1.4.2_03. I have a serious memory problem with Tomcat, it just EAT memory without explanation, until OOM error occurs. The Java.exe process in the windows task manager reports using between 95Mb and 105Mb after the

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dale, Matt
and get jvmstat from sun, it will allow you to see which area in the heap runs out of space. Ta Matt -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 15:12 To: Tomcat Users List Subject: RE: Why is tomcat (java) so memory intensive? you

Re: Tomcat/JVM crashes on Linux

2004-12-21 Thread Wade Chandler
Greg Lappen wrote: That's a good idea, I'm going to try that. Its a cheap way to confirm or deny my suspicions. Thanks! On Dec 21, 2004, at 9:20 AM, Eric Rotick wrote: I've not tried this myself but you could add a Runtime.addShutdownHook and get it to print out anything which will give you a

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Allistair Crossley
if you are using the windows service, the default is Xms 128 Xmx 256. -Original Message- From: Christoph Kutzinski [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 15:22 To: Tomcat Users List Subject: Re: Why is tomcat (java) so memory intensive? Philippe Deslauriers wrote: I

Re: [OT] Java developer friendly Linux distro

2004-12-21 Thread Wade Chandler
Nat Gross wrote: Antony Paul wrote: Hi all, Which distro (free) is most friendly for Java development. I need J2SE 1.4.2 to work on it plus Eclipse 3.x(Linux dont have a good text editor in which I can run Ant builds). I use JEDIT for quick simple editing of files, and Eclipse for the real

Re: extra directory in WebDAV servlet listing

2004-12-21 Thread Garret Wilson
Mark, Mark Thomas wrote: I'll look at the arbitrary file system root next. Thanks! I'll get to it as soon as I get more pressing things out of the way, but that may be a week or two. I currently do a file store in another part of the project and make the results available via URIs. I have two

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Philippe Deslauriers
Actually no, I tough it was 256Mb. Thanks. It will go out of memory around 125Mb 140Mb in the task manager. It depends. But your point just prove my problem to be even stanger: if 64 Mb shoulb be the limit where did the other 60Mb+ go? (the JVM itself never takes that much memory, not from my

Re: FORM based authentication config

2004-12-21 Thread Chris Chappell
Thanks for that - but what it describes is what I have done, I think. The problem is: If you have the servlet definitions and mappings, the page isn't found - Since they are JSPs above web-inf in the context folder I think they don't need them. If you don't have the mappings then you get: HTTP

How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Shilpa Nalgonda
Hi, I am using Tomcat4.1.30 version. I have to develop a client application which looks in the database every 30 minutes, to retrieve the status of an order and send the status to the remote client. Again waits for the The client's response and insert the repsonse back to the database. I wanted

Re: [OT] Java developer friendly Linux distro

2004-12-21 Thread Justin Crabtree
Wade Chandler wrote: Nat Gross wrote: Antony Paul wrote: Hi all, Which distro (free) is most friendly for Java development. I need J2SE 1.4.2 to work on it plus Eclipse 3.x(Linux dont have a good text editor in which I can run Ant builds). I use JEDIT for quick simple editing of files, and

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Allistair Crossley
you are right, tomcat 5.0.19 did have a memory leak. some dispute it, but it is there, i had it also and used a profiler to show it. you should upgrade to 5.0.28. Allistair. -Original Message- From: Philippe Deslauriers [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 15:47 To:

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Wade Chandler
Shilpa Nalgonda wrote: Hi, I am using Tomcat4.1.30 version. I have to develop a client application which looks in the database every 30 minutes, to retrieve the status of an order and send the status to the remote client. Again waits for the The client's response and insert the repsonse back to

AW: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Bernhard Slominski
Hi, you can use something like HTTPUnit which just calls the web page with your servlet. Can can easiliy schedule the HTTPUnit Job, so it runs every 30mins. Cheers Bernhard -Ursprüngliche Nachricht- Von: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 21. Dezember 2004

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Allistair Crossley
i think (from memory) it had to do with registering requests with jk. anyway, like i say, upgrade and you'll see that leak go away i am pretty sure. -Original Message- From: Allistair Crossley Sent: 21 December 2004 16:00 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Why is

New user Virtual host problem

2004-12-21 Thread Rick Gocher
Hi all, I have previously setup tomcat 5.x running on apache 1.3.x. Everything works fine and I'm learning lots as I go, although I have run into a problem with adding new domains to my apache. I have setup another site in the webapps directory however apache will only serve it using my

Tomcat 5, jk2, Apache 2 and mixed name/IP virtual hosts

2004-12-21 Thread Troy Davis
Hello, I've got a Tomcat 5 / Apache 2 / jk2 server which has been serving several different virtual hosts which share a common IP address. I now need to implement my first SSL-protected website on this machine, and I am working under the assumption that this site must have a dedicated IP

Re: [OT] Java developer friendly Linux distro

2004-12-21 Thread Andreas Vombach
... has somebody experience with gcj? On RHEL eclipse (but only 2.1.2) works with it and it looks faster than with Sun jdk. gcj could be also an option for tomcat, I'll try as soon I have time for it ... - To unsubscribe,

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Allistair Crossley
+1. you aren't being clear the only reason I can think you have an application wishing to talk to a servlet is that you are then going on to request info from the servlet from a remote machine across the net?? .. in that case and most others you should have your application polling the

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dakota Jack
Hello, Shilpa, With Wade, I wonder what you want. Apparently you have a client making and order and being informed about the status of the order. You say you have to develop a client application which looks to the database. Since this is a Tomcat list, that would seem to be a server

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Shilpa Nalgonda
Thanks for the reply... The application which i am trying to write is a standalone utility.. Client does not hit this servlet. Instead my application which is a servlet, will make some database calls-- and if the required data is present in the database, then that data is sent to the client via

AW: performance issue with JK und IIS6

2004-12-21 Thread Michael Südkamp
Do you have some smart keywords for searching this issue? Michael -Ursprüngliche Nachricht- Von: Parsons Technical Services [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 21. Dezember 2004 13:21 An: Tomcat Users List Betreff: Re: performance issue with JK und IIS6 Check the

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Allistair Crossley
no, and I believe doing so it bad practice. use some OS controlled timer like cron to issue a HTTP call to your servlet. I once wrote a shell script that calls a http address on the local machine but cannot remember how ;) if you are using oracle then you can setup this timer thread inside the

Re: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dakota Jack
Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES JAVAC leaking memory is an issue? On Tue, 21 Dec 2004 16:06:13 -, Allistair Crossley [EMAIL PROTECTED] wrote: i think (from memory) it had to do with registering requests with jk. anyway, like i say, upgrade and you'll see that leak

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Billy Talton
Why are you writing a servlet for this? If the application does not use any of the services confined to the Servlet API and Tomcat, just write a stand-alone application and setup up a cron job to run it. Seems like overkill to me. On Tue, 21 Dec 2004 16:28:49 -, Allistair Crossley [EMAIL

Re: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dakota Jack
Sorry, misread what you said. Jack On Tue, 21 Dec 2004 08:40:01 -0800, Dakota Jack [EMAIL PROTECTED] wrote: Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES JAVAC leaking memory is an issue? On Tue, 21 Dec 2004 16:06:13 -, Allistair Crossley [EMAIL PROTECTED] wrote: i think

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Ben Souther
On Tue, 2004-12-21 at 11:28, Allistair Crossley wrote: no, and I believe doing so it bad practice. use some OS controlled timer like cron to issue a HTTP call to your servlet. I once wrote a shell script that calls a http address on the local machine but cannot remember how ;) if you are

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread pandu yelamanchili
I agree. Also You could write a standalone java class which does nothing but makes a http call to your Servlet. This class can be scheduled to run as a task every 30 minutes or so. pandu From: Allistair Crossley [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users

Re: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dakota Jack
Is there any reason not to upgrade to 5.5? Is that ready for prime time? Thanks. Jack On Tue, 21 Dec 2004 16:06:13 -, Allistair Crossley [EMAIL PROTECTED] wrote: i think (from memory) it had to do with registering requests with jk. anyway, like i say, upgrade and you'll see that leak

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dale, Matt
Sounds like you are running out of space in the permanent generation. Add -XX:MaxPermSize=128M to your JAVA_OPTS -Original Message- From: Philippe Deslauriers [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 15:47 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Why is tomcat (java)

Re: Tomcat 5, jk2, Apache 2 and mixed name/IP virtual hosts

2004-12-21 Thread g . lams
Troy Davis [EMAIL PROTECTED] wrote on 21/12/2004 17.07.40: Hello, I've got a Tomcat 5 / Apache 2 / jk2 server which has been serving several different virtual hosts which share a common IP address. I now need to implement my first SSL-protected website on this machine, and I am working

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Shilpa Nalgonda
My application has to use the connection pooling of Tomcat to talk to the database... and all my Database access classes are deployed om Tomcat...so if i just write a java standalone command line program, can i access those connection pooling classes... -Original Message- From: Billy

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Allistair Crossley
our production server has been on 5.5.4 for a few weeks and performing very nicely. 5.5.4 is the latest stable build for 5.5 series. give it a shot on your development server if you have one. -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 16:45

Tomcat 5, jk2, Apache 2 and mixed name/IP virtual hosts

2004-12-21 Thread Troy Davis
I just found the problem, my apologies, it turns out to be a firewall port block upstream from me. Thank You, Troy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 4.1 DBCP DB2 Problem

2004-12-21 Thread Friedrich Gonzalez
Hi; this is my first post, and i apprecciate a lot your help. We have a Tomcat Application Server 4.1.30, Sun JVM 1.4.2_05 in W2K server (512 ram) connected to a DB2 6.X resident in a IBM/390. The web application performs several access to the DB2 for each user. We have normally 200 connections

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Dale, Matt
I think that's only with JDK 1.3 though -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: 21 December 2004 16:40 To: Tomcat Users List Subject: Re: Why is tomcat (java) so memory intensive? Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES JAVAC leaking memory

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Allistair Crossley
of course you can ... look up http://jakarta.apache.org/commons/dbcp/ and commons-pool or your database's driver may even have an implementation that supports pooling that you can instantiate directly with the javax.sql or java.sql api. cron(30s) -- socket call -- your app

HTTP Status 404 - /admin HTTP Status 404 - /manager/html

2004-12-21 Thread Dwayne Ghant
Configured tomcat.5.0.27/apache2.x/mod_jk2.so After configuration my admin and manager application stoped working. -- Dwayne A. Ghant Application Developer Temple University 215.204. [EMAIL PROTECTED] - To unsubscribe,

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Jorge Sopena
Hi, I'm having a similar problem in my application. I've got several servlets called by the users. Every requets save some information in DB, that has to be sent to another server later and in a compress format. So I need sth similar toShilpa is asking, a process which runs every X minutes to

AW: performance issue with JK und IIS6

2004-12-21 Thread Michael Südkamp
You just must love Microsoft engineers just for that statement. One has to make something like that, and then dare to say it's a better product then before :). I neither love nor hate MS or any other company or product. I was just looking for a solution to my issue. You a using IIS5

Tomcat 4 + JK

2004-12-21 Thread Pieter Vandepitte
Hi, i have a (perhaps stupid) question. In my server.xml i defined for the Coyote/JK2 AJP 1.3 Connector minProcessors=100 maxProcessors=200 Simple question: I don't understand the meaning for these parameters: they do not what i expect. I thought these were the

Re: [OT] Java developer friendly Linux distro

2004-12-21 Thread David Goodenough
On Tuesday 21 December 2004 16:13, Andreas Vombach wrote: .. has somebody experience with gcj? On RHEL eclipse (but only 2.1.2) works with it and it looks faster than with Sun jdk. gcj could be also an option for tomcat, I'll try as soon I have time for it ... There was a note that the most

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Allistair Crossley
myself and ben have suggested the most appropriate methods for doing this. Ben mentions WGET http://www.gnu.org/software/wget/wget.html which can be added to a *basic* script hooked up to a cron with an interval of whatever you like. you really ought to get rid of threads and thread sleeps

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
No matter what i do, the JNDI lookup is returning null. What causes a JNDI lookup to return null when the resource is defined in the GlobalNamingResources section of server.xml? Should I put the resources into NamingResources in my context.xml? On Mon, 20 Dec 2004 13:52:29 -0500, David Uctaa

Re: AW: performance issue with JK und IIS6

2004-12-21 Thread Mladen Turk
Michael Südkamp wrote: You just must love Microsoft engineers just for that statement. One has to make something like that, and then dare to say it's a better product then before :). I neither love nor hate MS or any other company or product. I was just looking for a solution to my issue. Me

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dennis Payne
Use cron in Unix/Linux or task scheduler in Windows. [EMAIL PROTECTED] 12-21-2004 08:44 Hi, I am using Tomcat4.1.30 version. I have to develop a client application which looks in the database every 30 minutes, to retrieve the status of an order and send the status to the remote client. Again

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dennis Payne
External scripts really are the best answer for this. It is not possible to 'PUSH' information like this without a dedicated client! [EMAIL PROTECTED] 12-21-2004 10:14 Hi, I'm having a similar problem in my application. I've got several servlets called by the users. Every requets save some

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Jorge Sopena
Why is bad using own threads inside web application? Aren't all the servlet request actually a thread in Tomcat? I can't find a reason why it's so bad solution. In that way, you manage to have a single and independent application. Maybe I don't know some thread behaviour in Tomcat... Jorge.

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread pandu yelamanchili
I would say it should be avoided at all if possible using threads. Since as we know in case of threads, there is not much management you can do. Also in my experience i have seen it is very easy for them to get out of control . So if there are any other alternatives, They should be explored

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Fredrik Liden
Check out QuartzScheduler from Open Symphony it's easy to configure within Tomcat. Fredrik -Original Message- From: pandu yelamanchili [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 9:58 AM To: [EMAIL PROTECTED] Subject: Re: How to run servlet for every 30 minutes in

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Jiang, Peiyun
You may user a scheduler to schedule your tasks to run every 30 minutes. http://www.theserverside.com/blogs/printfriendly.tss?id=QuartzSchedulerInJ2E E http://www.quartzscheduler.org/quartz/. Peiyun -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: December 21,

RE: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread Phillip Qin
What is the resourcelink in your context.xml? -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED] Sent: December 21, 2004 12:27 PM To: [EMAIL PROTECTED] Subject: Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28 No matter what i do, the JNDI lookup is

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
If the name of the global resource in server.xml is defined as GlobalNamingResources Resource [attribs] name=jdbc/MYDATASOURCE/ ResourceParams name=jdbc/MYDATASOURCE param.../param /ResourceParams /GlobalNamingResources then the resourcelink in context.xml is Context [attribs]

Re: HTTP Status 404 - /admin HTTP Status 404 - /manager/html

2004-12-21 Thread Dwayne Ghant
I know that someone ran into this before. I assume that most of this list thinks this questions is stupid and you are probably correct; so please accept my apologeis. But that doesn't stop me from needing assistance. Thank you for your time. Dwayne Ghant wrote: Configured

Gurus! JCE and classloader question

2004-12-21 Thread Lionel Pasquier
Hello again! Any guru around to solve my problem please? :-) Lionel Pasquier wrote: Hello, I have a trouble with using a JCE and multiple contexts. From what I could have read around here this is probably linked to a classloader problem. Could you guys help? Basicaly, I generate a RSA Keypair,

Memory Leak with Javac and Tomcat v. 4.0.28

2004-12-21 Thread Dakota Jack
I was going to update my Tomcat from 4.0.19 because it says there is a javac leak in the RELEASE-NOTES. However, I noticed that 4.0.28 says the same thing. Is it fixed/ Jack -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ You can't wake a person who

Re: Memory Leak with Javac and Tomcat v. 4.0.28

2004-12-21 Thread Christoph Kutzinski
Dakota Jack wrote: I was going to update my Tomcat from 4.0.19 because it says there is a javac leak in the RELEASE-NOTES. However, I noticed that 4.0.28 says the same thing. Is it fixed/ Jack AFAIK this is no Tomcat issue but a JDK/Javac issue which was fixed in Sun JDK 1.4. See:

RE: Memory Leak with Javac and Tomcat v. 4.0.28

2004-12-21 Thread Caldarale, Charles R
From: Dakota Jack [mailto:[EMAIL PROTECTED] Subject: Memory Leak with Javac and Tomcat v. 4.0.28 I was going to update my Tomcat from 4.0.19 because it says there is a javac leak in the RELEASE-NOTES. However, I noticed that 4.0.28 says the same thing. Is it fixed/ The memory leak is in

Re: [OT] Request an app test (free beer!)

2004-12-21 Thread Pop Qvarnström
SuSE 8.2: Linux Mandrake 10: Linux Mandrake 10.1: Linux Mandrake 8.0: Linux Sent: Monday, December 20, 2004 2:26 PM To: Commons User; Struts User; Tomcat User Subject: [OT] Request an app test (free beer!) I was informed last OT post I made that the subject should always include the word

RE: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread Phillip Qin
I assume you have something like this in your server.xml Resource name=jdbc/MYDATASOURCE auth=Container scope=Shareable type=javax.sql.DataSource / Is there any warning or exception in catalina.out or any other log files? -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED]

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Jiang, Peiyun
You may use a scheduler to schedule your tasks to run every 30 minutes. http://www.theserverside.com/blogs/printfriendly.tss?id=QuartzSchedulerInJ2E E http://www.quartzscheduler.org/quartz/. Peiyun -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: December 21,

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
Resource type=com.ibm.as400.access.AS400JDBCConnectionPoolDataSource auth=Container scope=Shareable name=jdbc/MYDATASOURCE/ On Tue, 21 Dec 2004 15:02:58 -0500, Phillip Qin [EMAIL PROTECTED] wrote: I assume you have something like this in your server.xml Resource name=jdbc/MYDATASOURCE

Re: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Wade Chandler
Dakota Jack wrote: Why, then, does the Tomcat 5.0 say in the RELEASE-NOTES JAVAC leaking memory is an issue? On Tue, 21 Dec 2004 16:06:13 -, Allistair Crossley [EMAIL PROTECTED] wrote: i think (from memory) it had to do with registering requests with jk. anyway, like i say, upgrade and you'll

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Jiang, Peiyun
You may use a scheduler to schedule your tasks to run every 30 minutes. http://www.theserverside.com/blogs/printfriendly.tss?id=QuartzSchedulerInJ2E E http://www.quartzscheduler.org/quartz/. Peiyun -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: December

RE: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread Phillip Qin
Can you try javax.sql.DataSource in Resoure? You use javax.sql.DataSource in resourcelink then the type in resource has to be the same. -Original Message- From: David Uctaa [mailto:[EMAIL PROTECTED] Sent: December 21, 2004 3:26 PM To: Tomcat Users List Subject: Re: Difficulty connecting

Definitive os.name list (was Re: [OT] Request an app test (free beer!))

2004-12-21 Thread Shankar Unni
Frank W. Zammetti wrote: I'm working on something for which I need to know what the os.name property on various OS's is. FAQ. See http://www.tolstoy.com/samizdat/sysprops.html. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread David Uctaa
Looks like that worked! Many thanks! :) Now my question is, since I'm using javax.sql.DataSource as the ResourceType, how do I know if I'm using the connection pool or opening a new connection each time I request a connection? The factory associated with the resource is

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Jukka Uusisalo
Jorge Sopena wrote: Why is bad using own threads inside web application? Aren't all the servlet request actually a thread in Tomcat? I can't find a reason why it's so bad solution. I think that comes from J2EE specs. I do not remember is threads just forbidden but if you follow specs, you do not

Re: Synchronizing properties in cluster setup

2004-12-21 Thread Peter Johnson
Hi Srinivas, What you are after is a shared / networked filesystem like NFS Coda for *nix. PJ Srinivas Rao Ch wrote: Hi, I successfully configured my clustering setup with mod_jk2 and it is running fine. Now the problem is I have some properties files in my tomcat web application which gets

Re: [OT] Request an app test (free beer!)

2004-12-21 Thread erh
NetBSD(native jre): NetBSD NetBSD(using linux binaries): Linux Sent: Monday, December 20, 2004 2:26 PM To: Commons User; Struts User; Tomcat User Subject: [OT] Request an app test (free beer!) I was informed last OT post I made that the subject should always include the word beer. ?I

RE: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-21 Thread Phillip Qin
Your conections are pooled by Tomcat. I don't know how you configure your Resource, mine looks like this Resource name=jdbc/whatever auth=Container scope=Shareable type=javax.sql.DataSource / - ResourceParams name=jdbc/whatever - parameter namedriverClassName/name

Re: HTTP Status 404 - /admin HTTP Status 404 - /manager/html

2004-12-21 Thread Viorel C.
On Tue, 2004-12-21 at 19:05, Dwayne Ghant wrote: Configured tomcat.5.0.27/apache2.x/mod_jk2.so After configuration my admin and manager application stoped working. In apache configuration you must have: Alias /admin $CATALINA_HOME/server/webapps/admin Alias /manager

Re: FORM based authentication config

2004-12-21 Thread Viorel C.
On Tue, 2004-12-21 at 16:15, Chris Chappell wrote: Hi I'm having trouble getting form based authentication to work. Any help much appreciated. I'm missing something simple I'm sure. (TC 5.0.19, W2K, Mysql4) I am using a JDBC Realm which works fine with BASIC auth. After changing to FORM

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Dennis Payne
It is possible to create a servlet thread in the init() method. That thread sould stay alive and run something every thirty minutes. The issue of pushing information out to the user remins the same. The servlet and the thread cannot do that. On the other hand, it is possible to setup java

Re: Memory Leak with Javac and Tomcat v. 4.0.28

2004-12-21 Thread Dakota Jack
Thanks, all! Jack -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ You can't wake a person who is pretending to be asleep. ~Native Proverb~ Each man is good in His sight. It is not necessary for eagles to be crows. ~Hunkesni (Sitting Bull), Hunkpapa

RE: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Jiang, Peiyun
I think I saw something like this, but not sure if it works: servlet servlet-nameServlet/servlet-name servlet-classServlet/servlet-class run-atcron expression?/run-at load-on-startup1/load-on-startup /servlet Peiyun -Original Message-

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Glenn Parsons
At 05:37 PM 12/21/2004, you wrote: It is possible to create a servlet thread in the init() method. That thread sould stay alive and run something every thirty minutes. The issue of pushing information out to the user remins the same. The servlet and the thread cannot do that. On the other

Re: How to run servlet for every 30 minutes in Tomcat 4.1.30

2004-12-21 Thread Frank W. Zammetti
It's interesting, Craig and I had an exchange about threads in servlet containers last week... I can't find a link to the thread unfortunately. Anyway, the basic idea behind that don't spawn your own threads inside a servlet container admonishment is based more on the fact that it's quite easy

  1   2   >