Re: JDBC Realm hangs

2003-11-13 Thread Navanee
[EMAIL PROTECTED] wrote: Hello, I am running tomcat 4.1.27 on windows 2000 server with sql server 7 in production. Using the JDBC Realm to manage the login. The login works just fine but then after some time it hangs up. The login page is served so I know tomcat is still running but once

RE: Servlets -- help needed

2003-11-13 Thread Schalk
Navanee The file structure, for webapps are as follows: Tomcat/webapps/yourapp/ - In this folder you can place all of your image files, html files, .js, .css, and your JSP's. Tomcat/webapps/yourapp/WEB-INF/classes/ - In here you should place all compiled servlet code Tomcat/webapps/yourapp/WEB-INF

Re: Unusual config for: SSL -> Apache -> JK2 -> Tomcat

2003-11-13 Thread Bill Barker
Can't be done, for the simple reason that Apache has to respond with the Server cert long before it finds out if the request is going to Tomcat. Otherwise, the browser will refuse to continue with the connection. "Mike Kellstrand" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Is it p

Servlets -- help needed

2003-11-13 Thread Navanee
Friends, I want to write a HTML form that will accept some values from the user and i want to print the values using a servlet program. I have installed Tomcat 4.1 in my win2k m/c. This is the folder where i have installed the Tomcat: C:\Program Files\jakarta-tomcat-4.1.27\webapps Please tell

Re: Tomcat 4.1 Runaway Java Procs on Debian LINUX

2003-11-13 Thread Lukas Bradley
First, this was my main contention point. It was answered on JGuru. [N.B.: Under Linux, each Java Thread appears in the process list (ps) as a separate process. This is because native Linux threads are implemented as lightweight processes. However, there is still only one Java process space -- th

RE: modifying shutdown behaviour?

2003-11-13 Thread Patrick Herrera
Hi all, I would like to implement a ServletContextListener, but I can't find an example of the tags I need to add to my web.xml file to register a class as a listener. Can anyone point me in the direction of an example? Thanks, Patrick -Original Message- From: Shapira, Yoav [mailto:[EM

RE: Signal 11 causing Tomcat crash

2003-11-13 Thread Peter Lin
that's interesting. I've seen database drivers do a segfault signal 11 error, like Oracle OCI drivers. but I haven't seen that happen. Were you deploying using the management utilities? peter --- David Muller <[EMAIL PROTECTED]> wrote: > we have verified that in certains cases (deploying > new

Re: OT -mx64m option

2003-11-13 Thread Chiming Huang
Thank you for pointing this out. Chiming - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 2:26 PM Subject: Re: OT -mx64m option > Chiming, > > Just a quick question. Is JVM (1.3.1) going

RE: Signal 11 causing Tomcat crash

2003-11-13 Thread David Muller
we have verified that in certains cases (deploying new war file, how tomcat was stopped previously, etc.) that restarting tomcat 4.1.27 without first deleting the "work" directory and removing the CONTENTS of the temp directory (not the temp directory) itself will cause a sig 11. Since we have

Re: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Chong Yu Meng
David, I have a sample UNIX sockets configuration on this page (http://cymulacrum.net/tomcat/jk2man_channel_UNIX.html ). This page is actually linked from the page I mentioned to you earlier for the Apache 2 and Tomcat integration with mod_jk2 (http://cymulacrum.net/tomcat/jk2_compile.html) R

Re: Looking for mod_jk2

2003-11-13 Thread Chong Yu Meng
I'm using the Falsehope RPMs for Apache 2, not Red Hat's. That could be the reason why it compiles cleanly on my system and not on others. Regards, pascal chong Mark Eggers wrote: Dave, The linker is looking for libapr-0.so. I don't know what you used in your ./configure run. On some installat

Fw: virtual hosts

2003-11-13 Thread Paul
Hi again all, i think i found one solution for my own problem. I commented out all the virtual hosting stuff from the apache httpd.conf file, and instead configured virtual hosting in tomcat server.xml file, adding a default host to the Engine element, and then defining a second Host element f

Re: Timestamp on log is 6 hours ahead of system time.

2003-11-13 Thread Tim Funk
The JVM is probably thinking the current timezone is wrong. Or the current user running the java process has that problem. -Tim Robyne Vaughn wrote: Can anyone tell me why the timestamp on my Tomcat logs (catalina.out), and web-app logs is about 6 hours ahead of the system time on the system on

Re: How to retreive an application context path from a servlet init()

2003-11-13 Thread Tim Funk
AFAIK, it can only be retrieved via the HttpServletRequest -Tim Heritier Arnaud wrote: Hi guys !! I have a Struts application and I extend the ActionServlet. In the init(ServletConfig) method I would like to retreive the context path of the application where the servlet is used. I didn't find a

Tomcat Manger can't start to Mysql connection

2003-11-13 Thread [EMAIL PROTECTED]
I am trying to use the Manager App for Tomcat 4.1 to start a new context for a Virtual Domain. It appears to be able to start the context however, it is not able to properly make a connection to the database. The error message I get is java.sql.SQLException: Cannot load JDBC driver class 'null' .

unsubscribing

2003-11-13 Thread Jake den Otter
I'm tyring to unsubscribe from this list and have sent emails to the unsubscibe email address. I'm still waiting to be removed. Does anyone konw how long this takes? because my inbox is getting filled up way to quickly :) Jake _ Ho

virtual hosts

2003-11-13 Thread Paul
Hi, am trying to get name-based virtual hosting working. here is my environment: windows 2000 java jdk 1.4 jakarta-tomcat-4.1.27-LE-jdk14.exe apache_2.0.47-win32-x86-no_ssl.msi jk2 connector oracle jdbc driver 9.x Config for it is in Apache httpd.conf file, as follows: #Virtual Hosting Na

RE: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Januski, Ken
It might be a good idea to put the comment back in, restart Tomcat, and then see whether or not you get these errors. At least that way you know whether or not they're related to your changes. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 200

Re: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Filip Hanik
- Original Message - From: "Filip Hanik" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 3:30 PM Subject: Re: Enabling crashed ESRI Arcims applications. look in all three - Original Message - From: "Yansheng Lin" <[EMAIL PROTEC

Re: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Filip Hanik
look in all three - Original Message - From: "Yansheng Lin" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 3:18 PM Subject: RE: Enabling crashed ESRI Arcims applications. No stacking trace, I even looked through log4j's log. Maybe I n

Tomcat 4.1 Runaway Java Procs on Debian LINUX

2003-11-13 Thread Lukas Bradley
What determines the number of Java procs running catalina upon startup? The OS is Debian Linux, and it's Tomcat 4.1. If you look closely below, between ids 268 and 317 was full of java instances. That's 49 java instances running the bootstrap. What would make this happen? Is this normal? Is th

RE: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Yansheng Lin
No stacking trace, I even looked through log4j's log. Maybe I need to enable something, give me a hint. Here is what I have under logs/ [EMAIL PROTECTED] logs]# ll total 3312 -rw-r--r--1 root cvsadmin 1907951 Nov 13 15:20 apache_log.2003-11-13.txt -rw-r--r--1 root cvsadmin

Re: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Filip Hanik
did you look in the other logs? you are sure there is no stack trace anywhere? Filip - Original Message - From: "Yansheng Lin" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 2:59 PM Subject: RE: Enabling crashed ESRI Arcims applications

RE: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Yansheng Lin
Nope, no errors or exception(not that I know of:). I did a >tail apache_log.2003-11-13.txt and the log just stop there after the first arcims request. And on the arcims server side, nothing happens, i.e., no arcims request was received. I do get the following exception when I started my tomcat

Re: Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Filip Hanik
did you get a stack trace? Filip - Original Message - From: "Yansheng Lin" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 2:41 PM Subject: Enabling crashed ESRI Arcims applications. Wow, this is kind of cool. And I couldn't explain

Enabling crashed ESRI Arcims applications.

2003-11-13 Thread Yansheng Lin
Wow, this is kind of cool. And I couldn't explain it! If I uncomment the following header logging in my server.xml, all of 'arcims-related' application does not work anymore. And it seems that the request wasn't even sent to 'arcims' server. Unfortunately, arcims uses a propriety servlet.

Timestamp on log is 6 hours ahead of system time.

2003-11-13 Thread Robyne Vaughn
Can anyone tell me why the timestamp on my Tomcat logs (catalina.out), and web-app logs is about 6 hours ahead of the system time on the system on which tomcat runs? How can I fix it to find the correct or the system time? thanks, Robyne K. Vaughn

AW: setting up multiple realms for apps deployed using ant install task?

2003-11-13 Thread Thomas Reiter
Hi Yes you have to specify a context for each App. You can do this using a e.g. appOneContext.xml file. Therein make your context description like you are used from server.xml Bind the context in your ant task with config="file://anywhere/appOneContext.xml" Regards Tom -Ursprüngliche N

Re: [Off-Topic] Recommendation for Tomcat Security book

2003-11-13 Thread Jean-Francois Arcand
The Servlet Spec is also good :-) http://www.jcp.org/en/jsr/detail?id=154 -- Jeanfrancois Yann ? wrote: Are there any recommendations for a tomcat security book? I've found this one on amazon.com, but there are no reviews on the book so I thought I would run it by the list first before

setting up multiple realms for apps deployed using ant install task?

2003-11-13 Thread Paul Tomsic
How do you set up multiple realms for different webapps that are installed using ant? We don't have any context tags in the server.xml file other than for the manager app. Our applications are installed using install from our build.xml in ant: http://localhost:8080/manager"; username="manager"

Jasper error compiling some .jsp files

2003-11-13 Thread Wendell Holmes
Hi, I'm getting Jasper compile errors on a couple of .jsp files, most run fine. The identical .jsp files compile okay on another machine. I'm running Tomcat 4.1.29 with IIS 5.0 on the problem computer. Included below are excerpts from both the /edulogweb and localhost log files. Please note in

Production Issues

2003-11-13 Thread Arnab Chakravarty
Hi Shapira and Tomcat Users, Big apology to u all for this problem in a single thread again. (Its all linked, cannot separate them) It would be pretty obvious from the mail I have wrote in the past about the production Issues. This time we have identified some possible areas where we think there

How to retreive an application context path from a servlet init()

2003-11-13 Thread Heritier Arnaud
Hi guys !! I have a Struts application and I extend the ActionServlet. In the init(ServletConfig) method I would like to retreive the context path of the application where the servlet is used. I didn't find a solution. Am I stupid or too tired?? Do you have a standard servlet or a Struts specifi

Re: [Off-Topic] Recommendation for Tomcat Security book

2003-11-13 Thread Yann Cébron
> Are there any recommendations for a tomcat security book? I've found this > one on amazon.com, but there are no reviews on the book so I thought I would > run it by the list first before I buy itany other suggestions > Thanx for any insight > > > > http://www.amazon.com/exec/obi

[Off-Topic] Recommendation for Tomcat Security book

2003-11-13 Thread RPITRE
Are there any recommendations for a tomcat security book? I've found this one on amazon.com, but there are no reviews on the book so I thought I would run it by the list first before I buy itany other suggestions Thanx for any insight http://www.amazon.com/exec/obidos/tg/detail

Re: SessionListener

2003-11-13 Thread Jean-Francois Arcand
Peter Maas wrote: Hi, I wondered if there is a way detect somehting like a 'sessionWillBeDestroyed' event. since the sessionDestroyed method in a sessionListener seems to be called after the session was destroyed. Use Tomcat 5 ;-) The Servlet spec has been modified to do exactly what you wa

RE: Listen on specific ip address....

2003-11-13 Thread RPITRE
Sorry if I was a little vague.i was sorta just ramblin' onsorry bout thatmy server has 3 ip addresses, 2 are in use for two other webapps on iisand the third needs to be used by my tomcat webappwhen I add address="192.168.2.100" and change the port to 80 on the connector element

Re: Web App authentication

2003-11-13 Thread Jean-Francois Arcand
Yes, just define two , one for the FORM and one for BASIC and use a different url-pattern. The problem is they will have 2 different url pattenr which may not be convenient for your users. -- Jeanfrancois Matthew Oatham wrote: Hi, Is it possible to have a web app that uses both FORM and BASIC

RE: Listen on specific ip address....

2003-11-13 Thread Shapira, Yoav
Howdy, Do you mean listen only on that IP address (i.e. your server has multiple IP addresses) or accept connections only from a certain IP address? The latter can be done with the RemoteAddressFilter that ships with tomcat. Yoav Shapira Millennium ChemInformatics >-Original Message- >

Listen on specific ip address....

2003-11-13 Thread RPITRE
Hello All and thanx in advance for any help I need my webapp to listen on port 80 on a specific ip address..this box that I have tomcat installed on, also has IIS installed.when I added "address="192.168.100.25" and changed port="8080" to port="80" on the connector string below, tom

Re: OT -mx64m option

2003-11-13 Thread Christopher Schultz
Chiming, Just a quick question. Is JVM (1.3.1) going to allocate as much as memory for Tomcat (4.1.24) if there is not a "-mx" option provided? JVMs on various platforms have different defaults. I seem to rcall that the old Linux defaults for Sun's JVM was a 16MB heap, but that has been changed to

OT -mx64m option

2003-11-13 Thread Chiming Huang
Hi, Just a quick question. Is JVM (1.3.1) going to allocate as much as memory for Tomcat (4.1.24) if there is not a "-mx" option provided? Thanks Chiming - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

RE: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Dennis McRitchie
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html > -Original Message- > From: Dave Morrow [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 1:19 PM > To: 'Tomcat Users List' > Subject: Integrating Tomcat 4.1.29 with Apache 2 > > > Hi all, well, as seen by

JDBC Realm hangs

2003-11-13 Thread lists
Hello, I am running tomcat 4.1.27 on windows 2000 server with sql server 7 in production. Using the JDBC Realm to manage the login. The login works just fine but then after some time it hangs up. The login page is served so I know tomcat is still running but once the user types in the usern

RE: Looking for mod_jk2

2003-11-13 Thread Dennis McRitchie
Ah, I had not noticed the versions of those files in the apache lib dir because we built our own from sources and did not install from an rpm package on that machine. But thanks for pointing that out as it may help explain another problem I was having: when I built apache2 from sources on a machine

Re: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Roberto Bottoni - AfterBit \(TMP\)
Sorry I have Debian .. and some little problems! - Original Message - From: "Dave Morrow" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 7:33 PM Subject: RE: Integrating Tomcat 4.1.29 with Apache 2 > Redhat 9 > > Tomcat and Apache are

RE: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Dave Morrow
Redhat 9 Tomcat and Apache are both functioning. David Morrow Systems Technical Lead, IT Operations P: (519) 951-6079 F: (519) 451-6615 mailto: [EMAIL PROTECTED] ..poor planning on your part does not make an emergency on my part This message has originated from Autodata Solutions.

Re: Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Roberto Bottoni - AfterBit \(TMP\)
What linux box you have? - Original Message - From: "Dave Morrow" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 7:19 PM Subject: Integrating Tomcat 4.1.29 with Apache 2 > Hi all, well, as seen by my previous posting, I have finally g

Integrating Tomcat 4.1.29 with Apache 2

2003-11-13 Thread Dave Morrow
Hi all, well, as seen by my previous posting, I have finally gotten mod_jk2.so and jkjni.so installed. Does anyone have an idiots guide to getting Apache and Tomcat working together. A basic configuration is all I need. David Morrow Systems Technical Lead, IT Operations P: (519) 951-6079 F: (519)

RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
I actually got it to compile by ; ln -s /usr/lib/libapr-0.so /usr/lib/libapr.so Now I have, in /usr/lib/httpd/modules both mod_jk2.so and jkjni.so Now to making Apache talk to Tomcat! David Morrow Systems Technical Lead, IT Operations P: (519) 951-6079 F: (519) 451-6615 mailto: [EMAIL PROTECT

RE: How to turn on mod_jk2 logging

2003-11-13 Thread Dennis McRitchie
Thanks Mark! That did the trick. Unfortunately, when my uri doesn't match, I still get no logging, but I think that's because of the way that my request bails out of jk2_handler(). So I'll have to build it myself and put in some more logging. Thanks again. Dennis Dennis McRitchie Research & Aca

RE: Looking for mod_jk2

2003-11-13 Thread Mark Eggers
Dave, The linker is looking for libapr-0.so. I don't know what you used in your ./configure run. On some installations the link between the current version of libapr and libapr-0.so (and libapr-0.so.0) does not get made when Apache is installed. This appears to be mostly a problem with the RedH

problems with the web.xml file

2003-11-13 Thread crow none
Hi i`m sorry to bother you but i vae a problem with the web.xml, i want to configure the http access,using the security constraint item ,but when i do it and start tomcat an error like this appears. ERROR reading java.io.FileInputStream at line 20 /web-app/security-constraint If someone could hel

RE: Looking for mod_jk2

2003-11-13 Thread Dennis McRitchie
On my RedHat 9 system, this library (/usr/lib/libapr-0.a) is provided by the subversion-devel package, which I'm guessing you don't have installed on your system. This package also contains /usr/lib/libaprutil-0.a > rpm -q --whatprovides /usr/lib/libapr-0.a subversion-devel-0.17.1-4503.0 This see

Re: problems with the web.xml

2003-11-13 Thread Tim Funk
Validate your web.xml against the dtd. -Tim crow none wrote: Hi i`m sorry to bother you but i vae a problem with the web.xml, i want to configure the http access,using the security constraint item ,but when i do it and start tomcat an error like this appears. ERROR reading java.io.FileInputStr

problems with the web.xml

2003-11-13 Thread crow none
Hi i`m sorry to bother you but i vae a problem with the web.xml, i want to configure the http access,using the security constraint item ,but when i do it and start tomcat an error like this appears. ERROR reading java.io.FileInputStream at line 20 /web-app/security-constraint If someone could hel

Apache 2 and Tomcat 4.1.29

2003-11-13 Thread Roberto Bottoni - AfterBit \(TMP\)
I have a Linux box (Debian 3.0) with Apache 2 and Tomcat 4.1.29 I have compiled mod_jk2.so. When i start tomcat i get this logs : Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Nov 13, 2003 6:07:57 PM org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache

RE: Looking for mod_jk2

2003-11-13 Thread Stuart Stephen
Oh yes... read it incorrectly! Sorry! -Original Message- From: Dave Morrow [mailto:[EMAIL PROTECTED] Sent: 13 November 2003 17:17 To: 'Tomcat Users List' Subject: RE: Looking for mod_jk2 Well, I managed to build mod_jk2.so but not the jkjni.so library. David Morrow Systems Technical Lea

RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
Well, I managed to build mod_jk2.so but not the jkjni.so library. David Morrow Systems Technical Lead, IT Operations P: (519) 951-6079 F: (519) 451-6615 mailto: [EMAIL PROTECTED] ..poor planning on your part does not make an emergency on my part This message has originated from Aut

Re: concurrent user threading problem

2003-11-13 Thread Christopher Schultz
Mufaddal, I might be wrong, but maybe compiling tomcat or / and compiling your webapp with a compiler that does optimizations for a hyperthreaded environment might solve the issue. If you are doing some tests in this regards and have results do let me know. It's not Tomcat that would have to be r

RE: Looking for mod_jk2

2003-11-13 Thread Stuart Stephen
Are you on RedHat 9? I had the same problem, I couldn't build mod_jk2.so on that. It seems to be an issue with RedHat 9.0?!? Why, i'm not sure. -Original Message- From: Dave Morrow [mailto:[EMAIL PROTECTED] Sent: 13 November 2003 16:59 To: Dave Morrow; 'Tomcat Users List' Subject: RE: Loo

RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
It appears that my build is building mod_jk2.so but not jkjni.so Anyone willing to assist? David Morrow Systems Technical Lead, IT Operations P: (519) 951-6079 F: (519) 451-6615 mailto: [EMAIL PROTECTED] ..poor planning on your part does not make an emergency on my part This messag

RE: AW: How to get the list of active sessions?

2003-11-13 Thread Shapira, Yoav
Howdy, You can write an HttpSessionListener. Or you can write a servlet which access the tomcat-specific data structures that hold sessions. The latter would need to run in the common classloader repository and be marked as privileged. Yoav Shapira Millennium ChemInformatics >-Original

Re: concurrent user threading problem

2003-11-13 Thread Mufaddal Khumri
Hi Tamsin: I might face the same problem like you did. I am just wondering if you are still trying to find a way to make your webapp run on the new hardware with hyperthreading turned on? If yes, what if the compiler used to compile your code wasnt optimised for a hyperthreaded environment ? I

RE: Problems with HTTPS in Tomcat 4.1.27, axis 1_1RC2, & JDK 1.4.1 on AIX UNIX

2003-11-13 Thread Curtis Leach
As an FYI to this issue, I've finally determined that HTTPS is very unstable in this configuration (Tried using both JDK 1.3 & JDK 1.4) But once I upgraded to Tomcat 5.0.14 all my problems went away. I guess I'll have to live with a beta release for now. IBM's JVM just isn't completely supported

RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
ib -lcrypt -lapr-0 -Wl,-soname -Wl,jkjni.so -o ../../../build/jk2/apache2/.libs/jkjni.so /usr/bin/ld: cannot find -lapr-0 collect2: ld returned 1 exit status make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1 make[1]: Leaving directory `/root/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/nati

more on mod_jk2 errors

2003-11-13 Thread Yiannis Mavroukakis
Hello again, Further to my previous post, I've isolated the piece of code that spits out the errors in the log ap_mpm_query(AP_MPMQ_MAX_DAEMONS, &max_daemons_limit); if (max_daemons_limit == 0) { workerEnv->childId = 0; env->l->jkLog(env, env->l, JK_LOG_INFO,

Unusual config for: SSL -> Apache -> JK2 -> Tomcat

2003-11-13 Thread Mike Kellstrand
Is it possible to have Apache receive HTTPS requests and then use JK2 to forward them on to a Tomcat that deals with the SSL/certificates and services the requests? I want Apache & JK2 to be simply a conduit and not try to deal with the SSL. Tomcat will have the certificate, not Apache. This Apa

Re: AW: How to get the list of active sessions?

2003-11-13 Thread dhay
but is there any way to do that programmatically eg in a servlet? Cheers, David "Markus Heussen" <[EMAIL PROTECTED]> on 13/11/2003 04:23:32 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:AW: How to get the list of

RE: Looking for mod_jk2

2003-11-13 Thread Dave Morrow
Thanks for the tip. I have been through your procedure, and cannot get it to compile. David Morrow Systems Technical Lead, IT Operations P: (519) 951-6079 F: (519) 451-6615 mailto: [EMAIL PROTECTED] ..poor planning on your part does not make an emergency on my part This message

RE: Resolving an object for a jsp?

2003-11-13 Thread Patrick Willart
An easy way to figure out the java equivalent for this is too look at the compiled jsp (.java). Patrick -Original Message- From: Josh G [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 4:20 PM To: Tomcat Users List Subject: Re: Resolving an object for a jsp? Tim Funk wrote:

Re: How to tune Tomcat and Java?

2003-11-13 Thread Jens Ove Lillegraven
Thanks for reply! Got it! To show all threads, type H in top in Linux. Then we see that java is multi-threaded, and uses all CPUs. But still, Tomcat and java seems to be the bottleneck in our system. I tried to make java use more memory, but with no luck. I tried with: in /usr/bin/dtomcat4: CATAL

Re: AW: AW: AW: Container based authentication and session persis tenc e with Tomcat 4.1.29

2003-11-13 Thread Christopher Schultz
Andreas, How often do you think you'll be re-starting Tomcat while the application is running in the wild? That is totally up to my employer. Since we are a dynamic company changes could happen often. At least more often than I would like to confront my users with a mysteriously broken session. I a

Re: Signal 11 causing Tomcat crash

2003-11-13 Thread jerome moliere
Jim Goodspeed wrote: Unfortunately we have also tried Sun's JVM and are experiencing the same Signal 11 errors (I've included two snippets of the Sun error - same error as the IBM Sig 11, just in a different format). Sometimes the dump specifies the library in question, other times it does not.

Re: TC 4.1.27 Bug? Redirect "/" -> "/index.jsp" with jsessionid

2003-11-13 Thread Tim Funk
There are a few BZ reports with respect to welcome-file redirects not having sessionid attached to the redirected URL. This is not an issue on tomcat5 (IIRC). -Tim John Sidney-Woollett wrote: I hope that this is the right list to post this to. If not, apologies. I'm having a problem with sess

Re: JDBCRealm through a firewall

2003-11-13 Thread Tim Funk
I think 4.1.29's JDBCRealm tried to reconnect on failure. -Tim Holger de Wall wrote: BITTE DURCHSEHEN our firewall (Cisco PIX 506) seems to be the reason for a 'java.sql.Exception' given by the JDBCRealm:

TC 4.1.27 Bug? Redirect "/" -> "/index.jsp" with jsessionid

2003-11-13 Thread John Sidney-Woollett
I hope that this is the right list to post this to. If not, apologies. I'm having a problem with session information getting lost when Tomcat redirects from a request to a folder, to the underlying resource (eg ../folder/index.jsp) when URLs are encoded with the session ID. This might be a proble

JDBCRealm through a firewall

2003-11-13 Thread Holger de Wall
BITTE DURCHSEHEN our firewall (Cisco PIX 506) seems to be the reason for a 'java.sql.Exception' given by the JDBCRealm: --- 2003-11-13 09:46:28 JDBCRealm[]: Exception performing authentication java.s

Web App authentication

2003-11-13 Thread Matthew Oatham
Hi, Is it possible to have a web app that uses both FORM and BASIC authentication or can only 1 be used ? Thanks Matt _ On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile -

Re: help w/ tag issue

2003-11-13 Thread Jon Wingfield
Seen this before on moving from 4.0.x to 4.1.x. The tag probably isn't coded as per http://jakarta.apache.org/taglibs/guidelines.html I'm betting the tag never clears its internal state between invocations because release() is never called (pooling). To clear state safely when pooling is activate

Re: Sessions - SSL

2003-11-13 Thread Adam Hardy
On 11/13/2003 03:07 PM Harry Mantheakis wrote: I doubt very much that this implementation is container-specific to tomcat. Did you try searching on 'user-data-constraint' or 'confidential'? Yes, I did a search for those, but it did not shed any more light on whether or not (and how) cookies created

RE: Setting the "-server" Java Option

2003-11-13 Thread Bill Tantzen
Yeah, same here. -server = instant crash on my well-patched solaris 9 installation. I had such bad luck that I have yet to try it with 1.4.2. Cheers! Bill Tantzen University of Minnesota Libraries [EMAIL PROTECTED] 612-626-9949 (office) 612-250-6125 (cell) _

How can I authenticate client apps to a servlet

2003-11-13 Thread Mike Kellstrand
Hi, I have a client-server application where the server is a Java servlet running in Tomcat and the clients are Java applications. I now want to secure the data transfer and authenticate the clients that connect to the server. I have set up Tomcat for SSL and created a self-signed certificate.

RE: tomcat 4.1.28 Manager/Admin Applications

2003-11-13 Thread Shapira, Yoav
Howdy, >> >> >(1) with the admin application: can log in, but requesting >> >user/group/roles/user database info >> >gives nothing besides error messages ("The server encountered an >> internal >> >error (Error retrieving attribute users) that prevented it from >> fulfilling >> >this request") >>

Re: concurrent user threading problem

2003-11-13 Thread anorakgirl
thanks all for the pointers, i will look into the hardware/os stuff, not really something i know anything about. it was the sun jdk, trying the ibm one was going to be the next step. as its working now and the users are happy, i'm going to take an afternoon off to make up for the late nights i've h

RE: How to tune Tomcat and Java?

2003-11-13 Thread Shapira, Yoav
Howdy, I recall reading something about a redhat issue with this. I'm not a redhat expect, so I don't know for sure. But I do know for sure you can conclude very little from the top command in general. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jens Ove Lillegr

Re: How to tune Tomcat and Java?

2003-11-13 Thread Frode E. Moe
On Thu, Nov 13, 2003 at 15:17:53 +0100, Jens Ove Lillegraven wrote: > As you see, there's only one Java service on CPU 0, and MySQL is running on both > CPUs. > Any explanation for this? Apparently RedHat Linux 8.0 and above only shows the main thread by default. See http://www.redhat.com/docs/m

RE: Signal 11 causing Tomcat crash

2003-11-13 Thread Cox, Charlie
> -Original Message- > From: Jim Goodspeed [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 8:52 AM > To: Tomcat Users List > Subject: RE: Signal 11 causing Tomcat crash > > > Unfortunately we have also tried Sun's JVM and are > experiencing the same Signal 11 errors (I've in

AW: tomcat 4.1.28 Manager/Admin Applications

2003-11-13 Thread Fuhrmann Anna
> -Ursprüngliche Nachricht- > Von: Shapira, Yoav *EXTERN* [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 13. November 2003 15:11 > An: Tomcat Users List > Betreff: RE: tomcat 4.1.28 Manager/Admin Applications > > > > Howdy, > > >(1) with the admin application: can log in, but reque

Re: How to tune Tomcat and Java?

2003-11-13 Thread Jens Ove Lillegraven
Hi! Thanks for your reply! If Java and Tomcat is multi-threaded applications, I still don't understand why I see Java on only one CPU when I use the top function in Linux. Here is a snapshot from a medium stress-test load: 15:02:23 up 1 day, 22:23, 1 user, load average: 1,79, 1,56, 0,74 82 p

RE: session security questions?

2003-11-13 Thread Andreas Mohrig
Chris, I just had a discussion with Harry Mantheakis concerning the same point. Of course it is always good (and often necessary) to secure the sessionid (with SSL). In the time of "mega-proxies" with more than one IP address comparing IP addresses won't be of much use. Andreas Mohrig -Orig

Re: Signal 11 causing Tomcat crash

2003-11-13 Thread Jim Lynch
Random sig 11s are sometime indicative of memory failures. Be sure to run some good memory diagnostics. Jim. Jim Goodspeed wrote: Unfortunately we have also tried Sun's JVM and are experiencing the same Signal 11 errors (I've included two snippets of the Sun error - same error as the IBM Sig 1

RE: tomcat 4.1.28 Manager/Admin Applications

2003-11-13 Thread Shapira, Yoav
Howdy, >(1) with the admin application: can log in, but requesting >user/group/roles/user database info >gives nothing besides error messages ("The server encountered an internal >error (Error retrieving attribute users) that prevented it from fulfilling >this request") What's in the logs when t

Re: Signal 11 causing Tomcat crash

2003-11-13 Thread Tim Funk
***Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1*** Does IBM provide a type 4 jdbc driver? -Tim Jim Goodspeed wrote: Unfortunately we have also tried Sun's JVM and are experiencing the same Signal 11 errors (I've included two snippets of the Sun error - same error as the IBM Sig 11, just in a differ

RE: AW: AW: AW: Container based authentication and session persis tenc e with Tomcat 4.1.29

2003-11-13 Thread Andreas Mohrig
Chris, > So, then you'll just check the session for creds? That sounds > reasonable, but then you have to write it yourself :( That's why I wanted to avoid it (beside other things). > How often do you think you'll be re-starting Tomcat while the > application is running in the wild? That is tot

RE: Setting the "-server" Java Option

2003-11-13 Thread Shapira, Yoav
Howdy, I've had more than my share of grief with -server. We had intermittent internal crashes with -server on JDK 1.3.0, 1.3.1, 1.4.0, and 1.4.1. Maybe 1.4.2 is better but I've yet to try. This is on Solaris 8 and 9 with all the latest patches. Yoav Shapira Millennium ChemInformatics >-O

RE: Setting up Tomcat

2003-11-13 Thread Shapira, Yoav
Howdy, Please, when you post a message like that, include reproducible steps to show that reloadalb=true "doesn't always work." Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Simon Allen [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 12, 2003 6:09 AM >To: 'Tomc

Re: Sessions - SSL

2003-11-13 Thread Harry Mantheakis
Hello Adam > I doubt very much that this implementation is container-specific to > tomcat. Did you try searching on 'user-data-constraint' or 'confidential'? Yes, I did a search for those, but it did not shed any more light on whether or not (and how) cookies created with an SSL connection are vi

Re: [SOLUTION] Problem of authentication with tomcat/IIS on win NT4

2003-11-13 Thread Robert Jacolin
Robert Jacolin wrote: Hi, I installed jakarta-tomcat-4.0.6 on WIN NT4 with IIS 4. I've following the manual to make tomcat and IIS to work together (with the isapi filter). My application works like I want except that authentification doesn't work. In IIS, I've enabled WIN NT authentication (

RE: Peculiar problem

2003-11-13 Thread Shapira, Yoav
Howdy, That's strange. 443 is the default SSL port, so maybe that's why there's confusion. Have your sys admin temporarily change 443 to something else like 19734 and see what happens. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Magne Skjeret [mailto:[EMAIL PROT

  1   2   >