AW: IIS + Tomcat running in different machines

2004-02-11 Thread Michael Südkamp
If you have the local connection working, changing the worker.ajp13.host parameter from localhost to the tomcat host should do it. Is the Tomcat host reachable with telnet 192.168.1.28 8009 ? Michael - To unsubscribe, e-mail:

XForms processor

2004-02-11 Thread Peter Guyatt
Hi, Does anyone know of an XForms processor other than OXF that can be used with Tomcat ? Thanks Pete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

collated phone profiles site

2004-02-11 Thread Jon Wingfield
http://w3development.de/rdf/uaprof_repository/ This list is not exhaustive bay any means. I will talk you through what the data means and what other information we need to gather. Jon - To unsubscribe, e-mail: [EMAIL

Re: collated phone profiles site

2004-02-11 Thread Jon Wingfield
oops. wrong list. Jon Wingfield wrote: http://w3development.de/rdf/uaprof_repository/ This list is not exhaustive bay any means. I will talk you through what the data means and what other information we need to gather. Jon

Problem at Tomcat Start up

2004-02-11 Thread amit varshney
I am working on Redhat Linux 9 I am using Oracle 9I for JdBc Realm for user authentication.the tomcat server could not started. I am getting the following error message in Catalina.out. Feb 11, 2004 4:25:54 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1

RE: Problem at Tomcat Start up

2004-02-11 Thread Francois JEANMOUGIN
From: amit varshney [mailto:[EMAIL PROTECTED] Caused by: java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at

Re: Best practice question: where to place project libraries

2004-02-11 Thread John Holman
Matt Raible wrote: -Original Message- From: Josh Rehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 5:49 PM Thanks. You bring up an interesting aspect of container configuration: database drivers. It would be interesting to extend the META-INF/context.xml tomcat

Re: Re: Best practice question: where to place project libraries

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: Best practice question: where to place project libraries

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: Best practice question: where to place project libraries

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: Best practice question: where to place project libraries

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: Best practice question: where to place project libraries

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: Best practice question: where to place project libraries

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: Does anyone have successfully build mod_jk2 on RH9 with Tomcat 4.1.xx, please share

2004-02-11 Thread Parsons Technical Services
Anthony, Phupha does not apxs on his machine. RD9 so nicely leaves it off. In order to build mod_jk2, you must install apache from source or another rpm that includes apxs. I have the same issue. Currently I am running Tomcat in standalone mode. Doug - Original Message - From:

Re: Re: Re: Re: Re: Re: Re: Re: Best practice question: where to place project libraries

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: Does anyone have successfully build mod_jk2 on RH9 with Tomcat 4.1.xx, please share

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: Best practice question: where to place project libraries

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: Does anyone have successfully build mod_jk2 on RH9 with Tomcat 4.1.xx, please share

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]

Web Activity Monitoring

2004-02-11 Thread Pete Stokes
Does an1 know of open source stuff that will monitor hits (distribution over day/week///), browser type, etc ? Similar to www.speed-trap.com Thanks, Pete. *** This email and any files transmitted with it are

Problem using JNI(loadLibrary), Servlet and Tomcat

2004-02-11 Thread Flávio Castro
I'm having a problem using servlets and maybe some of you can help me to figure out what's going on. Here's the deal: I have a servlet that loads a C library and uses some of these C native methods. In addition, I have some JSPs that invoke the routines contained in this servlet. My C

RE: Does anyone have successfully build mod_jk2 on RH9 with Tomcat 4.1.xx, please share

2004-02-11 Thread David Smith
I use Mandrake and it's not too far off of RH as far as package structure. Did you install the apache2-devel package? I believe that's needed to get apxs on your system. I built mod_jk with apxs on my Mandrake 9.2 system no problem. --David you should be able to compile from the mod_jk2

RE: Web Activity Monitoring

2004-02-11 Thread Ralph Einfeldt
http://www.mrunix.net/webalizer/ http://awstats.sourceforge.net/ http://www.analog.cx/ http://www.google.de/search?q=open+source+web+log+analyzer -Original Message- From: Pete Stokes [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 2:45 PM To: Tomcat Users List

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread David Smith
I'm using this setup on a linux box and the only thing I can see different is your URL. I'm not familiar with the named pipes method of accessing MySQL from Tomcat. My URL is of this format: jdbc:mysql://[server name]:3306/[database name]?autoReconnect=true Also, did you place the

RE: Best practice question: where to place project libraries

2004-02-11 Thread Shapira, Yoav
Howdy, My take on this: everything used to build every version of your deliverable should be under source code control: that includes dependencies such as servlet-api.jar. So it's not OK to simply rely on the tomcat distro servlet-api.jar. It IS OK to copy the tomcat distro servlet-api.jar into

Re: Web Activity Monitoring

2004-02-11 Thread Pete Stokes
also if we can capture the conversion ratio/stats of users and at what point they drop out of an ordering process. Pete. Pete Stokes wrote: Does an1 know of open source stuff that will monitor hits (distribution over day/week///), browser type, etc ? Similar to www.speed-trap.com Thanks,

More detailed Tomcat diagnosis

2004-02-11 Thread Dale, Matt
Hi, Recently we've had occasions where tomcat has gone out of control and taken over the machine upon which it resides, causing the load to exceed the number of processors. What I'm wondering is, is there any way to get a closer analysis of the JVM, even to find out which application is

RE: tomcat 5 initiating jndi lookup to weblogic 8.1 / save my soul!

2004-02-11 Thread Shapira, Yoav
Howdy, I have an application service which would like to communicate with weblogic 8.1 using JMS. If I include the wlcient.jar in my webapps/app name/lib/ directory, I get a cascade of errors on tomcat start up (strack trace below). If I do not include wlclient in the lib directory, I get

Re: Web Activity Monitoring

2004-02-11 Thread Martin Gainty
Peter There are the HTTP Variables example: http://www.lib.washington.edu/asp/browser/servar.asp How would you want to capture this information? Regards, Marty Gainty - Original Message - From: Pete Stokes [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday,

RE: More detailed Tomcat diagnosis

2004-02-11 Thread Shapira, Yoav
Howdy, Sure, you can use a profiler ;) But failing that on a production machine, you can issue the JVM a SIGQUIT to see what threads are active and what they're doing. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent:

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Burgess, Jay S
I too am not sure what the problem is, though I've got this working on Windows at least. Couple of comments: First, what is the need for the second factory definition in the URL i.e. socketFactory=com.mysql.jdbc.NamedPipeSocketFactory? You've already defined a factory in the Resource definition

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Burgess, Jay S
Oops. Haven't had my coffee yet. I read MySQL but thought SQL Server. Obviously my DB is different than yours, so that may explain our differences. But either way, my previous post might still help. Jay -Original Message- From: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent:

4.1.x: relative external entities in TLDs?

2004-02-11 Thread Jay Sachs
[Sorry if this has been asked before, please point me to an archived discussion (and resolution, if any) if I'm being redundant -- I did try searching the archives first.] When processing TLDs, Tomcat doesn't properly handle relative references for external entities. For example, if I have a

RE: tomcat 5 initiating jndi lookup to weblogic 8.1 / save my soul!

2004-02-11 Thread Brian . Scott
Hi Yoav - Thank you so much for your replies, you are obviously a very kind indvidual who spends a lot of time helping people on this forum. My jar is in WEB-INF lib for my application, not common lib. As for the contents of wlclient.jar, as opposed to a class list, I'm including a list of

POST method not working

2004-02-11 Thread Kumar Abhay-CAK203C
Hi, I am suing post method of sending data to servlet from a JSP page. I am unable to get the data by request.getParameter(). If I am sing get method I am able to retrieve data from JSP page Please let me know how to achieve this ? And what is the bug ? Abhay

Re: POST method not working

2004-02-11 Thread jerome moliere
Hi, hi abhay, I am suing post method of sending data to servlet from a JSP page. I am unable to get the data by request.getParameter(). If I am sing get method I am able to retrieve data from JSP page Please let me know how to achieve this ? And what is the bug ? you may use the nice

RE: POST method not working

2004-02-11 Thread Shapira, Yoav
Howdy, If POST parameters weren't working, we'd all be in serious trouble. I'm fairly sure they're working fine ;) Would you like to share some code so that we can maybe diagnose a problem? Yoav Shapira Millennium ChemInformatics -Original Message- From: Kumar Abhay-CAK203C

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
Jay, Thanks for your comments. I think the problem may be that I don't have the MySQL Connector/J jar in the common/lib. When using DriverManager, it worked fine in jre/lib/ext, which is one of the places the MySQL documentation recommended. I need to try again with it in the new location.

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Yiannis Mavroukakis
As far as the listening bit is concerned why not just limit mySQL to listen on localhost then? Do you get better performance out of named pipes? -Original Message- From: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 15:52 To: Tomcat Users List Subject: RE: Another Try

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Mark Matthews
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yiannis Mavroukakis wrote: As far as the listening bit is concerned why not just limit mySQL to listen on localhost then? Do you get better performance out of named pipes? On most versions of Windows, using JDBC and MySQL with named pipes will

Re: Another Try at MySQL Connection Pooling

2004-02-11 Thread Philipp Taprogge
Hi! Mark Matthews wrote: On most versions of Windows, using JDBC and MySQL with named pipes will give you a 50-60% performance improvement. Which IMO is by no way an intidator of Win's greatness in named pipes but rather of it's bad TCP implementation. Instead of relying on named pipes one

RE: tomcat 5 initiating jndi lookup to weblogic 8.1 / save my soul!

2004-02-11 Thread Shapira, Yoav
Howdy, My jar is in WEB-INF lib for my application, not common lib. Good. As for the contents of wlclient.jar, as opposed to a class list, I'm including a list of packages. I can include classes if it will help you, but don't want to clog everyones inbox. No, packages are fine. javax\ejb -

Differences between JK, JK2

2004-02-11 Thread Juan de Bravo
Hi everybody, can anyone explain me the differences between JK and JK2 and how I should configure Apache 2.0.48 and Tomcat 4.1.29 to connect them? What's the relation between JK and the workers of Tomcat? Thanks in advance, Juan.

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Yiannis Mavroukakis
I'll add another 2 to the pool :) -Original Message- From: Philipp Taprogge [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 16:24 To: Tomcat Users List Subject: Re: Another Try at MySQL Connection Pooling Hi! Mark Matthews wrote: On most versions of Windows, using JDBC and MySQL

request parameter

2004-02-11 Thread Ricardo de Souza Moura
Have somebody ever had problem with request parameters ? I am using Tomcat 4.1.29 com JK2. Sometimes my request parameters are disappearing. Did somebody already have this problem ? _ MSN Messenger: converse com os seus amigos online.

Apache / Tomcat JK problem

2004-02-11 Thread Pete Stokes
Hi. 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 eventually use

RE: request parameter

2004-02-11 Thread Frank Diakovasilis
are you using the isapi filter? post and get parameters or just get? -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 11:50 AM To: [EMAIL PROTECTED] Subject: request parameter Have somebody ever had problem with request

RE: request parameter

2004-02-11 Thread Yiannis Mavroukakis
This has appeared on the list before. Without being 100% (better search the list) it had to do with the fact, that the person having the issues was using a JK2 binary... Don't take my word though, search the list. -Original Message- From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]

RE: request parameter

2004-02-11 Thread Ricardo de Souza Moura
are you using the isapi filter? no post and get parameters or just get? both I have been trying to search at the list, but I didn't find it yet. I am using Struts with DispatchAction and DynaValidatorForm. thanks From: Frank Diakovasilis [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

javax.mail

2004-02-11 Thread Duncan Smith
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 particular problem occurs on the server. My code seems to work but, but it does not use the smtp server which I am specifying. I cannot find a

RE: Another Try at MySQL Connection Pooling

2004-02-11 Thread Merrill Cornish
I think I read the using named pipes is faster, but that's not going to be a problem here. If I can't get named pipes to work, then I'll try using TCP/IP restricted to localhost. Actually, this whole DataSource experiment has a questionable return on investment. I already have it working

RE: POST method not working

2004-02-11 Thread Kumar Abhay-CAK203C
Hi, I was just searching on Google. Actually I am using NTLM Authentication in my Login Servlet. I think there is some conflict between NTLM Authentication and POST method. Any body has an idea what to do or set to get the things done ?

Invaild tar?

2004-02-11 Thread Matt T. Duval
I get the following while untaring: 2959360 bytes jakarta-tomcat-connectors-jk-1.2-src-current.tar x jakarta-tomcat-5.0.18-src/jakarta-tomcat-jasper/jasper2/src/share/org/ap ache/jasper/tagplugins/jstl tar: 0511-169 A directory checksum error on media; 804398144 not equal to 39532. Thank you,

Re: done did not found a worker

2004-02-11 Thread Dwayne Ghant
I have tried to go to http://jakarta.apache.org/site/binindex.cgi and download mod_jk 1.2 , it's not available. Does anybody know how I can get mod_jk1.2 ? David O'Brien wrote: If you are using mod_jk and NOT mod_jk2 then this file's content makes no difference in your configuration. You need

RE: javax.mail

2004-02-11 Thread Yiannis Mavroukakis
This is assuming the Properties object you use, has been returned from the javax.mail.Session object, correct? You could go for the shotgun approach and set mail.host instead of mail.protocol.host. If that doesn't work, make sure that mysmtphost doesn't resolve to the machine serving your jsp.

Re: Servlet thread safety in Tomcat

2004-02-11 Thread kwirirai
Thanks to All for your help ! :-) Sofar it seems to be working ,no data corruption,I localized all variables ,put in some synchronized blocks,removed them again(synchronized blocks) and seems to work, but not sure why without the synchrozed blocks its working . :-\ Is there free software that

Re: javax.mail

2004-02-11 Thread Dwayne Ghant
You don't need a SMTP server to send mail . Technically speaking the protocol it self does the sending and not the server. 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

Re: Invaild tar?

2004-02-11 Thread Tim Funk
make sure your using gnu tar -Tim Matt T. Duval wrote: I get the following while untaring: 2959360 bytes jakarta-tomcat-connectors-jk-1.2-src-current.tar x jakarta-tomcat-5.0.18-src/jakarta-tomcat-jasper/jasper2/src/share/org/ap ache/jasper/tagplugins/jstl tar: 0511-169 A directory checksum

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

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

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.. Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true forwardAll=false modJk=/usr/libexec/httpd/mod_jk.so ..tried... Listener

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

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

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

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

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. parameter namepassword/name valuexxx/value /parameter Since you've included a password value in all the other places I'm wondering if the lack of it here could be

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

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: !-- Class name for mm.mysql JDBC driver -- parameter namedriverClassName/name valuecom.mysql.jdbc.Driver/value /parameter Yeah, I know the notes said

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

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: !-- Class name for mm.mysql JDBC driver -- parameter namedriverClassName/name

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

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

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

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

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

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 % knovel-tags:test input=Hi There / test.tag %@ attribute name=input required=true % %= input %

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:

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

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

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,

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 List

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 out

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

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

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

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

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;

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

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

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: parameter nameurl/name valuejdbc: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

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

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 Context 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 anything

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

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

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

  1   2   >