Re: ask a don't exists page and show other

2001-03-02 Thread Carlos
where i must put that? thanks - Original Message - From: "David Crooke" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 02, 2001 5:54 AM Subject: Re: ask a don't exists page and show other RedirectMatch 301 (.*)\.asp$ $1.jsp Carlos wrote: i have my pages from asp to

Réf. : Pb runningTomcat with Apache on a Linux Server

2001-03-02 Thread dsergent
Je te conseille de mettre un chemin absolu dans ton mod_jk.conf, sinon il va utiliser le Root_Path avant. Place le au bon endroit (exemple chez moi /usr/libexec/mod_jk.so) , puis configure le mod_jk.conf LoadModule jk_module /lecheminousetrouvelefichier/mod_jk.so J'espre que a va t'aider

default error page

2001-03-02 Thread Carlos
can anybody says me how can i show a default error page if there is a error in a page or servlet? the 404, 500... errors i want to appears in my a error page. is this posible? how? thanks Carlos - To unsubscribe, e-mail: [EMAIL

Tomcat and Proxy problems

2001-03-02 Thread Michael Alten
Hello, I'm a novice user to tomcat 3.2.1 and have a problem with the proxy-settings of a user-domain, which is connected to the internet through a proxy connection. After some time, there appears an error message in the browser which I can't interprete: HTTP/1.0 200 OK Content-Type:

RE: Pb running Tomcat with Apache on a Linux Server

2001-03-02 Thread BENARD Christophe, DDE 34/SG
Bonjour David, J'ai essay de mettre en oeuvre la solution que tu proposes... sans succs. J'ai tent d'abord de mettre le chemin complet d'accs au fichier mod_jk.conf (/usr/jakarta-tomcat-3.2.1/conf/mod_jk.conf), puis j'ai dplac mod_jk.conf dans /usr/libexec et modifi la ligne LoadModule

RE: Pb running Tomcat with Apache on a Linux Server

2001-03-02 Thread BENARD Christophe, DDE 34/SG
Dsol, je me suis un peu emmel les pinceaux... Il faut lire : J'ai essay de mettre en oeuvre la solution que tu proposes... sans succs. J'ai tent d'abord de mettre le chemin complet d'accs au fichier mod_jk.so (/usr/Apache-1.3.19/libexec/mod_jk.so), puis j'ai dplac mod_jk.so dans /usr/libexec et

Servlet Directory

2001-03-02 Thread Richard Scales
Hi, I've just installed tomcat 3.2.1 and its working fine except that I am using the default webapps/examples directory to store my servlets which is a pain as I physically have to copy them over etc and I would like to keep them on a seperate folder somewhere else on my machine. I have been

RE: Pb running Tomcat with Apache on a Linux Server

2001-03-02 Thread GOMEZ Henri
Why not use allready packaged Free solutions : just go to : tomcat ftp://ftp.falsehope.com/home/gomez/tomcat/ You'll find there TC 3.2.x 3.3.x and both serlvet engine and apache modules apache (+ mod_ssl) ftp://ftp.falsehope.com/home/gomez/apache-mod_ssl/ -Original Message-

Re: RMI

2001-03-02 Thread Sam Newman
I've just got my serlevt working as an RMI client. To do this I had to edit the tomcat.policy file to give all permissions to everything, and use the rmiSecurityManager. See my earlier posts for more info So it is impossible to publish such a servlet without affecting base Tomcat

How can I change PORT!!

2001-03-02 Thread Choak Visavayodhin
hi all, I'm new user of TOMCAT, I wanna change jsp path from webapps to others.When I try it, I can't run my jsp files any more how can I create new port for my new site? thanks for advance. choak

RE: Log File isapi.log Too Big

2001-03-02 Thread Samson, Lyndon [IT]
You can find out what processes have the file open using handleex from www.sysinternals.com. A top site for nt tools. -Original Message- From: Eli Segev [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 9:06 PM To: [EMAIL PROTECTED] Subject: Re: Log File isapi.log Too Big

RE: Poolman and Tomcat - where does the poolman.props file go

2001-03-02 Thread G.Nagarajan
Hi, Try using Poolman from an application instead of a servlet. In that way you will know whether the classpath is ok. Regards, Nagarajan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 8:47 PM To: [EMAIL PROTECTED] Subject: RE:

Session beans and multiple tomcat servers ?

2001-03-02 Thread David Peterson
Hi Everybody, I have a question about the architecture of tomcat and the sharing of beans (typically accessed by JSP page code) with a scope of "session". It seems to me that one major problem with JSP and session-scoped beans on tomcat (and possibly other servlet engines ? i'm not trying to

Logout form-based authentication

2001-03-02 Thread Valeriy Molyakov
Hi ! I use form-based authentication. Can I logout without close browser? Best regards, Valera M. mailto:[EMAIL PROTECTED]

Basic Authentication w/ Tomcat 3.1

2001-03-02 Thread Hanke . J
Hi, I'm trying to get the Basic Authentication work w/ Tomcat 3.1. I use the following web.xml and server.xml files. web.xml: ... security-constraint web-resource-collection web-resource-nameProtected Area/web-resource-name url-pattern/admin/url-pattern

RE: how can I make it like a IIS service

2001-03-02 Thread Gary Lawson
I assume you mean an NT service. If so, please read http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.html Gary -Original Message-From: Choak Visavaodhin [mailto:[EMAIL PROTECTED]]Sent: 02 March 2001 02:08To: [EMAIL PROTECTED]Subject: how can I make it

Re: Pb running Tomcat with Apache on a Linux Server

2001-03-02 Thread Dominique BATARD
Recompile apache avec --enable-module=so Recompile ventuellement aussi mod_jk Dom - Original Message - From: "BENARD Christophe, DDE 34/SG" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 02, 2001 10:08 AM Subject: RE: Pb running Tomcat with Apache on a Linux Server Dsol,

change web.xml restart

2001-03-02 Thread Valeriy Molyakov
I change the configuration file of the application - web.xml. I must restart server or exist other way ? Best regards, Valera M. mailto:[EMAIL PROTECTED]

NT Service and Class Problems

2001-03-02 Thread Janis Kalpiss
Hi! I'm using win2k server and have installed jdk1.3 and tomcat 3.2. I developed aplication which communicates with Sybase enterprise DB server and does some querys. I have jar files for connecting to sybase. When i'm using Tomcat in console window all works perfectly, but when i'm using

NT Service and Class problem

2001-03-02 Thread Janis Kalpiss
Hi! I'm using win2k server and have installed jdk1.3 and tomcat 3.2. I developed aplication which communicates with Sybase enterprise DB server and does some querys. I have jar files for connecting to sybase. When i'm using Tomcat in console window all works perfectly, but when i'm

sendRedirect problems...

2001-03-02 Thread Laurent LAUBIN
Hi everybody, First, I'm using Tomcat 3.2.1 with apache 1.3.12 on Redhat 7.0 ... Well, I've migrated a JSP website from JServ/GNuJsp to Tomcat and I'm facing a lot of difficulties with redirection. 1 - There is in each JSP pages a login check, which relies on a session bean so basically :

Réf. : How can Ichange PORT!!

2001-03-02 Thread dsergent
hum hum if I'd understant what you want to do, you want to use another port than 8080, Im true You can do this in the server.xml file David "Choak Visavayodhin" [EMAIL PROTECTED] 02/03/01 10:48 Veuillez rpondre tomcat-user Pour : [EMAIL PROTECTED] cc :

Web.xml what is actually working?

2001-03-02 Thread Stefán F. Stefánsson
Hi. I've been experimenting with web.xml a little bit trying to set this and that to make my webapp more friendly. I started out with the icon tag... but found out soon that doesn't work in Tomcat. That's really quite allright with me... But now I'm trying the error-page and that's not

Re: How can I change PORT!!

2001-03-02 Thread Gerd Trautner
Hi Choak, Friday, March 02, 2001, 10:48:45 AM, you wrote: CV hi all, CV I'm new user of TOMCAT, I wanna change jsp path from webapps to others. When I try it, I can't run my jsp files any more how can I create new port for my new site? CV thanks for advance. CV choak server.xml : !--

RE: Poolman and Tomcat - where does the poolman.props file go

2001-03-02 Thread tnist
Nagarajan, Thanks for the reply, I have done as you suggested and the application works just fine which is really rather confusing since they are both basically using the same classpath, except tomcat has included other .jar files found in the tomcat_home\lib directory on the path. Any ideas

url-pattern in tomcat-3.3-m1?

2001-03-02 Thread Andreas Billmann
Hi, is it correct that there is no conf/web.xml file in the jakarta-tomcat-3.3-m1.zip package ? Where can i set the following url-pattern now ? servlet-mapping servlet-name invoker /servlet-name url-pattern /foo/* /url-pattern

RE: tomcat shutdown

2001-03-02 Thread Saurabh Shukla
If you are using apache, you can run a script(by making an http request) which stops tomcat, if you can want you can also have password protection for running the script. Shuklix -Original Message-From: Luis M. Romero Jaldón [mailto:[EMAIL PROTECTED]]Sent: Friday, March 02,

C:\Jakarta\jakarta-tomcat-3.2.1-src\build.xml:93: Cannot use classic compiler

2001-03-02 Thread Nisbet, Debra
I had this problem and added %JAVA_HOME%\lib\tools.jar to the CLASSPATH and behold it compiled - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: How can I change PORT!!

2001-03-02 Thread Saurabh Shukla
1) Kindly read documentation. (for web apps) 2) For a new port you need to make change in serve.xml. (it lies in conf directory). Shuklix -Original Message-From: Choak Visavayodhin [mailto:[EMAIL PROTECTED]]Sent: Friday, March 02, 2001 3:19 PMTo: [EMAIL PROTECTED]Subject:

Re: sendRedirect problems...

2001-03-02 Thread Carlos
the "'DOCUMENT MOVED' " problem i think that is a TOMCAT bug (#637-#638 bugs) i have seen that is not solved. - Original Message - From: "Laurent LAUBIN" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 02, 2001 11:52 AM Subject: sendRedirect problems... Hi everybody,

RE: referer

2001-03-02 Thread Michael Wentzel
Carlos wrote: can any body say me how can i in a JSP page detect which is the referer page? from which page comes the visit? thanks Carlos you can try this % String referer=request.getHeader("referer"); session.setAttribute("referer",referer); % it works fine

Newbie-Error in compiling servlets

2001-03-02 Thread RaviShankar K
Hi, I am quite new to Tomcat . I installed Tomcat and Servlet examples given along with the SW are working fine. But when Icompile the same examples servletssource codes, I could not compile them and it is showing errors as , Hello.java:94:can not resolve symbol : HttpServlet location :

AW: Newbie-Error in compiling servlets

2001-03-02 Thread Kurt, Oliver
is the servlet.jar in your classpath?? (servlet.jar is not included in J2SE, but you can find it in %tomcat_home%\lib\servlet.jar ) -Ursprüngliche Nachricht-Von: RaviShankar K [mailto:[EMAIL PROTECTED]]Gesendet: Freitag, 2. März 2001 14:02An: [EMAIL PROTECTED]Betreff:

ODP: Newbie-Error in compiling servlets

2001-03-02 Thread Herchel Wojciech
add servlet classes to your classpath vVolf -Oryginalna wiadomosc- Od: RaviShankar K [mailto:[EMAIL PROTECTED]] Wyslano: 2 marca 2001 14:02 Do: [EMAIL PROTECTED] Temat: Newbie-Error in compiling servlets - To

Starting Apache + mod_jk

2001-03-02 Thread Gregory Rouchotas
Hello all, I have installed Apache 1.3.17 and tomcat 3.2.1 on solaris 7 Both work fine with no problems but when I try to get apache to use mod_jk I get the following error Syntax error on line 1 of /usr/local/apache/dist-tomcat/tomcat/conf/tomcat-apache.conf: Cannot load

Re: Newbie-Error in compiling servlets

2001-03-02 Thread RaviShankar K
Hi Kurt, Yes. I included now. They are working. Thank you very much for your help. Regards, Ravi - Original Message - From: Kurt, Oliver To: '[EMAIL PROTECTED]' Sent: Friday, March 02, 2001 PM 10:12 Subject: AW: Newbie-Error in compiling servlets is

Re: Servlet Directory

2001-03-02 Thread Anuj Agrawal
Adding a context path in server.xml is just one part to it (BTW, in docBase you might want to use a fully qualified path rather than a relative path). The 2nd file that you need to edit is uriworkermap.properties file, and add (in your case) /myservlets/*=ajp12 You may need to restart both

users, roles and tomcat-users.xml

2001-03-02 Thread Dirk Brockmann
Hi, I am running tomcat 3.2.1. I have developed a simple test webapp and now I wish to make it secure via form based authentication. I have made use of the security concepts that come with tomcat as in the examples webapp and have played with the tomcat-users.xml and the web.xml belonging to my

tomcat virtual machines.

2001-03-02 Thread Carlos
Now my tomcat have several virtual domains. Is posible to configure tomcat for using several tomcat virtual machines? I have two virtual domain, very critical, and if this domains'classes crash the tomcat. if i put this virtual domains in other tomcat virtual machines the rest of virtual domains

Re: Poolman and Tomcat - where does the poolman.props file go

2001-03-02 Thread Matt Goss
I always put properties files in the /WEB-INF/classes directory... that should be the first pl;ace that tomcat searches for any resource. Matt "G.Nagarajan" wrote: Todd, I had the same problems with property files. I created a directory c:\configuration, put this in the classpath and put

loading applet from web-inf/classes sunfolder

2001-03-02 Thread Jost, Dominique
hi my home-directory on the tomcat server looks like this http://localhost:8080/fundopt. under fundopt i have a folder (called jsp) containing all my jsp files. i want to acces an applet (which has its source files in the web-inf/classes/xy folder) with the following piece of code: from jsp

RE: Starting Apache + mod_jk

2001-03-02 Thread Mike Braden
Did you build the mod_jk from source as in the mod_jk how-to and install it in apache/libexec ? Looks like it can't find the mod_jk library. Mike. -- Mike Braden [EMAIL PROTECTED] -Original Message- From: Gregory Rouchotas [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 8:25

RE: JDBCRealm again

2001-03-02 Thread Chris Andreou
Wolf, I am new tomcat user. Would you mind taking some time and write some quiedlines how to setup JDBCReal? Thanks Chris -Original Message- From: Herchel Wojciech [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 1:29 AM To: 'Tomcat' Subject: JDBCRealm again I managed to

starting additional services with Tomcat

2001-03-02 Thread William Au
I am using Tomcat 3.2.1 on Solairs. I have some Java code to start a RMI registry that I want to make available to all webapps. In stead of having to run yet another process, I want it to run inside Tomcat's JVM. What is the best way to do this? Can I add an entry in server.xml to cause

Re: loading applet from web-inf/classes sunfolder

2001-03-02 Thread William Brogden
"Jost, Dominique" wrote: hi my home-directory on the tomcat server looks like this http://localhost:8080/fundopt. under fundopt i have a folder (called jsp) containing all my jsp files. i want to acces an applet (which has its source files in the web-inf/classes/xy folder) with the

error message

2001-03-02 Thread mork71.tomcat
I'm developing JSP and I'm using 'Apache Tomcat Test Environment' (inside Visual Age for Java) to test them. I'm receiving an error that I can't understand. The console displays this error : org.apache.jasper.JasperException: Unable to rename class file --firstPath-- to --secondPath-- The

help with Tomcat under windows ME...

2001-03-02 Thread Rob Smyth
I can't start Tomcat under windows ME... Is there a way I can do this? I've made all the appropriate changes to the classpath in the autoexec.bat, but I keep getting the 'out of environment' error. Thanks for any help. Rob Smyth winmail.dat

PostgreSQL

2001-03-02 Thread mikhail malamud
I am compiling PostgreSQL 7.0.3 to be used with the Tomcat 3.2.1 web application. Does anyone have any success stories or nightmares about postgresql and java connectivity. What drivers did you use and why? Please share. Thanks, -mikhail

Re: newbie servlet deploy question

2001-03-02 Thread Bo Xu
Jason Novotny wrote: I would like to be able to access a servlet with the URL http://localhost:8080/demo However, it only works if I go to http://localhost:8080/demo/servlet/demo I have the following in server.xml and web.xml respectively: Context path="/demo"

RE: Servlet Directory

2001-03-02 Thread Richard Scales
Anuj, I've done that and I get now get the Tomcat Admin tools page at http://localhost:8080/richard/index.html on my machine but cannot access my servlets below my bin directory. Any ideas? Rich -Original Message- From: Anuj Agrawal [mailto:[EMAIL PROTECTED]] Sent: 02 March 2001 13:45

Re: Tomcat setup

2001-03-02 Thread Dick Poon
I guess that you are running tomcat in win32 system. just type the following: C:\COMMAND.COM /E:4096 /P this line give more memory to the running environment Dick Poon - Original Message - From: Marina Hovakimyan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 02, 2001 2:40

RE: Pb running Tomcat with Apache on a Linux Server

2001-03-02 Thread BENARD Christophe, DDE 34/SG
Dominique BATARD [mailto:[EMAIL PROTECTED]] wrote : Recompile apache avec --enable-module=so Recompile ventuellement aussi mod_jk Dom Aprs une recompilation d'Apache et du module mod_jk, tout fonctionne !!! Merci pour l'aide. Christophe

Re: Servlet Directory

2001-03-02 Thread Match Grun
I do this all the time. I assume that the /Work/MyServlets/bin contains a WEB-INF directory. docBase should be set to the directory which contains the WEB-INF directory. Tomcat looks in the WEB-INF/classes directory for any class files. Match Richard Scales wrote: Hi, I've just installed

RE: Session beans and multiple tomcat servers ?

2001-03-02 Thread Andrew Gilbert
One option is a load balancer that will handle session affinity, either on it's own or through a custom cookie/url rewrite. This is a problem with almost all web application server solutions, certainly not unique to Tomcat/JSP. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Jasper / JSPC config question

2001-03-02 Thread Alan Vogt
Title: Jasper / JSPC config question Hi all: I've got Tomcat 4.0 loaded up. All the servlet stuff works beautifully. But I haven't been able to compile any JSP's. I get class not found errors for routine classes such as java.security.PrivilegedAction... I can move these missing

RE: Tomcat setup

2001-03-02 Thread Darrell Porter
What OS are you running? I'll presume Windows 95/98. The simplest way to fix the "Out of Environment Space" is is to modify C:\CONFIG.SYS and add or modify the existing SHELL= line to read as such: SHELL=C:\WINDOWS\COMMAND.COM /P /E:3072 The /P tells COMMAND.COM to Persist after loading and

RE: Help with welcome-file

2001-03-02 Thread Darrell Porter
Try making the following change: Context path="app" docBase="/usr/home/web/app" crossContext="false" debug="0" reloadable="true"/ Note the removal of the '/' before 'app' in the context path. Hope this helps. _ Darrell Porter Operations

Re: Reading a file from a Context

2001-03-02 Thread Kevin Sangeelee
On Thu, 1 Mar 2001, Brett G. Palmer wrote: What is the best way to read a file from a Context in Tomcat? I know I can get the context path from the "getContextPath()" method, but most file stream APIs require a full path. There most be a clean way to accomplish this without hard coding any

Re: JDBCRealm again

2001-03-02 Thread Christian Rauh
Chris Andreou wrote: I am new tomcat user. Would you mind taking some time and write some quiedlines how to setup JDBCReal? Check: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto Christian - To

Sybase (ASA7.0.2) connection question

2001-03-02 Thread Wong, Connie
Hi, I have trouble using the URL on Sybase. I hope someone can help me. Configurations: NT Sybase ASA7.0.2 Tomcat 3.1 DriverName = "com.sybase.jdbc2.jdbc.SybDriver" The following files are in my CLASSPATH: c:\Program Files\Sybase\SQL Anywhere 7\jConnect\classes c:\Program

Re[3]: memory and/or ms problem

2001-03-02 Thread Gerd Trautner
hi randy, thanks for your tips! i think i found the reason for the growing memory consumption of my servlets. preconditions: i use servlets to get data out and in a mysql database and generate html pages with PrintWriter.print(...) statements. my servlets often use: ... Statement Stmt =

ATT Cable Modem Problem Resolved

2001-03-02 Thread Dave Parkin
2 days ago I asked y'all if tomcat could be causing a problem with ATT Cable Modem. I ended up throwing caution to the and listening to my internal voice. First, I restored WinMe system to a point in time before problems began (Nifty System Tool). Modem connectivity began to show great

Tomcat's class loader

2001-03-02 Thread Shinta Tjio
Title: Tomcat's class loader Hi, all, I have a servlet, ServletFoo, that calls a utility class that lives in a jar file under $TOMCAT_HOME/lib. This utility class calls the ResourceBundle.getBundle() on a resource bundle that lives in the servlet's home (i.e:

Re: webapp icons, disabling directory listings, and error-page tags in web.xml

2001-03-02 Thread Craig R. McClanahan
Fernando Padilla wrote: OK. I apologize, i must have a 3.1. So how could we get this behavior with 4.x? By "this behavior", do you mean turning off directory listings? Go to the "conf/web.xml" file, and look for the servlet element for the "default" servlet. You will see an initialization

Re: webapp icons, disabling directory listings, and error-pagetags in web.xml

2001-03-02 Thread Craig R. McClanahan
Stefn F. Stefnsson wrote: ok.. so the icon should be working? Are you expecting something to be done with your icon element? If so, you should be aware that Tomcat basically ignores it completely. What is it that you expect Tomcat to do with it? Craig

Re: webapp icons, disabling directory listings, and error-pagetags in web.xml

2001-03-02 Thread Craig R. McClanahan
Stefn F. Stefnsson wrote: Ok... thanks (regarding the icon). The correct reaction from tomcat... hmmm... not sure I know what you mean here... are you talking in regards to the icon or the welcome file list? I'll just answer it in two parts, 1) The icon should be displayed for example

RE: Can tomcat do ASP in VBScript

2001-03-02 Thread Steve Toth
You say that you are using OpenBSD? Which JVM are you using, I tried to find one that was programmed for OpenBSD ( not using linux binaries ) where is one? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: More on JServ to Tomcat

2001-03-02 Thread Craig R. McClanahan
"Brett W. McCoy" wrote: On Tue, 27 Feb 2001, Duck-Jin Chun wrote: I recently migrated from JServ to Tomcat as well. The migration was smooth, and I'm now working with the latest servlet spec... but I found JServ to be more stable. Anyway... to answer your question, try putting the

Re: Form based auth

2001-03-02 Thread Craig R. McClanahan
"McCay, Larry" wrote: vVolf, I have observed the same behavior on 3.1 and 3.2.1. I am going to dig in a little deeper to see what security functionality is supported at all. Form based security was not supported in Tomcat 3.1, but is supported in 3.2 and 4.0. Note that you do ***not***

Client Certificate Authentication

2001-03-02 Thread Cory Hubert
Anyone know how to configure your web.xml to accept Client-Certificates. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: 4.0b1 manager not working

2001-03-02 Thread Craig R. McClanahan
Michael Engelhart wrote: Hi, I'm having trouble getting the manager application to run on Mac OS X. I'm under the impression from reading the docs and searching the archive that all I have to do is add a user with the manager role to tomcat-users.xml and then go to

Re: log() ?

2001-03-02 Thread Craig R. McClanahan
"Brett W. McCoy" wrote: On Tue, 27 Feb 2001, Shahed Ali wrote: Sorry for this stupid question, but how do I use the log() method in servlets ? In JSP application.log() seems to work, but in servlets, I tried getServletContext().log("adad") etc and I keep getting

Re: Open-source compliant way of deploying Tomcat to customer sites

2001-03-02 Thread Craig R. McClanahan
"Hawkins, Keith (Keith)" wrote: Hello, We have a product which we sell to our customers for which we want to include Tomcat for the version of our product that runs under IIS. (Our product is a servlet based application that is deployed on our customers' web servers.) What is the

Re: Null session

2001-03-02 Thread Craig R. McClanahan
"Mead, David W." wrote: Since we upgraded to Tomcat 3.2 in December, we have been seeing an occational null session returned from req.getSession(false); We have seen this on slower systems 300Mhz running Windows 95. We have not seen it on our faster hardware which is running NT, so we're

Re: SingleThread

2001-03-02 Thread Craig R. McClanahan
James MailingList wrote: If a Servlet implements SinglThreadModel interface then how does the Tomcat v3.2.1 handle it ? a. Creates multiple threads as and when the request comes and kicks off the multiple instances of the servlet. If YES, then can we configure how the Min/Max threads to be

Re: Calling within and across webapp contexts

2001-03-02 Thread Craig R. McClanahan
Rick Herrick wrote: I asked the question earlier and never received a response, so I'll try again! We have a JSP app that's currently running in JRun 2.3.3 (JSP 1.0 compliant). When we refer to different directories within the app, we always preface with the "context" name, or really the

Re: /servlet

2001-03-02 Thread Craig R. McClanahan
Srinivas Kurella wrote: Josh, I am not sure if i understand your problem completely , but you DONOT necessarily have to follow the webapp dir structure. This is what i do to make the /servlet work(porting from jrun to tomcat with minimum effort :)): 1. create a WEB-INF directory under

tomcat on netware documentation

2001-03-02 Thread Andrea Caltroni
Is there any document about installing Tomcat on Netware? Thank you all! PS I'm sorry for posting this message on the tomcat developer mailing list. It was an accident! andrea -- _ __/ \

ADMIN: Anybody out there?

2001-03-02 Thread Caprio, Mike
Hi, I'd really like to unsubscribe from the tomcat-user list now. The mailing list manager is ignoring me, I'm not even getting a "confirm by replying to this message" message. I've mailed the owner address and gotten no replies... could somebody please either fix the mailing list manager or

Re: Multiple Concurrent Servlet Initialization

2001-03-02 Thread Craig R. McClanahan
Arne Handt wrote: Hello All, I know that this topic has been discussed about two months ago but I wasn't able to find a hint helping me to solve my problem in the archive, so I touch it again. My problem: I have a multithreaded using W3C's Jigsaw HTTP Stack to access my servlet (on

Re: where in tomcat4b1 the general classes?

2001-03-02 Thread Craig R. McClanahan
Carlos de la Flor wrote: my all virtual domains are in /home/users the tomcat home is in /opt/tomcat in the tomcat 3.2.1 in the TOMCAT_HOME i have a directory (its name is classes) and i put in this directory the all classes (*.class files) for my all virtual domains i try to make this in

Re: Realm classes and ClassLoaders

2001-03-02 Thread Craig R. McClanahan
Fernando Padilla wrote: I have a MyRealm class to lock down my webapp. That works fine. I have the jar file with the classes in $TOMCAT_HOME/server and within $WEB_APP/WEB_INF/lib. The Web App needs to gain access to the username/password given to the Realm ( right now I store it in the

Re: PostgreSQL

2001-03-02 Thread Aaron Brashears
I've had a great experience in general using postgresql 7. The jdbc driver that comes with it can be compiled for either jdbc1 or jdbc2 depending on your needs. I've never had an issue with the driver, but I haven't tried using the javax.sql interfaces yet. The only thing you should be aware of

Re: getPathInfo() returns null

2001-03-02 Thread Craig R. McClanahan
Vladimir Grishchenko wrote: Hi, I'm new to Tomcat and servlets and need some help. Would somebody clarify why getPathInfo() returns null when a servlet accessed via: http://server/context/servletalias/pathinfo and it returns "pathinfo" when the same servlet accesses via: It actually

Re: Session beans and multiple tomcat servers ?

2001-03-02 Thread Craig R. McClanahan
David Peterson wrote: Hi Everybody, I have a question about the architecture of tomcat and the sharing of beans (typically accessed by JSP page code) with a scope of "session". It seems to me that one major problem with JSP and session-scoped beans on tomcat (and possibly other servlet

Re: Logout form-based authentication

2001-03-02 Thread Craig R. McClanahan
Valeriy Molyakov wrote: Hi ! I use form-based authentication. Can I logout without close browser? Best regards, Valera M. mailto:[EMAIL PROTECTED] Yes ... just invalidate the current session. Craig McClanahan

Re: Basic Authentication w/ Tomcat 3.1

2001-03-02 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: It works fine with Tomcat 3.2, but it should run on Tomcat 3.1 ... don't ask me why, I have no idea :-) This is one of the many bugs in Tomcat 3.1. If you want to use container managed security, you need to use 3.2 or later. Any ideas what is wrong? Thanks in

Re: users, roles and tomcat-users.xml

2001-03-02 Thread Craig R. McClanahan
Dirk Brockmann wrote: Hi, I am running tomcat 3.2.1. I have developed a simple test webapp and now I wish to make it secure via form based authentication. I have made use of the security concepts that come with tomcat as in the examples webapp and have played with the

Tomcat on Linux

2001-03-02 Thread Wang, Yuhui
Hello, I have problem running tomcat on Linux, Red Hat 6.0. When I try to start the tomcat using the script, there is a Java exception of Can't open config file: /home/tomcat/conf/server.xml due to: java.io.UnsupportedEncodingException: UTF8 I'm using tomcat 3.2.1 Can someone help me

RE: Help with welcome-file

2001-03-02 Thread Thierry Leveque
Thanks for the help, but it does not work. If I did not put the / in the context path, I'm unable my jsp in my /app directory. The context is not good. -Original Message- From: Darrell Porter [mailto:[EMAIL PROTECTED]] Sent: 2 mars, 2001 12:25 To: '[EMAIL PROTECTED]' Cc: '[EMAIL

java.lang.arrayIndexOutOfBoundsException

2001-03-02 Thread Bryan Murtha
Does anyone have any insight on how to correct the following error that is being generated everytime I try to send a request to Tomcat. It's running as a standalone server on :8080 on Redhat 7. ContextManager: error reading request, Ignored - java.lang.arrayIndexOutOfBoundsException thanks,

RE: Tomcat's class loader

2001-03-02 Thread Randy Layman
It is the expected behavior because the class loader for TOMCAT_HOME/lib can't know which context you are trying to load from. You really need to put your utility class into each webapp's class path (WEB-INF\classes or WEB-INF\lib) if you want it to access the classpath for a particular

Re: Assigning Servlets to different ports.

2001-03-02 Thread Alex Fernández
Hi William! Configure two contexts, and load each servlet in one context. Un saludo, Alex. William Wishon wrote: Hi, I am trying to assign one of my servlets (say servlet1) to port 8080 and another one (say servlet2) to port 8081. I want them totally separate so that I can't

Re: Assigning Servlets to different ports.

2001-03-02 Thread Alex Fernández
Hi William! Configure two contexts, and load each servlet in one context. Un saludo, Alex. William Wishon wrote: Hi, I am trying to assign one of my servlets (say servlet1) to port 8080 and another one (say servlet2) to port 8081. I want them totally separate so that I can't

Re: Realm classes and ClassLoaders

2001-03-02 Thread Fernando Padilla
On Fri, 2 Mar 2001, Craig R. McClanahan wrote: Fernando Padilla wrote: Again, I'm trying to bridge the gap between the classloader used by the server and the classloader used by the web app. So that I can cast/use an object from one classloader from the other classloader

Re: Reading a file from a Context

2001-03-02 Thread Mike Slinn
Easy.. you were close to the magic incantation: s.getServletContext().getRealPath("/WEB-INF/myfiles/xyz.dat"); Mike Message-ID: [EMAIL PROTECTED] On Thu, 1 Mar 2001, Brett G. Palmer wrote: What is the best way to read a file from a Context in Tomcat? I know I can get the context path

RE: ADMIN: Anybody out there?

2001-03-02 Thread Nael Mohammad
it works -Original Message- From: Caprio, Mike [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 8:21 AM To: '[EMAIL PROTECTED]' Subject: ADMIN: Anybody out there? Hi, I'd really like to unsubscribe from the tomcat-user list now. The mailing list manager is ignoring me, I'm

Re: Form based auth

2001-03-02 Thread Mike Slinn
Message-ID: [EMAIL PROTECTED] I read in org.apache.tomcat.request.JDBCRealm.java that the proper URI should be "/j_security_check", and that if the preceeding "/" is not present, or if another path is prepended, the path is normalized to "/j_security_check". If this URI is recognized, and the

Relative Pathing and SSL

2001-03-02 Thread Nibler Jeff R. (PDX1JRN)
Hello all, I'm having an interesting problem persisting an SSL connection with my Java servlets. I am using Windows NT/IIS with Tomcat acting only as the servlet container (with the isapi_redirect.dll). Everything works fine except when I need to re-direct a user from the servlet back to any

RE: PostgreSQL

2001-03-02 Thread McDermid, Ian
I have used Postgresql with the default admin program without any problems Ian -Original Message- From: mikhail malamud [SMTP:[EMAIL PROTECTED]] Sent: Saturday, March 03, 2001 2:02 AM To: [EMAIL PROTECTED] Subject:PostgreSQL

  1   2   >