RE: Servlet thread safety in Tomcat

2004-02-11 Thread Bodycombe, Andrew
You could try jmeter http://jakarta.apache.org/jmeter/index.html -Original Message- From: kwirirai [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 17:32 To: Tomcat Users List Subject: Re: Servlet thread safety in Tomcat Thanks to All for your help ! :-) Sofar it seems to be working ,

Re: 404 Error in examples - found part

2004-02-11 Thread Antonio Fiol Bonnín
Didier McGillis wrote: Yes Tomcat wouldnt start properly due to port 8005 was already in use and the new Tomcat couldnt bind to it. Now I have gotten to a point where I'm unsure of how I fixed this yesterday. Stand alone version of Tomcat is fine, JSP code works fine. Go through Apache and i

Re: Tomcat 5 Autoconfig

2004-02-11 Thread John B. Moore
Ah, further checking on the Sun website indicates that it is: Apache Tomcat Version 5.0.18 So... why did it not work... Catalina.start: java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig Bill Bar

Re: Tomcat 5 Autoconfig

2004-02-11 Thread John B. Moore
Bill, Thanks, but that did not work.. I suspect that this is an earlier v5.. It is the version that was included in the "Java Web Services Developer Pack v1.3" which is listed as: Apache Tomcat v5.0 EA development container Any clues...?? John... Bill Barker wrote: In 5.0.18 it w

Re: 404 Error in examples

2004-02-11 Thread Antonio Fiol Bonnín
[Wed Feb 11 15:11:24 2004] [error] [client 12.16.100.100] client denied by server configuration: /usr/local/tomcat/webapps/examples/WEB-INF/index.html [Wed Feb 11 15:11:24 2004] [error] [client 12.16.100.100] client denied by server configuration: /usr/local/tomcat/webapps/examples/WEB-INF/ind

Re: 404 Error in examples

2004-02-11 Thread Antonio Fiol Bonnín
Didier McGillis wrote: Sorry I never check 8080 when I got home, couldnt get to it from where I was at today to test. That doesnt seem to be up either, I dont know how this got so fubar'd and no one seems to be owning up to it. I dont see anything in the logs other then just normal startup in

RE: Multiple instances of Tomcat - why would you do it ?

2004-02-11 Thread Derek Clarkson
He he, thanks. By the looks of the code I'm seeing - I'm going with the space bats reason ;-) -Original Message- From: Josh Rehman [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 12:41 PM To: Tomcat Users List Subject: Re: Multiple instances of Tomcat - why would you do it ?

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

2004-02-11 Thread pavan . k
i dont know if you are using a stand alone machine(which is not connected to any network)  for ur development.. if yes then try to configure some loop back adapter in windows if u dont have any network card installed.. u can configure loop back adapter in LAN connection properties. Pavan Kumar Ta

Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP

2004-02-11 Thread Parsons Technical Services
Sunit, Do you have a firewall enabled? What other network based services are you running?(IIS, etc) Is this machine on a network?(Gotta ask) Can you ping yourself? ping localhost OR ping 127.0.0.0 OR ping xxx.xxx.xxx.xxx the ip of your machine Doug - Original Message - From: "Sunit Ban

RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP

2004-02-11 Thread Filip Hanik \(lists\)
you probably are missing or not running the network services. I am not sure which one this is, but go under Control Panel|Administrative Tools|Services Filip -Original Message- From: Sunit Bansal [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 8:20 PM To: Tomcat Users List S

PROBLEM STARTING TOMCAT----------------PLEASE HELP

2004-02-11 Thread Sunit Bansal
I have XP Professsional installed on my machine. I have jdk1.42 installed and tomcat4.1.27. When I try to start tomcat, I am getting following problem- Please help me solving this. I have spended hours solving this. I have tried changing port is config file, but didnt helped. Thanks in advanc

Re: Starting tomcat with a lowlevel user?

2004-02-11 Thread Sunitha Kumar
Looks like a permissions problem. The files should all be owned by user tomcat.. [EMAIL PROTECTED] wrote: I am trying to start tomcat with the "tomcat" user on my debian box. I am using tomcat 5 untarred just now. I can start tomcat with root manually just fine but I would like tomcat to run a

Re: Tomcat 5 Autoconfig

2004-02-11 Thread Bill Barker
In 5.0.18 it was added back as org.apache.jk.config.ApacheConfig. "John B. Moore" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings.. > > Can't seem to find the documenation for Autoconfig for Tomcat 5 to > Apache.. > >In Tomcat4 I used.. > >append="true"

Starting tomcat with a lowlevel user?

2004-02-11 Thread developer
I am trying to start tomcat with the "tomcat" user on my debian box. I am using tomcat 5 untarred just now. I can start tomcat with root manually just fine but I would like tomcat to run as the "tomcat" user. I created the tomcat user: tomcat4:x:103:65534::/usr/share/tomcat4:/bin/false I create

Re: 404 Error in examples - found part

2004-02-11 Thread Didier McGillis
Yes Tomcat wouldnt start properly due to port 8005 was already in use and the new Tomcat couldnt bind to it. Now I have gotten to a point where I'm unsure of how I fixed this yesterday. Stand alone version of Tomcat is fine, JSP code works fine. Go through Apache and it renders the HTML prope

Re: 404 Error in examples - think I found something

2004-02-11 Thread Didier McGillis
StandardServer.await: create[8005]: java.net.BindException: Address already in use java.net.BindException: Address already in use running netstat might have to look at processes and see if any Tomcat instances are still running. any other thoughts. From: "Didier McGillis" <[EMAIL PROTECTED]>

Re: Multiple instances of Tomcat - why would you do it ?

2004-02-11 Thread Didier McGillis
One thing on this you dont want to hear is ... "The reason we did it that way was ... " :) Most likely the response you will get is #1, althought I agree that it was probably #4. From: Josh Rehman <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EM

Re: Multiple instances of Tomcat - why would you do it ?

2004-02-11 Thread Josh Rehman
If the instances talk to each other via RMI, it's likely that the original developers intended each instance to be run on a different box. They may have thought this would positively affect scalability. It may also be that they partitioned the app such that each container has different priveled

Virtual Hosting

2004-02-11 Thread David Hairston
I'm looking for instructions on settting up Virtual Host to permit users access to their home directories example http://localhost:8080~username Thanks David Hairston CIS Department Florida A & M University [EMAIL PROTECTED] (850)599-3222

Multiple instances of Tomcat - why would you do it ?

2004-02-11 Thread Derek Clarkson
Hello everyone, I've just started a new job where I've been asked to be the tech lead on a project. The software originated from an external company who designed it to run on 3 instances of tomcat. There is an instance for the main applications for our customers, an instance for the admin

Re: 404 Error in examples

2004-02-11 Thread Didier McGillis
Also one thing I forgot to ask was I have been wanting to look at doing this mod_jk2, as I am currently doing apache2, tomcat 4.1.29. But I cant find the code anywhere. From: "Didier McGillis" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject:

Re: 404 Error in examples

2004-02-11 Thread Didier McGillis
Sorry I never check 8080 when I got home, couldnt get to it from where I was at today to test. That doesnt seem to be up either, I dont know how this got so fubar'd and no one seems to be owning up to it. I dont see anything in the logs other then just normal startup information. mod_jk is em

Problem with TLD for Zero argument EL functions

2004-02-11 Thread Jason W. Solinsky
I am having difficulty getting jasper to handle an EL function with no arguments. I am using 5.0.16. I declare the function in the TLD as follows: newList com.sbsoft.common.web.el.CollectionFunctions java.util.List newList() And it fails with: 2004-02-08 21:34:10,199 ERROR org.apache.jasper.Js

RE: Apache / Tomcat JK problem

2004-02-11 Thread Phil Cox
> I've been following docs on setting this up (Apache 1.3x > Tomcat 5.0.18, > jk) for the Tomcat examples, but I get "File does not exist: > /wwwroot/htdocs/examples/" in apache logs. I have Apache and > Tomcat on different boxes. I am not fussed about serving > static content as I will eventua

IIS5+Tomcat5 and default documents

2004-02-11 Thread Mark Keir
Hi, I am having some bother with getting the isapi_redirector2 to correctly pass info between IIS5 and Tomcat5 when using default documents. On a W2k advanced server, I can call http://cname/directory/index.jsp and return content but http://cname/directory/ does not return anything - rather a "wo

Re: 404 Error in examples

2004-02-11 Thread Parsons Technical Services
Are there any error statements in the logs? Also, versions and platform(s) you are on. Has the server been restarted? Can you get directly to tomcat (did you leave port 8080 up)? Can you tell if the page is being generated by tomcat(sounds like it) or apache? Doug Parsons www.parsonstechnical.com

Re: Problem with Tomcat5 session replication.

2004-02-11 Thread Apu Shah
also make sure that the web.xml for the webapp has the element and all session vars are serializable. apu On Wed, 11 Feb 2004 15:13:39 -0800 "Filip Hanik \(lists\)" <[EMAIL PROTECTED]> wrote: > on RH 9 you must also set, > > export LD_ASSUME_KERNEL=2.4 > > Filip > > -Original Message---

404 Error in examples

2004-02-11 Thread Didier McGillis
I seem to have a mouse running loose on my test server. Yesterday I had Apache+Mod_jk+Tomcat working fine, all connected and could use Admin/Manager/Examples through Apache. Todays fun was going to be allowing virtual hosts use Tomcat. I went to test the site before starting, pulled up the d

media outside of war file

2004-02-11 Thread Mike Shoemaker
Is it possible to configure Tomcat 4 to serve media out side of a war file? Im actually using the tomcat integrated with jboss 3.x. Thanks in advance. Mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread SMaric
This is what works for me - (see NOTES at end - if anyone can shed any light on Limiting Pool size) #1in your Server.xml factory com.mysql.jdbc.jdbc2.optional.MysqlDataSourceFactory port 3306

RE: Re: Re: Re: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Mike Curwen
Stupidest auto-responder *EVER* > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 11, 2004 5:15 PM > To: [EMAIL PROTECTED] > Subject: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Another Try > at MySQL Connection Pooling > > > Ya

RE: Problem with Tomcat5 session replication.

2004-02-11 Thread Filip Hanik \(lists\)
on RH 9 you must also set, export LD_ASSUME_KERNEL=2.4 Filip -Original Message- From: Rick Szeto [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 2:55 PM To: tomcat Subject: Problem with Tomcat5 session replication. Hi all, I am having quite a bit of trouble getting the s

How to write to a properties file

2004-02-11 Thread Ralf Schneider
Hi, what is the best way to update (write) a properties file from a servlet that is somewhere under /WEB-INF/src/. ? Does this work for a properties file in a WAR file, too? Best regards, Ralf. - To unsubscribe, e-mail: [

Re: Problem with Tomcat5 session replication.

2004-02-11 Thread Apu Shah
i found that replacing tcpListenAddress="auto" with tcpListenAddress="IP" and mcastBindAddress="IP" works better with multi-homed machines. apu On Wed, 11 Feb 2004 17:58:59 -0500 "Rick Szeto" <[EMAIL PROTECTED]> wrote: > Sorry, my bad... > > className="org.apache.catalina.clu

Apache2 to Tomcat5.0.x

2004-02-11 Thread Bill Dudney
Hi, I'm trying to connect Apache2 to Tomcat5.0.x on my mac (OS X) and I'm unable to get jni to work. What is the expected/required/best way to connect these two on a Unix platform? I read in the archive that someone did not expect the jni connection to work on Linux, does that apply to all unixes?

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Adam Hardy
Merrill, I think everyone's waiting to see you kick yourself when you discover what the problem is... ;) No seriously, there are 2 things that I would try - (1) debug the context - I think it returns an enum of entries available from some method, and (2) go back to the most basic test servlet /

RE: Problem with Tomcat5 session replication.

2004-02-11 Thread Rick Szeto
Sorry, my bad... Thanks again, Rick Szeto -Original Message- From: Rick Szeto [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 5:55 PM To: tomcat Subject: Problem with Tomcat5 session replication. Hi all, I am having quite a bit of trouble getting the s

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Parsons Technical Services
Okay, Grasping at straws now, but otherwise out of ideas. 1. Can you ping localhost successfully? If no change url to IP of machine. 2. Do you have a firewall running on the machine? Disable it. 3. Anyone had any problems with naming conventions? Change timesheets to tmsheets. 8+3 4. When you

Problem with Tomcat5 session replication.

2004-02-11 Thread Rick Szeto
Hi all, I am having quite a bit of trouble getting the sessions from one node in the cluster to the other nodes of the cluster. The multicast is working fine as I can see that each of the nodes can recognize when a new node is brought up as well as when they are removed. No where in the logs a

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Kenneth
Well, it's not that I'm an expert... I actually have had that problem once or twice, and most of the time the problem was in the context.xml I've always specified my webapps' in a separated file (which I believe you're also doing), but when I messed up with server.xml I had some namingExceptions

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
Jay, >>> once in my .WAR, and once as a result of my Ant deploy task I have yet to move to that plane of confusion. I'm not using a META-INF directory or a .WAR file since I'm still trying to figure out WHAT to deploy. I am manually editing * the conf/server.xml file (to change the def

Re: cookies, Safari, and Tomcat

2004-02-11 Thread Hollerman Geralyn M
Aadi Deshpande wrote: Hollerman Geralyn M wrote: I'm trying to figure out some behavior I'm seeing only when I use Safari (v1.25? - downloaded from the Apple site last week) and Tomcat. This involves cookies. I am using Tomcat 5.0.16. I have written a servlet that sends a cookie back to the ser

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
Doug, The application directory under webapps is named "timesheet", therefore, the context fragment in conf/Catalina/localhost is "timesheet.xml" to match the context name. The beginning of the element in timesheet.xml is to match the directory name under webapps. So, I think as far as

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Burgess, Jay S
I really hope you can get this figured out, as I'm out of ideas. But I do concur with Adam's suggestion about looking for multiple contexts, as I ran into a similar problem when my context.xml was there twice--once in my .WAR, and once as a result of my Ant deploy task putting it manually into "

Re: Best practice question: where to place project libraries

2004-02-11 Thread Josh Rehman
Shapira, Yoav wrote: Yes, there's an excellent way to do this: documentation. End of story That is not the end of story, of course, or else you wouldn't support META-INF/context.xml. -- Josh Rehman citysearch.com 213.739.3559 -

RE: Best practice question: where to place project libraries

2004-02-11 Thread Shapira, Yoav
Howdy, >But the fact remains that the developer should have some easy way to >indicate to the deployer what dependancies need to be met esp WRT JNDI >resources, and an easy (for the deployer) way to satisfy these >dependancies. AFAIk there is no good way to do this. Yes, there's an excellent way

worker.list, worker.x.lb

2004-02-11 Thread Apu Shah
according to the docs (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.ht ml): balanced_workers is a comma separated list of workers that the load balancer need to manage. These workers should not appear in the worker.list property. most other documents on the web describing

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RE: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Parker, Matt
auto-reply sucks for mailing lists... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 11, 2004 4:11 PM > To: [EMAIL PROTECTED] > Subject: Re: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection > Pooling > > > Ya hemos recibido su

Re: Re: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread correo
Ya hemos recibido su solicitud de correo en breve le enviaremos su nombre de usuario y contreseña. Gracias por confiar en nosotros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Parsons Technical Services
Merrill, Humor me for a moment. This might be due to you trying different setups, but, take a minute to go through all your settings and names and make sure that they are all set to the same thing and the same case. In the line below it is refering to timesheet.xml and earlier you had timesheets.

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Adam Hardy
On 02/11/2004 10:15 PM Merrill Cornish wrote: Adam, The following line occurs in stdout.log: INFO: Processing Context configuration file URL file:C:\Program Files\Apache Group\Tomcat 5.0.18\conf\Catalina\localhost\timesheet.xml so it appears to be getting the correct context fragment. What if th

Re: Best practice question: where to place project libraries

2004-02-11 Thread Josh Rehman
Justin Ruthenbeck wrote: Although I haven't personally ever needed functionality like this, there's no argument it'd be useful in some situations. Wanna implement it for everyone? ;) Like John Holman mentioned, however, there will be (practically insurmountable?) problems making the Tomcat co

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
Adam, The following line occurs in stdout.log: INFO: Processing Context configuration file URL file:C:\Program Files\Apache Group\Tomcat 5.0.18\conf\Catalina\localhost\timesheet.xml so it appears to be getting the correct context fragment. Merrill

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
Doug, >>> "Timesheet" vs. "timesheet" Good catch, but it didn't make any difference. I originally had three entries for names "Timesheet", (the way I thought of it), "timesheet" (for those who don't want to use the shift key), and "ts" (for those diehard Unix freaks who believe anythi

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Adam Hardy
Merrill, you should be absolutely sure that your context is getting loaded from the file you think. Make sure that there is no context config for the app in any of the other files in tomcat/conf/Catalina/localhost, nor in server.xml, nor in META-INF in any webapp directory. You can chuck out th

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Parsons Technical Services
I have another shoe to go so try this. Try changing the name to: url jdbc:mysql://localhost/timesheets?.. Lower case on the timesheets. I am running on linux. Not sure if it will matter on windows. Doug - Original Message - From: "Merrill Cornish" <[EMAIL PROTECTED]> T

RE: tomcat and VM settings

2004-02-11 Thread Shapira, Yoav
Howdy, >In general, -server will make a huge difference for long running >applications Can you back that up with any specific facts? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary a

Re: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver

2004-02-11 Thread Andreas Schildbach
[EMAIL PROTECTED] wrote: where did u put the jar? thats what got me. it needs to go in common\lib in your tomcat dir Here is the content of common/lib xxx:/opt/tomcat5# ls -la common/lib total 3376 drwxr-xr-x2 tomcat5 nogroup 4096 Feb 11 17:07 . drwxr-xr-x5 tomcat5 nogroup 409

Re: cookies, Safari, and Tomcat

2004-02-11 Thread Aadi Deshpande
Hollerman Geralyn M wrote: I'm trying to figure out some behavior I'm seeing only when I use Safari (v1.25 - downloaded from the Apple site last week) and Tomcat. This involves cookies. I am using Tomcat 5.0.16. I have written a servlet that sends a cookie back to the server for use later on; I

Re: tomcat and VM settings

2004-02-11 Thread Aadi Deshpande
Parker, Matt wrote: I'm wondering if anyone has done any tomcat benchmarking with different Hotspot VM settings. Specifically, I'm wondering if -server or -d64 make noticeable differences on the Solaris 8 sparc platform. I have read Sun's documentation about what these settings are supposed to do,

Re: Servlet thread safety in Tomcat

2004-02-11 Thread Antonio Fiol Bonnín
Mike Curwen wrote: 1) if by 'localized' you mean "I've moved the variables from outside the doGet()/doPost() methods, to inside those methods"... then this is why there is no 'data corruption' (due to multithreading issues), and it's why you don't require synchronized access to those variables.

NTLM Authentication & POST Method

2004-02-11 Thread Kumar Abhay-CAK203C
> Hello, > > I am using post method of sending data to servlet from a JSP page. I am unable to > get the data by request.getParameter(). > If I am using get method I am able to retrieve data from JSP page > > I was just searching on Google. Actually I am using NTLM Authentication in my Login

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Burgess, Jay S
The J2EE tutorial is one place that talks about the context naming scheme: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Resources2.html And just to be 100% sure, my example below actually has a minor cut-and-paste error--there's a space after TimesheetsDB in the second lookup(). If you sim

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
Ken, I didn't intend to include the password in ANY of my posts, but I guess some slipped though. In the version that running, the password is there. And, even if I had fumble fingered the password, THAT would have simply gotten a convention MySQL error rather than a NameNotFoundException for

RE: cookies, Safari, and Tomcat

2004-02-11 Thread Shapira, Yoav
Howdy, How do you know it's not a Safari bug? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Hollerman Geralyn M [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 11, 2004 3:09 PM >To: Tomcat Users List >Subject: cookies, Safari, and Tomcat > >I'm trying to figure

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Parsons Technical Services
Mmmm...Not too bad with a little salt. During my initial setup I was unable to get it to work with the old name. Just tested it and it works fine. I would have to lay odds that I had a typo originally. - Original Message - From: "Mark Matthews" <[EMAIL PROTECTED]> To: "Tomcat Users

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
Doug, I noticed the class name discrepancy myself between the name I had used for DriverManager and the one the DataSource example had. However, when I peeked inside the Connector/J jar file, I found both .class files, altough they are of different sizes. I tried it with your alternative, but

cookies, Safari, and Tomcat

2004-02-11 Thread Hollerman Geralyn M
I'm trying to figure out some behavior I'm seeing only when I use Safari (v1.25 - downloaded from the Apple site last week) and Tomcat. This involves cookies. I am using Tomcat 5.0.16. I have written a servlet that sends a cookie back to the server for use later on; I can see this cookie when u

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
Jay, Context initialContext = new InitialContext(); Context envContext = (Context) initialContext.lookup("java:comp/env"); this.dataSource = (DataSource) envContext.lookup("jdbc/TimesheetsDB "); Ah ha! I was missing the second step. When I added the second step, it still fails, but the c

Re: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver

2004-02-11 Thread daniel
where did u put the jar? thats what got me. it needs to go in common\lib in your tomcat dir Daniel Schulken - Original Message - From: "Andreas Schildbach" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 11, 2004 2:51 PM Subject: Re: org.apache.commons.dbcp.SQLNested

Tag File Attribute Question

2004-02-11 Thread Chanan Braunstein
Hello, I am using Tomcat 5.0.18 and I am trying to use Tag Files. A simple tag file works However I cannot get attributes to work: test.jsp <%@ taglib tagdir="/WEB-INF/tags" prefix="knovel-tags" %> test.tag <%@ attribute name="input" required="true" %> <%= input %> 1) The file test.tag

Re: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver

2004-02-11 Thread Andreas Schildbach
Andreas Schildbach wrote: I get this error using Tomcat 5.0.18 under Debian/Linux. Using the same configuration under Windows XP, there is no problem. Using the same application under Tomcat 4.1.27, there is no problem (either Linux or Windows).

RE: Servlet thread safety in Tomcat

2004-02-11 Thread Mike Curwen
1) if by 'localized' you mean "I've moved the variables from outside the doGet()/doPost() methods, to inside those methods"... then this is why there is no 'data corruption' (due to multithreading issues), and it's why you don't require synchronized access to those variables. I will probably expl

tomcat and VM settings

2004-02-11 Thread Parker, Matt
I'm wondering if anyone has done any tomcat benchmarking with different Hotspot VM settings. Specifically, I'm wondering if -server or -d64 make noticeable differences on the Solaris 8 sparc platform. I have read Sun's documentation about what these settings are supposed to do, but I haven't re

Tag File Question

2004-02-11 Thread Chanan Braunstein
Hello, I am starting to use the tag file feature of JSP 2/Tomcat 5. A plain Hello tag works fine. However, my "real" tag doesn't seem to compile and I have no errors in the logs and nothing on the screen - where did the compile errors disappear to? Chanan Braunstein Knovel Corp. Web Deve

org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver

2004-02-11 Thread Andreas Schildbach
I get this error using Tomcat 5.0.18 under Debian/Linux. Using the same configuration under Windows XP, there is no problem. Using the same application under Tomcat 4.1.27, there is no problem (either Linux or Windows). As you can see from the included stack trace, I am using Hibernate which i

Re: Best practice question: where to place project libraries

2004-02-11 Thread Oliver Geisser
Hi Josh Rehman wrote: Justin Ruthenbeck wrote: As a general rule, strive to keep your webapp self-contained and autonomous with only J2EE-standard dependencies (things like JNDI objects that are configurable in every container). Unless there's a reason not to (JDBC drivers is one common one

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Parsons Technical Services wrote: > Merrill, > > I may end up eating a little sole, but I have had shoe before. > > Your name for the jdbc is wrong. It should be: > > > >driverClassName >com.mysql.jdbc.Driver > > > Yeah, I k

Re: Best practice question: where to place project libraries

2004-02-11 Thread Justin Ruthenbeck
At 07:40 PM 2/10/2004, you wrote: Justin Ruthenbeck wrote: I haven't used the META-INF/context.xml convention, so I'm not too familiar with it. Conceptually, it's questionable whether a webapp should be able to modify container configuration ... even if it's just configuration for that one app.

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Parsons Technical Services
Merrill, I may end up eating a little sole, but I have had shoe before. Your name for the jdbc is wrong. It should be: driverClassName com.mysql.jdbc.Driver Yeah, I know the notes said otherwise. They were written prior to MySQL taking on the drivers officially. As for

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Burgess, Jay S
I forgot whether your original post showed it or not, but how are you trying to acquire the resource in your code? It should look something like: Context initialContext = new InitialContext(); Context envContext = (Context) initialContext.lookup("java:comp/env"); this.dataSource = (DataSource) en

RE: Deployer problem

2004-02-11 Thread Chanan Braunstein
Hi, Although I am starting to use the new tag files (and I already ran into a problem which I will send in another email), Tomcat 5 still supports the plain old JAR file tags which I am still using. Also, regarding the deployer, I would like to point out that there is no reason the

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Januski, Ken
Merrill, Much of what you're doing is just beyond me but I can't help but noticing this in your first post. password xxx Since you've included a password value in all the other places I'm wondering if the lack of it here could be part of the problem. Sorry if I'm way

Re: javax.mail

2004-02-11 Thread Jerry Ford
Just a guess here, but have you tried using a fully qualified domain name for the host, as mysmtphost.mydomain.com? Jerry Duncan Smith wrote: Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself if a par

Re: javax.mail

2004-02-11 Thread Jerry Ford
Just a guess here, but have you tried using a fully qualified domain name for the host, as mysmtphost.mydomain.com? Jerry Duncan Smith wrote: Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself if a par

Re: javax.mail

2004-02-11 Thread Jerry Ford
Just a guess here, but have you tried using a fully qualified domain name for the host, as mysmtphost.mydomain.com? Jerry Duncan Smith wrote: Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself if a parti

RE: Invaild tar?

2004-02-11 Thread Shapira, Yoav
Howdy, As many of our download pages say in BOLD letters, e.g. http://mirror.candidhosting.com/apache/jakarta/tomcat-5/v5.0.18/ for tomcat, it matters. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Matt T. Duval [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 1

Tomcat 5 Autoconfig

2004-02-11 Thread John B. Moore
Greetings.. Can't seem to find the documenation for Autoconfig for Tomcat 5 to Apache.. In Tomcat4 I used.. ..tried... no joy... throws a ClassDefNotFound.. searched the docs but can seem to find the right rock to look under.. Could someone give me a kick in the right direction

Re: Invaild tar?

2004-02-11 Thread Tim Funk
gnu tar and proprietary unix tars are not completely compatible. -Tim Matt T. Duval wrote: Why would that matter? I have been able to untar thousands of other files including gnu files and they all work fine... Thank you, Matt Duval Sr. Network Engineer HealthTrans www.healthtrans.com (720) 493

RE: Invaild tar?

2004-02-11 Thread Matt T. Duval
Why would that matter? I have been able to untar thousands of other files including gnu files and they all work fine... Thank you, Matt Duval Sr. Network Engineer HealthTrans www.healthtrans.com (720) 493-8252 6061 South Willow Drive Suite 125 Greenwood Village, CO 80111 "Transforming Healthcare,

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
David, I THINK I've figure out that MySQL's Connector/J jar worked in jre/lib/ex when I was using DriverManager because only MySQL needed to see it, and it knew to look in jre/lib/ex. However, with DataSource, I'm assuming it's Tomcat who needs to see it, so it needs to be in Tomcat's common/l

  1   2   >