multiple applications scenario on tomcat...

2003-11-12 Thread Valecha Narender
Hello, --I am new to web applications and services, I am trying my best to put forward the problem I am facing -- I am running three application on tomcat 4.0 (with apache 1.3.27 and mod_jk connector). first is main application; that calls a servlet running in second application. Second appli

SessionListener

2003-11-12 Thread Peter Maas
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. Peter - To unsubscribe, e-mail

Re: Setting up Tomcat

2003-11-12 Thread Nikhil K
you could try setting reloadable attribute to true. but this is not recommended in production servers because of runtime overheads. try using the Manager web application to reload the deployed applications. "S.Gokul" <[EMAIL PROTECTED]> wrote:Hi, I have been using TOMCAT 4.1 version . Is there

Form Based Authentication not redirecting to URL with IE

2003-11-12 Thread Ramesh
Hi, I am using: tomcat 4.1.18 Using Form Based Authentication with JDBCRealm FORM JDBCRealm /login.jsp /login.jsp When I try a URL like: /something.do?id=1 it goes to the login.jsp authenticates and then goes to /index.jsp instead of /something.do?id=1 This behaviour only happens i

RE: second try : help needed for tomcat -jsp issue

2003-11-12 Thread Venkatesh Rachapudi
Hello All Download issue has been resolved,but the problems, the permissions for one of the virtual directories has been tampered ,( from Scripts and Executables it has been changed to Scripts only ) in the directory permissions, Thanks to all those who replied so swiftly esply to Schalk, Vincent

Re: Using Apache/mod_ssl certificate and private key with Tomcat/keytool

2003-11-12 Thread Bill Barker
"Michael Jeffrey Tucker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Some more digging revealed that what I have done so far is what is/was > intended. Back in 2000, Craig McClanahan wrote that: > > "If all you want to do is make sure the client has a valid certificate,

Re: Sessions - SSL

2003-11-12 Thread Bill Barker
"Harry Mantheakis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Andreas > > > So maybe it would be a good idea to stick to SSL for that reason alone (and > > 'accidentally' save yourselve the trouble of having to solve your current > > problem). > > Yes, okay, I take your po

Re: SSL - Tomcat

2003-11-12 Thread Bill Barker
If you want to verify the client's cert, then Kovi's answer is correct. However, it's not up to the server to decide if it's own cert is Ok: It's up to the client to decide that she trusts you. If your client is in Java, then you need to include the CA (aka Signer) cert in your apps TrustStore.

Re: support for 3.X series

2003-11-12 Thread Bill Barker
Tomcat 3.2.x came to the end of it's roadmap about two years ago. The code is still available in the Apache CVS, but that's about it. There is currently no roadmap for Tomcat 3.3.x (i.e. there are no plans to retire it). Of course, since Tomcat is an OS project, for a version to be supported sim

Re: Connection timeout Problem

2003-11-12 Thread Christopher Schultz
Gary, My tomcat 4.1.27 connects to mysql thu. jdbc driver. If I keep some connections overnite, i found they all got lost in the next morning, and hence my tomcat need to restart. does anybody has some hint? You replied to a thread which already contained the fix: Add autoreconnect=true to your JD

Re: Connection timeout Problem

2003-11-12 Thread Vincent Aumont
MySQL drops the connection after a certain period of inactivity. Just add autoReconnect=true to you jdbc url: E.g. jdbc:mysql://localhost:3306/mydb?autoReconnect=true -Vincent. Gary Lee wrote: My tomcat 4.1.27 connects to mysql thu. jdbc driver. If I keep some connections overnite, i found they a

Request dumper valve mangling the data?

2003-11-12 Thread Brooks Harrelson
We're on Tomcat 4.1.24 Turned on RequestDumperValve (just uncommented it in server.xml). Seemed to work fine for correct MIME requests. However, when any request (MIME or not) was submitted with this Content-Type: application/x-www-form-urlencoded , the input request body was transformed to gar

Connection timeout Problem

2003-11-12 Thread Gary Lee
My tomcat 4.1.27 connects to mysql thu. jdbc driver. If I keep some connections overnite, i found they all got lost in the next morning, and hence my tomcat need to restart. does anybody has some hint? Thanks - Original Message - From: Veselin Kovacevic <[EMAIL PROTECTED]> To: Tomcat Us

Re: Looking for mod_jk2

2003-11-12 Thread Chong Yu Meng
Hi Dave, The compile is not really so difficult. I've written a section on this on my website : http://cymulacrum.net/tomcat/jk2_compile.html. Regards, pascal chong Dave Morrow wrote: Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 / Apache 2 RPM binary. Anyone know where I can

Re: Sessions - SSL

2003-11-12 Thread Adam Hardy
On 11/12/2003 04:37 PM Harry Mantheakis wrote: No, not at all. I found that if I redirect a client from SSL to non-SSL I lose the session. I never experienced that. I see the session id stays the same between SSL and non-SSL. Adam -- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9

Re: CUSTOM URL FILTERS TOMCAT

2003-11-12 Thread Christopher Schultz
How would i set up custom filter at the server level instaed of the web app . i want to route all the incoming requests to tomcat thru my custom URL filter . I think what you want is a Valve. Check the documentation for org.apache.catalina.Valve. Unfortunately, this technique will not work

Re: Resolving an object for a jsp?

2003-11-12 Thread Josh G
Tim Funk wrote: -Tim The code will be in a taglib, so I can't do that, i'm trying to find the java equivalent of that jsp code. -- "I'm sick of the Internet. I want a yabby net." [ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ] ---

Problems configuring Tomcat

2003-11-12 Thread crow none
Hi, i`m sorry to bother you but i have a little problem when i try to configure the security constraint using the deployment descriptor , an error like this appears ERROR reading java.io.FileInputstream At Line 19 /web-app/security-constraint/. I`d really appreciate it if you could help me.

CUSTOM URL FILTERS TOMCAT

2003-11-12 Thread murugan arunachalam
hi , How would i set up custom filter at the server level instaed of the web app . i want to route all the incoming requests to tomcat thru my custom URL filter . Regards, Murugan __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http:

support for 3.X series

2003-11-12 Thread Dominic Reynolds
Is there a roadmap for how long the 3.X series of the tomcat server will be supported with bug/security fixes? Thanks, Dominic Reynolds PS: not on list so can you reply directly? - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Resolving an object for a jsp?

2003-11-12 Thread Tim Funk
-Tim Josh G wrote: Hi I'm wondering if there's an easy way to pass information to jsp pages you're inlining with a context.include? Or is it possible to get a Servlet instance for the jsp page and make a call to it yourself in lieu of tomcat? I'm just looking for a more elegant solution

Looking for mod_jk2

2003-11-12 Thread Dave Morrow
Hi, I was just on jakarta.apache.org and cannot find a Redhat 9 / Apache 2 RPM binary. Anyone know where I can get one. I really do not want to have to compile etc (requires ant and the likes which I am not familiar with). David Morrow Systems Technical Lead, IT Operations P: (519) 951-6079 F: (5

Resolving an object for a jsp?

2003-11-12 Thread Josh G
Hi I'm wondering if there's an easy way to pass information to jsp pages you're inlining with a context.include? Or is it possible to get a Servlet instance for the jsp page and make a call to it yourself in lieu of tomcat? I'm just looking for a more elegant solution than simply tacking things

Re: ISAPI_REDIRECTOR2 assistance...

2003-11-12 Thread Richard Norman
Never mind... I got an updated version and it works... Thank You David Boyer ( http://web.bvu.edu/staff/david/index.jsp?section=software ) Just as a note, everyone BUILD from SOURCE. The 2.0.2 version would not connect at all. I updated to the version listed on David's site and it worked. the

Re: mod_jk or mod_jk2

2003-11-12 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/connectors.html#vs -Tim Dionisio Ruiz de Zarate wrote: Hello i must to put one server with apache 2.0.47 and tomcat 4.1.29 in production. what is better for use in production state? mod_jk or mod_jk2? which is more stable? ---

RE: Start Tomcat

2003-11-12 Thread Patrick Willart
Simon, If you add 'pause' as last line in you startup.bat you can see what (error) messages Tomcat outputs. Patrick -Original Message- From: Simon Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 2:31 PM To: '[EMAIL PROTECTED]' Subject: Start Tomcat Hi I am able to s

Re: How to turn on mod_jk2 logging

2003-11-12 Thread Mark Eggers
>From my config file on the Windows/2000 Pro side: # Alternate file logger [logger.file:0] # level=DEBUG file=${serverRoot}/logs/jk2.log [workerEnv:] info=Global server options timing=1 debug=0 # Default Native Logger (apache2 or win32 ) # can be overriden to a file logger, useful # when tracing

RE: Start Tomcat

2003-11-12 Thread Lee, Paul NYC
Hi Simon, Just because the window disappeared doesn't mean tomcat didn't actually start. Can you verify? -Original Message- From: Simon Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 5:31 PM To: '[EMAIL PROTECTED]' Subject: Start Tomcat Hi I am able to start Tom

Start Tomcat

2003-11-12 Thread Simon Allen
Hi I am able to start Tomcat from startup.bat but when I try to do so using the Start Tomcat in the Windows Start Menu the banner appears, disappears after a few seconds with no further action. Any advice? Thanks - To unsubsc

ISAPI_REDIRECTOR2 assistance...

2003-11-12 Thread Richard Norman
In doing further tests, the original redirector works, but the second version does not. Would this line from my stdout.log file indicate that the APR port is not running? Nov 12, 2003 12:55:08 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 2 Nov 12, 2

Re: Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi, Chris, Thank you very much for your help. It works now. I am not aware of the change, because in the real work, I deploy my apps outside of Tomcat, so I have to do all the configurations, mappings ... But today I am just lazy, and try to deploy it inside Tomcat to play, and get trouble :-) Th

How to turn on mod_jk2 logging

2003-11-12 Thread Dennis McRitchie
I'm trying to figure out why some of my uri matchings work and some don't, so I wanted to turn on the logging that is generated from mod_jk2 code such as in jk_uriMap.c. But I haven't yet found a switch to do this. I have added to my workers2.properties: [logger.file] level=info file=/usr/psr/va

Re: Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi, I try to deploy the example attached with this mail in the folder /webaaps. This is a deployment in appBase directory of Tomcat, and requires no further configuration. It is a sample from a book. It can be run like this: http://localhost:8080/chapter04/login.html Then you can input username an

Re: Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Christopher Schultz
With Tomcat 3.2, it works well. However, with Tomcat 4.1.29 and Tomcat 5.0.14, when I click the button "Login", I receive this error: HTTP Status 404 - /chapter04/servlet/LoginServlet - type Status report message /chapter04/servlet/LoginServlet

Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi, I try to deploy the example attached with this mail in the folder /webaaps. This is a deployment in appBase directory of Tomcat, and requires no further configuration. It is a sample from a book. It can be run like this: http://localhost:8080/chapter04/login.html Then you can input username an

Re: How to get mod_jk 2.0 for redhat

2003-11-12 Thread inaminute
Quoting Kevin Williams <[EMAIL PROTECTED]>: Same apply for me. I am not a developper neither and was reluctant to spend time with that mesterious build thing. Finally I dowloaded both Apache and mod jk2 sources and got it running, thanks to this mailing list :), on RedHat 9.0 Here is my answer

Tomcat Service crashes in Tomcat Via IIS environment...

2003-11-12 Thread Bond
Hello Everyone, I have a on going problem with our application, and I can't seem to find any reason for the strange behavior of tomcat. My Enviroment: I have Tomcat 4.1.X installed on a Windows 2000 server. I have connected this instance of Tomcat to the machine's IIS server. On IIS, I am

Re: getUserPrincipal and custom realm

2003-11-12 Thread Christopher Schultz
Xavier, However I still have a last problem after the user-form authentication when I call the request.getUserPrincipal. When I cast the class to my principal, there is a jasperException : PS : I have also a little question : Why must I declare the jar librairies in the server lib directory if th

mod_jk or mod_jk2

2003-11-12 Thread Dionisio Ruiz de Zarate
Hello i must to put one server with apache 2.0.47 and tomcat 4.1.29 in production. what is better for use in production state? mod_jk or mod_jk2? which is more stable? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

getUserPrincipal and custom realm

2003-11-12 Thread Xavier Deheul
I wrote my custom Realm for a form-based-authentication and everything is successfull (I declare the realm in my context in the server.xml file, I gives the mbean descriptor and the librairies file to the server) However I still have a last problem after the user-form authentication when I call t

Re: WinNT service problem

2003-11-12 Thread ArcherDaPunk
I never seem to know exactly which lib directory I'm meant to put it in, so I put it in absolutly every lib directory, including my j2sdk dir. I konw it's not the code because I'm using the same driver and code as I was before I reformatted my computer. Jake - Original Message - From: <[

Re: XSL Transform Problem: Seeing "SAXParseException: Content is not allowed in prolog"

2003-11-12 Thread Christopher Schultz
Dan, //~~~ setup stream reader and writer ~~~ StringReader stream = new StringReader("/usr/www/barronfamily.net/charlineanddan/xml/test.xml"); You aren't reading the file /usr/www/barronfamily.net/charlineanddan/xml/test.xml. Instead, you are reading the string "/usr/www/barronfamily.net/

Re: Datasource in JSP

2003-11-12 Thread Christopher Schultz
I have a datasource configured with the name 'jdbc/TestDB' as in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html. I wanna use this datasource in a JSP test using 'jakarta/dbtags' taglib. What is the name I should use for the 'dataSource' attribute of the 'connec

Datasource in JSP

2003-11-12 Thread Thyago Lisboa Mota
I have a datasource configured with the name 'jdbc/TestDB' as in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html. I wanna use this datasource in a JSP test using 'jakarta/dbtags' taglib. What is the name I should use for the 'dataSource' attribute of the 'co

Re: Using Apache/mod_ssl certificate and private key with Tomcat/keytool

2003-11-12 Thread Michael Jeffrey Tucker
Hi, Some more digging revealed that what I have done so far is what is/was intended. Back in 2000, Craig McClanahan wrote that: "If all you want to do is make sure the client has a valid certificate, you don't need to use a security constraint at all -- just set the "clientAuth" property on th

Re: help w/ tag issue

2003-11-12 Thread Bryan LaPlante
no database, the tag is just formatting some JavaScript on the page. I have extended the BodyTagSupport and I am use SKIP_BODY in the doEndTag. The tag works fine on Weblogic, it only acts this way in TC. - Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat User

Re: help w/ tag issue

2003-11-12 Thread Christopher Schultz
Bryan, I have looked everywhere for a solution. My custom tag displays it's content once multiplied by the number of times the page has been refreshed. I when looking for the reason and the closest mention concerns tag pooling. I don't know if turning it off will solve this problem but I can not fi

Odgovori: SSL - Tomcat

2003-11-12 Thread kovi.adsl
On your servlet side include following code: X509Certificate[] certs = (X509Certificate []) request.getAttribute("javax.servlet.request.X509Certificate"); X509Certificate clientCert = certs[0]; Client certificate that is sent from client side is always on index 0. Best regards, Kovi > > Od:

XSL Transform Problem: Seeing "SAXParseException: Content is not allowed in prolog"

2003-11-12 Thread Dan Barron
Hello, I'm seeing an SAXParseException when I am trying to do a simple xml transform inside a simple jsp file. I see the exception: "SAXParseException: Content is not allowed in prolog" I have checked the prolog in both the xml and xsl files and there are no extra characters. I can run the t

Signal 11 causing Tomcat crash

2003-11-12 Thread Jim Goodspeed
Really hoping that someone might be able to help us with this. We are experiencing Signal 11 crashes on our tomcat server. We have tried almost every configuration that I can think of and we are still getting these crashes at least once a week, sometimes twice a day. Unfortunately we can not rep

help w/ tag issue

2003-11-12 Thread Bryan LaPlante
I have looked everywhere for a solution. My custom tag displays it's content once multiplied by the number of times the page has been refreshed. I when looking for the reason and the closest mention concerns tag pooling. I don't know if turning it off will solve this problem but I can not figure wh

How to redirect http request to a secure SSL site?

2003-11-12 Thread Raghava Rao
Hi, I have jakarta-4.1.24 installed. I have enabled both HTTP, running on port 80 and HTTPS, running on 443 on my tomcat server. So, my HTTP site can be reached at http://localhost/index.jsp and my secure site can be reached at https://localhost/index.jsp I need help in: 1. When a user browses

Re: Problem w/JK connector

2003-11-12 Thread John_Cunningham
Hi Chris, # ls -l /usr/local/apache/modules/mod_jk.so -rwxr-xr-x 1 root system449550 Nov 11 15:59 /usr/local/apache/modules/ mod_jk.so so prot is 755 like it should be. Unfortunately, there's no other useful error log info that I can see. Thanks, John Cunningham Lead Software Engin

SSL - Tomcat

2003-11-12 Thread J.W. Koelewijn
Hello, First of all I want to excuse if this question was raised before, but I'm new on the mailinglist. Now on to the question: I want to work with SSL on my tomcat, to protect the content sent to it and from it. By what I've read so far, I understand that SSL certificates are sent from the se

Re: How to get mod_jk 2.0 for redhat

2003-11-12 Thread Kevin Williams
Michel, I strongly recommend building the connector from source. The reason for this is that the connector depends on the version of Apache you are using (at least that's my conclusion after many failed binary installs). I tried using binary versions, but wasn't able to. I finally did a source

JASPER always recompiles

2003-11-12 Thread dhay
Hi, I have an ANT script which builds my webapp. Before changing to the new JASPER, we could run the rebuild target, and it would only precompile the JSPs that had changed. However, since then, it always re-precompiles ALL JSPs no matter what. Does anyone have any ideas why, and how to fix it?

RE: Win2k+Apache+Tomcat Problems

2003-11-12 Thread Goehring, Chuck Mr., RCI - San Diego
Steve, Tomcat has to be started first because it generates a conf file that Apache will read. Note that on the referenced link there are two (different) items that contain the word "ApacheConfig". They both need to be in there. This causes the config file to be generated. Tomcat may take a w

Re: Problem w/JK connector

2003-11-12 Thread Christopher Schultz
John, > Get following msg when trying to invoke Apache: > > Syntax error on line 4 of > /usr/local/Tomcat/jakarta-tomcat-4.1.27/conf/auto/mod_ > jk.conf: > Cannot load /usr/local/apache/modules/mod_jk.so into server: What do you get when you: $ ls -l /usr/local/apache/modules/mod_jk.so Also, is

Re: AW: AW: Container based authentication and session persistence wi th Tomcat 4.1.29

2003-11-12 Thread Christopher Schultz
Andreas, I'm in a very early experimental state concerning this application. There is nothing in the session but a single String (for testing). And you're right, the same sessionid is comming from the client, but tomcat has forgotten which user/principal is associated with the session (which is oth

Re: How to get mod_jk 2.0 for redhat

2003-11-12 Thread Mark Eggers
Michel, Check out www.jpackage.org. I don't know how good these RPM's are since I build the connectors from source. /mde/ . . . . just my two cents --- Michel Cote <[EMAIL PROTECTED]> wrote: > Hello, > > > > I'm looking for the BINARY distribution of the > Tomcat web server connector > (mod

How to get mod_jk 2.0 for redhat

2003-11-12 Thread Michel Cote
Hello, I'm looking for the BINARY distribution of the Tomcat web server connector (mod_jk 2.0) for Linux RedHat On the mirror sites i can connect on, i only find windows or solaris release. I tried to build from the source distribution but as i'm not a developper, i didn't manage... Thank

AW: Sessions - SSL

2003-11-12 Thread Andreas Mohrig
Hello Harry, sorry, I did not want to press this point too much. And for the record: My tomcat works that way. Anything placed in session-scope remains present between different requests made with http and https, even the authenticated user. The only thing I noticed has been a caching issue, where

Re: How to read org.apache.jasper.JasperException tracebacks

2003-11-12 Thread Tim Funk
Typically there are 2 (or more exceptions shown). Usually the "bottom most" exception is the one your most interested in since that what through the real exception. The reason is because the JSP catches an exception, wraps it in a JSPException, and throws it where it is caught by the servlet eng

How to read org.apache.jasper.JasperException tracebacks

2003-11-12 Thread Nicholas Piper
Hi All, I'm getting a JasperException when I try and run some JSP code. The main problem with fixing it is that I've no idea how to read the traceback. It doesn't seem to give many clues as to what's going wrong. The full thing is at http://www.hellaweb.com/hellabot/415 I guess there should be s

Re: Sessions - SSL

2003-11-12 Thread Harry Mantheakis
Hello Andreas > So maybe it would be a good idea to stick to SSL for that reason alone (and > 'accidentally' save yourselve the trouble of having to solve your current > problem). Yes, okay, I take your point. I would still like to know, for the record, whether or not sessions are meant to be 'tr

Problem w/JK connector

2003-11-12 Thread John_Cunningham
John Cunningham Lead Software Engineer 617.519.2453 - Forwarded by John Cunningham/BOSTON/IDX1 on 11/12/03 12:29 PM - John Cunningham 11/12/03 10:34 AM To: [EMAIL PROTECTED] cc: Subject:Problem w/JK connector Get following msg when trying to inv

AW: Sessions - SSL

2003-11-12 Thread Andreas Mohrig
Hello Harry, > I was getting users to log in using SSL, and then switching to non-SSL in > order to avoid the SSL overheads. (When I decided I could not 'hang on' to > the same session, I decided to stick with SSL permanently.) So you achieve to protect the password (which would otherwise be sent

Re: Sessions - SSL

2003-11-12 Thread Harry Mantheakis
Hello Andreas > if you only want to protect the data that the > user sends to the server... I was getting users to log in using SSL, and then switching to non-SSL in order to avoid the SSL overheads. (When I decided I could not 'hang on' to the same session, I decided to stick with SSL permanentl

AW: AW: Container based authentication and session persistence wi th Tomcat 4.1.29

2003-11-12 Thread Andreas Mohrig
Hello Christoper, > Oh, okay. That makes more sense. :) Thank you ;-) ! I'm in a very early experimental state concerning this application. There is nothing in the session but a single String (for testing). And you're right, the same sessionid is comming from the client, but tomcat has forgotten

RE: just a debug matter

2003-11-12 Thread Edson Alves Pereira
Hey folks, i known the answer, it just to put the full class´s name, like: java.lang.Thread.currentThread( ).toString( ) > -- > De: Edson Alves Pereira[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: quarta-feira, 12 de novembro de 2003 14:29 > Para:

Re: AW: Container based authentication and session persistence with T omca t 4.1.29

2003-11-12 Thread Christopher Schultz
Andreas, Concerning my intentions, I do not want to preserve the session-state between two logins or between more than one session for a given user. I want to preserve the session-state between server-restarts in case of necessary (but normally fast) maintenance operations (changes on certain class

just a debug matter

2003-11-12 Thread Edson Alves Pereira
Hello folks, i usually use JDB to debug my servlets, and some times when i tried to display a result from a static method i get this error: Thread-9[1] print Thread.currentThread() com.sun.tools.example.debug.expr.ParseException: Name unknown: Thread.currentThread Thread.currentThread() =

Re: Using Apache/mod_ssl certificate and private key with Tomcat/keytool

2003-11-12 Thread Michael Jeffrey Tucker
Hi, Thanks for your help. I was wondering if anyone has any suggestions for the following problem: I would like Tomcat to accept any SSL connection where it recognizes the CA for the client certificate and then provide my webapp access to this certificate. It turns out that I don't think I want

Re: Other ports Tomcat grabs

2003-11-12 Thread dhay
> 1099, sound like webtrends ... ick. :-( > $TOMCAT_HOME/conf/server.xml should have all the ports tomcat is binding to. > If not, there may be some custom code in a webapp (ex: some XML-RPC admin > listener?) trying to open extra ports. Ahhh, okay, it's my connection pool to Firebird. Anyone k

AW: Container based authentication and session persistence with T omca t 4.1.29

2003-11-12 Thread Andreas Mohrig
Hello Christoper, thank you for your answer. I observed the same thing as you: > Also note that the GenericPrincipal nbever actually goes into the > session. After login, snoop the session -- there's nothing in there. I > believe that Tomcat keeps a table of session ids -> Principal objects, >

AW: Sessions - SSL

2003-11-12 Thread Andreas Mohrig
Hallo, others have commented on this, but first of all: >From a security point of view it is a bad design if a session gets switched from SSL to non-SSL or vice-versa. The sessionid is always part of any request. So anyone observing a non-SSL-request can obtain the sessionid and thereby "hijack"

PersitenetManager in production

2003-11-12 Thread Francois JEANMOUGIN
Hi all, In the doc, I can read : Persistent Manager Implementation WARNING - Use of this Manager implementation has not been thoroughly tested, and should be considered experimental! Wel, well, well. Is the documentation outdated or may I use it blindly? What sort of DB could anyone advice m

Re: Container based authentication and session persistence with Tomca t 4.1.29

2003-11-12 Thread Christopher Schultz
Andreas, I looked up the documentation for org.apache.catalina.realm.GenericPrincipal (which stores the user information) and noticed that it is not serializable, i.e. it does not implement the java.io.Serializable interface. But being serializable is a prerequisite for beeing written to a FileStor

RE: Tomcat + jk + IIS

2003-11-12 Thread Tom Lyle
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html -Original Message- From: Marco Shimomoto [mailto:[EMAIL PROTECTED] Sent: 12 November 2003 15:52 To: Tomcat Users List Subject: Tomcat + jk + IIS Hello, I want to get running a test server with Tomcat (4.x) and IIS on a Windows 20

Re: Sessions - SSL

2003-11-12 Thread Harry Mantheakis
Hello > No, not at all. I found that if I redirect a client from SSL to non-SSL I lose the session. Harry Mantheakis London, UK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to tune Tomcat and Java?

2003-11-12 Thread Peter Guyatt
Hi There sorry sent the last one before it was ready ;-) Java and Tomcat are both multi-threaded applications. So they are both using more than one CPU (if available). If it is using 50% of one processor then it is using 100% CPU on that processor, since its 50% of the actual pro

Re: How to tune Tomcat and Java?

2003-11-12 Thread Christoph Gaffga
> Compaq ProLiant 6000, 2 x PII Xeon 400MHz, 1,3GB RAM Why not using a dual Xeon 2.8, they become quite cheap. Christoph P.S.: As I see in my setup java uses all available processors. - To unsubscribe, e-mail: [EMAIL PROTEC

Re: FORM based authentication pages

2003-11-12 Thread Christopher Schultz
Ricardo, Is there a way to put those two pages in a location that is accessible by any context? If there is, how do I setup my web.xml file? You want the login pages for every webapp to look the same? If that's what you really want to do, I think you'll have to use symbolic links on the filesyste

RE: How to tune Tomcat and Java?

2003-11-12 Thread Peter Guyatt
Hi There, Java and Tomcat are both multi-threaded applications. So they are both using more than one CPU. If it is using 50% of one processor then it is using 100% CPU on that processor, since its 50% of the actual processing capacity. Thanks Pete -Original Message- From: Jens

How to tune Tomcat and Java?

2003-11-12 Thread Jens Ove Lillegraven
Hi, We have a problem in that the Tomcat (java) process is the bottleneck and is using only one CPU. There will be high load on the server when it is put online, so we are stress testing it offline now. Using the top command in Linux during the stress test, it seems that java is the bottleneck of

Re: JBoss Mapping

2003-11-12 Thread Fred Pope
You could try to run your jboss server by doing a $JBOSS_HOME/bin/run.sh and then tail -f $JBOSS_HOME/jboss.log and you should see whether or not the jboss server starts up correctly. Then you should be able to get to http://your.domain.extension:8080/jmx-console/ Good luck. > >I need to know ho

Container based authentication and session persistence with Tomca t 4.1.29

2003-11-12 Thread Andreas Mohrig
Hello, [ What I'm trying to do ] I'm trying to use container based authentication while having session persistence provided by a PersistentManager (with FileStore) with Tomcat 4.1.29 (running under Windows XP for development purposes). [ What works ] Form-based authentication via a DataSourceRea

Tomcat + jk + IIS

2003-11-12 Thread Marco Shimomoto
Hello,   I want to get running a test server with Tomcat (4.x) and IIS on a Windows 2000. I’ve read all JK documentation at Jakarta, tried unsuccessfully to get them working. Does anybody know another source of information guide on doing this?   Thanks in advance, Marco

Re: Sessions - SSL

2003-11-12 Thread Adam Hardy
On 11/12/2003 11:51 AM Duncan wrote: Would one loose their session when switching from non-ssl to ssl (ie. changing connectors)? No, not at all. Adam -- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9 - To unsubscribe

Re: Issue with Tomcat 4.1.29 default Character Encoding

2003-11-12 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Hi All, We are having an issue with the latest version of Tomcat and how the Content Type header is being set by it now - in particular with PDFs generated by our application. The following is taken straight from the RequestDumperValve: OLD (Tomcat 4.1.24) 2003-11-11 16:1

Apache 1.3+mod_jk2 and Tomcat 4.1.24 problem

2003-11-12 Thread Jörg Werner
Hi! I'm trying to access a webapp (cocoon) through apache 1.3 and mod_jk. This is not working properly. What I can do is access http://localhost/cocoon/ but not any paths below the cocoon directory (e.g. http://localhost/cocoon/ docs/), for those I get an Error 404. What is going wrong? My work

RE: Issue with Tomcat 4.1.29 default Character Encoding

2003-11-12 Thread Chris Haskins
Hi, I had the same problem recently and found there is a bug in IE that ignores the mime header, just not sure why. But the only way I could find to get round this was to append '.pdf' at the end of the page name, i.e. if you call 'showpdf.jsp' call it with a param like 'showpdf.jsp?.pdf' I know

RE: [OT] Re: Tomcat Authenticates to AD. How do I access AD variables?

2003-11-12 Thread Robyne Vaughn
Thanks, Tim. That's a lot of help. Robyne -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 8:04 AM To: Tomcat Users List Subject: [OT] Re: Tomcat Authenticates to AD. How do I access AD variables? From the user id that tomcat returns, you'l

RE: Tomcat Settings advice on long-running process.

2003-11-12 Thread Elankath, Tarun (Cognizant)
Hmm. thanks people. I was just scouting for an quick-and-dirty fix, that's all. But I guess, the background-thread and progress page seems to be the only suitable fix. Unfortunately the process is part of some existing java code that is being maintained by us. So I am not allowed (literally) to

Re: Rouge tomcat processes

2003-11-12 Thread Tim Funk
Nope. Your best chance is to perform some thread dumps. (Google on how to do a thread dump) From the thread dumps get some when things are good, and multiple ones when things are bad. With luck your see a pattern in the dumps. You'll notice a lot of stuff waiting and sleeping that have similar

Issue with Tomcat 4.1.29 default Character Encoding

2003-11-12 Thread SMcGarrity
Hi All, We are having an issue with the latest version of Tomcat and how the Content Type header is being set by it now - in particular with PDFs generated by our application. The following is taken straight from the RequestDumperValve: OLD (Tomcat 4.1.24) 2003-11-11 16:11:19 RequestDumperValve[

Re: Tomcat Settings advice on long-running process.

2003-11-12 Thread Rodrigo Ruiz
Elankath, Tarun (Cognizant) wrote: Hi list, We have a long running process (all in java, not external) that is initiated from struts action class, (does a lot of file I/O, etc) The browser apparently timesout after about 20 minutes or whereabouts, and then suddenly the process do stops bang in t

Rouge tomcat processes

2003-11-12 Thread Chris Haskins
Hi, We have a problem in that tomcat processes are taking up 100% CPU. We're just upgraded the JVM to jdk1.4.2_02 to try and fix this, as per the FAQ at apache.org and this hasn't changed anything. We don't know what is causing this and wondered if there is any way to match the pid's with Tomcat s

[OT] Re: Tomcat Authenticates to AD. How do I access AD variables?

2003-11-12 Thread Tim Funk
From the user id that tomcat returns, you'll need to determine the DN. In which you can do (I think) this way: 1) When constructing your context, use "follow", which makes it nice when you are using a forrest of domains (if thats the right term) for example: env.put(Context.REFERRAL, "follow"

RE: Tomcat as a service

2003-11-12 Thread Tom Lyle
Err.. why are you using Tomcat 3.3.1a? You can install Tomcat 4 as a service by using the version packaged as a windows installer or you could use the Tomcat service manager which you can find here: http://web.bvu.edu/staff/david/index.jsp?subsection=tcservcfg&page=overview -Original Message

  1   2   >