Re: Tomcat SSL w/ Apache

2002-10-29 Thread Robert L Sowders
The configuration you describe for virtual hosts is correct except that for SSL to work correctly in Apache you have to use IP based virtual hosting. Name based virtual hosting will give you errors. See http://www.modssl.org/docs/2.8/ssl_faq.html#ToC47 rls "Randy Secrist" <[EMAIL PROTECT

Re: SEVERE: Handshake failed

2002-10-29 Thread Bill Barker
This is a known problem (but it is only that it is taking time to fill the log files). Upgrade to 4.1.14 to fix. "Chakradhar Tallam" <[EMAIL PROTECTED]> wrote in message news:11A60EF518EFD311962E0010B5092C17AE1043@;EXCHANGE... > hi there, > > we got a web application running on production system.

Re: Charsets and RequestDispatcher

2002-10-29 Thread Bill Barker
It is explicitly forbidden for an include to change the headers (including content-type). Your servlet needs to do a response.setContentType("text/html; charset=windows-1253") before doing the include. Alternatively, for the servlet below, consider doing a "forward" instead of an "include". "Hol

Re: tc4.1.12 and Apache2.0.43 mod_jk Root Context not appearing in mod_jk.conf

2002-10-29 Thread Bill Barker
You also need to set the noRoot="false" attribute in the Listener. It defaults to "true", since otherwise (if the default forwardAll="true"), all requests get sent to Tomcat. "Tref Gare" <[EMAIL PROTECTED]> wrote in message news:D9E0834F4E6DA84C8F8F421EDA28E84106A63F@;proxy.areeba.com.au... Thank

Re: Force One page to not use SSL

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, Bill Barker wrote: > > This mis-feature is in the standard version of Tomcat 3.3.1. > Another good reason for me to never use it :-). > > > > > Thanks! > > > Aaron. > > > > Craig > Craig -- To unsubscribe, e-mail: F

RE: Servlets deployment directory location

2002-10-29 Thread John B
> Suppose I have this servlet > > \WEBAPPS\ROOT\WEB-INF\CLASSES\HelloServlet > > for versions 4.0.6 and before , I could use > "http://localhost:8080/servlet/HelloServlet"; > > but now under 4.1.12, it is no longer working. It > just cannot find it at > all. However, normal HTML pages can stil

Re: Force One page to not use SSL

2002-10-29 Thread Bill Barker
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message news:20021029215637.J8960-10@;icarus.apache.org... > > > On Tue, 29 Oct 2002, Rustad, Aaron wrote: > > > Date: Tue, 29 Oct 2002 17:54:34 -0700 > > From: "Rustad, Aaron" <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTEC

Re: Removing Response Headers

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, Alex Muc wrote: > Date: Tue, 29 Oct 2002 22:39:54 -0500 > From: Alex Muc <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Removing Response Headers > > Hi, > > I'm trying to find a way to remove response headers from th

Re: Apache+SSL+Tomcat - servlet redirection problem

2002-10-29 Thread Anitha K Rao
Hello, Check out this site. May be this would help you. http://enterprise.netscape.com/docs/enterprise/60/servlet/serv.htm - Original Message - From: "Bala" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 10:38 AM Subject: Apache+SSL+T

RE: DBCP Woes! Ahaa!

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, neal wrote: > Date: Tue, 29 Oct 2002 18:48:20 -0800 > From: neal <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: DBCP Woes! Ahaa! > > AHAAA! > > I figured it out ... well ... sort of. > > My pri

RE: Force One page to not use SSL

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, Rustad, Aaron wrote: > Date: Tue, 29 Oct 2002 17:54:34 -0700 > From: "Rustad, Aaron" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Force One page to not use SSL > > Man alive! Does this thre

RE: Force One page to not use SSL

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, Schnitzer, Jeff wrote: > Date: Tue, 29 Oct 2002 15:56:47 -0800 > From: "Schnitzer, Jeff" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Force One page to not use SSL > > I've read the list arch

Apache+SSL+Tomcat - servlet redirection problem

2002-10-29 Thread Bala
I configurd Apache 1.3.9 , modSSL, openSSL and TOMCAT 3.2.3. For http , it is working fine. For Https, In one of my servlet , I redirected the request to other servlet. To form the redirect URL i used "HttpServletRequest.getScheme();" It always returns "http" instead of "https". I am getting foll

RE: SEVERE: Handshake failed

2002-10-29 Thread Arshad . Hussain
try increaing minProcessors="15" maxProcessors="125" or more according to u r need -Original Message- From: Chakradhar Tallam [mailto:c.tallam@;objectconsulting.com.au] Sent: Tuesday, October 29, 2002 8:21 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: SEVERE: Han

RE: DBCP Woes! Ahaa!

2002-10-29 Thread Jacob Kjome
You should be able to set it up in a element or you can use and then in your context use a . The Tomcat docs for 4.1 talk all about this. Jake At 06:48 PM 10/29/2002 -0800, you wrote: AHAAA! I figured it out ... well ... sort of. My primary content is www.hotel.us. But, I also configured

unknown error

2002-10-29 Thread Arshad . Hussain
we are using apache and tomcat with ssl layer we only have jsp and servelts and tomcat version is 4.0 and apche is 1.3 i get this error randomly and since we have catch all exception and redirect it to error page the client sees the error page eevery time this error is thrown i doubt this error has

Re: Removing Response Headers

2002-10-29 Thread Jacob Kjome
You can probably use a filter + a ResponseWrapper to modify the original content. Jake At 10:39 PM 10/29/2002 -0500, you wrote: Hi, I'm trying to find a way to remove response headers from the default set of response headers that Tomcat sends back to the browser with each request. From my ana

Tomcat SSL w/ Apache

2002-10-29 Thread Randy Secrist
I have an interesting problem that I don't know much about. I am integrating Apache with Tomcat using mod_jk - and I have it mostly working. The only real problem I have left - is getting SSL - which appears to be working with Apache - to work with Tomcat. I have both HTTP connector's disabled

Removing Response Headers

2002-10-29 Thread Alex Muc
Hi, I'm trying to find a way to remove response headers from the default set of response headers that Tomcat sends back to the browser with each request. From my analysis here's what Tomcat sends back by default on most requests: HTTP/1.1 200 OK Content-Type: text/html;ISO-8859-1 Date: Wed, 30 O

RE: DBCP Woes! Ahaa!

2002-10-29 Thread neal
AHAAA! I figured it out ... well ... sort of. My primary content is www.hotel.us. But, I also configured hotel.us, hotel.us.com, etc to all point to www.hotel.us. It turns out that the times I was getting the JDBC not bound to Context error, were the times I was going to the alternat domains, n

Re: DBCP Woes!

2002-10-29 Thread V. Cekvenich
Try this code: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/src/basicWebLib/org/commons/DAO/BasicDAOImpl.java?rev=1.3&content-type=text/vnd.viewcvs-markup .V neal wrote: Oh yeah, and this is the source code for creating a connection: protected Connection getConn

SEVERE: Handshake failed

2002-10-29 Thread Chakradhar Tallam
hi there, we got a web application running on production system. it uses SSL to serve few pages. we have been getting the following exception lately on a regular basis but the SSL page is served to the user. looks like, the performance is affecting a bit because of this exception. do any of u have

RE: DBCP Woes!

2002-10-29 Thread neal
That sounds likely, but unfortunately I'm not familiar enough with JNDI to really know how to do that. But, let's say that this is the problem. What would the solution be? Other than the server.xml parameters I've specified, how does one bind a Datasource to a Context? And, can you think of any

What causes Tomcat CPU usage to slowly rise over time?

2002-10-29 Thread Brandon Cruz
I have been trying to figure out the answer to this question for months now with no success. What causes the CPU usage for java to slowly rise as tomcat is left running? Slowly but surely, the CPU rises and rises until eventually it gets around 50% and stops. I think that is only because other p

RE: DBCP Woes!

2002-10-29 Thread micael
Write a class to see whether or not jdbc is bound in the context. It probably isn't. At 05:15 PM 10/29/2002 -0800, you wrote: My setup? I'm using MySQL 3.23 and the latest version of (don't recall the number) Connector/J for my driver. This is of course all sitting inside tomcat 4.0.4. I have

RE: DBCP Woes!

2002-10-29 Thread Iain Sanderson
Neal, I use Poolman and have found it excellent. A testimony to it's usefulness is that folk are still recommending it 9 months after its developer stopped supporting it and issued the final 2.1b release. You'll find that Poolman's connection code is near identical to that which you've shown, so

RE: DBCP Woes!

2002-10-29 Thread neal
Thanks for the poolman links. Well, I'm invested in DBCP already so I'll give it another day to explain itself to me. ;-) It not by then, I think I'll dive into Poolman. Thanks. Neal -Original Message- From: Mike Jackson [mailto:mjackson@;cdi-hq.com] Sent: Tuesday, October 29, 2002 4:0

RE: Force One page to not use SSL

2002-10-29 Thread Rustad, Aaron
Man alive! Does this thread have to continue in this direction? Myself and Jeff both have similar problems, and we are requesting a common solution. I think we both expressed that we are aware of the consequences of our "security-flawed" approach to app design, yet everyone seems to think that this

RE: DBCP Woes!

2002-10-29 Thread neal
Oh yeah, and this is the source code for creating a connection: protected Connection getConnection() throws NamingException, SQLException, Exception { this.CONTEXT = new InitialContext(); Connection conn = null; if(this.CONTEXT == null ) throw new Exception("Context ne

RE: Force One page to not use SSL

2002-10-29 Thread Justin Ruthenbeck
Jeff -- This may be a bit simple minded since I don't understand your entire situation there, but it doesn't sound like you're interested in protecting these JARs in the first place (hence you don't need HTTPS for them). Why, then, do you even need to make sure the user is authenticated (ie *

RE: DBCP Woes!

2002-10-29 Thread neal
My setup? I'm using MySQL 3.23 and the latest version of (don't recall the number) Connector/J for my driver. This is of course all sitting inside tomcat 4.0.4. I have manually installed the DBCP, collections and whatever other support classes I needed for DBCP. I have configured DBCP via my se

ANNOUNCE: basicPortal release 0.7e on Sourceforge

2002-10-29 Thread John Menke
The basicPortal project on Sourceforge has just released a new release of their FREE OPEN SOURCE portal software. See http://basicportal.SF.net. basicPortal is a SET OF vertical applications designed to increase web programmer productivity that incorporates Struts, the JSTL tag library, a BASIC D

Re: Force One page to not use SSL

2002-10-29 Thread Dan Lipofsky
We do the switch, using Apache1.3.20/Tomcat3.2.4 on Solaris. We just use an absolute URL when doing the switch. No problems with lost sessions. - Dan - Original Message - I've read the list archives and I'm aware of the security "issue", but I still want to switch from HTTPS to HTTP. Yes

RE: DBCP Woes!

2002-10-29 Thread micael
I don't know your setup at all, neal, but this is a hypersonic database reference. What is your setup? At 04:31 PM 10/29/2002 -0800, you wrote: I considered poolman but it doesn't look like its supported or even available from the website to download anymore. Is this the case? I have heard goo

RE: DBCP Woes!

2002-10-29 Thread Mike Jackson
Here's two links, these are the one's I've got archived. They should be latest, unless they've started development again. But really, I've never had any problems with poolman, so... http://www.cdi-hq.com/mj/poolman-2.0.4.tar.gz http://www.cdi-hq.com/mj/poolman-2.1-b1.tar.gz --mik

RE: Force One page to not use SSL

2002-10-29 Thread Schnitzer, Jeff
I've read the list archives and I'm aware of the security "issue", but I still want to switch from HTTPS to HTTP. Yes, I know someone could hijack the session. We're not worried about that; at worst someone could make some obnoxious posts to a forum. We force users to submit their password a sec

RE: DBCP Woes!

2002-10-29 Thread neal
Interesting. Yeah, this error occassionally pops up and ocassionally goes away. When its flaring up I can't get any connections via DBCP. But, I still can through regular (non-pooled) JDBC. Uuugh. Maybe I should look at Poolman. Where can you download it from? Are there many people out there

RE: DBCP Woes!

2002-10-29 Thread Mike Jackson
I don't think anyone's actively working on it anymore, but it's rock solid (tm). At least with the way that I'm using it. As for the JDBC thing, it looks like it's the underlying JDBC driver. I don't know how DBCP works, but I'd imagine that it's not too different from Poolman. The point is that

RE: DBCP Woes!

2002-10-29 Thread neal
I considered poolman but it doesn't look like its supported or even available from the website to download anymore. Is this the case? I have heard good things about it. Don't suppose you understand this JDBC conext binding error, do you? Thanks. Neal -Original Message- From: Mike Jack

Re: coyote connector and SSL generates exception for every GET request - Tomcat 4.1.12

2002-10-29 Thread Sara Wilken
I found out about it by being the one that patched it. :) I just forgot to update the release notes afterwards. - Original Message - From: "HAVENS,PETER (HP-Cupertino,ex3)" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 28,

localization in Tomcat V4

2002-10-29 Thread Shyam Aramkuni
Hi, Can we achive the localized web-resources by putting in a filter?or is there an in built support for localization in Tomcat V4? Thanks Shyam

Re: Force One page to not use SSL

2002-10-29 Thread Nicholas Pappas
Why not break up your applet into two - one applet on an HTTP page that just handles the jar downloads? "Rustad, Aaron" wrote: > OK, let me explain the real problem then. What I really want to do is > download a bunch of jars for an applet, however, doing this over HTTPS is > driving my nuts!!!

RE: DBCP Woes!

2002-10-29 Thread Mike Jackson
Poolman works nicely, I have little to no problems with it. Then again I haven't used DBCP. But you'd still have had the exhasted connections problem with poolman. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: neal [mailto:nealcabage@;yahoo.com] > Sent: Tue

RE: mod_jk + tomcat on Solaris 8 ( about Turner's HOWTO )

2002-10-29 Thread MURAT BALKAS
My mod_jk.so is at the default location with other modules : /usr/apache/libexec/mod_jk.so All of my configuration files are attached with comments. If I go over them I realised that I'm really confused about a) ports ( Should both of them bind to same port? How? ) Now, my apache listens o

RE: DBCP Woes!

2002-10-29 Thread neal
Now I have some other strange error related to accessing my database. Ever since I started messing with thsi stuff my conneciton to my dB has been flakey at best. Sometimes it works ... sometimes it doesn't. javax.naming.NamingException: Exception creating DataSource: org.hsql.jdbcDriver I don'

RE: DBCP Woes!

2002-10-29 Thread neal
Still having DBCP problems. I ensured that all my connections, statements, and resulset objects are being properly released when using DBCP for connection pooling. I've enabled recoverAbandoned. It seems that yes I did have some connection pool leaking, but that has since been resolved. But I sti

Tomcat 4.1 memory leak with Coyote connectors

2002-10-29 Thread Iain Sanderson
Hi, Has anyone else seen a memory leak using Tomcat 4.1/JDK 1.4.1 and a Struts web application? I was using the Coyote Http 1.1 connectors on port 8080 and 443 ( for SSL) in Server XML, and found my web app died after 24 hours or so with an OutOfMemoryException. I suspected a memory leak and t

Re: Is CLASSPATH ignored ?

2002-10-29 Thread Craig R. McClanahan
On Tue, 29 Oct 2002, Sinclair, Alan (CORP, GEAccess) wrote: > Date: Tue, 29 Oct 2002 13:01:06 -0700 > From: "Sinclair, Alan (CORP, GEAccess)" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]> > Subject: Is CLASSPATH ign

Tomcat gives servlets thru Apache but only for localhost

2002-10-29 Thread Whyatt, Marie V
Apologies if I haven't found this answered in the archives... >From the same system Apache and Tomcat are running on (toucan), I can see Tomcat's HelloWorldExample servlet if I use either of the URLs: http://localhost/examples/servlets/HelloWorldExample or http://toucan/examples/servlets/Hell

RE: JAR Files needed

2002-10-29 Thread Garrett Smith
Add servlet.jar to your classpath: CATALINA_HOME/common/lib/servlet.jar You do this with an Ant task if you're using Ant. Garrett --- Julius Davies <[EMAIL PROTECTED]> wrote: > > Brian Brookwell, > > Officially, you need J2EE (Java 2, Enterprise Edition). Go to > http://java.sun.com to downl

RE: mod_jk + tomcat on Solaris 8 ( about Turner's HOWTO )

2002-10-29 Thread Tref Gare
Where is your mod_jk.so installed? And secondly what does your mod_jk.conf look like (CATALINA_HOME/conf/auto/mod_jk.conf) I'd say between those two we'll find the culprit. cheers -- Tref Gare Development Consultant Areeba Level 19/114 William

RE: Admin/Manager problems

2002-10-29 Thread Srinadh Karumuri
I am not sure if you already figured it out or not. Same thing happened to me and after doing a 'ps | grep java' I found out that my 'stop' script couldn't shutdown for some reason. I killed this java process in limbo and restarted tomcat and everything is working ok. Sri At 05:25 PM 10/21/200

RE: JAR Files needed

2002-10-29 Thread Julius Davies
Brian Brookwell, Officially, you need J2EE (Java 2, Enterprise Edition). Go to http://java.sun.com to download it. After installing J2EE you'll find a jar file called "j2ee.jar" which contains everything you need to compile servlets. Personally, I just dip into $TOMCAT/common/lib and use the

RE: Is CLASSPATH ignored ?

2002-10-29 Thread Sinclair, Alan (CORP, GEAccess)
Okay, thanks -Original Message- From: Cox, Charlie [mailto:ccox@;cincom.com] Sent: Tuesday, October 29, 2002 1:13 PM To: 'Tomcat Users List' Subject: RE: Is CLASSPATH ignored ? yes, classpath is ignored. you must put them in /WEB-INF/lib for each application or in /common/lib if you wan

Re: about tail

2002-10-29 Thread Robert L Sowders
If you are using tail from cygwin it would be "tail -f name_of_file". The windows program has a GUI to work from. rls Peng Annie <[EMAIL PROTECTED]> 10/29/2002 02:40 AM Please respond to "Tomcat Users List" To: 'Tomcat Users List' <[EMAIL PROTECTED]> cc: Subje

Re: about tail

2002-10-29 Thread Robert L Sowders
You must always provide the information that I cannot see. What version of tail did you get? CYG-WIN, or the windows program? rls Peng Annie <[EMAIL PROTECTED]> 10/29/2002 02:40 AM Please respond to "Tomcat Users List" To: 'Tomcat Users List' <[EMAIL PROTECTED]> cc:

RE: Is CLASSPATH ignored ?

2002-10-29 Thread Cox, Charlie
yes, classpath is ignored. you must put them in /WEB-INF/lib for each application or in /common/lib if you want to share them between apps. database jars need to be in /common/lib to be visible to tomcat's classes and also your webapps. Charlie > -Original Message- > From: Sinclair, Alan

Is CLASSPATH ignored ?

2002-10-29 Thread Sinclair, Alan (CORP, GEAccess)
All, Does the UNIX Tomcat implementation ignore the CLASSPATH environment variable ? For example, in order to make DBCP pooling work, I placed the Oracle JAR file in $CATALINA_HOME/common/lib Does this mean that all application JAR files must be installed in ../common/lib ? Thanks -- To unsubs

Re: Error when attempting to start Tomcat 4.1.12 on NT system runningJDK 1.2.2

2002-10-29 Thread Robert Christenson
All, Thanks to Gunter D'Hondt, I've set an environment variable called JAVA_COMPILER to the value NONE and now Tomcat 4.1.12 starts up correctly using jdk1.2.2. Question, does anybody know if this would adversely affect compilation of JSPs etc.? And, where is this documented? I looked in the

Re: MOD_JK.SO

2002-10-29 Thread Ben Ricker
On Tue, 2002-10-29 at 12:22, [EMAIL PROTECTED] wrote: > > > according to this : > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html > > i should need mod_jk2 and not mod_jk (well, mod_jk may also work, but > hey,..) - and its enabled by default on the appserver im using..

Re[5]: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-29 Thread Jacob Kjome
Whooops. I had read the following: RE>> (This article also states that ThreadLocal works even slower RE>> before JDK 1.4) as "This article also states that ThreadLocal works even slower [than] before [in] JDK 1.4". So, I thought you were saying that the implementation of ThreadLocal was slow

JAR Files needed

2002-10-29 Thread Brookwell Brookwell
This is the first time I've tried getting a servlet running under Linux. We're using TOmcat and I'd like to know what JAR files are needed tocompile the servlet. Brian Brookwell -- To unsubscribe, e-mail: For additional commands, e-mail: <

Re: MOD_JK.SO

2002-10-29 Thread Mehdi . Nejad
according to this : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html i should need mod_jk2 and not mod_jk (well, mod_jk may also work, but hey,..) - and its enabled by default on the appserver im using.. If by any chance i am right, can someone tell me why I cant find a h

Re: MOD_JK.SO

2002-10-29 Thread Ben Ricker
I got this on Apache 1.3.27. I assume you downloaded the binary mod_jk.so. Make sure that you got that fits your use or non-use of SSL in the server. Not sure where you got the binary, but there is a note on the jakarta connector download page that lists which binary is for which. I myself just co

RE: Tomcat standalone speed versus Tomcat/Apache

2002-10-29 Thread David Tildesley
Tests we did with tomcat 4.1.12 showed it is defintely in order of magnitudes faster by itself than connected with apache with mod_jk. But why don't you run your own tests and let us compare notes. -Original Message- From: Andy Wickson [mailto:andy@;awtech.co.uk] Sent: Wednesday, 30 Octobe

RE: JDBC driver class 'null' error

2002-10-29 Thread Sinclair, Alan (CORP, GEAccess)
Thanks, I discovered that yesterday. -Original Message- From: [EMAIL PROTECTED] [mailto:pqin@;shareowner.com] Sent: Tuesday, October 29, 2002 7:21 AM To: [EMAIL PROTECTED] Subject: RE: JDBC driver class 'null' error Rename jdbc driver package to .jar and put in common/lib Regards,

Tomcat standalone speed versus Tomcat/Apache

2002-10-29 Thread Andy Wickson
Hi all, Has anyone done any comparisons of the above? Are there any rules of thumb regarding this e.g., percentage of static versus dynamic content/site popularity etc. Just wondering whether Tomcat will cut it on its own for my modest site. Regards Andy Wickson

MOD_JK.SO

2002-10-29 Thread Mehdi . Nejad
Hi, We are trying to get Tomcat 4.1.12 and Apache 1 3 26 working together using mod_jk.so. We are receiving the followitng error : Starting httpd: Syntax error on line 224 of /etc/httpd/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: /usr/local/apache/libexec/mod_j

[TC v4.1.12] Integrating with BouncyCastle on JDK v1.4.1_01

2002-10-29 Thread Pae Choi
Forst of all, my applogies if this has been asked and solved. If anyone has integrated TC v4.1.12 with BC-jdk14-115 on JDK 1.4.1_01 using PKCS12 key store, not JKS keystore, would you please share with me whether it's feasible or not. To wit, without modifying the TC source code. Any suggestions

Run Tomcat 4.1.2 on Novell

2002-10-29 Thread Jordi Guijarro
Hi, How can I run Tomcat 4.1.2 on Novell Netware 5.1 ¿? Nowadays I’ve a script (ncf file) to start catalina in Tomcat 4.0.4 version. This script is not included in Tomcat 4.1.2. Someone knows about it ? Thank you, Jordi

Re[4]: DBCP speed of lookup -vs- stored reference to Datasource?

2002-10-29 Thread Jacob Kjome
Hello Ralph, Well, supposedly, everything slowed down in the j2sdk1.4.0 release. The j2sdk1.4.1 release fixed a *ton* of performance regressions that occurred between jdk1.3.x and j2sdk1.4.0. So, I think the jury is still out on whether ThreadLocal is still slow in j2sdk1.4.1. And yes, the goal

RE: Force One page to not use SSL

2002-10-29 Thread Srinadh Karumuri
You can probably try forwarding to absolute path, with the JSESSIONID value. Since you are using IIS as secure server, it shouldn't matter to Tomcat. For example: In a servlet you can forward control from https://my.domain.com/myapp/jsp/mypage1.jsp to http://my.domain.com/myapp/jsp/mypage2.jsp;

apache/tomcat multiple hosts

2002-10-29 Thread tamsin
hi, i'm using apache, tomcat 4.1 and mod_jk i have apache configured: ServerName www.foo.com DocumentRoot /home/foo JkMount /servlet/* worker1 and in server.xml: this all works fine. however, i want to serve a copy of the foo site from demo.foo.com i.e. i w

Session start

2002-10-29 Thread Mauro Daniel Ardolino
Hello! I'm confussed about when does a session starts. For example I have a simple servlet that keeps a count of the times it was called session by session. So it uses the HttpSession requesting it to the servlet request. Browsing with netscape on a linux gui, opening 2 browsers, calling the sam

Compatibility between Windows and Linux tomcat

2002-10-29 Thread Bertus Keyser
Hallo I would like to know if there are any compatibility issues between running Linux Apache with mod_jk and running Tomcat on Windows with the ajp13 protocol. Bertus Keyser IMPRESS SOFTWARE (SA) Peter Place Park Bryanston, Johannesburg Phone +27 11 706-0339 Fax +27 11 706-8753 Mobile +

Apache/Tomcat and Internationalization

2002-10-29 Thread Bryan Vannortwick
I am trying to use internationalization with an Apache & Tomcat configuration & am having a problem getting it to work properly. The config is (all machines Win2000): Browser (IE 5.5 - set to Japanese) ---> Apache 1.3.26 --> Tomcat 4.0.4 (our application installed & running via Tomcat )

[4.1.14] New test milestone released

2002-10-29 Thread Remy Maucherat
A new test milestone of Tomcat 4.1 has just been released. Please help test this upcoming Tomcat release for compliance issues and other problems. Downloads: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.14/ Significant changes over 4.1.13 include a security manager bugfix. Over

RE: Autoreload of .war archives on Tomcat 4.0

2002-10-29 Thread Deepa Raja
This is not possible. War will not be deployed if the webapp folder for the war already exist. It does not matter whether the war has been modified or not. For a new war to be deployed the webapp folder for that war (if any exist) is to be removed and tomcat is to be restarted. Also note : Tomcat w

Autoreload of .war archives on Tomcat 4.0

2002-10-29 Thread Andrea Carpani
Hi all, I've got a standard tomcat layout where I can deploy war applications on the "webapps" dir. This archive is decompressed and used by tomcat and works fine. What I'd like to do is to change the war file (without removing the expanded directory tree and without restarting tomcat) and have t

RE: Force One page to not use SSL

2002-10-29 Thread Rustad, Aaron
OK, let me explain the real problem then. What I really want to do is download a bunch of jars for an applet, however, doing this over HTTPS is driving my nuts!!! Can I somehow use HTTP to get the jars and still have the page that the applet resides in HTTPS? Thanks again! Aaron. -Original Me

Re: Configure JNDI

2002-10-29 Thread Garrett Smith
Mohan, By having the configuration inside of your context in server.xml, I don't think it's possible. I tried jocl, but couldn't get it to work with tc. Craig McClanahan advised me to set up a context in server.xml instead to using jocl. This makes it very time consuming to develop webapps, and

Re: Tomcat 4.1.12 hanging under stress?

2002-10-29 Thread Ben Ricker
On Mon, 2002-10-28 at 20:24, William Lee wrote: > Hmm, it may have something to do with the kernel, I'll try later to see > whether this is the case. I don't think the log gives me much though. > Anyhow, I've made a weird discovery that I found interesting. After the other info you gave me, I

RE: DbcpDataSourceFactory: driverClassName is required

2002-10-29 Thread pqin
Can you send us the log file? Usually it contains info about when to load jndi, params etc. that might help figuring out what went wrong during jws startup. Regards, Phillip Qin Software Developer Canadian Shareowner 121 Richmond Street W, 7th Floor Toronto, ON M5H 2K1 (416) 595-9600 ext 291

RE: DbcpDataSourceFactory: driverClassName is required

2002-10-29 Thread John Ruffin
msbase.jar, mssqlserver.jar, and msutil.jar are in common/lib. Again, class.forname works but not JNDI. -Original Message- From: [EMAIL PROTECTED] [mailto:pqin@;shareowner.com] Sent: Tuesday, October 29, 2002 8:22 AM To: [EMAIL PROTECTED] Subject: RE: DbcpDataSourceFactory: driverClassN

Enabling users home directory for applets

2002-10-29 Thread Dan Didier
Hi, I have tomcat4 installed and working with j2sdk-1_4_1_01 I would like to give access to a system user to develop and publish their own servlets. Does anyone know where I can find documentation on this? I have looked throught the documentation, and have not seen an exact match to what I

RE: Where to put Java files/classes

2002-10-29 Thread Michael Schulz
Classes that you develop for use with your .jsp pages are normally placed in the $CATALINA_HOME/webapps/yourwebapp/WEB-INF/classes folder. This is the standard place for classes and this requirement is documented in the Java Servlet Specification Version 2.3, section 9.5, which is available for d

RE: DbcpDataSourceFactory: driverClassName is required

2002-10-29 Thread pqin
Rename jdbc to .jar and put in common/lib Regards, Phillip Qin Software Developer Canadian Shareowner 121 Richmond Street W, 7th Floor Toronto, ON M5H 2K1 (416) 595-9600 ext 291 -Original Message- From: John Ruffin [mailto:John.Ruffin@;AccredoHealth.com] Sent: October 28, 2002 5:

RE: JDBC driver class 'null' error

2002-10-29 Thread pqin
Rename jdbc driver package to .jar and put in common/lib Regards, Phillip Qin Software Developer Canadian Shareowner 121 Richmond Street W, 7th Floor Toronto, ON M5H 2K1 (416) 595-9600 ext 291 -Original Message- From: Sinclair, Alan (CORP, GEAccess) [mailto:alan.sinclair@;geaccess

RE: tools to monitor a tomcat application

2002-10-29 Thread Shapira, Yoav
Hi, >Try radar... > >http://radar.sourceforge.net/ Is Radar still in active development? It says on their site they support Tomcat 3.2, which is old. Whether they are or not in active development, perhaps the folks who helped with Radar could put up their hands and help with the tomcat admin we

RE: Differences Coyote/JK2 AJP1.3 vs AJP 1.3 Connector

2002-10-29 Thread Ralph Einfeldt
The difference is the internal structure. Ajp13Connector is the the older, more proven solution but has some architectural problems. CoyoteConnector is an new connector architecture. The CoyoteConnector itself is protocol independend and uses external classes to speak the protocol. The CoyoteCo

RE: shared jars amongst web apps.

2002-10-29 Thread Cox, Charlie
sounds like you want each webapp to have its own instance of statics,singletons,etc within your jar. In order to do this, you will need to copy the jar into each WEB-INF/lib where it is needed (and allow each with catalina.policy if applicable) Charlie > -Original Message- > From: Frank D

RE: Tomcat losing connection capabilities/not being able to shutdown

2002-10-29 Thread Shapira, Yoav
Hi, >able to access MySQL databases from other servers with the servlets that >I've programmed. However, after a time, it cannot seem to connect to the Are there any error messages? >databases through servlets, yet when I run Java standalone equivalents of >the servlets, they connect to the dat

Differences Coyote/JK2 AJP1.3 vs AJP 1.3 Connector

2002-10-29 Thread "Thébault, Médérick"
Hello, What is the difference between those two connectors : Both are in the Tomcat server.xml release. In trying to setup Tomcat 4.1.12, Apache 2.0.42 amd mod_jk2, I went to choose of one of this connector and could not make my mind. I had to try and see which one is the right. Does anyone

RE: [urgent]Help pleeeeez--context problem--logfiles attached

2002-10-29 Thread Shapira, Yoav
Hi, Without looking at your files, what happens if you don't add your context to the server.xml? What non-default context properties are you using? It would be helpful if you could post only the relevant portions of your configuration, i.e. just your entry. A lot of people, including myself,

Tomcat 4.1.12 + FreeBSD 4.7 + Linux-sun-jdk1.4.1

2002-10-29 Thread Nicholas Hemley
Hi, Is anyone else running this configuration successfully since Tomcat will not run as anything other than 'root' due to a HotSpot problem. Cheers, Nic Hemley NHS Lothian Webmaster ** The information contained in this messa

RE: AJP13 ..You must Read this !

2002-10-29 Thread Sigurður Bjarnason
nop.. there is not ! :( siggi -Original Message- From: Andy Eastham [mailto:andy.eastham@;gliant.com] Sent: 29. október 2002 12:02 To: Tomcat Users List Subject: RE: AJP13 ..You must Read this ! It's not something to do with line feeds / carriage returns is it? Andy > -Original M

accessClassInPackage.org.apache.catalina.realm permission

2002-10-29 Thread Renato
Hi all, One of my users is asking for the following permission in his context java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.realm) He is using the securityfilter.jar library I'm using Tomcat 4.1.12 with SecurityManage

Re: VerifyError when creating Struts action bean

2002-10-29 Thread Steinar Bang
> Steinar Bang <[EMAIL PROTECTED]>: >> Platform: Intel PIII, RedHat 7.2, apache 1.3.20, ajp1.3 >> tomcat 4.1.12, BlackDown Java SDK 1.3.1, >> Struts 1.1-b2, xerces-j 1.4.4 >> When I run with tomcat 3.3 my webapp run as expected, but when I try >> it with tomcat 4.1.12, I g

Re: Filters, MVC, ResultSets

2002-10-29 Thread Felipe Schnack
Of course there is copying, or you'll never could be disconnected :-) And actually, jxutil uses an ArrayList... better than a Vector, as it isn't synchronized, but If you don't need unordered readings, an LinkedList would be much faster, IMHO On Tue, 2002-10-29 at 10:09, V. Cekvenich wrote: >

Re: Filters, MVC, ResultSets

2002-10-29 Thread V. Cekvenich
Or a disconected rowset, so no copying. Ex:http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/src/basicWebLib/org/commons/DAO/BasicDAOImpl.java?rev=1.2&content-type=text/vnd.viewcvs-markup .v Felipe Schnack wrote: I think a LinkedList would be better performance-wise,

  1   2   >