MD5 returns 16 bytes???

2002-09-06 Thread Josh G
Anybody here have any idea why MD5 returns 16 bytes in Java? Should I just give up on using MD5 from java full stop? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: MD5 returns 16 bytes???

2002-09-06 Thread Joe Tomcat
On Thu, 2002-09-05 at 20:32, Josh G wrote: Anybody here have any idea why MD5 returns 16 bytes in Java? Should I just give up on using MD5 from java full stop? It sounds to me like it is working! MD5 is exactly 16 bytes, so if you're getting 16 bytes, it works. If you want to turn those

Re: MD5 returns 16 bytes???

2002-09-06 Thread Josh G
Never mind me, every MD5 I've seen before returned a hex string, i didn't expect it to return a really big int :) On Fri, 2002-09-06 at 16:32, Josh G wrote: Anybody here have any idea why MD5 returns 16 bytes in Java? Should I just give up on using MD5 from java full stop? -- To

Re: manually set cookie path for JSESSIONID

2002-09-06 Thread Benny Lootens
Hi Milt, I understand it now, and I'm just gonna make different contexts for different hostnames, eg www.domaina.com would refer to context /domaina and www.domainb.com would refer to context /domainb. Thank you for the quick answer ! greetings, benny lootens -- To unsubscribe, e-mail:

Start Tomcat as non ROOT

2002-09-06 Thread Joern . Karthaus
Hello List I have a simple problem when Starting Tomcat as user Tomcat. the Owner of all Files under Tomcat is user Tomcat, the Group is Tomcat. When I try to start Tomcat from Tomcat.sh under /etc/init.d some Error mesages come up Tomcat has no privilegies to compile... When I start under

RE: RE: RE: Problems with class loader

2002-09-06 Thread Juergen . Praska
Hi Charlie, thanks for your mail. After some heavy thinking (gee, this topic lasted longer than expected! :-) ), we came to the following conclusion: We will copy the HashTable.class to the application library. We believe this is the best we can do because (1) we maintain the concept of

Problem related to closing Database connection

2002-09-06 Thread muralipn
Hello I have opened a database connection and how to do I close this connection a. when the server is closed normal through proper shutdown process like in Tomcat 4.0 , shutdown.bat b. when the server is closed abnormally say crashed because of some action In the above

Re: Problem related to closing Database connection

2002-09-06 Thread Benny Lootens
Hi Murali, The only proper way to this, is to add a shutdownhook. This is an ordinary thread-class (a class that implements Runnable), that will automatically be executed at the end of the current jvm, even when it's crashed. You can in the thread-class close your database connections. When

RE: Starting and stopping Tomcat as non-root

2002-09-06 Thread Javier Rodriguez
Try redirecting port 80 to Tomcat's defaults: http://jetty.mortbay.org/jetty/doc/User80.html -Mensaje original- De: Joe Tomcat [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 06 de septiembre de 2002 7:39 Para: Tomcat Users List Asunto: Starting and stopping Tomcat as non-root I am

RE: Apache + Tomcat multiple instances

2002-09-06 Thread Vincent . Gaboriau
We have quite the same problem as you. So, We want to compare the performance between one and two instances. We have already done a two instances configuration, but we want to know if there is another way to do that and if it's more performant. -Message d'origine- De : Ekkehard Gentz

Re: Solved! Re: Basic authentication and custom 401 Not Authorizederror page

2002-09-06 Thread Ben Walding
It can be made to work... Put the error-page directive in as per web.xml spec On the jsp / servlet it points at, response.addHeader(WWW-Authenticate, BASIC realm=\ + realm + \); response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); and then write custom page And it

Re: RE: RE: Problems with class loader

2002-09-06 Thread Rodrigo Ruiz
Just an idea: I would create a subclass of Hashtable, rewriting serialization code so it won't call Hashtable code. I mean something like this: private void writeObject(ObjectOutputStream out) throws IOException { out.writeInt(this.size()); for (Enumeration keys = this.keys();

Proxy Servlet

2002-09-06 Thread Ramazan Yildirim
Is it possible to develop a proxy servlet on Tomcat that you could access HTTP request as a raw stream (both header and the body) (not wrapped with HttpServletRequest object) and generating the HTTP response as it is in Non- Parsed CGI scripts. What I want to do is a dummy HTTP proxy: 1) You

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Donie Kelly
C:\java -version java version 1.4.1-beta Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14) Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode) It's not so cool when you NEED it to work. Ok, maybe I'm too bleeding edge. I need to take the foot off the throttle :)

When using %@ include file=xxx.jsp %, Japanese character is corrupted.

2002-09-06 Thread Kimihiko . Kitase
Hello, Does anyone know good workaround? Environments == Redhat 7.2 Japanese j2sdk-131_02 jakarta-tomcat-3.2.4 Brief description == I use test.jsp which call include file (include.jsp) as include file. And charset is defined as euc-jp in that include

RE: Manger problem when integrate Tomcat 4 with IIS

2002-09-06 Thread admin
Could it be your NT domain name? Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Shan Fu [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 10:52 PM To: [EMAIL PROTECTED] Subject: Manger problem when integrate Tomcat 4

Help in Tomcat4.0.3

2002-09-06 Thread Santosh Kulkarni
Hi, I'm using Tomcat 4.0.3 as my app server. I want to configure my server in such a way that any internal servlet error or stack traces thrown by a jsp should not be displayed on the web browser. Though I have taken care to catch exceptions and display proper error messages om the browser, there

Re: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Ronald Klop
Hello, I've seen the same problem by a colleague. He installed JDK 1.4 next to JDK 1.3 and mixed the standard classpaths of both JDK's. JDK 1.4 uses a new class-file format. JDK 1.4 is backwards compatible, but you must use its own standard classes. So, make sure your old JDK is completely

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Donie Kelly
I'm doing a good cleanout at the moment. I'm rebuilding all my jar's and removing every class file that is linked to my source. I've also downgraded to JDK 1.4.0 so that I minimise my problems. I'll let you know if this is the solution. Donie -Original Message- From: Ronald Klop

SSL Port for Tomcat

2002-09-06 Thread [EMAIL PROTECTED]
Hi, How can i configure TomCat to accept HTTP and HTTPS traffic at the same port (80)? Is it necessary that it should be in two different ports? Thanks, Hari.

RE: SSL Port for Tomcat

2002-09-06 Thread Donie Kelly
You should use 443 for SSL as Tomcat has to encrypt the traffic. If you wanted to only use SSL you could use 80 but it's impractical as you only need to use it when the data you're sending is sensitive plus it's be very slow as SLL uses a fair bit of CPU. All firewalls should allow 443 traffic to

Re: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Ronald Klop
I can tell you I've Tomcat 4.0.4 and JDK 1.4.1 running. So it does work. And I also use a lot of third-party packages compiled under previous JDK's, so that's not a problem. Just don't mix the base classes and make sure you don't run JDK 1.3 with the JDK 1.4 classes accidently. Windows is a

ArcIMS + Tomcat 4.1.x + Apache2 + mod_jk2 on Windows How To

2002-09-06 Thread Robert L Sowders
For those who are embarking into the murky waters of ArcIMS and Tomcat, here's a guide that should get you there. ftp://pokey.wr.usgs.gov/pub/rsowders/ArcIMS4_Win2k_TC4.1.10_J2sdk.zip ArcIMS4_Win2k_TC4.1.10_J2sdk.zip Description: Zip archive -- To unsubscribe, e-mail: mailto:[EMAIL

RE: SSL Port for Tomcat

2002-09-06 Thread [EMAIL PROTECTED]
Thanks Donie, I changed the port for SSL to 443 instead of 8443, now it automatically switch between HTTP and HTTPS; user does not have to specify the port number in the URL. Thank you very much for the help. Hari. -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent:

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Donie Kelly
Hi all I've downgraded the JDK to 1.4.0 but I'm still getting the following errors when executing the jsp pages. I can access the servlets that generate HTML specifically because I have some mapped to URL's so the problem is only happening when Tomcat tries to compile the JSP's. Thanks for any

[ANNOUNCEMENT] Tomcat 4.1.10 Stable

2002-09-06 Thread Remy Maucherat
The Apache Tomcat team is proud to announce that, after nearly one year of active development, the first stable release of the Tomcat 4.1.x branch has been released. Over Tomcat 4.0, Tomcat 4.1 includes: * JMX based administration features * JSP and Struts based administration web application

Re: What about setting a script/servlet/jsp timeout?

2002-09-06 Thread Glenn Nielsen
Nicholas Orr wrote: Well is there a way to isolate it to a context?? Reason I'm asking is in IIS it lets you specify a script timeout value, I was just wondering if there is a similar feature in Tomcat. NO Nicholas Orr -Original Message- From: Glenn Nielsen [mailto:[EMAIL

Adicional configuration when using IIS redirection.

2002-09-06 Thread Rafael Gava de Oliveira
Hello, I´ve configured TomCat 4.0.4 to work with IIS. Everything is working fine but I didn´t setup a Connector in Server.XML. Is it ok? Do I have to setup a connector? Or if would like to setup a number of connections (threads), Do I have to setup a connector?

RE: SSL

2002-09-06 Thread Turner, John
Running daemons (server processes) as root is generally a bad thing. If those processes have holes that are exploited, causing the process to fail or behave incorrectly, those processes will fail or behave incorrectly as root. This is undesired behavior. Only root can bind ports 1024. The

RE: Apache2 and Tomcat4 or different machines...

2002-09-06 Thread Turner, John
You don't, as far as I know. You will need mod_jk.conf on the Apache box. In addition, you will need to change the host value in workers.properties to point to the FQDN of the machine hosting Tomcat. I guess you could always set up some sort of NFS share, and share out a location on the Tomcat

RE: Start Tomcat as non ROOT

2002-09-06 Thread Chaudhuri, Hiran
Hi, Joern. Does this error message pop up only when a JSP needs to be initialized? It may help then to have a look at the access priviliges for the Tomcat Work Directory. Maybe your desired user id has no write access there... Hiran - Hiran Chaudhuri

RE: mod_jk.conf file is not created

2002-09-06 Thread Turner, John
Right. That line simply sets up a Connector. Auto-generation of a mod_jk.conf file is handled by a Listener element in server.xml (or in this case tomcat4-service.xml, I think). Manoj, this is explained in the docs: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html Look for

RE: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-06 Thread Turner, John
As an aside, the delays you've been experiencing integrating Apache with Tomcat are related to your OS (AIX) and the connectors' build scripts not being AIX-friendly, not to either Apache or Tomcat. Integrating Apache with Tomcat with either mod_jk or mod_webapp is actually quite simple, and

RE: Tomcat shutdown security

2002-09-06 Thread Shapira, Yoav
Hi, How about not letting any regular user execute bin/shutdown.sh? ;) ;) ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Przemyslaw Wegrzyn [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 6:53 PM To: [EMAIL PROTECTED] Subject: Tomcat shutdown

RE: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-06 Thread Turner, John
See Peter's reply for the answer to your AddModule error. I just wanted to point out that Apache 2.0.39/40 and Tomcat 4.x is a known-working configuration with mod_jk, on all sorts of UNIX variants including Solaris 7 and 8. Also, you want to put your mod_jk.so in $APACHE_HOME/modules, not

mod_webapp question

2002-09-06 Thread Chad Kellerman
Hello everyone, A few months ago I installed Tomcat 4.0.* on a virtual hosting server (linux) using apache and the web_app module. I chose the web app module because I remember hearing good things about it and it seemed that it was being developed more then the others. I was just

RE: Starting and stopping Tomcat as non-root

2002-09-06 Thread Turner, John
Wow. Not to start a debate, but that's the silliest statement I've seen in awhile. If you don't like how it works, change it. You have the source. John -Original Message- From: Joe Tomcat [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 1:39 AM To: Tomcat Users List

Apache 2.0 and Tomcat 4.0.4 - Compiling mod_jk problem

2002-09-06 Thread Claude Coiffier
Hi, I'm working with Apache 2.0 and Tomcat 4.0.4, I've been trying to execute build-unix.sh to compile mod_jk under Linux, and I get the following error : ... /usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_jk.so -rpath /usr/local/apache2/modules -module -avoid-version

RE: Starting and stopping Tomcat as non-root

2002-09-06 Thread Sexton, George
Lately, I have been thinking of writing a JNI library to call setuid() and setgid() to change the effective user ID and group ID of the process after it starts. I'm not sure how this would affect the various startup and shutdown scripts, but it would be interesting from a security standpoint.

Re: Starting and stopping Tomcat as non-root

2002-09-06 Thread Ben Souther
How would Not allowing non-root users to bind to Ports 1024 result in breakins? The only way I could see that happening is if a lazy Unix admin just ran everything as root. In that case, you certainly can't blame the OS. - Original Message - From: Turner, John [EMAIL PROTECTED] To:

RE: Starting and stopping Tomcat as non-root

2002-09-06 Thread Turner, John
I agree, it would be an interesting project. I don't think the startup and shutdown scripts would be affected all that much at all. I'm running all of my Tomcat instances as a non-root user. As long as the directory permissions (work directory, etc) are OK, there shouldn't be any issues

Tomcat 4.1.10 startup exception

2002-09-06 Thread lee ballancore
Has any one experience the same error message if so is it fatal i have just installed Tomcat 4.1.10 on startup it throws this exception 06-Sep-2002 14:06:53 org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information 06-Sep-2002 14:06:53

RE: Apache 2.0 and Tomcat 4.0.4 - Compiling mod_jk problem

2002-09-06 Thread Turner, John
Cool error! Which build process are you doing? I don't have a build-unix.sh in my dir tree. On a Linux (I use RH), you should be able to simply do the following: - change to /path/to/connector-src/jk/native - run buildconf.sh - run ./configure --with-apxs=/some/path/to/apache2/bin/apxs

Tomcat war files

2002-09-06 Thread Simha, Kailas
Hi all, I am trying to load a dbprops file located within a context in a war file, without unpacking the war file. I am able to load the war file into memory (unpack option set to false ), but I am unable to read the dbprops file. Where should it be located and how should it be called? I am

re: Starting and stopping Tomcat as non-root

2002-09-06 Thread Michael E. Locasto
Alternatively, is there a way to make Linux so that it lets any user bind to any port? So you don't mind one of your machine's users (or a cracker who has guessed a bad password) installing their own little fake webserver on port 80 that does {pick your poison}? The practice of allowing only

Load Balancing Tomcat 3.2.3

2002-09-06 Thread IPSheen
Hi, I am currently trying to install and configure Tomcat 3.2.3 in a Load Balanced configuration across two Solaris Servers. I have tried to find a documented procedure for this but no joy. Does anyone have such procedure? Thanks in Advance, Ian. -- To unsubscribe, e-mail: mailto:[EMAIL

Configuring HTTP Connector

2002-09-06 Thread David LAGARDERE
Hello. I've tried to configure a connector different from ajp12 but evry time it didn't work. I didn't find any documentation about this and I would like to now what do I have to do with workers.properties, uriworkermap and server.xml files. I'm using IIS 5 + Tomcat 4.0. Last question : what

tomcat as nt serice

2002-09-06 Thread Pragnesh Kumar
Hi All Tomcat User and Developper. This is Pragneshkumar Gandhi from India I am facing very tough time with tomcat. From last 15 days i am trying to install tomcat as nt service but no LUCK. i have tried Javaservice and Javaserv bcoz initially i had used jdk.1.3.1 but now i shifted to

session problem

2002-09-06 Thread nuthankumar
dear sir/madam Sub:problem with session In tomcat3.3.1 i have Hosting of www.nut.com,www.han.com, etc,.,Jsp pages are different for both,but the servlet are common for all other hosting . i,e way i keept all the servlet in root directory.i,e webinf/classes. Calling of servlet throug jsp is

connecting tomcat to apache (newbie)

2002-09-06 Thread Machollinger1
Hey there; I'd like to be able to use tomcats capabilities to develop my website on apache... jsp etc tomcat 4.0.1and apache 1.3.26 both workingany ideas thanx Mac -- To unsubscribe, e-mail: mailto:[EMAIL

RE: Configuring HTTP Connector

2002-09-06 Thread Turner, John
The HTTP connector is for Tomcat to run in stand-alone mode. It's called a Connector, but the things it is connecting are Tomcat and the client browser, not Tomcat and Apache (or IIS). So in your scenario, you won't use Tomcat's HTTP connector. For a doc on IIS and Tomcat 4, check here:

RE: connecting tomcat to apache (newbie)

2002-09-06 Thread Turner, John
Which OS? Search the archives, this comes up several times a day. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 12:35 AM To: [EMAIL PROTECTED] Subject: connecting tomcat to apache (newbie) Hey there; I'd

Re: tomcat as nt serice

2002-09-06 Thread Ben Souther
One workaround might be to create a batch file that starts tomcat when the NT box boots up. You can alter the catalina.sh script in TOMCAT_HOME/conf to use javaw instead of java, you eliminate that persistant DOS window hanging around on the machine. All output with Tomcat 4x gets directed to

Re: Tomcat 4.1.10 startup exception

2002-09-06 Thread Ben Walding
I had the same problem... in my case, the validator for the server.xml (or the fragment for your application) seems to have become a lot tighter. I chopped bits out of my server.xml fragment until it started up and tracked it down to an environment tag... I hadn't set the data type on it...

RE: session problem

2002-09-06 Thread Vincent . Gaboriau
What do you hear about the sessions aren't working? A user working just on the www.nut.com (for exemple) have no session? Or a user working on the www.nut.com loose his session when he's passing on the www.han.com? -Message d'origine- De : nuthankumar [mailto:[EMAIL PROTECTED]] Envoye :

Re: Configuring HTTP Connector

2002-09-06 Thread Milt Epstein
On Fri, 6 Sep 2002, David LAGARDERE wrote: Hello. I've tried to configure a connector different from ajp12 but evry time it didn't work. I didn't find any documentation about this and I would like to now what do I have to do with workers.properties, uriworkermap and server.xml files. I'm

RE: Why should I move from Tomcat 3.x to Tomcat 4.x

2002-09-06 Thread Gill, John
I've found that Tomcat 4.x has been easer to install. I have been using it to train people (non-techs) on web services and it is much easer to take them through this than the 3.x series. John W. Gill These comments are my own, and do not represent any opinion or commitment of my employer.

RE: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-06 Thread Milt Epstein
On Fri, 6 Sep 2002, Turner, John wrote: As an aside, the delays you've been experiencing integrating Apache with Tomcat are related to your OS (AIX) and the connectors' build scripts not being AIX-friendly, not to either Apache or Tomcat. Integrating Apache with Tomcat with either mod_jk or

Re: manually set cookie path for JSESSIONID

2002-09-06 Thread Milt Epstein
On 6 Sep 2002, Benny Lootens wrote: Hi Milt, I understand it now, and I'm just gonna make different contexts for different hostnames, eg www.domaina.com would refer to context /domaina and www.domainb.com would refer to context /domainb. OK, that should work (although I don't really know

RE: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-06 Thread Turner, John
Agreed. That said, if you have a binary for AIX for mod_jk, I will be glad to host it for download by others. That would do a lot to making my claim of simple and quick more of a reality. ;) John -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-06 Thread Shah, Kishor (Kishor)
On the same subject, if you need the binary for mod_jk for Solaris 8 platform, let me know and I'll send you. Kishor -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:25 AM To: 'Tomcat Users List' Subject: RE: configuring 4.0.4 with

RE: configuring 4.0.4 with Apache 2.0.40 (mod_jk)

2002-09-06 Thread Turner, John
Sounds good. I'll host that one, too. Please let me know which Apache it works with (1 or 2). GZip it and send it in. Thanks. John -Original Message- From: Shah, Kishor (Kishor) [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:29 AM To: 'Tomcat Users List'

Start Tomcat from Script

2002-09-06 Thread Joern . Karthaus
Hello List I have a simple problem when Starting Tomcat as user Tomcat. the Owner of all Files under Tomcat is user Tomcat, the Group is Tomcat. When I try to start Tomcat from Tomcat.sh under /etc/init.d some Error mesages come up Tomcat has no privilegies to compile... When I start under

RE: Start Tomcat from Script

2002-09-06 Thread Turner, John
As previously posted, check the permissions on the Tomcat work directory. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: Start Tomcat from Script Hello List I have a

how to uninstall Apache?

2002-09-06 Thread Manoj Kithany
Hi Experts, How can I uninstall Apache on Unix System...? Can 2 copies of Apache work on system or do I have to install one of them? THANKS! Manoj G. Kithany _ Chat with friends online, try MSN Messenger:

Help with the boss..pleas help

2002-09-06 Thread Rick Reumann
Without getting into the long soap opera here at work, can someone point to me any information regarding a comparison between Tomcat and Oracle's OC4J. We had all kinds of problems with OC4J here at work and I was running Tomcat fine locally on my machine, so when the crap hit the fan, I was

RE: Apache 2.0 and Tomcat 4.0.4 - Compiling mod_jk problem

2002-09-06 Thread Claude Coiffier
Uh sorry, the error log seems to have disappeared between my sending it and my ail being posted ! :) To say it short, it's in the last line of the compilation (the 'link' line), I get /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' mod_jk.o: In

RE: Apache 2.0 and Tomcat 4.0.4 - Compiling mod_jk problem

2002-09-06 Thread Turner, John
No, I saw it. I deleted it in my reply, as there was no need to keep sending it back and forth. Which build process are you using? Which Linux? I am using RedHat, and I don't have a build-unix.sh in my dir tree. John -Original Message- From: Claude Coiffier [mailto:[EMAIL

RE: how to uninstall Apache?

2002-09-06 Thread Turner, John
Depends on the ports. You can have as many Apaches running as you have available ports. If you only want to use port 80, you can only have one Apache running at a time. There's no need to install Apache #1 to run Apache #2 on port 80...just don't start Apache #1 and instead start Apache #2.

RE: how to uninstall Apache?

2002-09-06 Thread Vincent . Gaboriau
If you have installed Apache to run as a service, it's better to remove the Apache service before uninstall. -Message d'origine- De : Turner, John [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 6 septembre 2002 16:59 À : 'Tomcat Users List' Objet : RE: how to uninstall Apache? Depends

RE: Bringing up DBCP pooling again

2002-09-06 Thread Andrew Conrad
You might get more responses if you post it to [EMAIL PROTECTED] - Andrew -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 4:38 PM To: Tomcat Users List Subject: Bringing up DBCP pooling again Just bringing up a question I

RE: how to uninstall Apache?

2002-09-06 Thread Turner, John
Right. Sorry, I have a habit of taking some things for granted. I assume someone who has root knows about services, etc. That's probably not a wise assumption to make. ;) John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002

RE: Tomcat shutdown security

2002-09-06 Thread Rui Fernandes
The shutdown.sh is a file and its access can be protected. What were your expectations? - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 06, 2002 2:40 PM Subject: RE: Tomcat shutdown security Hi, How about not

RE: how to uninstall Apache?

2002-09-06 Thread Manoj Kithany
Hi John, I am confused between your previous reply and this one? Earlier you said I don't need to remove apache 1 if I have apache 2 and now you say about Apache Service - kindly clarify!!! THANKS! From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To:

TOMCAT DIE ???

2002-09-06 Thread hcaparros
Hi, We are running TOMCAT with Win 2000 is is our configuration : service pack of windows 2000 server version 5.0.2195 :pack 2 build 2195 Tomcat 4.0.1 version 1.1.2.13 The problem is TOMCAT dies ! This is like that from the begining of our development from feb. 2002. The

Re: TOMCAT DIE ???

2002-09-06 Thread Tim Funk
Not a tomcat error: You have custom code calling native libraries and the native libraries are causing your woes. Look at the stack trace in your message to back trace the Native code that is being called. [EMAIL PROTECTED] wrote: Hi, We are running TOMCAT with Win 2000 is is our

RE: how to uninstall Apache?

2002-09-06 Thread Turner, John
Whew...you're root on this box? This is basic sys-admin stuff. Most people run Apache as a service on startup. If you take my comments literally, you might delete the apache directory tree without deleting the startup call to Apache. Then, the next time you reboot, you will get error

Running a long transaction with tomcat but responding to user quickly

2002-09-06 Thread Donie Kelly
Hi all I want to run a long transaction which lasts about 2 seconds with tomcat but after I have gathered the information from the request I want to return 200 OK to user and close the connection to the browser. However, the thread should continue to process the request and when finished it

Apache SOAP deployied in Tomcat, a little question

2002-09-06 Thread Lucioni Lorenzo
Hi, I've just installed Tomcat 4.0.4 and I deployed Apache SOAP 2.3.1 successfull. When I try to have any of SOAP function (list of application or deploy or un-deploy) I have java errors due to an incorrect class-path. It means, for example, jasper doesn't fount tools.jar or mail.jar ... I have

Thanks!(RE: how to uninstall Apache?)

2002-09-06 Thread Manoj Kithany
Hi John, THANKS for the detailed INformation - it's clear now - really appreciate that! THANKS again! Manoj G. Kithany From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: how to uninstall Apache? Date:

Best recommendation for DataSource / Connection Pooling

2002-09-06 Thread Curwen, Michael
Hi everyone, Before you admonish me to search the archives, I've done so, and I've seen a few posts on tyrex/commons. When I read the documentation for TC4.1.10, http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/RELEASE-NOTES I see that Tyrex has been upgraded to 1.0

How to make apache work both for https

2002-09-06 Thread Raj Mettai
Hi all, I have Installed Apache2.0.39 from source and configured with Tomcat4 using mod_jk on solaris8, I want to make Apache work with both http and https, can some one please tell me how to create and install a test certificate on apache and possible changes to conf files to make https

tomcat 4.1.0

2002-09-06 Thread Dionisio Ruiz de Zarate
the new tomcat 4.1.0 what uses? the mod_jk or the mod_webapps? (linux) thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: How to make apache work both for https

2002-09-06 Thread Turner, John
http://www.modssl.org/docs/2.8/ Apache 2 has mod_ssl built in, I believe. John -Original Message- From: Raj Mettai [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 12:02 PM To: [EMAIL PROTECTED] Subject: How to make apache work both for https Hi all, I have

RE: tomcat 4.1.0

2002-09-06 Thread Turner, John
Any. John -Original Message- From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 12:06 PM To: Tomcat Users List Subject: tomcat 4.1.0 the new tomcat 4.1.0 what uses? the mod_jk or the mod_webapps? (linux) thanks -- To

RE: Url Mapping with mod_jk

2002-09-06 Thread Anthony Milbourne
Hi Thanks for that help - I now realise more about how the server.xml works. I have done what you said and my webapp now appears in the root url when I connect direct to Tomcat (which is great). Unfortunately when I connect via Apache I get back the JSP source, as if it has not gone through

Re: Running a long transaction with tomcat but responding to userqui ckly

2002-09-06 Thread Ronald Klop
Try something like this in your servlet. void doGet(request, response) { ... // Get request info ... out = response.getOutputStream(); out.write(htmlbodyHello, everything is ok./body/html); out.close(); ... // Do the transaction

RE: Url Mapping with mod_jk

2002-09-06 Thread Turner, John
Actually, posting your mod_jk.conf file would be of more help...that's where the JkMount directives that aren't working should be. You have the Listener elements (*.ApacheConfig) in your server.xml. There's no need to have anything in httpd.conf except: Include

RE: Problem running Tomcat 4.0.4 under JDK 1.4.1

2002-09-06 Thread Ganey, Todd
Do you have the correct tools.jar in your $TOMCAT_HOME\common\lib folder? To me it sounds like you have an older JDK tools.jar in your folder. Just copy the correct jdk tools.jar from the $JDK_DIR\lib\tools.jar into the tomcat\common\lib. Hope that helps, Todd Ganey -Original

RE: Load Balancing Tomcat 3.2.3

2002-09-06 Thread Anthony Milbourne
Hi I found a reasonably good article on this at http://www.ubeans.com/tomcat/. It covers Tomcat 4.0.2 so there may be some differences but I imagine the mod_jk bits will be the same. -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: 06 September 2002 13:29

RE: JDBC connection persistence

2002-09-06 Thread William Wragg
Hi, Thanks for the input. I have tried making sure all resources are closed by closing them myself with xxx.close() but I still get connections hanging around. I will look into the DBCP, but if manually closing all the resources does not solve the problem, will DBCP? Regards, Wm. At 16:08

Help with UserTransaction using Tyrex 9.7.0/Oracle 8.1.7/Tomcat4.0.4

2002-09-06 Thread Ravindar Roopreddy
I am trying to get the UserTransaction working with Following setup : - Tomcat 4.0.4, Oracle 8.1.7 JDBC driver (classes12.zip) and Tyrex 9.7.0 I get the following exception. I tried different combinations without much luck. I saw some posts that seems to think the exception is because the

war file deployment problem

2002-09-06 Thread Dave Robbins
Hello All, kindof a newbie here so be gentle I wrote a little dummy app with Forte 4.0 that consists of a jsp page with a link that calls a servlet which does a database lookup and spews out some data. It works fine with the built in copy of Tomcat that comes with Forte. I build a war file and

Re: war file deployment problem

2002-09-06 Thread Peter Davison
Hi Dave. I think you're making this more complicated than it needs to be. Two things: 1. Try putting your war file in the $CATALINA_HOME/webapps directory rather than $CATALINA_HOME/webapps/dummy. If your tomcat installation is set up to unpack war files (this is the default) it will create

Re: war file deployment problem

2002-09-06 Thread Dave Robbins
What? Me make it more complicated than it is? surely you jest! I got it to work by putting the war file in $CATALINA_HOME/webapps/ROOT I still don't know what I'm doing but I'll be able to figure it out now that I've got something working. Thanks Dave Hi Dave. I think you're making this

Seting Classpath for Virtual Hosts with Tomcat 3.3.1

2002-09-06 Thread Joshua D. Drake
Hello, I am running RedHat 7.3, Apache 1.3.26 and Tomcat-3.3.1. I am having problems getting Tomcat to pick up new classpaths for virtual hosts. We can successfully run jsp files from the virtual hosts but once we try to add a class (for JavaBeans in this case) it fails. Here is my

Re: war file deployment problem

2002-09-06 Thread hoju
You are confusing Tomcat. If you are going to dynamically deploy your webapp, don't have the .war file sitting in $TOMCAT_HOME/webapps. Have it somewhere else. Everything in $TOMCAT_HOME/webapps is automatically deployed and, yes, it is expanded if you *don't* have a Context entry defined for

Re: war file deployment problem

2002-09-06 Thread Dave Robbins
Thanks a million for the quick feedback I've got things working now Once you see how this works it's pretty easy, but I must say getting here was kinda tuff maybe when I get a little further along I'll make up a little tutorial titled how to tie your shoes before you learn to walk before you

jsp includes in tomcat 4..........

2002-09-06 Thread Raj Mettai
Hi All, I am running tomcat4 on solaris8, when I modify an include in a jsp page (ex: header.inc) the tomcat is not recompiling the page, even after restart the changes are not coming up. If I delete .class files from work folder then tomcat will re-compile the page and the changes are

RE: Tomcat shutdown security

2002-09-06 Thread Przemyslaw Wegrzyn
On Fri, 2002-09-06 at 14:40, Shapira, Yoav wrote: Hi, How about not letting any regular user execute bin/shutdown.sh? ;) ;) ;) Nope, it's not the solution. Anyone can download tomcat, extract shutdown.sh and execute. Shutdown connects to Tomcat through a socket, so it's even possible across

  1   2   >