DataSource using Commons libraries 5.5.7

2005-03-13 Thread sven morales
Hi, Tomcat 5.5.x and newer have repackaged the commons libraries into naming-xxx.jar files and it is probably causing lots of headache to people doing a conversion from older distro. A couple of items I have come across are, the commons has been package into a path like so: org.apache.tomcat.d

RE: tomcat load-balancing maintenance strategy?

2005-03-13 Thread Dan Carwin
Filip, Yes, That would be awesome. Thanks, Dan -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Fri 3/11/2005 2:11 PM To: Tomcat Users List Cc: Subject: Re: tomcat load-balancing maintenance strategy?

Re: Using hibernate

2005-03-13 Thread Larry Meadors
I have used straight JDBC, Hibernate, and iBATIS. For me, the sweet spot is iBATIS. It provides very near the performance of JDBC, without the complexity. IMO, I will use ORM when database vendors support it directly, not when I have to wrap my database in a ORM layer. Larry On Sun, 13 Mar 20

Re: Configuration Problem in Tomcat for HTTPS

2005-03-13 Thread Bill Barker
Urm, not really enough info here to help you. Of course I'm assuming that you've already read http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html. Beyond that, you can try setting your logging category (log4j/java.util.logging config) for 'org.apache.tomcat.net.jsse' to DEBUG to in

Re: Servlet Streaming file to client: Can't override file name

2005-03-13 Thread Mark Leone
Thanks. That's exactly what I needed, and it did the trick. Firefox browser just grabs the first non-whitespace part of the name, but in IE the entire name shows up. Thanks again. -Mark Chris Hyzer wrote: Servlet Streaming file to client: Can't override file name 123049 by: Mark Leone

Re: Tomcat, Sun One Webserver 6.1

2005-03-13 Thread Bill Barker
Since SunOne isn't the most supported platform (at least at Apache; I believe that Sun has a better-supported plugin, but you'll have to ask them :), you'll need to build mod_jk from the source distro in jk/native/netscape (for the simple reason that nobody has contributed a binary distro for S

RE: Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
I've actually got my realms defined per host. That's not the problem. The problem is that the datasources for the various realms must be declared globally (apparently). Until yesterday, I was running JDBCRealms where I could define a different database for each realm inside the host. But I had to

Re: Scoping of JNDI Resources?

2005-03-13 Thread Hassan Schroeder
J Malcolm wrote: But it does not appear that the Default-Context applies to DataSourceRealms for a host. Is there a way to define a datasource for use by a realm in a particular host (without making the datasource available to other hosts?) Ah, Realms, well then:

Configuration Problem in Tomcat for HTTPS

2005-03-13 Thread suryadevara dushyanth
Hi, I am trying to configure my Tomcat with https support. I tried in two versions of tomcat. Tomcat 5 I followed the process as given by the documentation but https is not working as i typed in the url "https://localhost:8443"; I am getting page not available. Tomcat 4.1.29 I followed the proce

Re: Single Sign On(SSO) problem

2005-03-13 Thread xue daoming
Thanks Guillaume Lederrey! I try it, and it works! Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat, Sun One Webserver 6.1

2005-03-13 Thread Ashish Tripahi
the doco on the tomcat website is not helping me at all. Can somebody please explain how to integrate SunOne/IPlanet 6.1 with Tomcat. Waiting for the response - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Tomcat 5 - Apache2 & SSL with mod_proxy

2005-03-13 Thread Robin Johnson
I know this is a pretty old post, but I'll respond to it anyways so the solution shows up in the archives: All you have to do is set scheme="https" and proxyPort="443" and the connector will properly redirect your connections using https. HTH, Robin Kris Reese wrote: Apache 2.0.52 Tomcat 5.5 op

RE: Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
Hassan, Thanks so much for the info. I am on 5.5.7. I was not aware of the Default-Context> option. That will be useful. But it does not appear that the Default-Context applies to DataSourceRealms for a host. Is there a way to define a datasource for use by a realm in a particular host (witho

Re: driver not found ?

2005-03-13 Thread Parsons Technical Services
Tomcat version? Post complete relevant sections helps. Doug - Original Message - From: "Philippe Couas" <[EMAIL PROTECTED]> To: Sent: Sunday, March 13, 2005 11:16 AM Subject: driver not found ? Hi, I search to connect with Sun Odbc driver to my Datasource configured in tomcat javax.

Re: Why doesn't JSP precompilation solve this problem?

2005-03-13 Thread Tim Funk
Sounds odd. For debugging - try using Mozilla (or Firefox). For Mozilla there is a utility for viewing the header sent and received. Firefox also has one called the webdeveloper toobar which can also do the same. Try loading the css files (or other broken assets) and check the responses being s

Re: Scoping of JNDI Resources?

2005-03-13 Thread Hassan Schroeder
J Malcolm wrote: I know you can define DataSources, etc. globally to all of Tomcat using . I have also determined that you can define individual DataSources inside a webApp's block inside a block. But are these the only two options? I would like to define DataSources that are scoped to a , but

Scoping of JNDI Resources?

2005-03-13 Thread J Malcolm
I know you can define DataSources, etc. globally to all of Tomcat using . I have also determined that you can define individual DataSources inside a webApp's block inside a block. But are these the only two options? I would like to define DataSources that are scoped to a , but not global to al

Re: Using hibernate

2005-03-13 Thread PA
On Mar 13, 2005, at 19:00, haim wrote: We are planing to use object/relational persistence and query service like hibernate or Castor JDO. Does anyone have any recomaidations for the above? Take a serious look at Cayenne: http://www.objectstyle.org/cayenne/ Much nicer than Hibernate in my opinio

Using hibernate

2005-03-13 Thread haim
We are planing to use object/relational persistence and query service like hibernate or Castor JDO. Does anyone have any recomaidations for the above? Does anyone has good/bad experience using similar technologies? Thanks Haim

Re: Servlet Streaming file to client: Can't override file name

2005-03-13 Thread Chris Hyzer
> Servlet Streaming file to client: Can't override > file name > 123049 by: Mark Leone > Its an HTTP header you are looking for, try this: response.setHeader("Content-Disposition", "attachment; filename=" + theFile.getName()); Chris --

Failing a JK Worker thread

2005-03-13 Thread Dan Thiffault
I am running apache web server 2.0.49 connected to tomcat 5.0.28 using the jk connector version 1.2.8. From my understanding, if I set the reply_timeout property of an ajpv13 worker, once the reply_timeout elapses for a particular request to a worker, apache web server will make a new request

driver not found ?

2005-03-13 Thread Philippe Couas
Hi, I search to connect with Sun Odbc driver to my Datasource configured in tomcat javax.servlet.ServletException: Cannot create JDBC driver of class '' for connect URL 'null', cause: No suitable driver What is wrong ? Thanks Philippe server.xml

RE: Exception on JDBCRealm Authorization

2005-03-13 Thread alexander dosher
Jerry, for definitive answers you'll probably want one of the developers - but here's my take, with big doses of IMHO & YMMV... Has Tomcat acknowledged this and agreed that it will be fixed in 5.5.8? M. Maucherat suggests, in the thread i referenced earlier, that he has fixed it in 5.5.8 Any ETA f

RE: Access Denied, now what?

2005-03-13 Thread Tony
Blanks in the insides of file or folder names will cause grief in any language. You can get by some of the problems by quoting the file name. Many things in strange places will consider the file name as C:\archivos followed by some unintelligible stuff. -Original Message- From: Ing. Jorge

Access Denied, now what?

2005-03-13 Thread Ing. Jorge E. Abramian
Hi everybody,   I was trying to install Tomcat 5.5.8 for a few days now with no results. I am using win 98 SE. This is the result of the run when I execute the start.pif generated when I changed the memory variable of the start.bat   CATALINA_BASE:   C:\archivos de programa\java\jakarta-tomc

how do I correct keytool error

2005-03-13 Thread James T. Studebaker
I ran the keytool utility to create a self signed certificate.  I used the changeit password.  The utility completed successfully.  However when I used the keytool -list command I get the following error:   keytool error: java.io.IOException: Keystore was tampered with, or password was inco

RE: Why doesn't JSP precompilation solve this problem?

2005-03-13 Thread Frank Burns
No, I'm not using container-managed security. No, my .css files are not in a different application context (webapp) as the pages. But, yes, I am using MSIE6. Other than the common MSIE6, unfortunately our problems don't appear to be that similar. Frank -Original Message- From: alexander

RE: I'm using a linux server (fedora core 2) which has

2005-03-13 Thread Dale, Matt
Install the latest from the 1.2.X line as JK2 is not longer being developed. I thought the latest was higher but I was obviously wrong. You can get 1.2.8 at http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi -Original Message- From: Pete Eakle [mailto:[EMAIL PROTEC