RE: CPU Binding ?

2004-03-17 Thread Ralph Einfeldt
That is not a matter of tomcat but of the jvm and the os. If the jvm uses more than one cpu on this os tomcat will do the same. - What jvm are you using (vendor / version) ? - Which jvm options do you set ? > -Original Message- > From: John Hilton - CPX COA [mailto:[EMAIL PROTECTED] > S

Net Integrator Virus Alert

2004-03-17 Thread Virus Scanner
WARNING: a virus (probably I-Worm.NetSky.d) or suspicious attachment was detected and removed from the following message from [EMAIL PROTECTED] to [EMAIL PROTECTED] Some of the content may still be readable. --- Begin Message --- Here is the file. --- End Message ---

CPU Binding ?

2004-03-17 Thread John Hilton - CPX COA
Good day, Does anyone know how one sets Tomcat 4.0.6 to utilise more than one CPU in a multiple CPU machine. Tomcat is running on Windows Server 2003 on a 4CPU IBM machine, and all the utilisation graphs indicate that the tomcat service is only using one CPU, I have trawled the documentation an

Re: how to use multiple jk2 connectors?

2004-03-17 Thread Adrian Lanning
Hi Joseph, I had the same problem a while ago and never solved it. The root cause is that for whatever reason the Location-JkUriSet combination acts globally to the httpd.conf file rather than relative to the virtual host. I wasn't sure if the problem was with JkUriSet or with apache's Location d

RE: Multiple Host (no apache or iis)

2004-03-17 Thread Dean Searle
What port is tomcat listening to? If you have not changed this then it would be 8080 (I believe) so you would type in a browser http://www.test1-domain.com:8080 and it should bring up your site. To keep from having to enter the port every time, change your server.xml to listen to port 80 instead. 8

No error message when welcome page is not present

2004-03-17 Thread Dean Searle
Hello Group, I am running Apache 2.0.48 and Tomcat 4.1.30 with mod_jk2 connector 2.0.2 all on windows xp. The problem I have is this. I have virtual hosts setup to go to their own folder for their documentroot=/theirfolder. But if I do not have a valid welcome file there, either an index.(htm,jsp

Re: JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
I'd like to setup my connection pooling upfront so at least I can concentrate on other areas later on (still need to learn web services with java). I'll give it a rest for a day before start working on it. Thanks, --Kawthar >>> [EMAIL PROTECTED] 18/03/2004 02:42:54 PM >>> Good. For development

how to use multiple jk2 connectors?

2004-03-17 Thread Joseph Shraibman
I have multiple ip based virtual hosts, so in tomcat I configured three seperate engines with connectors on different ports, and in the apache I JkMount the worker that I configured in worker.properties to connect on a specific port. This works fine for mod_jk, but when I try mod_jk2 it insis

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
Good. For development and learning this will work fine. But when you get ready to deploy your app you will want to get the Connection pool working. Usually if the manual connection works then it is a configuration issue and often a typo somewhere. Give it a few days and then go through each piece

Re: JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
Hi Doug, I know basic table creation and simple sql statement.. so I was able to create the database and create few tables to get tomcat running with mySQL. I read few docs (including the link you gave to get me started).. but other advance stuff, I'll read as I need them... :) Anyway, I've done

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
See comments under answers. > Answers to your question: > > 1. reboot? Yes, every single time. I stopped tomcat and restarted it > everytime I make changes. Good, but I had to ask. > > 2. manual connection? No, I haven't done this. Let me try and will > let you know. > This tests that all els

Re: JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
Answers to your question: 1. reboot? Yes, every single time. I stopped tomcat and restarted it everytime I make changes. 2. manual connection? No, I haven't done this. Let me try and will let you know. 3. ping localhost? Yes, I can ping localhost. 4. firewall? No, I'm not running firewal

Re: WebappClassLoader: Lifecycle error : CL stopped

2004-03-17 Thread Jacob Kjome
At 10:38 PM 3/17/2004 +, you wrote: 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 tha

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
Kawthar, As for Steve's concerns: It is the same one. The short story: Mark Mathews wrote it MySQL liked it and adopted it and him. So it went from org.gjt.mm to com.mysql. Both names will work fine but to be up to date use the com.mysql. As for server.xml having only one is fine, and on TC4 thi

RE: JDBC problems with MySQL

2004-03-17 Thread Kawthar Bt M Sulaiman
I've changed the driver to com.mysql.jdbc.Driver. Which jdbc jar file is this? The one that I have is mysql-connector-java-3.0.11-bin. I only have one server.xml (newbie.. so don't have many apps). This file is located under $CATALINA_HOME/conf. Should it be somewhere else? Also, what should my

Re: JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
Followed your suggestion, but still not working. Thnx, --Kawthar >>> [EMAIL PROTECTED] 18/03/2004 12:18:00 PM >>> Kawthar, Change: To: Should work either way, mine did, just cleaner and proper. Note name is changed in second entry, added jdbc/ . Doug - Original Message

RE: Kumar's JDBC problems with MySQL

2004-03-17 Thread Steve Gums
I noticed a couple things. One I want to be corrected if I am wrong but your docBase should not be root. Second your driver for MySQL isn't the org.gjt thing anymore. Use com.mysql.jdbc.Driver I unfortunately have seen this error far too much in the past few days. It is not getting into the J

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
The MySQL database was never the problem. The problem was the resource wasn't being loaded into the JNDI. Problem was the context segement of my config. -Original Message- From: Tom K [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 6:09 PM To: 'Tomcat Users List' Subject: RE

RE: Kumar's JDBC problems with MySQL

2004-03-17 Thread Steve Gums
After figuring out all the details.. I just want to pass along to the developers that read this list. I LOVE IT! That is the way to go, it helps keep the server.xml clean and manageable. Thanks -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: Wednesday, Mar

RE: JDBC problems with MySQL

2004-03-17 Thread Steve Gums
I was able to find it, and it is a little involved. Basically on my system the issue was the context wasn't being read or involked correctly. I exchanged the server.xml with the server-minimum.xml and found that either placing the context in the Host tag or better yet in /usr/local/tomcat/conf/C

RE: Apache not starting with Mod_JK

2004-03-17 Thread Steve Gums
Just a stab it appears apache is trying to tell you it can't find the end of a comment. Just check that real quick. Steve -Original Message- From: Chris Haines [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: Apache not starting with Mod_J

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
Kawthar, Change: To: Should work either way, mine did, just cleaner and proper. Note name is changed in second entry, added jdbc/ . Doug - Original Message - From: "Parsons Technical Services" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wedn

Re: JDBC/mySQL problem.

2004-03-17 Thread Parsons Technical Services
Kawthar, Try this context in place of yours. factory org.apache.commons.dbcp.BasicDataSourceFactory username password

JDBC/mySQL problem.

2004-03-17 Thread Kawthar Bt M Sulaiman
Doug, I've removed these params but I still get the same error. --Kawthar >>> [EMAIL PROTECTED] 18/03/2004 10:47:36 AM >>> Kawthar, Remove this from the context: databaseName ecpa pathname conf/tomcat-use

mod_jk3, Tomcat, Apache2 Wildcard problem (Linux)

2004-03-17 Thread Ken Hensel
Help please, I have searched far and wide, but found no answer to this question - although one guy had the same problem and reverted to mod_jk as a solution. This is not a solution for me. I have the following in my workers2.properties file: [uri:/myapp/] [uri:/myapp/*.jsp] [uri:/myapp/dir1/*.js

Re: Kumar's JDBC problems with MySQL

2004-03-17 Thread Parsons Technical Services
Kawthar, Remove this from the context: databaseName ecpa pathname conf/tomcat-users.xml The database name is given in the url and the pathname is for a file base system. Try it again and let

Tomcat 5.0.18 doesn't work

2004-03-17 Thread Anand Gondhiya
Hi All, I am using Tomcat 5.0.18 and java version "1.4.2_03" on WinXP. My tomcat was working fine till now. I installed JSTL and now it doesn't work. For JSTL installation I didnt make any changes to class path or path env. variables. before that It was working fine wit

Re: Kumar's JDBC problems with MySQL

2004-03-17 Thread Kawthar Bt M Sulaiman
Kumar, I've been trying to follow the JDBC pb thread as well and still can't get rid of the problem. Here is what I've done. Using J Connector 3.0, Tomcat 4.1.30 and mySQL 4.0.18. I put my "mysql-connector-java-3.0.11-bin" under /common/lib. 1. Start from simple web.xml: DB Connection

RE: JDBC problems with MySQL

2004-03-17 Thread Tom K
I am new to this list as of today, so I don't know if anyone has already answered your question. Tomcat will not connect to mysql unless you have a password and of course rights to the database. Here is an example. Use these mySQL commands mysql -u root (This command gives your root privledges).

RE: Kumar's JDBC problems with MySQL

2004-03-17 Thread D'Alessandro, Arthur
TC4 supports context resource fragments, but not within a war (META-INF/context.xml in TC5)... -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 6:18 PM To: Tomcat Users List Subject: Kumar's JDBC problems with MySQL Kumar, Fir

Re: A plan to access files outside the context/Tomcat?

2004-03-17 Thread Parsons Technical Services
Adrian, Am running in standalone. Currently on 4.1.29 but production will be 5.0.19. But will keep it in mind. If my app goes public I may need to set up Apache to do virtual hosting. Kumar, I had considered that, but am running on MySQL and wanted to keep the database as simple as possible(for

RE: A plan to access files outside the context/Tomcat?

2004-03-17 Thread Kumar Abhay-CAK203C
Hi, I did the same but I stored images in Oracle database in BLOB fields as I was sure of the size of the images. I can give you the snippets of the servlet if u want to use BLOB. Else I can give you the snippets for uploading files in a folder in Unix Env (/context/pics/*) Cant say which option

Re: A plan to access files outside the context/Tomcat?

2004-03-17 Thread Adrian Lanning
Sounds like a workable solution. Are you using apache or some other front-end to Tomcat? If so then you can use an alias to serve up the images rather than serve them up manually with your servlet. I've done it both ways in content management systems I've made and letting apache do it saves a cl

A plan to access files outside the context/Tomcat?

2004-03-17 Thread Parsons Technical Services
I have a need to place and get, image files, to and from a directory outside of the context and outside of Tomcat. My plan is this: Have an upload page to allow user to select local file on client and upload to server. This is the same tactic as the manager is using with war files. The folder wi

Kumar's JDBC problems with MySQL

2004-03-17 Thread Parsons Technical Services
Kumar, First, I started you your own thread. I do this so that others and I can keep you straight as to who is who and know it is a seperate issue although on the same topic. Please repost your context portion of the xml, the section of code that accesses the connection pool and if global, the re

RE: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Galam
Thanks everyone! Another question, is it possible to use tomcat standalone to serve files from the virtual sites in a virtual hosting enviroment? Galam. Randy Harrison <[EMAIL PROTECTED]> wrote: Galem, Mod_jk and mod_jk2 are connectors between tomcat and a standard webserver(apache

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

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 PROTECTED

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 > Sh

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 PROTECT

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: 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 r

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: St

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, ple

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

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

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 pan

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 com

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 mod_jk.conf-au

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

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: Expec

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 t

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 [mailto:[EM

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 is

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 menti

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: 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: tomca

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 validatio

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 profi

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 st

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 ... validationQuery select count(*) from systables

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 pr

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

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:[EMAI

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

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, i

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:

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]>; "'

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, Ar

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 M

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 dataSourc

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 try

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. Tomca

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 [mai

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 bo

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 stil

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: 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 Messa

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: 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 t

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, http://www.ej-technologies.com/products/jprofile

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 workers2.

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 a

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 i

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 t

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), everyth

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

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 Gu

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) - validationQuery select count(*)

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 da

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 Tomc

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 Messa

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 p

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 jar

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 r

[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, http://www.ej-technolo

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

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 wrong

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 - Original

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'

  1   2   >