[ANNOUNCEMENT] JK2 Released as 2.0.1

2002-10-07 Thread Mladen Turk
Hi all, The Jakarta-Tomcat-Connector team is pleased to announce the availability of JK2 2.0.1. Binaries and source versions of the release are available and can be downloaded from : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v 2.0.1/ MT. -- To unsubscribe,

Re: Cannot view the console

2002-10-07 Thread Valera Molyakov
Hi ! $CATALINA_BASE\bin\catalina.bat run Your must setup %JAVA_HOME%. Regards, Valera. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

webdav support on Tomcat

2002-10-07 Thread bryan
Anyone know where I can find info about the level of WebDAV support on Tomcat. The example, documentation that comes with the install so far as I have found seems only to show how one can set a directory to be readonly or write enabled, what I'm looking for is information on for example: Does

RE: [ANNOUNCEMENT] JK2 Released as 2.0.1

2002-10-07 Thread Christopher Watson
Dear All, Can anyone point to or post a tomcat-iis-howto for JK2? Can I use my old-style .properties files? If not, what's the new format? Is the registry setting at HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector still current? If not what's the new one? So

Loading a dll at startup...

2002-10-07 Thread Barbara Post
Hi, I use Tomcat 4.1.12, JDK 1.3.1, Windows NT4 SP6. My webapp uses a Windows custom dll which is called by a java class (native method). It worked with Tomcat 4.0.5 with modification of setclasspath.bat to include this dll in Tomcat's classpath and path, however it doesn't work anymore with

RE: So, what does it take to register a JDBC driver for a connection pool?

2002-10-07 Thread Miguel Angel Mulero Martinez
To use the jakarta dbcp you must use the factory parameter. My example (it works perfectly): ResourceParams name=jdbc/dbpool parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter

Re: Is ajp13 connector running?

2002-10-07 Thread Raj Saini
There must be some thing wrong with your worker.properties or the configuration of apache. Please post your worker.properties and relevent part of the apache configuration. Your apache configuration may be in mod_jk.conf which is generally included in http.conf. Raj Saini Marc Vila Pérez

Re: Loading a dll at startup...

2002-10-07 Thread Raj Saini
Hi, You can echo your classpath by adding the following line in your catalina.bat file. Search for a using string and you will find the commands for echoing the CATALINA_HOME, BASE etc. Add this line just below them. echo Using CLASSPATH: %CLASSPATH% Raj Saini Barbara Post wrote:

SSL clientAuth=optional ?!?!?

2002-10-07 Thread check-mate
hi! first of all: i'm using tomcat 4.0.4 i need a client authentication based on a certificate. if the user is new he should be able to register and receive his personal key. when the clientAuth is set to true the user has no chance to be redirected to a register page maybe there is a

Action on close

2002-10-07 Thread Yuriy Stul
Hello, it is possible to specify a class what must be called (loaded) on startup (web.xml, servlet load-on-startup ...). It is working fine. My question is it possible to specify any servlet what will be loaded before Tomcat shutdown? Thanks in advance Regards, Yuriy Sr.

Re: tomcat 4.1

2002-10-07 Thread Raj Saini
Try removing the space after the equal to sign. I feel that is the problem as your JAVA_HOME is set with one space before the actuall string. Raj madhur jain wrote: hi! well now i have the tomcat(4.1.12) in c:\Tomcat4.1 and the autoexec is set JAVA_HOME= C:\jdk1.3.0_02 set TOMCAT_HOME=

Re: About WARP, HELP

2002-10-07 Thread Raj Saini
Hi, There seems to be problem with your classpath settings. Somewhere you are using the forward slashes and some where backslases. Did you modify your server.xml file? What is on the line number where catalina is reporting the error? Can you post your server.xml file? Raj Uma Maheswar

Re: Loading a dll at startup...

2002-10-07 Thread Barbara Post
I am sorry but the following echoes I indeed already have in catalina.bat don't execute : don't echo anything... why ? I read the .bat many times. The logs don't show anything abnormal... and any echo. echo Using CATALINA_BASE: %CATALINA_BASE% echo Using CATALINA_HOME: %CATALINA_HOME% echo

Re: Loading a dll at startup...

2002-10-07 Thread Raj Saini
How are you running the tomcat on NT? Are you running it from the start menu or from the desktop. If you run it from the start menu, you wont be able to see any echos on the console. Please run the tomcat from a DOS prompt with the following command:- catalina run Your should see all the

RE: Connection pool DBCP

2002-10-07 Thread john
I don't know about the particular connection pool you are using, but in general I believe the mechanism would be similar to that implemented by Sybase's Jaguar ejb/servlet engine. There a sanity check is run on each connection after it has been returned to the pool and before it is re-used. For

Double Tomcat!

2002-10-07 Thread Vincent Berruchon
Hello, is it possible to install two Tomcat server on the same machine, note that I use FreeBSD (4.6) and the agoal would be to have a development server and a production server? Got hints or tricks about that? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: SSL clientAuth=optional ?!?!?

2002-10-07 Thread Wolfgang Stein
Hi, don't have the spec at hand, but have you already tried something like: ... error-page error-code401/error-code location/IfNoClientCertThenRegister/location /error-page ... security-constraint ... user-data-constraint

RE: Double Tomcat!

2002-10-07 Thread Miguel Angel Mulero Martinez
Yes, you can if you use different ports. -Mensaje original- De: Vincent Berruchon [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 07 de octubre de 2002 11:10 Para: [EMAIL PROTECTED] Asunto: Double Tomcat! Hello, is it possible to install two Tomcat server on the same machine, note that

Re: Tomcat and JDK on FreeBSD

2002-10-07 Thread Vincent Berruchon
OK, thanks for your reply Do you mean there is a patch to use different JDK on freebsd? you seem to say that only environnement variables are important... But my Tomcat (4.0.3) is started by the www user in a rc.d script at the boot, and this user have no shell access... will it change

Re: Double Tomcat!

2002-10-07 Thread Malachi de AElfweald
Can't you just specify a different CATALINA_BASE and then different ports in server.xml Malachi 10/7/2002 2:10:03 AM, Vincent Berruchon [EMAIL PROTECTED] wrote: Hello, is it possible to install two Tomcat server on the same machine, note that I use FreeBSD (4.6) and the agoal would be

Re: Double Tomcat!

2002-10-07 Thread Raj Saini
Yes you can use as many as you want. Set the different CATALINA_BASE for each server. Create a conf, logs, work, webapps and temp directory for each CATALINA_BASE directory. copy the configration files in conf directory of each CATALINA_BASE. And change the ports of conenctors you are using

Re: Is ajp13 connector running?

2002-10-07 Thread Marc
Hi Raj, here is my workers.properties, it's located in $CATALINA_HOME/conf ps=/ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 and in my httpd.conf: ## Tomcat setup ## IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.so

Re: Is ajp13 connector running?

2002-10-07 Thread Raj Saini
What is the URL you are using? Your Jk worker will only root the *.jsp requests to tomcat. Try changing your jkMount directive to: JkMount /* ajp13 Raj Marc wrote: Hi Raj, here is my workers.properties, it's located in $CATALINA_HOME/conf ps=/ worker.list=ajp13

DefaultContext vs Context

2002-10-07 Thread Johann Uhrmann
Hi, is there a known problem / bug with defining resources in the DefaultContext? The following resource definition works in a Context-environment but won't be inherited from the DefaultContext to contexts automatically created by tomcat for war-files (and for the ant-target deploy):

Disabling cookies in Tomcat 4.1.10

2002-10-07 Thread Hee Meng, Poh
Hi, Does anyone know how to stop Tomcat from setting jsessionid as a cookie in a HTTP response? Rgds

HOW TO: How do I add a global variable in server.xml readable in all webapps?

2002-10-07 Thread Donie Kelly
Hi I want a variable to be available across all virtual hosts so I want to add it to server.xml. Is this possible? Thanks Donie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: auto deploy WAR + embedded tomcat

2002-10-07 Thread Cox, Charlie
my headers show the from as: From: [EMAIL PROTECTED] Your mail client must be inserting your name since one was not provided. Charlie -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 5:24 AM To: Tomcat Users List Subject: RE:

RE: Tomcat Problem

2002-10-07 Thread Cox, Charlie
-Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 7:16 AM To: Tomcat Users List Subject: Re: Tomcat Problem Hi Reynir, I tried it, I got this messages C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run Using CATALINA_BASE: ..

RE: What is InvocationTargetException?

2002-10-07 Thread Cox, Charlie
-Original Message- From: Ola Tuvesson [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 6:08 AM To: Tomcat Users List Subject: RE: What is InvocationTargetException? Thanks Reynir! Was possibly a problem with the servlet not finding its logfile directory. I've

RE: Not Autoloading servlets?

2002-10-07 Thread Cox, Charlie
-Original Message- From: Randy Secrist [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 06, 2002 2:25 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Not Autoloading servlets? No I did not. I only want them to load at startup - using the tag in the web.xml. I do

RE: trivial question...

2002-10-07 Thread Cox, Charlie
are you printing the headers in your servlet? If so, then no the response headers will NOT be included in the request to your servlet. Charlie -Original Message- From: Padhu Vinirs [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 3:18 PM To: Tomcat Users List Subject:

startup as www

2002-10-07 Thread chad kellerman
Hi everyone, previously I had my startup script ( /etc/rc.d/init.d/tomcat) start the tomcat server like so: code #!/bin/sh # case $1 in start) echo -n Starting TomCat 4 and httpd: su - www -c /usr/local/tomcat/bin/startup.sh sleep 5 /etc/httpd/bin/apachectl

Re: trivial question...

2002-10-07 Thread Padhu Vinirs
Then what is the use of setHeader/addHeader methods ? I dont understand how these values can be retrieved ? -- padhu Cox, Charlie wrote: are you printing the headers in your servlet? If so, then no the response headers will NOT be included in the request to your servlet. Charlie

Re: DefaultContext vs Context

2002-10-07 Thread Glenn Nielsen
Johann Uhrmann wrote: Hi, is there a known problem / bug with defining resources in the DefaultContext? Not that I know of. I use the DefaultContext for defining a DataSource which is then available to all web applications. Check your DefaultContext config. Make sure it is located

RE: trivial question...

2002-10-07 Thread Cox, Charlie
you don't need to retrieve them. The browser(and any proxy along the way) will use them in rendering/caching the page. Charlie -Original Message- From: Padhu Vinirs [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 9:17 AM To: Tomcat Users List Subject: Re: trivial

migration 4.04 to 4.05 or 4.1.12

2002-10-07 Thread CouasPhilippe
Hi, Currently i have Tomcat 4.0.4, i want know if i need to change server.xml and web.xml to migrate in 4.0.5 or 4.1.12 ? Thanks Philippe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

JK2 Installation

2002-10-07 Thread Christian Gothe
Hi! I'm looking for informations how to install JK2 for Apache. On http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configweb.html is nothing that can help me, because it is incomplete. Any ideas? Thank you, Christian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

How Erase tmp file in temp directory after few days ?

2002-10-07 Thread CouasPhilippe
Hi, How Erase tmp jar file in temp directory after few days ? I use Tomcat 4.04 on AIX 4.3.3.0 with IBM jdk 1.3.1. Thanks Philippe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Mod_JK Mod_SSL

2002-10-07 Thread Sundar Chakravarthy
Hello, It is my understanding that mod_jk and mod_ssl are pretty much independent. I have 1.3x Apache working with 4.0x Tomcat using mod_jk 1.1 on Windows 2000. I need to add mod_ssl to Apache to support secure connections . The final configuration would have both http and https enabled for

Re: startup as www

2002-10-07 Thread Kent Perrier
On Mon, Oct 07, 2002 at 09:10:05AM -0400, chad kellerman wrote: but since I moved it to RH 7.3 it prompts for a password. Does anyone know a way aroung this? I would like the tomcat server to run as user www and not prompt for a password. Run the script as root. Kent -- To unsubscribe,

Re: JK2 Installation

2002-10-07 Thread Catalin Constantin
why is this mod_jk2 so bad documented ? Catalin - Original Message - From: Christian Gothe To: [EMAIL PROTECTED] Sent: Monday, October 07, 2002 3:46 PM Subject: JK2 Installation Hi! I'm looking for informations how to install JK2 for Apache. On

Tomcat 4.0.5/JDK1.4/Solaris + Redirect to HTTPS not working

2002-10-07 Thread gautam
Hello, I am facing a problem with SSL in Tomcat 4.0.5 on Solaris (JDK 1.4). The same code works fine on Windows 2000 (TC 4.0.5, JDK 1.4). When I access the app through HTTP, it should redirect me to HTTPS. This does not happen and I get a Page cannot be displayed. Direct access through HTTPS

Tomcat start detection

2002-10-07 Thread BARBERA Florian
Hi, I launch Tomcat 3.2 as a thread in a java application. The tomcat logs appear in a window of my application. My problem is that I need to launch an action as soon as Tomcat is ready to receive requests and not before. Is there a way to ask tomcat if he has ended to launch itself ? Or if he

reload objects...

2002-10-07 Thread Padhu Vinirs
When I recompile a servlet with changes, and call the servlet, the new object is not loaded unless I restart Tomcat ( 4.1.12 ). Is there a config parameter to reload the object everytime the class is changed ? -- padhu -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Chicken and the egg

2002-10-07 Thread Turner, John
Easy there, big fella. The binary builds are certainly compatible, if you pay attention. In fact, JK2 is beta, not recommended for production. Have you read the JK2 docs? 4.1.12 supports JK and JK2, if you're under the impression that it supports JK2 only, my guess is you haven't read the

RE: [ANNOUNCEMENT] JK2 Released as 2.0.1

2002-10-07 Thread Turner, John
Is this still a beta release? John -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 3:08 AM To: [EMAIL PROTECTED]; Tomcat Users List Subject: [ANNOUNCEMENT] JK2 Released as 2.0.1 Hi all, The Jakarta-Tomcat-Connector team is

RE: passing a session from non-SSL to SSL

2002-10-07 Thread Sundar Chakravarthy
Hi, Does this mean I have to use pure https for my webapp ? Isnt there a preformance hit with pure- SSL ? I thought after I login user using SSL I could switch to non-SSL for rest of the content. This seems to be a real bottleneck. Any options ? Thanks Sundar -Original Message-

RE: HOWTO for Apache 2.0.43 and Tomcat 4.1.12 using mod_jk2

2002-10-07 Thread Turner, John
So much attitude for so early in the morning... The connectors project is completely separate from both the Apache project and the Tomcat project. In addition, you might want to pay a little more attention to other posts on the list before making assumptions...JK2 was just released in a new

Re: migration 4.04 to 4.05 or 4.1.12

2002-10-07 Thread Barbara Post
I used the three versions, nothing really to change I guess... only the context path to set up... 4.1 works better that 4.0 but has the same structure for the user it seems. - Original Message - From: CouasPhilippe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 07, 2002

Re: Extra Log Information...

2002-10-07 Thread ContestAdmin
ContestAdmin wrote: ContestAdmin wrote: Hi all. I recently decided to upgrade my system from using apache jserv to use tomcat. I am running Solaris 2.6. I have apache version 2.0.42 tomcat version 4.1.12. I am attempting to get the two to communicate via mod_webapp.

RE: How Erase tmp file in temp directory after few days ?

2002-10-07 Thread Turner, John
Cron job. John -Original Message- From: CouasPhilippe [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 9:46 AM To: '[EMAIL PROTECTED]' Subject: How Erase tmp file in temp directory after few days ? Hi, How Erase tmp jar file in temp directory after few days ?

RE: JK2 Installation

2002-10-07 Thread Turner, John
Because it is still in development. John -Original Message- From: Catalin Constantin [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 10:58 AM To: Tomcat Users List Subject: Re: JK2 Installation why is this mod_jk2 so bad documented ? Catalin - Original

RE: JK2 Installation

2002-10-07 Thread Turner, John
What EXACTLY is incomplete about it? Someone can probably help you if you can describe exactly what additional information you need. John -Original Message- From: Christian Gothe [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: JK2

Re: JK2 Installation

2002-10-07 Thread Catalin Constantin
so you suggest we should use mod_jk instead ! too bad ! Catalin - Original Message - From: Turner, John To: 'Tomcat Users List' Sent: Monday, October 07, 2002 4:42 PM Subject: RE: JK2 Installation Because it is still in development. John -Original

RE: JK2 Installation

2002-10-07 Thread Turner, John
Yes, as has been stated several times in the past by people involved with connector development, JK is production ready, JK2 should be considered beta. JK works fine, not sure why it is so bad to use. John -Original Message- From: Catalin Constantin [mailto:[EMAIL PROTECTED]]

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Jean-Francois Arcand
Which version of Xerces are you using? If it's 2.2, there is a bug associated with the problem: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282 -- Jeanfrancois Mark R. Diggory wrote: I keep getting these parsing exceptions when I try to load my custom taglibs (from JAR files) on

tomcat 3.3.x access database

2002-10-07 Thread CLAIRE Celine
Hello! With tomcat 3.3.x a web application can access a database via a JDBC = driver? if ok how? thanks

Re: JK2 Installation

2002-10-07 Thread Catalin Constantin
Before i made a decision i followed the instructions from the jakarta connectors page! i quote: JK2 is a full rewrite of JK and is much more powerfull. Even if it works with Apache 1.3, JK2 has been developed with Apache 2.0 in mind, and sus is better suited for multi-threaded servers like IIS,

RE: How Erase tmp file in temp directory after few days ?

2002-10-07 Thread CouasPhilippe
-Message d'origine- De: Turner, John [SMTP:[EMAIL PROTECTED]] Date: lundi 7 octobre 2002 16:40 A: 'Tomcat Users List' Objet: RE: How Erase tmp file in temp directory after few days ? Ok, But Why Tomcat can't make it ? Cron job. John -Original Message- From:

RE: JK2 Installation

2002-10-07 Thread Turner, John
I agree that documentation is important. My point was that if you have experience with open source projects, which are usually quite short on documentation, you would expect that a BETA open source project would have EVEN LESS documentation than a released project, and go from there. My advice

Re: Action on close

2002-10-07 Thread David Mossakowski
There's a destroy() method called on a servlet when it is unloaded from Tomcat. You can't depend on that to mean that Tomcat is shutting down but maybe it could be helpful. d. Yuriy Stul wrote: Hello, it is possible to specify a class what must be called (loaded) on startup (web.xml,

RE: How Erase tmp file in temp directory after few days ?

2002-10-07 Thread Turner, John
I have no idea. Sounds like a nice feature to have. Put in a request, or code it and submit it to the developers, I am sure they would appreciate it. John -Original Message- From: CouasPhilippe [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 10:53 AM To: 'Tomcat Users

RE: passing a session from non-SSL to SSL

2002-10-07 Thread Cox, Charlie
-Original Message- From: Sundar Chakravarthy [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 10:31 AM To: Tomcat Users List Subject: RE: passing a session from non-SSL to SSL Hi, Does this mean I have to use pure https for my webapp ? yes Isnt there a

Re: JK2 Installation

2002-10-07 Thread Catalin Constantin
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 1/src/ i don't think that is beta ! they should've said it is beta :) no -beta- inside the release filename ! :) Catalin - Original Message - From: Turner, John To: 'Tomcat Users List' Sent: Monday, October

tomcat3.3.1 JDBC

2002-10-07 Thread CLAIRE Celine
hello! I use tomcat 3.3.1 I would like to know if a web application can access a database via a JDBC driver? thanks

Re: Action on close

2002-10-07 Thread Jacob Kjome
Yep, Servlet 2.3 introduced the concenpt of the ServletContextListener which contains contextInitialized() and contextDestroyed() which are guaranteed to be loaded once at startup and once at shutdown, respectively. You just need a class that implements ServletContextListener and specify it in

Re: Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Mark R. Diggory
Here's my environment: j2sdk 1.4.0 Ant 1.5.1 tomcat LE 4.1.12 I have no idea which implementation of Xerces it is using out of these installations. But these are the only locations that I think Xerces is getting picked up from are Ant and j2sdk. I though j2sdk used Crimson? thanks, -Mark

Re: reload objects...

2002-10-07 Thread Lindomar
set reloadable=true on your context in server.xml - Original Message - From: Padhu Vinirs [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 07, 2002 11:14 AM Subject: reload objects... When I recompile a servlet with changes, and call the servlet, the

Can't deploy Custom Tag Library on Microsoth Windoz

2002-10-07 Thread Mark R. Diggory
I keep getting these parsing exceptions when I try to load my custom taglibs (from JAR files) on Tomcat 4.0.3, 4.0.5, 4.1 on Windows 2000/XP. Starting service Tomcat-Standalone Apache Tomcat/4.0.3 PARSE error at line 1 column -1 org.xml.sax.SAXParseException: Character conversion error:

RE: JK2 Installation

2002-10-07 Thread Short, Dave
folks - open source projects are infamous for late/weak documentation. This is all volunteer work and everyone knows that programmers are not the best people to be writing documentation. However, this is how this works. I'm confident that if you wanted to offer your services to write

RE: JK2 Installation

2002-10-07 Thread Turner, John
I won't debate you. Search the archives, pay attention when members of the development and release teams post messages to the list, don't get caught up in semantics. Have a nice day. John -Original Message- From: Catalin Constantin [mailto:[EMAIL PROTECTED]] Sent: Monday, October

Re: Double Tomcat!

2002-10-07 Thread Brett . REASOR
You need to create separate CATALINA_BASE folders each having the following subdirs: conf, logs, server, webapps, and work. You will have two separate server.XML files for each Tomcat instance. You will have to change either the listener port or address directives depending on your

RE: JK2 Installation

2002-10-07 Thread Turner, John
Speaking of which, instructions on exactly how to contribute to the documentation were posted last week by Craig McClanahan. John -Original Message- From: Short, Dave [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: JK2

DBCP/DB2 Error

2002-10-07 Thread Niaz Habib
I am using Tomcat 4.0.1/Win 2K/DB2 7.2 UDB. Using OpenLoad to load test, after about 350 page hit I get the following error: DBCP borrowObject failed: COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] SQL10 40N The maximum number of applications is already connected to the database. S

Re: Is ajp13 connector running?

2002-10-07 Thread Marc
Hi Raj, I've defined an application on apache (without using virtual hosting (I've tried using it, with the same results)) with: DocumentRoot /var/www/html/ JkMount /*.jsp ajp13 There I've placed a jsp page, that just writes something in the browser. In my server.xml, I've defined a Context

Re: Is ajp13 connector running?

2002-10-07 Thread Raj Saini
Hi Marc, Can you see the JSP page in standalone Tomcat? Test if you can see the apge on port 8080. Raj Marc wrote: Hi Raj, I've defined an application on apache (without using virtual hosting (I've tried using it, with the same results)) with: DocumentRoot /var/www/html/ JkMount /*.jsp

SendFailedException or MessagingException does not work

2002-10-07 Thread Jack Li
Hello, I am trying to determine if the customer provided email addresses are valid or not by sending them a confirmation email. I try to catch SendFailedException or MessagingException if the email address is not a good email address. But no exception can be caught no matter what email

my own servlet in jar File and in startup

2002-10-07 Thread CouasPhilippe
Hi, I search how configure web.xml for Loading Servlet at startup And my classes are in one Jar File. Thanks Philippe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Strange differences in Apache/Tomcat configuration

2002-10-07 Thread Kent Perrier
All, I am configuring an Apache (2.0.40) server to run in front of Tomcat (4.0.5) on a machine, running RH 7.2, that is co-located at a hosting provider. I have a local Linux box, also running RH 7.2, that I am working using as a sandbox to play with before I attempt to get the server

AW: tomcat3.3.1 JDBC

2002-10-07 Thread Power-Netz \(Schwarz\)
-Ursprungliche Nachricht- Von: CLAIRE Celine [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 7. Oktober 2002 17:07 An: [EMAIL PROTECTED] Betreff: tomcat3.3.1 JDBC hello! I use tomcat 3.3.1 I would like to know if a web application can access a database via a JDBC driver? thanks

RE: Action on close

2002-10-07 Thread jon wingfield
You can't rely on the destroy() method on the servlet for this purpose. The container has the right to unload servlets when it chooses as a part of resources management. If you are using a servlet 2.3 spec container use the ServletContextListener as Jake suggests. flame-retardent-suit Death to

RE: tomcat3.3.1 JDBC

2002-10-07 Thread CLAIRE Celine
is there any configuration to do in server.xml and web.xml? -Message d'origine- De: Power-Netz (Schwarz) [SMTP:[EMAIL PROTECTED]] Date: lundi 7 octobre 2002 17:52 À:Tomcat Users List Objet:AW: tomcat3.3.1 JDBC -Ursprungliche Nachricht- Von: CLAIRE

RE: Strange differences in Apache/Tomcat configuration

2002-10-07 Thread Turner, John
That's a standard Apache no auth error message. So, my guess is there's something going on with users (which user the web server is running as) vs. who owns index.jsp, or maybe a rogue .htaccess file somewhere preventing the web server from seeing index.jsp. Assuming, of course, that you're

AW: tomcat3.3.1 JDBC

2002-10-07 Thread Power-Netz \(Schwarz\)
-Ursprüngliche Nachricht- Von: CLAIRE Celine [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 7. Oktober 2002 18:01 An: Tomcat Users List Betreff: RE: tomcat3.3.1 JDBC is there any configuration to do in server.xml and web.xml? nope. M.Schwarz -- To unsubscribe, e-mail:

HTTPServletRequest.getServerName() question

2002-10-07 Thread Koes, Derrick
The servlet 2.3 spec simply states that, Returns the host name of the server that received the request. If I'm running tomcat on a windows machine which is not networked (no DNS), but is in a workgroup, this call returns an empty string in tomcat. I know tomcat documentation states, The

RE: HOW TO: How do I add a global variable in server.xml readable in all webapps?

2002-10-07 Thread Donie Kelly
Hi I want a variable to be available across all virtual hosts so I want to add it to server.xml. Is this possible? Thanks Donie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Strange differences in Apache/Tomcat configuration

2002-10-07 Thread Kent Perrier
On Mon, Oct 07, 2002 at 12:05:05PM -0400, Turner, John wrote: That's a standard Apache no auth error message. So, my guess is there's something going on with users (which user the web server is running as) vs. who owns index.jsp, or maybe a rogue .htaccess file somewhere preventing the web

Re: Is ajp13 connector running?

2002-10-07 Thread Marc
Yes, I can, and before configure ajp13, I could access to the page using apache on port 80 (I could see the page source, of course). Marc Raj Saini wrote: Hi Marc, Can you see the JSP page in standalone Tomcat? Test if you can see the apge on port 8080. Raj Marc wrote: Hi Raj, I've

RE: HOW TO: How do I add a global variable in server.xml readable in all webapps?

2002-10-07 Thread Donie Kelly
I have added the following under the Engine tag] DefaultContext Parameter name=ServerID value=801/ /DefaultContext How do I retrieve this value using the servlet context? I have tried the API and the docs but I cannot see how to retrieve this value. Donie -Original

Reload Servlets/Classes

2002-10-07 Thread Chuck Carson
Sorry if this has been asked before, but when working in a development environment, how can I reload newly compiled classes w/o restarting the tomcat server? Thanks, CC -- This message contains confidential information and is intended only for the individual named. If you are not the

Pb with WarpConnector, JNDI, DBCP

2002-10-07 Thread [EMAIL PROTECTED]
Hello, I am currently developping a web application on tomcat 4.1.12 under linux, with sun sdk 1.4.01. I am using the JNDI resources together with jdbc pool from jakarta (commons dbcp). My web.xml file references my jdbc ressources, which are defined in my server.xml file, in the Context

Re: Reload Servlets/Classes

2002-10-07 Thread Padhu Vinirs
I asked the same question few minutes back. One of two ways: 1. set reloadable=true for your web app context element in server.xml. Restart tomcat. 2. Copy the ant build.xml in tomcat-docs/appdev/sample into your web app, edit the build.xml for ur app and call ant reload everytime. --

Re: Pb with WarpConnector, JNDI, DBCP

2002-10-07 Thread John Walstra
I used to use the WarpConnector. I just switched to mod_jk. When I used the WarpConnector, I could not get the JNDI DataSource to work. I received the same error you received. If I accessed my webapp using the Tomcat-Standalone service it would work, but would not work via Tomcat-Apache I'm

Error in servlet: Out of memory in PUT method

2002-10-07 Thread Rodrigo Ruiz
Hi all, I am working with Tomcat 3.3.1. I have implemented a servlet that processes PUT requests, in order to upload files to my server. I am doing some workload tests, and when I try to upload a file over 70Mbytes (aprox.), the server response shows an Out Of Memory Error. My servlet gets

Re: Is ajp13 connector running?

2002-10-07 Thread Raj Saini
Hi Marc, I dont see any thing wrong with the snippts of your configuration files. I have my apache, tomcat integrated with mod_jk on solaris and Linux box as well. I have even more advanced where I load balance the tomcat by running different tomcat instances in production invironment. Try

RE: Reload Servlets/Classes

2002-10-07 Thread Chuck Carson
I am wanting to do this for classes under ROOT/WEB-INF/classes I noticed that Context path= docBase=ROOT debug=0/ is commented out, do I uncomment this entry and add the reloadable to this section? Thanks, CC -Original Message- From: Padhu Vinirs [mailto:[EMAIL PROTECTED]] Sent:

Manager App Question

2002-10-07 Thread Jaimes Blunt
Hey Everyone, I am currently running Tomcat 4.1.12 on Win2000 standalone. I have been able to deploy all apps in proper fashion, along with using the Manager App to deploy and reload. My question has to do with the list functionality of the Manager App. I can view all of my current session

Re: Reload Servlets/Classes

2002-10-07 Thread Padhu Vinirs
Uncomment that line and add reloadable=true. i tested this and it works fine. -- padhu Chuck Carson wrote: I am wanting to do this for classes under ROOT/WEB-INF/classes I noticed that Context path= docBase=ROOT debug=0/ is commented out, do I uncomment this entry and add the reloadable

RE: auto deploy WAR + embedded tomcat

2002-10-07 Thread
Hmm.. Don't know why that is, I'm sending this question from my hotmail account which should be Patrick Lacson. -P From: Reynir Hübner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: auto deploy WAR + embedded tomcat Date:

Tomcat 4.0.1 and JDOM beta 8

2002-10-07 Thread Cyril Vidal
Hi, I'm using Tomcat 4.0.1 and I have such a code snippet, using JDOM beta 8: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import org.jdom.Element; import org.jdom.Document; import org.jdom.output.XMLOutputter; import org.jdom.input.SAXBuilder; import

  1   2   >