Performance gain using precompiled JSP's

2004-03-17 Thread Anand Ravi
Hi List! I would like to know if there are any metrics available on the performance gain achieved by using precompiled jsp's and custom tag pooling. Thanks and Regards, Anand Ravi - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: JDBC problems with MySQL

2004-03-17 Thread Adam Hardy
Steve, like Wendell said, you've got to put the context.xml file under that directory. And rename it to the context name. It will only work from the META-INF directory when you are deploying a .war file. On 03/16/2004 10:23 PM Steve Gums wrote: Can I ask a quick question before I do that. I

How to setup VM opt when running Tomcat as windows service?

2004-03-17 Thread Gordon Luk
Hi All, I got a problem on setup Tomcat 5.0.19 on my windows 2000 enterprise server. I have installed java 1.4.x on it. I want change the java vm option to instead the default setting. for example with opt. -server -Xms64m -Xmx128m.. i already try few methods as following : - stop service,

tomcat certificate

2004-03-17 Thread secam secam
Hi all, I've got ssl with tomcat, and a self signed certificate When i try to access my webapp via port 8443 (ssl) i've got a security alert due to this reason: the security certificate was send by a compagny i've not trusted. How can i solve this problem in order not to have the security

Re: How to setup VM opt when running Tomcat as windows service?

2004-03-17 Thread Gordon Luk
Finally, i got the solution by google, answer also come from tomcat-user. Take a look here when you got same problem. http://mdsh.com/notes/tomcat5OnWindowsNT.jsp On Wed, 2004-03-17 at 16:41, Gordon Luk wrote: Hi All, I got a problem on setup Tomcat 5.0.19 on my windows 2000

[OT] Filter version of mod_security

2004-03-17 Thread Ralph Einfeldt
I just stumbled across the following link: http://www.modsecurity.org/products/modsecurity/java/index.html If somebody thinks it's interesting [s]he can keep it :), otherwise forget it :{. - To unsubscribe, e-mail: [EMAIL

Thank you for your recent email.

2004-03-17 Thread nozzolio
Thank you for your recent email. Your comments and suggestions are very important to me and an integral part of the legislative process. Please be assured I am in the process of reviewing your correspondence. If you have not already done so, please forward your name and address. This

Native libraries configuration under tomcat.

2004-03-17 Thread Nick Holmes
Hi, I am trying to get the JMagick library working under Tomcat to do some image translation following an upload. My platform is Apache 2, Mod_jk2 and Tomcat 4.1.27 I have several .jar extensions installed, including postgres, so basic external libraries do work. JMagick comes as a semi-stub

Re: Why Tomcat (4.1.29) cannot find third party package's classes

2004-03-17 Thread Ari Paasonen
Sorry, forgot to mention it on this post. The Castor JAR file is in my webapplication's WEB-INF/lib directory. From: Christopher Schultz [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Why Tomcat (4.1.29) cannot find third

Re: JProfiler... help!

2004-03-17 Thread tomcatuser
check out http://sourceforge.net/projects/eclipsecolorer/ as well. There are detailed instructions for profiling tomcat. ---Original Message--- From: bort [EMAIL PROTECTED] Subject: JProfiler... help! Sent: 17 Mar 2004 00:35:25 Hi all I've installed

Timeout or log out for Realm authentication

2004-03-17 Thread Joan Jesús Pujol Espinar
Hello, Is it possible to set a timeout or manually logout a user that is authenticated with a realm? Because the user is always 'logged' until the navigator is closed. Cheers, -- *** Joan Jesús Pujol Espinar Tècnic de Sistemes Universitat de

Re: Thank you for your recent email.

2004-03-17 Thread Vi
What a hell! Why don't you all senators just die and leave us usual tomcat users alone? [EMAIL PROTECTED] wrote: Thank you for your recent email. Your comments and suggestions are very important to me and an integral part of the legislative process. Please be assured I am in the process of

Re: Thank you for your recent email.

2004-03-17 Thread Adam Buglass
I think it's cool! I live in the cold and wet north-east of England and my comments and suggestions are very important ... and an integral part of the legislative process of New York!! I love America! :-) On Wed, 2004-03-17 at 11:32, Vi wrote: What a hell! Why don't you all senators just die

RE: Thank you for your recent email.

2004-03-17 Thread Yiannis Mavroukakis
ROFLMAO! What a goverment system that would be... -Original Message- From: Adam Buglass [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 11:42 To: Tomcat Users List Subject: Re: Thank you for your recent email. I think it's cool! I live in the cold and wet north-east of England and my

Very strange problem with logging

2004-03-17 Thread Andi Reinbrech
Hi, this may sound impossible, but I just can't figure out *why* it's happening: I use AXIS to host a web service on Tomcat 5.0.18. I run tomcat as a service on a win2ks box. Now, when -StdOutputFile is enabled to a valid filename in ./logs, the app works fine (oviously I wanted to use the

[NON DELIVERY NOTIFICATION]

2004-03-17 Thread noreply
This message was verified by the filtering system of our mail server. Original message was replaced by this one for the following reason: *** A suspicious file (executable code) was found in the message ! Original message had the following attached files: (X-FILE ??? ) : your_letter.pif

RE: JProfiler... help!

2004-03-17 Thread Edson Alves Pereira
I´ll try to explain, when i profile my web-application i just use JProfiler and tomcat ( ´cause my machine isn´t that good ). You have two possibilities create a new process or bind JProfiler to a already running ( usually i bind JProfiler to tomcat ), then you must fill Session window to

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Paul Mahoney
Some progress but still not working. 1. Using my connection parameters I can open a connection to the database in the standard JDBC way. 2. I have to moved the DataSource configuration from GlobalNamingResources to the apps Context area of server.xml. This seems to have allowed the JNDI look-up

RE: JProfiler... help!

2004-03-17 Thread Edson Alves Pereira
Try this also, maybe it helps more. http://download.ej-technologies.net/tutorials/jprofiler/tutorial_1_viewlet_s wf.html -- De: bort[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: terça-feira, 16 de março de 2004 21:35 Para: [EMAIL PROTECTED]

RE: tomcat certificate

2004-03-17 Thread Andi Reinbrech
View the certificate when you get that prompt and then Trust the site. This is a once off -Original Message- From: secam secam [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 11:09 AM To: [EMAIL PROTECTED] Subject: tomcat certificate Hi all, I've got ssl with tomcat, and a self signed

Tomcat Loadbalancing

2004-03-17 Thread armalai
Hi., I'm trying to do Loadbalancing in tomcat. My environement details are, Windows Tomcat 4.1.xx Apace 2.x Mod_jk2 connector Right now i'm stuck up with apache to tomcat communication thru ajp. my questions are below.. 1.How do i create multiple instance of tomcat? using CATALINA_BASE i

RE: Slightly OT: NoBodyResponse

2004-03-17 Thread Shapira, Yoav
Hi, While I was reading some mail archives today, I stumbles stumbled over a few postings discribing problems with webapplications referring to a class called javax.servlet.http.NoBodyResponse and sometimes javax.servlet.http.NoBodyOutputStream. I was curious, so I browsed through the javadocs.

RE: Very strange problem with logging

2004-03-17 Thread Shapira, Yoav
Hi, Maybe some critical code is after a logging statement that's either hanging or crashing, so the critical code never gets executed. Yoav Shapira Millennium Research Informatics -Original Message- From: Andi Reinbrech [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 7:38 AM

Re: HTTPS support for tomcat using openSSL with Client Authentication

2004-03-17 Thread Anbu
Hello Saravanan, Have you got the answer you wanted ? Anbu [EMAIL PROTECTED] wrote: Hi All, I wanted to support SSL with Client Authentication over Tomcat 4.18. I followed the steps mentioned in the link below, but I couldn't succeed in getting the client authentication to work,however I

RE: org.apache.tomcat.util.net.PoolTcpEndpoint for tomcat 3.3.1

2004-03-17 Thread Larry Isaacs
You can find it in the source .tar.gz or .zip here: http://archive.apache.org/dist/jakarta/tomcat-3/archive/v3.3.1/src/ or if you want just this one file, try:

RE: Stubborn simple servlet

2004-03-17 Thread Shapira, Yoav
Hi, Read in some web doc that the plan is to write a tool tool for _generating_ all these config files rather than having to tweak them by hand. A good config tool would certainly have helped avoid a lot of head bashing. If anyone on this list knows of someone who is contemplating writing a

Re: Port-per-webapp?

2004-03-17 Thread Tony Nakamura
Hi Justin, Be sure, of course, that the files you're editing are indeed the ones being read -- for example, make sure that by removing /examples from uriworker.properties, IIS no longer serves the Tomcat examples. Great point... I removed the /examples from uriworkermap.properties, and it's

Re: Tomcat Loadbalancing

2004-03-17 Thread Tim Funk
Start here first http://jakarta.apache.org/tomcat/faq/ -Tim armalai wrote: Hi., I'm trying to do Loadbalancing in tomcat. My environement details are, Windows Tomcat 4.1.xx Apace 2.x Mod_jk2 connector Right now i'm stuck up with apache to tomcat communication thru ajp. my questions are

server.xml config question

2004-03-17 Thread LILES, DAVID (CONTRACTOR)
I have installed Tomcat 5 on a Windows 2000 server and am having trouble getting a site configured. Due to environment policies we have to use IIS for the web server. I have downloaded and configured the isapi_redirector2.dll with the site we're having trouble with, but when we attempt to

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
I got this to work by either placing the context directly into the server.xml file or placing the xml file into it's correct location in /usr/local/tomcat/conf/Catalina/localhost/DBTest.xml Not exactly sure the reason, but it is working now. Steve -Original Message- From: Kawthar Bt M

RE: HTTPS support for tomcat using openSSL with Client Authentication

2004-03-17 Thread saravanan.babu
Still I am looking in to it. If you have any idea please let me know. Regards saravanan -Original Message- From: Anbu [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 7:38 PM To: Tomcat Users List Subject: Re: HTTPS support for tomcat using openSSL with Client Authentication

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
Does the META-INF directory in a war file sit next to the WEB-INF directory? Just checking for future reference. I got it to work when I put the file in the right place. I apologize I must read more carefully in the future. Thanks for your help. One other thing. In the context file that is

RE: JDBC problems with MySQL

2004-03-17 Thread Shapira, Yoav
Hi, Does the META-INF directory in a war file sit next to the WEB-INF directory? Yes (a WAR is just a special JAR, and the JAR spec controls the location of the META-INF directory). One other thing. In the context file that is currently working can you tell me why the logger doesn't? Logger

503 errors with mod_jk(2) and apache2

2004-03-17 Thread Nick Holmes
hi, another quick question that I haven't been able to find a suitable answer to .. While the tomcat instance is restarting, getting its ducks in line and generally sorting its life out, the apache end spits out a 503 (and 500) error to the user on the outside end of the web connection. While I

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
I tried removing the directory tag and it doesn't appear in the default logs directory. I tried it with the absolute path and still nothing. I will investigate this a little more. Odd thing is I have a context.xml sitting right next to it with an identical call other then the file name, and it

Re: Port-per-webapp?

2004-03-17 Thread Tony Nakamura
Hi Justin, Thank you very much for your help, but I finally got it to work!! I reconfigured registry settings, cleared cache in Tomcat and IE, restarted all IIS and Tomcat services manually one by one, and it began working. I do have one final question though... In the registry setting

Re: JProfiler... help!

2004-03-17 Thread bort
I've deployed my application to a Linux box with Apache and Tomcat. We are about to have some people test it, and I would like to profile memory use and garbage collection. How can I do that with JProfiler? Rocky bort [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all I've

Re: Tomcat Loadbalancing

2004-03-17 Thread armalai
Tim., I understand that i should use mod_jk instead of mod_jk2 .. Let me start with my basic problem. 1.How do i create more than two instances.? Using CATALINA_BASE i have created one instance.but i'm not able to get the jsp pages from the original instances. Thanks., MALAI -

Re: Slightly OT: NoBodyResponse

2004-03-17 Thread Philipp Taprogge
Hi and thanks for your response! Shapira, Yoav wrote: These are private support classes of the Servlet API. They're still present, but they're file-private inner classes and thus no in the JavaDoc (intentionally). I thought so, that's why I asked. The class name you're quoting for them is

java.lang.IllegalStateException: zip file closed

2004-03-17 Thread Namasivayam, Sudhakar (Cognizant)
Hi all, I deployed my webapp using the war file biult using ant 1.6. The webapp is deployed and works well. But when i stop and atart again through the manager I get the exception Zip file closed error. But removing and installing again works well... What could be posssible cause??? I

[OFF-TOPIC] RE: JProfiler... help!

2004-03-17 Thread Shapira, Yoav
Hi, I've deployed my application to a Linux box with Apache and Tomcat. We are about to have some people test it, and I would like to profile memory use and garbage collection. How can I do that with JProfiler? Does this look like a JProfiler list? ;) Use its help,

Re: Tomcat Loadbalancing

2004-03-17 Thread Tim Funk
I typically copy all of CATALINA_HOME for each tomcat instance and never use CATALINA_BASE. So in other words - I start with one tomcat install. Get it working - then copy the whole thing to a new dir. The only difference between those 2 tomcat installations is server.xml. Yes - I end up with

JMX conflict in Tomcat 5.0

2004-03-17 Thread Mark Richards
Hello, I am working on a web-application that was previously deployed on Websphere but we would like to deploy it on Tomcat 5.0. However, our application uses JMX and it seems that our JMX jars conflict with Tomcat's JMX jars. We found that if we replace Tomcat's JMX jars with our JMX

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread D'Alessandro, Arthur
Put these jars under your webapp/WEB-INF/lib folder... -Original Message- From: Mark Richards [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 10:55 AM To: Tomcat Users List (E-mail) Subject: JMX conflict in Tomcat 5.0 Hello, I am working on a web-application that was

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread Mark Richards
We originally put these jars there but it didn't work; our application was unable to connect to the MBean server (or listener... forgive me but JMX isn't my specialty). When we removed the Tomcat JMX jars and put ours in place, the app functioned as we expected. Thanks, Mark -Original

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread Shapira, Yoav
Hi, You removed only the MX4J implementation, or other things as well? Yoav Shapira Millennium Research Informatics -Original Message- From: Mark Richards [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 10:55 AM To: Tomcat Users List (E-mail) Subject: JMX conflict in Tomcat

Re: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Parsons Technical Services
Paul, Since you have done several changes, please repost your current context section of the server.xml, exception you receive and code you use to access the DB both with conventional JDBC and DBCP. At this point it sounds like a typo that's preventing the connection pool from connecting to the

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Paul Mahoney
Here goes Cut and paste, but blanked out the password bits. I hope your eyes can spy the problem. I assume you have this working :) Server.xml (the Context bit) - Context className=org.apache.catalina.core.StandardContext cachingAllowed=true

RE: JDBC problems with MySQL

2004-03-17 Thread Kumar Abhay-CAK203C
Dear Steav, In case you are able to resolve the problem with connection pooling, I request you to please send all the files/Code and setting to this forum so that we can have a look and implement. Thanks a lot for your help !! Best Regards Abhay Kumar -Original Message- From: Steve

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Alex
This is what version? I have issues still with 5.0.19 but my connection pools still work despite the error being thrown in the log...does your pool just not work at all? On Wed, 17 Mar 2004, Paul Mahoney wrote: Date: Wed, 17 Mar 2004 16:24:08 - From: Paul Mahoney [EMAIL PROTECTED]

RE: Stubborn simple servlet

2004-03-17 Thread Wendy Smoak
From: [EMAIL PROTECTED] Rick Lutowski With further fussing, this works! I had changed web.xml to key on /pix_servlet/*.pxhtml as an experiment. When I changed it back to the original *.pxhtml and used the Context base 'ship_pix' in the URL (either absolute or relative), everything

Re: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Parsons Technical Services
Paul, Replace this: if (dataSource == null) { Context initContext = new InitialContext (); Context envContext = (Context) initContext.lookup (java:comp/env); dataSource = (DataSource) envContext.lookup (jdbc/OscarsDB); } With

Re: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Parsons Technical Services
Alex, Chase the thread. He is on 4.1.30 and no the pool does not work at all. Doug - Original Message - From: Alex [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 11:19 AM Subject: RE: Problem using JNDI/DBCP to get DataSouce This is what

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread Mark Richards
We removed jmx-remote-tools.jar, jmx-remote.jar and jmx.jar from TOMCAT_HOME/common/lib, and replaced these with the implementation of JMX we have been using on other platforms. I should mention that if it is not possible to make Tomcat 5 work properly, downgrading to Tomcat 4.x is a solution we

jk2 shared memory

2004-03-17 Thread tomcatuser
I am trying to figure out the jk2 configuration and need some help. I want to use the shared memory capability of JK2, but am confused by the requirement that I must also use a port (8009). I have apache configured to require mutual authentication. Here is my config file: ### Start

Re: [OFF-TOPIC] RE: JProfiler... help!

2004-03-17 Thread bort
No, obviously it doesn't look like a JProfiler list. However, I was hoping to get some help. Thanks anyways. bort Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does this look like a JProfiler list? ;) Use its help,

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread Shapira, Yoav
Hi, We removed jmx-remote-tools.jar, jmx-remote.jar and jmx.jar from TOMCAT_HOME/common/lib, and replaced these with the implementation of JMX we have been using on other platforms. jmx-remote.jar and jmx-remote-tools.jar are not part of the tomcat distribution. I don't know where you got them

What's the status with the LE branch?

2004-03-17 Thread Yansheng Lin
Can we still use it? Well, it's running fun on one of the machines here right now. Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat Loadbalancing

2004-03-17 Thread Steve Gums
Just something that I found to be very useful. If I use the minimal server.xml and put the context.xml files into place. I can use the same server.xml file as well. The only thing I have to do is to put the context file into the new install and I am done. Works great! Steve -Original

RE: jk2 shared memory

2004-03-17 Thread Yiannis Mavroukakis
Do you mean using jk2 with tomcat as an in-process server? You need the shared memory anyway, wont work without it. But the options that most people end up using as a connection scheme are either via sockets or using JNI (in-process). JNI AFAIK works only under Windows, so if you are on a *IX OS,

RE: What's the status with the LE branch?

2004-03-17 Thread Shapira, Yoav
Hi, Discontinued with the release of tomcat 5. Yoav Shapira Millennium Research Informatics -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:11 PM To: 'Tomcat Users List' Subject: What's the status with the LE branch? Can we still use

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread Mark Richards
Hello, The jmx-remote.jar and jmx-remote-tools.jar were in the archive I downloaded from jakarta.apache.com (Tomcat 5.0.18). And I don't mean to imply that Tomcat doesn't work in general, I mean it doesn't work with my app (or, my app doesn't work with it - they don't work together, but

RE: Tomcat Loadbalancing

2004-03-17 Thread Steve Gums
Of course I am not running on the same server. This would require different server.xml files or you will have port conflicts. I am setting up multiple servers so I can host JSP apps for people. And this setup makes installs quick and fast. Steve -Original Message- From: Steve Gums

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread Shapira, Yoav
Hi, The jmx-remote.jar and jmx-remote-tools.jar were in the archive I downloaded from jakarta.apache.com (Tomcat 5.0.18). Perhaps it's worth trying with 5.0.19? Back to your original question: there's also commons-modeler (http://jakarta.apache.org/commons/modeler/) to consider. Tomcat

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Paul Mahoney
Tried dataSource = (DataSource) initContext.lookup(java:comp/jdbc/OscarsDB); But it return null, so tried dataSource = (DataSource) initContext.lookup(java:comp/env/jdbc/OscarsDB); And a datasource instance was return so before, looking good... However, still got the same exception when trying

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread D'Alessandro, Arthur
Check your validation query in your resource definition. -Original Message- From: Paul Mahoney [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:57 PM To: 'Parsons Technical Services'; 'Tomcat Users List' Subject: RE: Problem using JNDI/DBCP to get DataSouce Tried

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Paul Mahoney
I agree, but it looks good and I've tried without one being specified. In addition, I've never see a connection raised at the database server end. This makes me think the DataSource is just not working and I'm not seeing the proper error. But I can find nothing more in the logs :( -Original

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread D'Alessandro, Arthur
Would you include any resource definitions and/or any resource links/references. Also, the full stacktrace of the exception may shed some other potential problems. -Original Message- From: Paul Mahoney [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:05 PM To: D'Alessandro,

Re: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Parsons Technical Services
Change the debug value on the context. It is currently 0 or no debugging. Try 9 and see what you get. I think the top limit is 99. - Original Message - From: Paul Mahoney [EMAIL PROTECTED] To: 'D'Alessandro, Arthur' [EMAIL PROTECTED]; 'Tomcat Users List' [EMAIL PROTECTED]; 'Parsons

Re: RE: jk2 shared memory

2004-03-17 Thread tomcatuser
I was of the understanding that tomcat and apache could communicate via shared memory. Is this true? I am not sure what it means to run in-process. Could you further explain? thank you. ---Original Message--- From: Yiannis Mavroukakis [EMAIL PROTECTED] Subject: RE: jk2

apache 1.3 tomcat 5.0.19

2004-03-17 Thread Emerson Cargnin
Hi all I'm migrating a tomcat 3.2.3 isntallation to version 5. When using 3.2.3, I used to use automatic mod_jk.conf-auto generation for use by apache. Does version 5 has the same feature? Or do I have to configure it by hand?? any how-to?? It's not mentioned in tomcat 5 docs.. I used mod_jk,

Horrible memory leak in tomcat 5.0.19

2004-03-17 Thread Joseph Shraibman
I recently upgraded my production server from jk 1.2.5/tomcat 4.1.18 to jk 2.0.2/tomcat 5.0.19. I'm having a horrible memory leak now and need to restart tomcat frequently when it runs out of memory. I always had set the max memory to 512m, now after running around 50 minutes memory usage is

RE: Horrible memory leak in tomcat 5.0.19

2004-03-17 Thread Shapira, Yoav
Hi, Does the memory leak occur when you run tomcat standalone? Can you point out its source e.g. by running with a profiler? Was the load during these 50 minutes exceptionally heavy? Yoav Shapira Millennium Research Informatics -Original Message- From: Joseph Shraibman [mailto:[EMAIL

Re: Port-per-webapp?

2004-03-17 Thread Justin Ruthenbeck
Tony, Glad to hear you got it working. The things you did (clear cache, restart services, reenter configuration) often solve problems like this. Doesn't provide for a clean explanation of what was wrong, but that's a different story. As for the escape chars, whether they should be escaped

Re: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Emerson Cargnin
I have a complementary question, taht I know that i have being asked before, but didn't find any answer, it's related to my previous question: - Tomcat 5 can be used directly (in production) without apache??? For serving static pages and images??? I mean, there are anybody using it direct in

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Paul Mahoney
To get this far I had to more the datasource resource defiition to the context. I've rasie the debug to 9 but could see no additional loging that would help. Here is the context ... Context className=org.apache.catalina.core.StandardContext cachingAllowed=true

RE: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Shapira, Yoav
Hi, Tomcat 5 can be used standalone to serve static content including images, yes. The same is true for tomcat 3 and 4 as well. People are using tomcat in production without a front-end server to handle static content, yes. Is there a drop in performance? Probably yes, but it depends on the

Re: Horrible memory leak in tomcat 5.0.19

2004-03-17 Thread Joseph Shraibman
Shapira, Yoav wrote: Hi, Does the memory leak occur when you run tomcat standalone? I can't run the production server in standalone, and I can't seem to hit my test server hard enough to reproduce the problem clearly. I'll keep trying. Can you point out its source e.g. by running with a

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread D'Alessandro, Arthur
For future, recommend snipping any real host/username/passwords for security reasons. I am not familiar with Informix, however, given a logged in session by the user you specify, are you able to execute the query, and return 1 or more records? I recommend creating dummy table just for

Re: tomcat certificate

2004-03-17 Thread Antonio Fiol Bonnín
Or trust the CA (import the CA certificate). Andi Reinbrech wrote: View the certificate when you get that prompt and then Trust the site. This is a once off -Original Message- From: secam secam [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 11:09 AM To: [EMAIL PROTECTED] Subject:

RE: Problem using JNDI/DBCP to get DataSouce

2004-03-17 Thread Paul Mahoney
Fixed at last! And of course it's and annoying fix. I've been using these Informix JDBC 2.0 drivers for some months without problem. As a last resort I downloaded the very latest version from the IBM site and... The rest is now history :) Many thanks to ALL your help. Very much appreciated.

Re: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Emerson Cargnin
for the first question, any answer? :) Hi all I'm migrating a tomcat 3.2.3 isntallation to version 5. When using 3.2.3, I used to use automatic mod_jk.conf-auto generation for use by apache. Does version 5 has the same feature? Or do I have to configure it by hand?? any how-to?? It's not

Help, Page not found!!!!

2004-03-17 Thread Inandjo Taurel
hi, i developed an application using tdk 2.1,jdk1.3.1 on a win2k box and it was working just fine! Now that i try to move it to a unix machine with tomcat installed on it, i have this error: Horrible Exception: java.lang.Exception: Screen template '/Home.vm' not found On the unix box, there

RE: tomcat certificate

2004-03-17 Thread Mark Thomas
This is not correct. Tomcat does support CLIENT-CERT authentication 'out-of-the-box'. When combined with appropriate authorisation constraints in web.xml you can limit access to specific URLs. I have this working quite happily. Mark -Original Message- From: Rommel Sharma

RE: JMX conflict in Tomcat 5.0

2004-03-17 Thread Mark Richards
Ok, I tried with Tomcat 5.0.19 and 4.1.29. It works fine on 4.1.29 but it fails on 5.0.19 (and .18) with the following error: 2004-03-17 15:35:44,683 [DEBUG] (SystemSelectionAction.java:124) - com.sun.jdmk.comm.CommunicationException: java.rmi.ServerException: RemoteException occurred in server

Apache not starting with Mod_JK

2004-03-17 Thread Chris Haines
Hello, I am trying to start Apache with mod_jk. When I try starting apache, I get the following error. I haven't modified the admin.xml file. If anyone can help, I would greatly appreciated it. Syntax error on line 25 of /usr/local/jakarta-tomcat-5.0.19/conf/Catalina/localhost/admin.xml:

Re: Apache not starting with Mod_JK

2004-03-17 Thread Joseph Shraibman
Seems strange that apache would complain about a file only tomcat should deal with. Chris Haines wrote: Hello, I am trying to start Apache with mod_jk. When I try starting apache, I get the following error. I haven't modified the admin.xml file. If anyone can help, I would greatly appreciated

Re: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Emerson Cargnin
my question is: does tomcat 5 have automatic generation of mod_jk.conf and if does, is it the same of 3.2.3? Emerson Cargnin wrote: for the first question, any answer? :) Hi all I'm migrating a tomcat 3.2.3 isntallation to version 5. When using 3.2.3, I used to use automatic

Re: Apache not starting with Mod_JK

2004-03-17 Thread Thomas Tang
Post up your httpd.conf and jk configurations. Joseph Shraibman [EMAIL PROTECTED] 03/17/2004 03:58 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To Tomcat Users List [EMAIL PROTECTED] cc Subject Re: Apache not starting with Mod_JK Seems strange that apache would complain

Tomcat5 service on Windows

2004-03-17 Thread Daryl Stultz
Hi folks, I know this question has been asked, but I couldn't find an answer. I have installed Tomcat 5.0.19 on Windows 2000 / Java 1.4.1. Right out of the box the service fails to run. With service.bat I can install and remove the service successfully. Starting the service from the services

Tomcat 4.1.12LE Disappears

2004-03-17 Thread Gary Fix
Hi, We are running Tomcat 4.1.12LE under Win2000 SP2 within a command window. We use j2sdk1.4.1_02 for our servlet code. We also use the isapi_redirect.dll dated 11/8/2002. About the time we upgraded from version 3 of Tomcat to version 4, we strated having problems of Tomcat disappearing with no

RE: Help, Page not found!!!!

2004-03-17 Thread Mike Curwen
is the tdk in your common/lib or shared/lib directory on the old box? -Original Message- From: Inandjo Taurel [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:56 PM To: [EMAIL PROTECTED] Subject: Help, Page not found hi, i developed an application using tdk

Re: Tomcat5 service on Windows

2004-03-17 Thread Daryl Stultz
Tomcat Users List [EMAIL PROTECTED] writes: I found Mark's reply: [mark wrote] The error I described below was fixed by installing a public JRE. I do not want a public runtime! I want the java installation in c:\java only, NOT in c:\program files\java\j2re1.4.2_03!!! Developers, please remove

RE: JDBC problems with MySQL

2004-03-17 Thread Kumar Abhay-CAK203C
Dear Steve, I posted this problem around 3 months back and I am daily reading the forum, hoping that one day somebody will give a solution. I will deeply appreciate you if u share the solution with me if u r able to find. Good Luck Best Regards Abhay Kumar -Original Message- From:

Re: WebappClassLoader: Lifecycle error : CL stopped

2004-03-17 Thread Jerald Powel
Hi, Thank you for that, and excuse my delay in responding. I tried what you suggested, but found the LogManager class did not contain such a method. It did have one method to speak of - getLogManager() which returns an instance of LogManager, but that also has no shutdown method. I found

Re: JDBC problems with MySQL

2004-03-17 Thread Adrian Lanning
Abhay, Back on 3/17/04 9:50AM, Steve says he got it to work... I got this to work by either placing the context directly into the server.xml file or placing the xml file into it's correct location in /usr/local/tomcat/conf/Catalina/localhost/DBTest.xml Not exactly sure the reason, but it is

RE: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Galam
Shapira, I have a question! If I use Tomcat5 standalone in production, do I still need to configure the mod_jk ? The mod_jk has been giving me too much troubles, and it would be really great if it is not needed in standalone enviroment. Thanks! Galam. Shapira, Yoav [EMAIL

Re: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Adrian Lanning
Nope, you only need jk or jk2 if you are using another webserver as a front-end to Tomcat. Adrian Lanning - Original Message - From: Galam [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 5:59 PM Subject: RE: apache 1.3 tomcat 5.0.19 Shapira,

RE: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Randy Harrison
Galem, Mod_jk and mod_jk2 are connectors between tomcat and a standard webserver(apache, etc.). If you are going to use tomcat as a stanalone sever you don't need to connect to apache. Short answer = no. Randy Harrison Developer, eWatch Services PR Newswire 612 243-0601 x1120 [EMAIL

Re: mod_jk errors when using tomcat 5 and apache

2004-03-17 Thread Galam
Hello, I am desparate to find the solution to the mod_jk problem. Anyone can help? Thanks! Galam [EMAIL PROTECTED] wrote: Hi, I have a few questions concerning running Apache 1.3.29 and Tomcat5 in a virtual hosting enviroment. The tomcat5 server runs fine, and I can access the

  1   2   >