mod_jk2 , apache2 charset-Problem

2004-03-19 Thread marc . baumgartner
Hello all, I have a tomcat 5.0.18 (on a windows system) connected to an apache 2 webserver (on Linux system) with the mod_jk2. Everything works fine but if I have in my JSP some special characters like the german umlaut (ä,ö,ü,...) the apache shows these chars as a ?. If I go directly to the

http://localhost/ works but http://ip address/ doesn't

2004-03-19 Thread Ted Anagnost
http://localhost/ works but http://ip address/ doesn't. Internet Explorer gives a Cannot find server message. I have tomcat 5.0.18 (without apache). I can ping my IP externally. I have port forwarding enabled on my router. Is there something I need to do to server.xml to enable this to

Re: http://localhost/ works but http://ip address/ doesn't

2004-03-19 Thread Parsons Technical Services
Ted, Sitting at you windows box that is running TC you can open IE and access http://localhost but if you try to access http://yourMachinesIP it fails. From a command prompt ping localhost. Then ping the IP of your machine. Notice that localhost resolves to 127.0.0.? Do an ipconfig /all from

hello

2004-03-19 Thread marc . fleury
what does it mean? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Session not destroyed after server shutdown

2004-03-19 Thread Joao Batistella
Hello! I'm using Tomcat 4 and all sessions that I have when the server is up are not destroyed when I shutdown te server. I've implemented a ServletContextListener to register when the app is going down and a HttpSessionListener to see when a session is destroyed. When the server goes down the

Re: hello

2004-03-19 Thread Vi
[EMAIL PROTECTED] wrote: what does it mean? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] What does

Re: Tomcat Apache connector not working

2004-03-19 Thread Allan Bruce
Allan, the problem lies with the link-edit while building the mod_jk2.so module. The Makefile produced in the some_path/native2/server/apache2/ is buggy. There is some important libraries missing in the list. Also, I believe the configure is not checking everything properly. All prereqs

Re: hello

2004-03-19 Thread Reynir Þór Hübner
marcf. why do you ask ? -reynir [EMAIL PROTECTED] wrote: what does it mean? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: WARNING: Duplicate name in Manifest: Class-Path

2004-03-19 Thread Adam Hardy
On 03/19/2004 06:35 AM Tom K wrote: Any clues where I would look to determine where this message? Start from only happens during sart up of my application. Mar 18, 2004 11:33:48 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Class-Path Sounds like somebody is

Re: jk2 problems

2004-03-19 Thread Allan Bruce
Allan, the problem is the mod_jk2.so shared library is not able to find the undefined symbol ap_server_root. I don't know in which library it resides, but I have a similar problem with a different library, since my connexion uses Unix sockets. You can look at the content of the shared

Deciding to use tomcat 4 or 5

2004-03-19 Thread Joao Batistella
Hello! I'm starting a new a application and I have to decide to use Tomcat 4 or Tomcat 5. I would like to know if tomcat5 is stable enough to a heavy load production environment. What would you recommend? Thanks, JP

CATALINA_BASE in jwsdp

2004-03-19 Thread Malcolm Warren
I have a very recent Java Web Services installation and Tomcat 5 is bundled with it. I have a problem that I see has been met with by others using jwsdp, and not solved. I would like to be able to run multiple Tomcat instances. So I have tried to create a new directory for my web applications

thread deadlock problem

2004-03-19 Thread Christian Cryder
Hi folks, I need to know if someone can explain the following behavior: 1. client browser issues a request 2. tomcat servlet code starts handling the request... a. writes an html redirect to the resp, flushes the buffer, etc b. thread continues processing (writing to a data structure) 3.

RE: JProfiler Tomcat Integration -tyrex driver error

2004-03-19 Thread Edson Alves Pereira
I believe that there are some things in your code calling this tyrex DataSource, try to make a find in files or take a look in the full exception stack trace. -- De: armalai[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: quinta-feira, 18 de março de

access log

2004-03-19 Thread i i
dear all, i have a question about the access logs. In the access log date time @ which the request it given is printed. This is being printed by the pattern %t this is in CLF ( common log format) But i wud like receive it as current milli sec.. is it possible ?? thanks

RE: thread deadlock problem

2004-03-19 Thread Edson Alves Pereira
Why are you trying to do this kind of control? -- De: Christian Cryder[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 19 de março de 2004 9:55 Para: Tomcat-User Assunto: thread deadlock problem Hi folks, I need to know

Re: thread deadlock problem

2004-03-19 Thread Hans
hi, is the thread mentioned in 2b the same as the one that handled 2a ? grtz Hans At 07:55 19/03/2004 -0500, you wrote: Hi folks, I need to know if someone can explain the following behavior: 1. client browser issues a request 2. tomcat servlet code starts handling the request... a. writes

RE: WARNING: Duplicate name in Manifest: Class-Path

2004-03-19 Thread Larry Isaacs
In case it helps, the struts.jar from 1.1-b3, and I assume earlier, had a MANIFEST.MF file that had multiple Class-Path lines, which would lead to this symptom. The 1.1 release version of struts.jar had this corrected. I don't know about the Struts 1.1 release candidates. You might check your

RE: hello

2004-03-19 Thread Forte, Graham
Could it be? Could it be the Netsky? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 3:44 AM To: [EMAIL PROTECTED] Subject: hello what does it mean? - To unsubscribe,

RE: thread deadlock problem

2004-03-19 Thread Christian Cryder
Here's some rational for why we'd want to do something like this... The basic context is that Barracuda is a presentation framework - so we're trying to make hard things easy for developers. Given that, one of the things that is a pain in the servlet/webapp paradigm is handling requests that

RE: thread deadlock problem

2004-03-19 Thread Christian Cryder
is the thread mentioned in 2b the same as the one that handled 2a ? Yep, same thread. -- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org -- Coffee? I

My session is getting null

2004-03-19 Thread Jorge Walendowsky Filho
Can anyone explain me how a session object becomes null after I use it on the same page and don't reassign its value to null. I'm using the JBoss 3.2.3 in HP-UX 11 on the server side and Internet Explorer 5.5+ and Windows 2k Professional on the client side. Sample code: % Object

Broken pipe...

2004-03-19 Thread Pepijn Palmans - Kangaroot
Hello there, When I use apache + mod_jk + tomcat I see something \strange\. When I connect my browser via apache to a servlet, hit the refresh button before I got a response this happens: - the tcp connection between browser and tomcat server is dropped. - apache knows that it's thread can be

embedding tomcat 5.x

2004-03-19 Thread tomcatuser
I am interested in embedding tomcat into an application. I am not necessarily tied to using JMX, but do want to use Tomcat 5.x. Does anyone have any examples/information that would help me out. I keep hearing that JBoss uses embedded tomcat, but cannot find the places in the JBoss source

Re: JProfiler Tomcat Integration -tyrex driver error

2004-03-19 Thread armalai
Hi., I do not have any config element related to tyrex.In my Server.xml i'm using the factory class as org.apache.catalina.users.MemoryUserDatabaseFactory and my driverC.lassName is - oracle.jdbc.OracleDriver please check this stack trace below ... Working directory:

RE: thread deadlock problem

2004-03-19 Thread Hans
ok, and can you give some more details on the blocking code. I assume : ...check to see if data pipe still full ...timeout if we've waited too long notifyAll(); try { wait(1000); Thread.yield(); } catch (InterruptedException ex) { throw

Re: Configure Apache for running Perl(cgi)

2004-03-19 Thread Vivek Sivagiri
Worked perfectly. Thanks very much! Vivek - Original Message - From: Subir Sengupta [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 18, 2004 7:02 PM Subject: RE: Configure Apache for running Perl(cgi) Here's an article that should help.

Tomcat 5 Configuration RFP

2004-03-19 Thread LILES, DAVID (CONTRACTOR)
For a week we have attempted to implement a replacement for our current Java environment and have experienced mixed results. It has been decided that Tomcat 5 will be evaluated as a replacement solution but so far we have not been able to get a successful configuration. RFP: Tomcat 5

Re: jk2.properties documentation

2004-03-19 Thread Daniel Savard
Le ven 19/03/2004 à 01:06, Chong Yu Meng a écrit : Daniel Savard wrote: Is there any documentation on the jk2.properties? There is the Jakarta documentation available on their site. Or you could dig through the source code. I also looked at the Jakarta docs, however, for the

Re: Session not destroyed after server shutdown

2004-03-19 Thread Jacob Kjome
Sessions aren't destroyed until the session times out. If you shut the server down, existing sessions will be written to file. If you bring the server back up before the timeout of those sessions, they will still exist upon server restart. If you think about it, this is usually desired

Re: Tomcat Apache connector not working

2004-03-19 Thread Daniel Savard
Le ven 19/03/2004 à 05:11, Allan Bruce a écrit : I used an rpm to install the connector. Do you suggest I uninstall the rpm and compile the source? Thanks Allan Before you may do the following check: Locate the mod_jk2.so file and issue the following command: ldd mod_jk2.so It will

Re: Session not destroyed after server shutdown

2004-03-19 Thread Daryl Stultz
Tomcat Users List [EMAIL PROTECTED] writes: You can always delete the work directory for the app if you actually do desire to blow away sessions as well. I have scripts to restart Tomcat which do precisly that because... destroyed and, when it comes up again, the sessions are still there. If I

RE: Deciding to use tomcat 4 or 5

2004-03-19 Thread Shapira, Yoav
Hi, Tomcat 5, no doubt. Yoav Shapira Millennium Research Informatics -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 5:21 AM To: 'Tomcat Users List' Subject: Deciding to use tomcat 4 or 5 Hello! I'm starting a new a application and I

RE: embedding tomcat 5.x

2004-03-19 Thread Shapira, Yoav
Hi, Dude ;) Google: http://www.google.com/search?sourceid=navclientq=embedded+tomcat Detailed JavaDoc instructions: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/ap ache/catalina/startup/Embedded.html Yoav Shapira Millennium Research Informatics -Original

RE: Session not destroyed after server shutdown

2004-03-19 Thread Shapira, Yoav
Hi, Have your listener also implement HttpSessionActivationListener. Correlate activation with creation and passivation with destruction (optionally). I don't have time to give detailed advice today ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Daryl Stultz

Session not destroyed after server shutdown

2004-03-19 Thread Daryl Stultz
Tomcat Users List [EMAIL PROTECTED] writes: Hi, Have your listener also implement HttpSessionActivationListener. Correlate activation with creation and passivation with destruction (optionally). Cool. I'll file that tidbit away for when I have the time. I don't have time to give detailed

RE: WARNING: Duplicate name in Manifest: Class-Path

2004-03-19 Thread Tom K
Thanks Larry! Tom Kochanowicz -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 7:29 AM To: Tomcat Users List Subject: RE: WARNING: Duplicate name in Manifest: Class-Path In case it helps, the struts.jar from 1.1-b3, and I assume earlier, had

Re: CATALINA_BASE in jwsdp

2004-03-19 Thread Malcolm Warren
I think I have found something to do with it. in jwsdp-shared/bin/launcher.xml there is a line as follows: sysproperty key=catalina.base value=${jwsdp.home}/ This line is surprising to say the least! It seems to be actively ignoring the CATALINA_BASE variable! and in fact if I hard-code the

Re: Broken pipe... PART 2...

2004-03-19 Thread Chris Boyce
I was literally about to post on the same subject. If anyone knows how Tomcat (and in my case Apache 2.0.48+mod_jk2 on Solaris 8) handles interrupted/broken connections this would be helpful. Just to add my own observations... I can push over our test environment simply by hitting refresh

Java Mail from a servlet

2004-03-19 Thread Steve Gums
Guys I had this webapp completely functioning on another server. Not I am getting this odd error from my mail serlvet Steve Gums [EMAIL PROTECTED]

Java Mail Real Email

2004-03-19 Thread Steve Gums
Sorry about that last one. fingers are faster then the brain.. anyways like I was saying.. This servlet was mailing fine before. Not I get the following Unable to complete :javax.mail.NoSuchProviderException: No provider for Address type: rfc822 Here is the web.xml segment

RE: JDBC/mySQL problem.

2004-03-19 Thread Steve Gums
If I could see the error it would help but I don't think your datasource is getting loaded correctly into JNDI. The full name of the jar in common/lib works fine. Here is the context.xml I used based on the HOW_TO and it works great. If this file doesn't work, it is most likely a

RE: apache 1.3 tomcat 5.0.19

2004-03-19 Thread Steve Gums
Mine worked fine when I tried it. Steve -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 9:48 AM To: Tomcat Users List Subject: Re: apache 1.3 tomcat 5.0.19 a second question: may I use the same mod_jk.so I used with tomcat 3.2.3??

RE: JDBC problems with MySQL

2004-03-19 Thread Steve Gums
Not sure about your docBase in windows. IN solaris I have it as the absolute path of the webapp. This is required since I use the context.xml files instead of putting each in the server.xml To be honest I should probably shut up since I have no clue how to administer this in windows. If you

RE: Tomcat xml errors.

2004-03-19 Thread Shapira, Yoav
Hi, If you downloaded the .tar.gz distro, make sure to use GNU tar to extract it. Yoav Shapira Millennium Research Informatics -Original Message- From: tyler [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 11:14 PM To: Tomcat Users List Subject: Tomcat xml errors. I'm having

Re: Broken pipe... PART 2...

2004-03-19 Thread Pepijn Palmans - Kangaroot
Just to add some PART 3... it might be usefull to have the mod_jk connector give a clear message other than 404 to the browser, wouldn't it ? (of course we can setup a custom 404, but it's not the same as a real 404 !) Pepijn On Fri, 19 Mar 2004, Chris Boyce wrote: I was literally about to

RE: CATALINA_BASE in jwsdp

2004-03-19 Thread Merrill, Roxann
I am going to ask a quick question along the catalina.base: 1. Does it matter as to the directory structure of where the base is located? The reason that I am asking, is that I am attempting to understand the install that was done by someone else and then more importantly make sure this is

Re: Java Mail Real Email

2004-03-19 Thread QM
: Unable to complete :javax.mail.NoSuchProviderException: No provider for : Address type: rfc822 The phrase completely functioning on another server is the tipoff -- what's in the working server's {tomcat inst}/common/lib? Anything JavaMail related? -QM -- software --

RE: Java Mail Real Email

2004-03-19 Thread Steve Gums
Mail.jar and activation.jar but I will check again Steve -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 8:56 AM To: Tomcat Users List Subject: Re: Java Mail Real Email : Unable to complete :javax.mail.NoSuchProviderException: No provider for :

Re: Broken pipe... PART 4...

2004-03-19 Thread Chris Boyce
I actually don't get 404's... the site just grinds to a halt, and jk_2 spews tonnes of messages like this: Fri Mar 12 15:57:47 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8009 1 0 [Fri Mar 12 15:57:47 2004] [error] mod_jk.handler() Error connecting to tomcat 3 [Fri Mar 12

Re: Broken pipe... PART 4...

2004-03-19 Thread Pepijn Palmans - Kangaroot
I'm using Linux I see a lot of 'no processors available' in de catalina_log files. processor usage is indeed eating whole cpu, but machine doesn't die at all. do note that I use mod_jk, not mod_jk2 ! I think there's a whole different way of logging etc. in jk2. also something I don't really

Tomcat5 service on Windows

2004-03-19 Thread Daryl Stultz
Tomcat Users List [EMAIL PROTECTED] writes: Hi, Not, tomcat doesn't require a JRE ;) It requires a JDK, always has. And the location of the JDK installation is not hard-coded anywhere. After several installs and uninstalls of Java and Tomcat I have got Tomcat running properly as a service. While

Re: Releasing JK 2.0.4

2004-03-19 Thread E Cunningham
When should we expect to see binary versions of 2.0.4? thanks, emmett --- Mladen Turk [EMAIL PROTECTED] wrote: Hi, Seems that the shm is working now. Greg, have you been able to test it with the current patches? Anyhow IMO it should work, cause the same problem manifested on FreeBSD

RE: Java Mail Real Email

2004-03-19 Thread LILES, DAVID (CONTRACTOR)
I got a similar error when I migrated a working web app from one server to another. The problem resulted from an older version of the mail.jar on the server I moved the web app too. You might want to compare the mail.jar files between the two servers. -Dave -Original Message-

RE: Java Mail Real Email

2004-03-19 Thread Steve Gums
Is there a good place to get these jars without pulling the whole dang SDK. -Original Message- From: LILES, DAVID (CONTRACTOR) [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 9:27 AM To: Tomcat Users List Subject: RE: Java Mail Real Email I got a similar error when I migrated a

double submit in form-based authentication throws IllegaStateException

2004-03-19 Thread Andrigo Spall Gomes
Hello! I sent this mail to the dev list some days ago but got no answer. I apologize for the cross-posting. Hopefully someone will be able to help me here. I'm having a problem when trying to cope with double submits in a page with form-based authentication in Tomcat 4.1.30.

Re: access log

2004-03-19 Thread Tim Funk
Yes and no. No - because there isn't a parameter to do that. yes- Because it can still be done. here's how. 1) write you own pattern that is just like the access log format 2) change %t to be %{time}r 3) Write a Servlet filter on all requests which after the chain is executed, save a attribute

loading classes from the shared/lib directory

2004-03-19 Thread Martin Morawetz
Hello! Is tomcat able to load classes (not jar-files) from the $CATALINA_HOME/shared/classes directory dynamically (without tomcat-restart)? And if so, how? I wasn't able to do it. -- Thanks, Martin - To unsubscribe,

Re: Java Mail Real Email

2004-03-19 Thread Adrian Lanning
http://java.sun.com/products/javamail/ javamail-1_3_1.zip - Filesize = 2,270,566 bytes. You'll need activation.jar too. There's a link to it on the above page. Adrian Lanning - Original Message - From: Steve Gums [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday,

RE: loading classes from the shared/lib directory

2004-03-19 Thread Shapira, Yoav
Hi, Nope, common/shared classes require a restart. Yoav Shapira Millennium Research Informatics -Original Message- From: Martin Morawetz [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 12:04 PM To: Tomcat Users List Subject: loading classes from the shared/lib directory Hello!

RE: JProfiler Tomcat Integration -tyrex driver error

2004-03-19 Thread Edson Alves Pereira
Maybe your server.xml there isn´t tyrex declarations, but what about your servlets? Do you have any default inicialization? -- De: armalai[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 19 de março de 2004 11:26 Para: Tomcat Users

RE: Java Mail Real Email

2004-03-19 Thread Steve Gums
Thanks much -Original Message- From: Adrian Lanning [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 10:14 AM To: Tomcat Users List Subject: Re: Java Mail Real Email http://java.sun.com/products/javamail/ javamail-1_3_1.zip - Filesize = 2,270,566 bytes. You'll need activation.jar

Re: Configure Apache for running Perl(cgi)

2004-03-19 Thread Vivek Sivagiri
Works perfectly on Tomcat 5. But on Tomcat 4, get an error 'Illegal character in CGI command path detected.' - Original Message - From: Vivek Sivagiri [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 19, 2004 9:52 AM Subject: Re: Configure Apache for running

JasperException: Unable to compile class for JSP, root cause: FileNotFoundException

2004-03-19 Thread Martin Morawetz
Hello! Problem: I don't get Tomcat to compile my jsps. I have the problem just with new Jsps (so path and file in the work-directory don't exist yet) I also just have the problem with tomcat running as daemon. The daemon and the normal tomcat-application both are running as user

Re: Tomcat Apache connector not working

2004-03-19 Thread Allan Bruce
- Original Message - From: Daniel Savard [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 19, 2004 3:27 PM Subject: Re: Tomcat Apache connector not working Le ven 19/03/2004 à 05:11, Allan Bruce a écrit : I used an rpm to install the connector. Do

internal error (); ServletException: Error instantiating servlet; StackOverflowError

2004-03-19 Thread Rostislav Svoboda
Hi All i think i found a bug in tomcat 5.0.19. is this the right place for a bug report ? EOF thx for clarification or bug fix or both Bost == here is the server response:

RE: Java Mail Real Email

2004-03-19 Thread Steve Gums
That did it. Just needed a newer mail.jar and activation.jar Thanks for the help Adrian! -Original Message- From: Steve Gums [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 10:16 AM To: 'Tomcat Users List' Subject: RE: Java Mail Real Email Thanks much -Original

Re: CATALINA_BASE in jwsdp

2004-03-19 Thread Malcolm Warren
Thanks to anyone who read this email. But I've found a hack - or anyway I may just abandon JavaWebServices and go for Tomcat on its own. So don't worry about replying to this problem any more. Malcolm Warren On Fri, 19 Mar 2004 13:55:13 +0100, Malcolm Warren [EMAIL PROTECTED] wrote: I have

RE: thread deadlock problem

2004-03-19 Thread Christian Cryder
Hi Hans, is performed repeatedly in a while lus? Yep. It's basically the same as Sun's PipedReader/PipedWriter, but modified to support the notion of a configurable pipe size and a timeout. I am attaching the actual classes so you can see them (cf. line 218 in BetterPipedReader) What's the

RE: Session not destroyed after server shutdown

2004-03-19 Thread Christian Cryder
Hi Jake! But this means everything you put in the session needs to be serializable, right? I don't think this impacts Barracuda (because I don't think its saving anything in the session - just creating the OR wrappers over the session), but we might want to check. Of course, we can continue

RE: Keystore help OT?

2004-03-19 Thread Mark Thomas
Why do you need to extract your private key? What are you trying to do? Have you tried java.security.Keystore.getKey() ? Mark -Original Message- From: Hamilton Andrew [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 7:57 PM To: Tomcat Users List Subject: RE: Keystore help

Re: Java Mail Real Email

2004-03-19 Thread Adrian Lanning
my pleasure although Dave Liles did the actual helping. :-) Adrian - Original Message - From: Steve Gums [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, March 19, 2004 12:34 PM Subject: RE: Java Mail Real Email That did it. Just needed a newer mail.jar and

RE: Java Mail Real Email

2004-03-19 Thread Steve Gums
Sorry Thanks Dave -Original Message- From: Adrian Lanning [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 11:26 AM To: Tomcat Users List Subject: Re: Java Mail Real Email my pleasure although Dave Liles did the actual helping. :-) Adrian - Original Message - From:

Re: Horrible memory leak in tomcat 5.0.19 (JMX bug?)

2004-03-19 Thread Joseph Shraibman
Ralph Einfeldt wrote: That may be a bit to simple, as this is just performing one request after the other. You may have to force concurrent request: Why are those message generated by a thread starting up or something? If so I already have a jsp with a built in delay I can use to make sure

RE: HttpSession Replication in Tomcat Cluster not working with EJB's!

2004-03-19 Thread Filip Hanik \(lists\)
where is the class chnhr.EmployeeEditorSB stored? Filip -Original Message- From: Suraj Prabhu [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 11:34 PM To: [EMAIL PROTECTED] Subject: HttpSession Replication in Tomcat Cluster not working with EJB's! Hi everybody, I am trying

Re: Tomcat Apache connector not working

2004-03-19 Thread Daniel Savard
Le ven 19/03/2004 à 12:30, Allan Bruce a écrit : My output is: [EMAIL PROTECTED] apache2]# ldd mod_jk2.so libc.so.6 = /lib/i686/libc.so.6 (0x4003) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000) is this a problem? I am quite new to linux so I dont know much

RE: HttpSession Replication in Tomcat Cluster not working with EJB's!

2004-03-19 Thread Filip Hanik \(lists\)
are you sure this class is on all the servers? Filip -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 10:31 AM To: Tomcat Users List Subject: RE: HttpSession Replication in Tomcat Cluster not working with EJB's! where is the class

RE: Java Mail Real Email

2004-03-19 Thread LILES, DAVID (CONTRACTOR)
No problem glad to be of help. -Original Message- From: Steve Gums [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 12:21 PM To: 'Tomcat Users List' Subject: RE: Java Mail Real Email Sorry Thanks Dave -Original Message- From: Adrian Lanning [mailto:[EMAIL PROTECTED]

RE: internal error (); ServletException: Error instantiating servlet; StackOverflowError

2004-03-19 Thread Shapira, Yoav
Hi, Well, thanks for providing a bit of entertainment as we head into the weekend ;) Look in your Login servlet class for infinite loops or infinite recursion. This has nothing to do with tomcat's classes and it's far from being a tomcat bug. To answer your question: this is the best place to

Re: Horrible memory leak in tomcat 5.0.19

2004-03-19 Thread Joseph Shraibman
Robert Krüger wrote: Hi, we had the same problem (enormous memory leak which frequently made our production system crash), downgraded to 5.0.18 and everything went back to normal. Just yesterday a colleague of mine came to the conclusion that it is not too unlikely that it is the problem

RE: thread deadlock problem

2004-03-19 Thread Hans
Hi Chris, the attachments didn't make it, but here are some thoughts (maybe I am telling you stuff you knew all along, then I'm sorry I didn't know). That the whole thing craps out when using sleep is probably logical, because an important difference is that wait releases the monitor held by a

Problem with the memory of the tomcat

2004-03-19 Thread software
Hi, i have 7 application in our tomcat, sometimes i can see that the web access to the applications is very slowly and sometimes we can not to get access to these applications, the cuestion is whe i start the tomcat and i've configured the Xms, Xmx parameter in catalina.sh the application are

RE: Problem with the memory of the tomcat

2004-03-19 Thread Shapira, Yoav
Hi, The -Xms and -Xmx parameters control the JVM heap size. The JVM heap is shared by all applications/processes within the JVM. So all 7 of your web applications are sharing this memory. Yoav Shapira Millennium Research Informatics -Original Message- From: software [mailto:[EMAIL

mod_jk or mod_jk2 for production

2004-03-19 Thread Mike Millson
Is the statement in the link below on the Tomcat FAQ page regarding the stability of mod_jk vs mod_jk2 still valid? Is mod_jk2 still not stable enough for production environments, or is this info out of date? http://jakarta.apache.org/tomcat/faq/connectors.html#vs Mike

Re: Problem with the memory of the tomcat

2004-03-19 Thread software
Every thread that these application open use share the total memory that specified in this parameters, beacuse i have tomcat 4.0.3 installed in a linux server and i can see when i only start the tomcat without load any application i can see a main process with 16 threads i've specified

Problem with file encoding

2004-03-19 Thread Anuradha Gali
Hi ! I am new to Tomcat. I just downloaded tomcat and am trying to make it work. It gives me the following error Exception in thread main classDefNotFound: Dfile/encoding error I set the CATALINA_OPTS environment to -Dfile.encoding=IS0-8859-1 I guess I need to change tje encoding in JVM,

Anyone Running Tomcat 4.1.x on IBM Mainframe

2004-03-19 Thread Gary Fix
Hi, Is anyone running Tomcat 4.1.x on an IBM mainframe? We are considering it for our IBM 7060-H75 Mainframe which runs the z_OS 1.2.0 operating system that includes Unix System Services but no Linux... What would we need to install or purchase? Must it run under Linux? I'm not a mainframe person

RE: Problem with the memory of the tomcat

2004-03-19 Thread Shapira, Yoav
Hi, Top on linux shows java threads as OS-level processes, which is wrong. Yoav Shapira Millennium Research Informatics -Original Message- From: software [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 3:15 PM To: Tomcat Users List Subject: Re: Problem with the memory of the

security permissions war files

2004-03-19 Thread Hollister Scholte
Hi, I'm having a hard time with the security permissions for a webapp using tomcat 4.1.30. The application needs to write files to the java.io.tmp directory and it works fine in the first scenario ( without a war file ) but in the second scenario I keep getting:

Re: Problem with the memory of the tomcat

2004-03-19 Thread software
Hi, when i uses the Xms parameter this parameter is for every application (every application use 128 indivually) and its threads or this memory size 128 MB is for all the application and not individually and the threads too thanks software wrote: Every thread that these application open

RE: Problem with the memory of the tomcat

2004-03-19 Thread Mike Millson
Is this true even on RedHat Linux 9 and RHEL 3, which use NPTL (native posix thread library)? Tomcat shows up as 1 thread with top, and if I remember correctly, prior to RHL 9, it showed up as multiple threads. Mike On Fri, 2004-03-19 at 15:23, Shapira, Yoav wrote: Hi, Top on linux shows java

Re: mod_jk or mod_jk2 for production

2004-03-19 Thread Adrian Lanning
Mike, I haven't heard of anyone having stability issues with JK2 once they got it configured correctly. List, correct me if I'm wrong. The only problem with JK2 2.0.2 that I know of (and one I found the hard way) is that JkUriSet works globally within the httpd.conf file rather than relative to

RE: comparison of Type 4 JDBC drivers

2004-03-19 Thread Gary Fix
Thanks Yoav for the suggestion! Can anyone point me to a comparison of Type 4 JDBC drivers supporting MS SQL Server and DB2 for the windows and IBM mainframe (Z_OS) linux platforms? thanks...gary... -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, March

RE: Problem with the memory of the tomcat

2004-03-19 Thread David Rees
Mike Millson wrote: On Fri, 2004-03-19 at 15:23, Shapira, Yoav wrote: Top on linux shows java threads as OS-level processes, which is wrong. Is this true even on RedHat Linux 9 and RHEL 3, which use NPTL (native posix thread library)? Tomcat shows up as 1 thread with top, and if I remember

RE: Problem with the memory of the tomcat

2004-03-19 Thread Shapira, Yoav
Hi, I think this was indeed fixed in NPTL. Yoav Shapira Millennium Research Informatics -Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 4:03 PM To: Tomcat Users List Subject: RE: Problem with the memory of the tomcat Mike Millson wrote: On

Re: Broken pipe... PART 2...

2004-03-19 Thread David Rees
Chris Boyce wrote: Just to add my own observations... I can push over our test environment simply by hitting refresh (rapidly) for our front page, which does contain some SQL queries. By just one browser continuously interrupting the connections with refresh, I can watch the Java process in

Help with cross context webapp

2004-03-19 Thread Norris Shelton
I have the following in my server.xml: Service name=Tomcat-prototype-first_webapp Connector className=org.apache.catalina.connector.http.HttpConnector port=7001 redirectPort=8001 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 connectionTimeout=6/

RE: Session not destroyed after server shutdown

2004-03-19 Thread Jacob Kjome
Quoting Christian Cryder [EMAIL PROTECTED]: Hi Jake! But this means everything you put in the session needs to be serializable, right? Yep, a recommended best practice. If you need to put something in the session and it has data that isn't serializable, make it implement Serializable and

FW: Regarding Tomcat and JNI based webapps...

2004-03-19 Thread Marepalli, Somesh
Hi: I am deploying Axis based web services in Tomcat (4.0.6). My web app .jar files need to be dynamically updated... However, since some of the helper .jar files use Native (JNI) dlls, I am unable to do this...I get the following error when Axis tries to re-load the web app?

RE: Problem with the memory of the tomcat

2004-03-19 Thread Mike Curwen
I'm not sure.. is there a question in there?? The bottom line is: on some version of linux, when you are looking at the output of 'top', it makes things appear as though ALL your java threads (the tomcat threads) have EACH got whatever memory is being used by the *entire* JVM at that moment.

  1   2   >