SOLVED: Re: Sharing sessions - URGENT

2001-12-17 Thread Oto Buchta
Dne t 29. listopad 2001 10:17 James Chuang napsal(a): In my setup, I have Apache listening on port 80 and 443, with the request intercept that directs all tomcat requests to the same Tomcat 3.2 instance. So there is no "sharing" of session at all, just one Tomcat instance serving up both

What's the word on a Servlet/JSP including itself in recursion?

2001-12-17 Thread Nikola Milutinovic
Hi all. Never got a response on this one. Suppose I have a JSP page or a Servlet that includes ITSELF in recursion. I'm doing this because I have a n-tree structure and I wish to display a given node with all it's subnodes. I need recusrion. Period. So I thought that something like

RE: Force TC standalone to use 40 bit SSL symetric encryption only

2001-12-17 Thread Laurent Michenaud
how do u force 40bit SSL with Tomcat ? Is it possible to do the same with Apache and mod_ssl ? Thanks -Message d'origine- De : Lauer, Oliver [mailto:[EMAIL PROTECTED]] Envoyé : lundi 17 décembre 2001 07:27 À : Tomcat Users List (E-Mail) Objet : Force TC standalone to use 40 bit SSL

AW: Force TC standalone to use 40 bit SSL symetric encryptiononl y

2001-12-17 Thread Lauer, Oliver
Hi Laurent, I don't know how to do it with Apache but from the theoretical perspective you should Apache offer 40 bit cyphers only. That's what I did with TC. I removed all the 128 bit cyphers and subsequently the browser and TC have to confirm to 40 bit. Doing so you can also force the

web developpment

2001-12-17 Thread Laurent Michenaud
I would like to know what tools you are using with Tomcat... I mean : ide versioning unit tests benchmark ... Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles

AW: web developpment

2001-12-17 Thread Lauer, Oliver
I don't know who you are asking but we are using: - jBuilder4-5 - CVS - WebLoad - jUnit Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064 59 e-Mail:

RE: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-17 Thread GOMEZ Henri
there hasn't been done anything on that topic yet ? What's the status of loadbalacing, either mod_jk or mod_webapp ? Is that political due to if loadbalacing is working properly there won't be any reason to take (buy) anything else than TC ? State of the art is that today only mod_jk could

RE: web developpment

2001-12-17 Thread Laurent Michenaud
I don't know who you are asking but we are using: all of u - jBuilder4-5 - CVS - WebLoad - jUnit What about jUnit ? we are searching about a test unit mechanism. Can u explain me how it works ? Is it simple to use ? Thanks Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer

AW: web developpment

2001-12-17 Thread Lauer, Oliver
Have a look at www.junit.org Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064 59 e-Mail: [EMAIL PROTECTED] _

Re: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-17 Thread Hemant Singh
Hi Gomez Can you pls give me some details about thechanges to be incorporated for achieving the load balancing using mod_jk and tomcat 3.2.3 , apache 1.3.12.Pls help as i am badly stuck Thanks in advance Hemant - Original Message - From: GOMEZ Henri [EMAIL PROTECTED] To: Tomcat

Re: Force TC standalone to use 40 bit SSL symetric encryption only

2001-12-17 Thread Attila Szegedi
mod_ssl has excellent documentation regarding configuration of different cipher strengths, authentication requirements etc. You can do it even on a per-URL basis (and naturally, on a per-virtual host basis as well). Look in particular into http://www.modssl.org/docs/2.8/ssl_howto.html and

RE: web developpment

2001-12-17 Thread Jim Cheesman
At 10:15 AM 17/12/01, you wrote: I don't know who you are asking but we are using: all of u - jBuilder4-5 - CVS - WebLoad - jUnit What about jUnit ? we are searching about a test unit mechanism. Can u explain me how it works ? Is it simple to use ? Try downloading it and rtfm! ;)

Problems w/ case sensitive property names

2001-12-17 Thread Hessing Ingo
Hi! I have two properties in a bean: private int pathLevel; private int pathlevel; As you can see the first one has got a capital L and the second is all lower case. In a JSP page I wrote the following: jsp:useBean id=formHandler class=de.laudert.beans.Browser scope=session/

starting tomcat-3.3 (newbie)...

2001-12-17 Thread Karl Oie
hi folks, i have a problem with starting tomcat-3.3 fresh from the tar. I have downloaded the jakarta-tomcat-3.3.tar.gz, untar and ran tomcat-3.3/bin/startup.sh. i get a ClassNotFoundException. Can anyone here give me a tip what i have done wrong here, i'm lost! mvh karl oie [karl@saturn

RE: MySQL DataSource using Tomcat 4

2001-12-17 Thread Diego Castillo
OK, now I think I'm getting it. I have modified my server.xml file so that it includes a login/password that permits connecting to the database: Resource name=jdbc/pim auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/pim parameter namedriverClassName/name

is it possible to access files not under webapps/ using mod_webapp

2001-12-17 Thread Richard Sand
Hi all- in my TC4 installation i've changed the path for my document base to outside of my webapps directory, with the result that I cannot find a way to map to that webapp from mod_webapp. I.e. in my server.xml I have: Context path= docBase=d:/data/tomcat/root debug=0/ While the other webapps

sites powered by tomcat

2001-12-17 Thread Peter Georgiou
Hi Does anyone know where I can find a list of sites powered by Tomcat? Thanks Peter -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Problems with Tomcat

2001-12-17 Thread liakim . ladipo
Hi, I have recently started to learn jsp and have installed Java and Tomcat on a laptop running Windows 98 and PWS. I have a batch file which automatically starts tomcat for me, however when I browse to localhost:8080 it cannot display the page. I have also edited autoexec.bat to set the

Classloader question

2001-12-17 Thread Heikki Doeleman
Hi everyone, trying to make a web application work using Tomcat 4.0.1 I found the following behaviour, which I don't quite understand: my application uses a library called xhive.jar - putting xhive.jar in [catalina]/common/lib This works fine, as expected - putting it in [myapp]/WEB-INF/lib

Re: Classloader question

2001-12-17 Thread Richard Sand
Check that the directory containing WEB-INF is a context path for a web application. Perhaps Tomcat isn't recognizing your WEB-INF directory because it doesn't know that the parent directory is the base of a web application (or your docbase, for example). Hope this helps... -Richard -

RE: Classloader question

2001-12-17 Thread Heikki Doeleman
my structure is [catalina]/webapps/[myapplication]/WEB-INF/lib is there anything else I need to do to tell Tomcat this is my web application? It does find the stuff in WEB-INF/classes though Thanks Heikki -Original Message- From: Richard Sand [mailto:[EMAIL PROTECTED]] Sent: Monday,

AW: Classloader question

2001-12-17 Thread Lauer, Oliver
Did you something like this in server xml ? Context path=/myapplication docBase=myapplication debug=0 privileged=true/ in your localhost container ? AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221

RE: Classloader question

2001-12-17 Thread Heikki Doeleman
yes, I did -Original Message- From: Lauer, Oliver [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 1:25 PM To: 'Tomcat Users List' Subject: AW: Classloader question Did you something like this in server xml ? Context path=/myapplication docBase=myapplication

Ajp1.3 bug? ServletInputStream.read() never returns -1

2001-12-17 Thread Dennis Derfling
I am using Tomcat and Apache with the Ajp1.3 connector. When I call GetInputStream() on the HttpServletRequest-Object and read from the stream to get the request-body, it never runs out of bytes. It never returns -1. When the last byte of the request-body is read the streams simply starts

RE: Configureing multiple JVMs on Tomcat 3.3

2001-12-17 Thread Larry Isaacs
You would still use two separate server.xml files, such as server1.xml and server2.xml. If you wanted them both to serve the same contexts, you could leave the: ContextXmlReader config=conf/apps.xml / unchanged. If you wanted to serve different contexts, change server1.xml to be:

RE: MySQL DataSource using Tomcat 4

2001-12-17 Thread Diego Castillo
I found what was going wrong with my DataSource! The configuration (server.xml + web.xml) was OK, and so was the code. But I had put the jar file containing the driver in more than one place: common/lib, server/lib, WEB-INF/lib... I still don't understand why, but this certainly hurts. The

Basic authentication password caching

2001-12-17 Thread EDV Systembetrieb
Hi everybody, I setup Tomcat 3.3 with JDBCRealm and a mysql-database using basic authenticattion. We use a servlet for fileuploading to our server. Before sending the files, the user is prompted for loginname and password. My problem is, that there seems to be a permanent connection between

RE: Basic authentication password caching

2001-12-17 Thread Ignacio J. Ortega
De: EDV Systembetrieb [mailto:[EMAIL PROTECTED]] Enviado el: lunes 17 de diciembre de 2001 14:33 My problem is, that there seems to be a permanent connection between the browser and the servlet or the logininformation a cached by the browser until the browser is restartet THis question

RE: starting tomcat-3.3 (newbie)...

2001-12-17 Thread Larry Isaacs
You have a mixture of 3.3 and 3.2.3 in what you list below. It is unlikely that a Tomcat 3.2.3 server.xml will work with Tomcat 3.3. Make sure you have updated your TOMCAT_HOME appropriately. Cheers, Larry -Original Message- From: Karl Oie [mailto:[EMAIL PROTECTED]] Sent: Monday,

Re: What's the word on a Servlet/JSP including itself in recursion?

2001-12-17 Thread Mahesh Vaidya
IMHO Donot do that way. Keep a single Jsp/Servlet. Rather encapsulate tree in any suitable Java Collection. (viz. java.util.Tree) Use iterator interface and accomplish whatever you want to -Mahesh. --- Nikola Milutinovic wrote: Hi

Re: web developpment

2001-12-17 Thread Matt Egyhazy
forte cvs junit jmeter (not really benchmark, just stress testing) - Original Message - From: Laurent Michenaud [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 3:46 AM Subject: web developpment I would like to know what tools you are using with Tomcat... I

Tomcat not starting on initialization

2001-12-17 Thread Samarth_Kumar
Folks, As a followup to my emails on the issue of Tomcat not starting up when initialized using /bin/startup.sh, it looks like I was able to get around the issue by installing a copy of IBM's JDK. I installed the JDK and changed the paths to reflect the new JDK and ran the script. Tomcat

Authentication questions...

2001-12-17 Thread Guido Medina
Hi, I have been working with servlets jsp since one year maybe, and I have been used to kinds of authentication: 1) Through the web server; eg: Apache Web Server access files: .htaccess, .htpasswd. 2) A bean installed in any jsp or servlet with a session scope that forward to the

RE: Basic authentication password caching

2001-12-17 Thread Larry Isaacs
-Original Message- From: EDV Systembetrieb [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 8:33 AM To: [EMAIL PROTECTED] Subject: Basic authentication password caching Hi everybody, I setup Tomcat 3.3 with JDBCRealm and a mysql-database using basic

How can I set up an Access Control List using Tomcat?

2001-12-17 Thread Gianluca D'Introno
Hi guy! I have to manage access to web resource using a field (Subject Alternative Name) of Client Certificate. Does someone know a method to do that? Thanks Gianluca D'Introno -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the

Restricting access to files and/or directories

2001-12-17 Thread Behrang Saeedzadeh
Hi, Does anybody know how can I restrict access to files and directories in my web application? Is it possible to restrict access to files and/or directories by modifying web.xml or server.xml files? Thanks in advance. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

RE: starting tomcat-3.3 (newbie)...

2001-12-17 Thread Karl Øie
thanks man, i can see it very clearly now :-) mvh karl øie -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: 17. desember 2001 14:55 To: 'Tomcat Users List' Subject: RE: starting tomcat-3.3 (newbie)... You have a mixture of 3.3 and 3.2.3 in what you list below. It

Can I redirect all the requests caming to Tomcat to a servlet or a jsp page?

2001-12-17 Thread Gianluca D'Introno
Is there a manner to redirect every request to a specific servlet or jsp page? Thanks Gianluca D'Introno P.S. Excuse me for my English -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Bob Byron
Sean, Did you find a solution to the parameter ordering issue of a form? I am interested in receiving the parameters in order. I want to make a generic servlet that emails forms to me and maintains the order of the fields on the form. Nothing is dependent, but aesthetically it works out

JNDI resource for connection pooling

2001-12-17 Thread Amine AMAR
Hi all, I have a problem, please can anyone help? I'm trying to create an Oracle pooled connection as a JNDI resource. I made the required configuration: WEB-INF\web.xml file: web-app resource-ref res-ref-namejdbc/toto/res-ref-name

RE: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Guido Medina
Hi, In every servlet specification you know that you SHOULD NOT trust in the order that the elements were sentfrom form, but you can try with Request.getParameterValue(int param) with the integer instead the name of the parameter, get first the parameters count and after a cycle: for

AW: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Ralph Einfeldt
The servlet spec doesn't promise to save the order of parameters as it doesn't make much sense. The browsers don't do either. So, even if the spec would garantee that you can get the parameters from the request in the same order than the browser seent them, you wouldn't win anything, as the

Re: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-17 Thread Tom Drake
When my work is done, Session Affinity will not be required in order to acheive load balancing. However, we should still want to use session affinity in our load balancing solution(s) for the simple reason that it will perform better. However, the session affinity between Apache and Tomcat 3

Re: is it possible to access files not under webapps/ using mod_webapp

2001-12-17 Thread David Smith
If you have a recent build of mod_webapp, you should be able to specify the full path in the WebAppDeply directive. Pier added this after version 1.0, so you definitely need a recent build. Example: WebAppDeploy d:/data/tomcat/root conn /root (or whatever) --David On Monday 17 December

apps-xxx.xml vs. server.xml

2001-12-17 Thread Joe Cheng
Hi everyone, As I understand it, Tomcat 3.3 uses apps-xxx.xml to configure contexts and configuring contexts via server.xml is only supported for backward compatibility. Tomcat 4.0 does not seem to support apps-xxx.xml at this time, however. Are there plans to give 4.0 this capability? In

RE: What's the word on a Servlet/JSP including itself in recursion?

2001-12-17 Thread Joe Cheng
How are you passing the resultSet back and forth between the JSP's? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

tomcat4 startup exception -- java.security.AccessControlException

2001-12-17 Thread Xin Li
Hi, I'm running a servlet under Tomcat4. The servlet is an enhydra application. The stand alone enhydra application can be run perfectly under enhydra, but when it is run under tomcat4, it says java.security.AccessControlException: access denied (java.io.FilePermission

Re: AW: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Christopher K. St. John
Ralph Einfeldt wrote: The servlet spec doesn't promise to save the order of parameters True. The browsers don't do either. OTOH, the HTML spec does guarantee the order, at least for application/x-www-form-urlencoded. ref section 17.13.4: The control names/values are listed in the

RE: How to get webapp name

2001-12-17 Thread Neil Aggarwal
Micael: I am looking for the name of the web application. For example, if I look at http://dev.leads-unlimited.com/leads/index.jsp The webapp name is leads. It is the same name as the directory that contains the JSP files. Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc.

Problem w Apache Server Name directive pt2

2001-12-17 Thread Denny Chambers
Hi All, I had a problem while deploying an Apache 1.3.20/mod_ssl/Tomcat 4.0.1/WepApps configuration. The errors that I was getting began something like this: [error] Cannot deploy application MyAppName. The solution that I found in the Tomcat User Archives was to change the ServerName

TC 4.0.1 HttpProcessor thread out of control

2001-12-17 Thread Scott Weaver
Has anyone seen this bug or know what might cause tomcat to just keep creating HttpProcessor threads until it reaches the set maximum. I know that I'm not getting this many simultaneous requests, and also the localhost_access_log doesn't record any requests when this happens. Any ideas? Please?

Re: How to get webapp name

2001-12-17 Thread Yoav Shapira
Hi, Maybe what you're looking for is the webapp's context, and for that you can try HttpServletRequest.getContextPath(): public java.lang.String getContextPath() Returns the portion of the request URI that indicates the context of the request. The context path always comes first in a request URI.

Re: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-17 Thread Craig R. McClanahan
On Mon, 17 Dec 2001, Tom Drake wrote: Date: Mon, 17 Dec 2001 07:47:23 -0800 From: Tom Drake [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], Tom Drake [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Configuring Multiple Tomcat JVMs with Apache

Re: Classloader question

2001-12-17 Thread Craig R. McClanahan
On Mon, 17 Dec 2001, Heikki Doeleman wrote: Date: Mon, 17 Dec 2001 13:06:21 +0100 From: Heikki Doeleman [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Classloader question Hi everyone, trying to make a web application

Re: Basic authentication password caching

2001-12-17 Thread Craig R. McClanahan
On Mon, 17 Dec 2001, EDV Systembetrieb wrote: Date: Mon, 17 Dec 2001 14:32:34 +0100 From: EDV Systembetrieb [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Basic authentication password caching Hi everybody, I setup Tomcat 3.3 with

AW: Classloader question

2001-12-17 Thread Lauer, Oliver
But why wasn't the class found in myapp/WEB-INF/lib ? Sorry, but I don't understand that !? AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064 59 e-Mail:

Re: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Craig R. McClanahan
On Mon, 17 Dec 2001, Bob Byron wrote: Date: Mon, 17 Dec 2001 08:51:24 -0600 From: Bob Byron [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Ordering of parameters in HTTPRequest Object Sean, Did you find a solution

RE: Classloader question

2001-12-17 Thread Guido Medina
Because WEB-INF/lib is for the specifique's application .jar files and WEB-INF/classes is for .class files, don't mix the concept, .jar files are treat as another kind of file system, that's why you put one in /lib and the second in /classes, and, for example if you want some driver for a

AW: Classloader question

2001-12-17 Thread Lauer, Oliver
Guido, I know that, that's what the classloader-how-to-do says, too, but in that case it was an application.jar that was put to web-inf and the classes weren't found either. AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany

RE: Classloader question

2001-12-17 Thread Guido Medina
Well, the most I can tell you about it is that check the following issues: 1) the import statement (import xxx.yyy.className) 2) check the rigth path inside the jar file. 3) check that /lib if you are using unix-based system is in lowercase and /WEB-INF in uppercase. 4) if you are using that

Re: apps-xxx.xml vs. server.xml

2001-12-17 Thread Craig R. McClanahan
On Mon, 17 Dec 2001, Joe Cheng wrote: Date: Mon, 17 Dec 2001 11:15:28 -0500 From: Joe Cheng [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: apps-xxx.xml vs. server.xml Hi everyone, As I understand it, Tomcat 3.3 uses

Virtual Directory?

2001-12-17 Thread Ed Turner
I am looking for a way to access jpeg files in a directory on my server without having to place these files with my web application files. Is there a virtual directory function available? Thanks, Ed Turner

little tomcat startup script

2001-12-17 Thread Michael Weissenbacher
after playing around with startup scripts on my suse linux 7.2 box i finally got tomcat to start as an linux service. i thought somebody may be interested in the script that's why i post it here. it can easily be placed under /etc/init.d, then create symlinks to it in rc3.d and rc5.d like

Re: AW: Classloader question

2001-12-17 Thread Craig R. McClanahan
On Mon, 17 Dec 2001, Lauer, Oliver wrote: But why wasn't the class found in myapp/WEB-INF/lib ? Sorry, but I don't understand that !? Class loaders are black magic :-). Here is one simple scenario to illustrate the kinds of problems you can have. Assume you have class A that uses

Question on SSL...

2001-12-17 Thread Richard S. Huntrods
Greetings! I have SSL working with a self-signed certificate on Tomcat 4.0 - on a Win2K box. The only difficulty I had was that the jsse jar files had to be placed in jre/lib/ext, as the JSSE_HOME variable did not work for me. Now I am trying to move this work to Solaris. I have Tomcat 4.0.1

Assistance please - fixed W2k 4.0 vs 4.0.1 problem, created another!

2001-12-17 Thread Richard S. Huntrods
Greetings! I have solved my problem on W2K where Tomcat 4.0 worked, but Tomcat 4.0.1 did not. I simply moved some jar files (most importantly servlet.jar) from JDK/jre/lib/ext into somewhere else (a temp directory). Now Tomcat 4.0.1 runs perfectly. Obviously the occurance of TWO servlet.jar

Authentication question...

2001-12-17 Thread Guido Medina
Is there any method to get on a JSP the user authenticated through JDBCRealm ?

RE: Authentication question...

2001-12-17 Thread Randy Layman
String username = request.getRemoteUser(); (Remember JSPs are just servlets). -Original Message- From: Guido Medina [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 2:20 PM To: '[EMAIL PROTECTED]' Subject: Authentication question... Is there any method to get on a

RE: Authentication question...

2001-12-17 Thread Guido Medina
I know, that's what I was asking, the method (JSP Servlet) -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 2:42 PM To: Tomcat Users List Subject: RE: Authentication question... String username = request.getRemoteUser(); (Remember JSPs

RE: Authentication question...

2001-12-17 Thread Guido Medina
and I forgot it, thank you...Guido -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 2:42 PM To: Tomcat Users List Subject: RE: Authentication question... String username = request.getRemoteUser(); (Remember JSPs are just servlets).

Re: Question on SSL...

2001-12-17 Thread Richard S. Huntrods
Greetings! Weird. Here's some more info on my attempts to get SSL working on Solaris with Tomcat 4.0.1. In a previous email I mentioned that I generated the .keystore file on W2K and just copied it to Solaris. I just tried to generate a .keystore file on Solaris, and got this error message:

Re: AW: Classloader question

2001-12-17 Thread Bo Xu
- Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 17, 2001 1:51 PM Subject: Re: AW: Classloader question On Mon, 17 Dec 2001, Lauer, Oliver wrote: But why wasn't the class found in myapp/WEB-INF/lib ?

There's 6 mod_jk's? Which one?

2001-12-17 Thread Scott Merritt
Ok... I see in the compiled dir for Linux, 6 mod_jk's... How do I determine if my Apache web server is compiled with eapi or not? Also how do I know if I get the one for ap13 or ap20? I'm using Tomcat 4... mod_jk-3.3-ap13-eapi.so23-Oct-2001 12:52 93K

help --- exceptions on tomcat 4 startup

2001-12-17 Thread Xin Li
Hi, I'm running a servlet under Tomcat4. The servlet is an enhydra application. The stand alone enhydra application can be run perfectly under enhydra, but when it is run under tomcat4, it says java.security.AccessControlException: access denied (java.io.FilePermission

Re: Assistance please - fixed W2k 4.0 vs 4.0.1 problem, created another!

2001-12-17 Thread Richard S. Huntrods
Greetings! Well, I fixed the problem completely! I checked the jar files I was using in JDK/jre/lib/ext against the ones in Tomcat 4.0.1, and the file servlet.jar was larger and newer. Although I'm using JDK 1.3 on my machine, servlet.jar (and a number of other JAVAX jar files) come from the

session timeout action

2001-12-17 Thread Sobeck, James (ISS Atlanta)
hello, i want to setup my session so that when the timeout time is met, I instruct the system to perform a number of actions. is there a way to check to see if the session has timed out? thanks, Jimmy Jimmy Sobeck Engineer - Tools Automation [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Re: There's 6 mod_jk's? Which one?

2001-12-17 Thread Allan Tomalesky
Hi, If you are using apache 1.3.x use ap13 (apache 2.0 try ap20). Try each of the two *.so, if it's the wrong one you will get an error message (eapi or noeapi) depending on which apache binary you are using. Good luck. -allan Scott Merritt wrote: Ok... I see in the compiled dir for

PLEASE HELP: Apache+Tomcat - Virtual hosts + separate VMs

2001-12-17 Thread Noel J. Bergman
I am STILL trying to find out how to configure Apache+Tomcat so that EACH virtual host has ITS OWN JVM. This seems to be a fairly common question, but no one seems willing to actually answer it. Ideally we want some means that works well with the perchild module, so that not only is each

Re: session timeout action

2001-12-17 Thread Christopher K. St. John
Sobeck, James (ISS Atlanta) wrote: is there a way to check to see if the session has timed out? For 2.3, try: javax.servlet.http.HttpSessionListener, for =2.3, try: javax.servlet.http.HttpSessionBindingListener The javadocs have more info. -- Christopher St. John [EMAIL

error on tomcat startup

2001-12-17 Thread Peter Georgiou
HI I'm running Tomcat 4 on Win2k and get the following error when I try to start Tomcat. Tomcat has always worked fine for me, so I don't know why this error has suddenly appeared. Any help please. Thanks Peter Starting service Tomcat-Standalone Apache Tomcat/4.0 ERROR reading

jkconf? Does it work in 4.0.1? Where's workers.properties?

2001-12-17 Thread Scott Merritt
Hmm... My next question is, how come I can't find a workers.properties file? I'm using Tomcat 4.0.1 and trying to get it to autgen the config files... None of these generate anything: ./startup.sh jkconf ./catalina.sh jkconf Okay... So I figured I'd do it manually, but I don't see any

Re: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Christopher K. St. John
Craig R. McClanahan wrote: There are no guarantees that a browser will send the request parameters in the order they appear on the form http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1 application/x-www-form-urlencoded This is the default content type. Forms submitted

Re: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Tom Drake
This may be a dumb question, but do you really care about the order of the form parameters? It seems to me that making your servlet / jsp dependant on the order of the parameters is a huge mistake, even if this order is guaranteed by all browsers and by Tomcat and all other servlet containers.

Re: Assistance please - fixed W2k 4.0 vs 4.0.1 problem, created another!

2001-12-17 Thread Barry L. White
Richard S. Huntrods wrote: Greetings! Well, I fixed the problem completely! I checked the jar files I was using in JDK/jre/lib/ext against the ones in Tomcat 4.0.1, and the file servlet.jar was larger and newer. Although I'm using JDK 1.3 on my machine, servlet.jar (and a number of other JAVAX

ClassCastException, custom Realm, and ClassLoading

2001-12-17 Thread Bongiorno.Christian
We have a custom realm written. Works great until I try to downcast the principal returned from an authentication so that I can call a specific method. Upon investigation (everyone knows this, I know) the error is due to the fact that TC has multiple class loaders and this particular class was

Re: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Christopher K. St. John
Tom Drake wrote: It seems to me that making your servlet / jsp dependant on the order of the parameters is a huge mistake, even if this order is guaranteed by all browsers and by Tomcat and all other servlet containers. Mechanism not policy. If you thing maintaining the order of form

Update changes

2001-12-17 Thread Yiu Wing
How can I update the change that I've made to my webapp's directory in TomCat 4.0? Here's the situation, I deleted an unwanted directory in my webapp's directory, but it's still being showed after I restarted TomCat and the browser - well, I actually rebooted the machine. I've set reloadable to

Re: Tomcat-as-an-NT-service startup failure

2001-12-17 Thread Andrew Bruno
Hi Kevin, in my document there could be a mistake. tomcat binary comes pre-installed with the NT Service, so there is no need to install the second jk_nt_service Look in your services, and see if you see if you see a service named Apache Tomcat with executabel path being

tomcat not starting properly on Linux

2001-12-17 Thread Brian Nice
I installed tomcat 3.3 on our linux server, along with Java 1.3. When I run the startup.sh script, all that happens is my environment variables - JAVA_HOME, PATH, and TOMCAT_HOME are echoed back to me on the screen. If I do a grep on java processes, there are about 12 java processes that start

Re: AW: Classloader question -- soap

2001-12-17 Thread E B
I (and a few others) have observed that when using soap+tomcat4 for message style services, I need to remove the soap classes from soap/WEB-INF/classes and put soap.jar in the common/lib. This is only with the message style services. this means, the messagerouter's class(say MR) is being

Basic working of tomcat

2001-12-17 Thread Amar
Hi everyone!!! I have just subscribed to this mailing list. I am working with wap application development and trying to do it in jakarta tomcat .My problem is can i configure the tomcat the mime settings by adding mime-mapping in conf/web.xml..i've done it ...but it's still not loading the wmls

Re: What's the word on a Servlet/JSP including itself in recursion?

2001-12-17 Thread Nikola Milutinovic
How are you passing the resultSet back and forth between the JSP's? I'm not. This is the scatch of the code: JSP: OUDisplay.jsp DriverManager.getConnection() Connection.createStatement() Statement.executeQuery() while( ResultSet.next() ) { ... if( recurse )

Basic auth and form based login

2001-12-17 Thread Magnus Jansson
Hi! I want to use protected folders within apache on netware and that works (basic authentication and mod_nds). But I want to use form based login and when a user tries to use pages that is in those protected folders I dont want those annoying dialogboxes to appear. How do I do - - - -

Re: PLEASE HELP: Apache+Tomcat - Virtual hosts + separate VMs

2001-12-17 Thread James Chuang
Noel: Let me give this one a shot. I just did this for Tomcat 3.24 over the weekend. To each have a separate JVM, you basically need multiple Tomcat sessions. Which means, you need multiple server.xml, each with it's own context definition serving a particular JVM. So, here is what you need

AW: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Ralph Einfeldt
If the form is used to create other output (like eMail) it is reasonable to reproduce the order of the fields. In this case it can be desired that the eMail reflects the changes that where made to the form. In this scenario the servlet wouldn't be less reliable, as it's not the inner logic

AW: AW: Classloader question

2001-12-17 Thread Lauer, Oliver
Black magic, of course...but slowly I'm going to understand how to handle that and to become a magician :-) Thanx ! Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil:

Re: Can I redirect all the requests caming to Tomcat to a servlet or a jsp page?

2001-12-17 Thread Allan Kamau
Hi Cianluca, Servlet 2.3 specification and Tomcat 4.x does have Filters support an implementation. A filter is a special class that provides the ability to be able to capture a request from a client to a specific servlet (or any other resource) on your context or a request to any resource in an