dedicating client ports

2005-04-27 Thread Kristian Rink
Hi all; now after I got tomcat to serve SOAP to our testbed client (thanks to all around here who pointed me out how to get SOAP to work with tomcat), I am stuck with a more practical detail of handling SOAP connections within tomcat context. Situation: The client that shall connect to our

TC v5.5.9 Won't Server *.htm Files

2005-04-27 Thread Bob Bronson
Hello all, I'm sure this must be a configuration issue. I am running TC 5.5.9 as a stand-alone server (not w/Apache). The problem I'm seeing is that when I point my browser to an index.htm file, Tomcat gives me a 404, telling me it cannot find index.jsp. Please notice I said, index.htm and not

AW: Jk and IIS 6 slow (resent)

2005-04-27 Thread Michael Südkamp
Hello Mladen, Checking again revealed that the IIS default website itself has become slow. We hadn't noticed this before because we don't use the IIS for anything else than for the Tomcat redirect. We have no idea what has happened to the default web site. If we add a new one, it's fast again.

SEVERE: Error unregistering mbean

2005-04-27 Thread Francois JEANMOUGIN
I have this error, a lot of time, on an application. Anyone knows where it can come from? Apr 27, 2005 7:02:37 AM org.apache.commons.modeler.Registry unregisterComponent SEVERE: Error unregistering mbean javax.management.RuntimeOperationsException: Object name cannot be null at

RE: dedicating client ports

2005-04-27 Thread Peter Crowther
From: Kristian Rink [mailto:[EMAIL PROTECTED] Question: Is there an easy way to, within axis/tomcat, create a SOAP service listening on a different port than the tomcat server itself? Yes, I think (beware: I have not tried this). Create two Services in your server.xml; each has its own set

wil Tomcat stop request thread after a timeout?

2005-04-27 Thread Michael Südkamp
Hello, I wonder if Tomcat will stop a servlet execution thread after a certain timeout (adjustable?)? Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problems declaring same servlet-class with diff names

2005-04-27 Thread Raghupathy,Gurumoorthy
This is to with struts not tomcat ... The below link can help ( for struts ) http://struts.apache.org/userGuide/configuration.html#dd_config_modules Regards Guru -Original Message- From: Meghana Joglekar [mailto:[EMAIL PROTECTED] Sent: 27 April 2005 00:54 To: tomcat Subject:

RE: apache + tomcat + JK connector configuration

2005-04-27 Thread Raghupathy,Gurumoorthy
http://www.one0.com/html/downloads.php Download the pdf ( nice ) / doc version Nice :o) Guru -Original Message- From: anshul shrivastava [mailto:[EMAIL PROTECTED] Sent: 26 April 2005 18:08 To: Tomcat Users List Subject: Re: apache + tomcat + JK connector configuration Importance: High

Tomcat SSL Client Authentication

2005-04-27 Thread lercoli
Hello I've configured Tomcat SSL Client Authentication with these settings : web.xml ... security-constraint web-resource-collection web-resource-nameEntire Application/web-resource-name url-pattern/*/url-pattern http-methodGET/http-method http-methodPOST/http-method

Parse error in web.xml

2005-04-27 Thread nikhilesh goel
Hello, I am facing an error in getting tomcat to display even my index page. When invoking the url i get an HTTP Status 404 error The requested resource (/) is not available. The log gives the following error: 2005-04-21 10:59:15

RE: All threads (250) are currently busy

2005-04-27 Thread Dale, Matt
You can use the tomcat manager application to find out which threads are busy. And secondly send a SIGHUP to the JVM and it will do a thread dump allowing you to work out what your threads are doing. You possibly have some kind of thread leak causing you to run out. Ta Matt -Original

Re: TC v5.5.9 Won't Server *.htm Files

2005-04-27 Thread Remy Maucherat
On 4/27/05, Bob Bronson [EMAIL PROTECTED] wrote: Hello all, I'm sure this must be a configuration issue. I am running TC 5.5.9 as a stand-alone server (not w/Apache). The problem I'm seeing is that when I point my browser to an index.htm file, Tomcat gives me a 404, telling me it cannot

Re: Parse error in web.xml

2005-04-27 Thread Anto Paul
On 4/27/05, nikhilesh goel [EMAIL PROTECTED] wrote: Hello, I am facing an error in getting tomcat to display even my index page. When invoking the url i get an HTTP Status 404 error The requested resource (/) is not available. The log gives the following error:

Delivery by mail

2005-04-27 Thread Craigmcc
-- Virus Warning Message (on the network) Found virus WORM_BAGLE.AZ in file siupd02.cpl The file siupd02.cpl is moved to /var/quarantine/virus/virLQD1IBf6P. This is a machine-generated message, please do not reply via e-mail. If you have questions, please contact the Lucent

Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

2005-04-27 Thread reynir
hi, do you have the connector on port 8009 in your tomcat ? do you have the /jakarta virtual folder in IIS ? hope it helps -reynir Tony Nakamura wrote: Hi Reynir, Yes, the tomcat is on localhost, and I'm trying to access directly from the server right now. I can access the site with:

Re: Parse error in web.xml

2005-04-27 Thread nikhilesh goel
Dear Anto, thanks for the tip but my Tomcat refuses to budge. I am still getting the same error. Regards Nikhilesh --- Anto Paul [EMAIL PROTECTED] wrote: On 4/27/05, nikhilesh goel [EMAIL PROTECTED] wrote: Hello, I am facing an error in getting tomcat to display even my index page.

Re: Parse error in web.xml

2005-04-27 Thread Anto Paul
On 4/27/05, nikhilesh goel [EMAIL PROTECTED] wrote: Dear Anto, thanks for the tip but my Tomcat refuses to budge. I am still getting the same error. Regards Nikhilesh --- Anto Paul [EMAIL PROTECTED] wrote: On 4/27/05, nikhilesh goel [EMAIL PROTECTED] wrote: Hello, I am

Re: Parse error in web.xml

2005-04-27 Thread nikhilesh goel
Hi, OS is Sun Solaris 2.9 while the application server is Tomcat 4.1.30. Also, I would like to mention that this problem was not there from the start. The server was working perfectly till some seemingly harmless jsp changes triggered a sudden collapse. Regards --- Anto Paul [EMAIL PROTECTED]

Re: Parse error in web.xml

2005-04-27 Thread Anto Paul
On 4/27/05, nikhilesh goel [EMAIL PROTECTED] wrote: Hi, OS is Sun Solaris 2.9 while the application server is Tomcat 4.1.30. Also, I would like to mention that this problem was not there from the start. The server was working perfectly till some seemingly harmless jsp changes triggered a

Re: Tomcat SSL Client Authentication

2005-04-27 Thread ohaya
Hi, I believe that the clientAuth needs to be set to true in the server.xml. Jim lercoli wrote: Hello I've configured Tomcat SSL Client Authentication with these settings : web.xml ... security-constraint web-resource-collection web-resource-nameEntire

Re: Tomcat SSL Client Authentication

2005-04-27 Thread lercoli
Hi Jim I've tried with clientAuth = true but server certificate window doesn't appear and I get page not found error. - Original Message - From: ohaya [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, April 27, 2005 12:49 PM Subject: Re: Tomcat SSL

Non-serializable attribute error after migrating from TC5.0.28 to TC.5.5.9

2005-04-27 Thread Paulo Alvim
Hi, We had to use a few workarounds in order to get JSTL (fmt) and Struts el tags working together and ok for our I18n features, and one of the tricks was to use something like that (for every new session - default to Portuguese language): (...) Locale locale = new Locale(pt,BR);

Unsubscribe Me

2005-04-27 Thread McClure, Timothy J\(GE Infrastructure\)
Mark, They changed my e-mail address. It used to be- [EMAIL PROTECTED] Thanks, Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 3:44 PM To: Tomcat Users List Subject: Re: Tutorial Gene: Try

Re: Tomcat SSL Client Authentication

2005-04-27 Thread ohaya
Hi, Sorry if that didn't help. Here's what I have in server.xml (I don't remember if I had to change anything outside of server.xml to enable client authentication): !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- Connector port=8443

Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

2005-04-27 Thread Tony Nakamura
Hi Reynir, I checked the server.xml, and it does have 8009 setting for listner ports uncommented. I have /jakarta virtual folder in IIS. I'm really confused as to what could be wrong... Thank you, Tony - Original Message - From: reynir [EMAIL PROTECTED] To: Tomcat Users List

Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread Stefan Parnet
Hello, I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot compile my JSPs. So I want the tomcat to compile the JSP's with the Sun JDK 1.5 compiler. I searched the web, but I did not find any instructions how to

Nervous about Sessions ...

2005-04-27 Thread David Whitehurst
Long ago a multi-client, multi-Oracle application was written using Struts. Recently, we had a 4 in 22,000 record data integrity issue. I found one client implementation that used prepared statements but the primary key was being used e.g. update mytable set a= ?, b=? where pri_key = + pkey

Re: Nervous about Sessions ...

2005-04-27 Thread Viorel Dragomir
Yes. But you can set some attributes of the objects as [ transient ] to not be serialized. So you don't have to make all objects in the package serializable. Viorel Dragomir . .. --- - Original Message - From: David

client authentication dont work

2005-04-27 Thread Markus Linnemann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I try to authentificate to a web App by Client.Cert. I get these error message: HTTP Status 401 - Cannot authenticate with the provided credentials Here are my settings: web.xml: security-constraint web-resource-collection

Precompiling JSPs fails

2005-04-27 Thread Bud Bach
Hi, I’m using Tomcat 5.5.9 and JDK 1.5.0_02. I’m trying to precompile the Liferay Pro Portal 3.2 JSPs using the ant build script found on the apache web site: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Appl ication%20Compilation modified to add jars placed in

Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

2005-04-27 Thread reynir
well, the fact that you are getting 404 error from IIS really means that IIS is receiving the request, and forwarding it to /jakarta/isapi_redirect.dll, that is a virtual folder mapped on to the folder that the DLL is positioned in. If the 404 is coming from IIS (as it seems) it's obviously not

Re: Tomcat SSL Client Authentication

2005-04-27 Thread Darryl Wilburn
What version of TC? I've read something about configuring the HTTPS connector to perform SSL client certificate authorization. I'm agree with Jim, in server.xml, the clientAuth should be set to true. That is the correct setting, if you get a page not found, that doesn't mean the cert didn't

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread Lutz Zetzsche
Hi Stefan, Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet: Hello, I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot compile my JSPs. So I want the tomcat to compile the JSP's with the Sun JDK 1.5

Re: OutOfMemoryError - 100 thread limit?

2005-04-27 Thread Andre Van Klaveren
We're battling this same problem at our client's site. I think I've identified the same cause (running out of Perm Gen space) but I have to prove it to them first. Hooking a profiler into the Tomcat instance should clearly show this but they don't have one handy. Moving some of the applications

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread Stefan Parnet
Lutz Zetzsche schrieb: Hi Stefan, Am Mittwoch, 27. April 2005 15:20 schrieb Stefan Parnet: Hello, I installed Tomcat 5.5.9 and want to use Java 1.5 in my JSPs. Since Tomcat 5.5 uses the Eclipse JDT Compiler (Java 1.4), it cannot compile my JSPs. So I want the tomcat to compile the JSP's with

Custom Realm for Lotus Domino Could not open notes session

2005-04-27 Thread holger . willenborg
Hi, I' trying to implement a realm to authenticate against a Notes DIIOP service. This is done using a class which extends RealmBase and fill some of the methods (for reference I leave all the code inside here, if you like to write your own Realm, you can start with that code below). In other

Re: OutOfMemoryError - 100 thread limit?

2005-04-27 Thread Peter Lin
the advice given in previous message to dump the Perm gen info out should tell you. running tomcat in a profiler may not show it. I use optimizeIt frequently and it doesn't show perm generation. peter On 4/27/05, Andre Van Klaveren [EMAIL PROTECTED] wrote: We're battling this same problem at

Tomcat 5.5.x: allowLinking under DefaultContext

2005-04-27 Thread Santosh Dawara
I would like to load classes required by my web applications via soft links on Linux. I usually set DefaultContext allowLinking=true/ under the Host element in my server.xml. This worked well with Tomcat 5.0. I moved my webapps to 5.5.9, I made similar modifications to my 5.5 compliant

Re: Tomcat creating new sessions between Servlet-JSP request dispatch under load

2005-04-27 Thread Andre Van Klaveren
Riyad, Close, but it's more like this: 1 client (user) == 1 session. In most cases your client (assuming it's a browser) would only send one request, which would translate into one thread, and therefor you wouldn't have a threading issue with your Session object. There is no guarantee that

Re: Howto configure tomcat to compile JSPs with Sun JDK 1.5

2005-04-27 Thread Lutz Zetzsche
Hi Stefan, Am Mittwoch, 27. April 2005 16:14 schrieb Stefan Parnet: I have the environment variables JAVA_HOME and JRE_HOME already set to the JDK, but Tomcat still compiles JSPs with its built in Eclipse JDT Java compiler. This fact is mentioned in the Release Notes. There is also mentioned

Re: Tomcat SSL Client Authentication

2005-04-27 Thread lercoli
Tomcat version 5.5.9 (JDK 1.5.0_02 and Windows 2000 Professional). Client certificate username is a tomcat user (with which I've already successfully tested in DIGEST authentication). The strange thing is that when I set authClient to true I never see the the alert window of the server

RE: Jk and IIS 6 slow (resent)

2005-04-27 Thread Caldarale, Charles R
From: Michael Südkamp [mailto:[EMAIL PROTECTED] Subject: AW: Jk and IIS 6 slow (resent) We hadn't noticed this before because we don't use the IIS for anything else than for the Tomcat redirect. Then why use IIS at all? Just configure Tomcat for ports 80 and 443 and eliminate the extra

Question about File writing and authorisation

2005-04-27 Thread Maarten Janssen
Hello, I have a servlet that create output files (txt) on the fly (with File obj etc). I can write these files anywhere on the server (where the apllication is running), so thats great. But if I want to write them to another computer in the netwok (accessed by \\name) I receive an access denied

RE: Question about File writing and authorisation

2005-04-27 Thread Peter Crowther
From: Maarten Janssen [mailto:[EMAIL PROTECTED] I have a servlet that create output files (txt) on the fly (with File obj etc). I can write these files anywhere on the server (where the apllication is running), so thats great. But if I want to write them to another computer in the netwok

Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

2005-04-27 Thread Tony Nakamura
Hi Reynir, I got it working. I put isapi dll in the /bin directory, but IIS was rejecting because there were many batches and exe files in the same directory. Since the jakarta virtual directory is given execute permission for both scripts and executables, it was throwing 404 error because it's

Cannot assign requested address

2005-04-27 Thread J S
Hi, I'm having problems getting tomcat (4.1.24) to start. It was working before, and I'm pretty sure nothing's been changed in the config. In the catalina log it just complains it can't assign the requested address, then shuts down. Nothing is bound to the ip address, or port (even on local)

Re: Nervous about Sessions ...

2005-04-27 Thread David Whitehurst
If I use the session to store things, 1. Can I use simple java types? 2. Do I have to use Java Beans (extends serializable)? David Whitehurst Viorel Dragomir wrote: Yes. But you can set some attributes of the objects as [ transient ] to not be serialized. So you don't have to make all objects

RE: (Fwd) Session attributes disappear between .jsp pages

2005-04-27 Thread Greg Vilardi
Yes, Chuck. The app is set to be reloadable in the Context. So is our other app that uses this jar perfectly well. The time stamp on all of the entries is around June 22, 2002. I checked these before sending my query. I'm sorry I didn't mention it in my earlier message. Thank you for your

Re: Nervous about Sessions ...

2005-04-27 Thread Jay Hulslander
To store a Java Object in session (HTTPRequest or HTTPResponse), just make any Object (POJO or something more complicated) implement serializable. Keep in mind, you don't need to code an extra functions, just add the implements serializable to Class definition. -Jay At 07:42 AM 4/27/2005

RE: (Fwd) Session attributes disappear between .jsp pages

2005-04-27 Thread Caldarale, Charles R
From: Greg Vilardi [mailto:[EMAIL PROTECTED] Subject: RE: (Fwd) Session attributes disappear between .jsp pages Yes, Chuck. The app is set to be reloadable in the Context. Turning off reloadable should prevent the behavior you're seeing, but it won't help to explain why you're seeing it.

Re: Nervous about Sessions ...

2005-04-27 Thread Frank W. Zammetti
There *technically* isn't any requirement that things you store in session be serializable. However, since some app servers use databases or file systems to persist session information, and that many times is implemented using serialization, and since serializable is usually (if not always)

RE: TC v5.5.9 Won't Server *.htm Files

2005-04-27 Thread David B. Saul
I have 5.5.7 and it seems to work ok - not much help - but - Suggestion ( and a WAG ) check the web.xml in conf for the following mime mapping: mime-mapping extensionhtm/extension mime-typetext/html/mime-type /mime-mapping Let us know... -Original Message- From:

set header in all responses

2005-04-27 Thread Rodrigo Avila
Hi all! Is possible to put this headers in all responses generated by Tomcat? response.setHeader(Pragma,no-cache); response.setHeader (Cache-Control,no-history); response.setDateHeader(Expires,-1); Thanks the attetion. -- Rodrigo de Avila [EMAIL PROTECTED] http://www.avila.eti.br

RE: set header in all responses

2005-04-27 Thread Peter Crowther
From: Rodrigo Avila [mailto:[EMAIL PROTECTED] Is possible to put this headers in all responses generated by Tomcat? response.setHeader(Pragma,no-cache); response.setHeader (Cache-Control,no-history); response.setDateHeader(Expires,-1); Yes. At worst, you could write a Valve that set

Tomcat 5.0.28; Struts 1.2.4 - - FileUploadException

2005-04-27 Thread Sweeney, Bill
Hi All - We are using the Struts fileupload. Periodically (on the order of 100 of 3000 uploads) we get the error below where the upload request fails with a Read timed out: SEVERE: Failed to parse multipart request org.apache.commons.fileupload.FileUploadException: Processing of

Re: set header in all responses

2005-04-27 Thread Frank W. Zammetti
A filter is an ideal solution for this... It has the benefit of being app-specific, so should you ever want to host another app in the same TC instance that doesn't require those headers, they won't be set automatically (i.e., at the server-level). -- Frank W. Zammetti Founder and Chief

Re: set header in all responses

2005-04-27 Thread Robert r. Sanders
I'd use a servlet filter; but either way it should work. Peter Crowther wrote: From: Rodrigo Avila [mailto:[EMAIL PROTECTED] Is possible to put this headers in all responses generated by Tomcat? response.setHeader(Pragma,no-cache); response.setHeader (Cache-Control,no-history);

Re: set header in all responses

2005-04-27 Thread Rodrigo Avila
right... I need to all apps in an TC instance use these headers... how I do it? I don't know how use filters / valves... Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

June Hodgins/HFX/MLAC is out of the office.

2005-04-27 Thread june_hodgins
I will be out of the office starting 04/25/2005 and will not return until 05/02/2005. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: set header in all responses

2005-04-27 Thread Frank W. Zammetti
Filters: http://java.sun.com/products/servlet/Filters.html -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Rodrigo Avila wrote: right... I need to all apps in an TC instance use these headers... how I do it? I don't know how use filters /

RES: Nervous about Sessions ...

2005-04-27 Thread Paulo Alvim
Hi Frank, I think this post is related to mine: We had a few non-serializable objects stored in session in TC 5.0.28 but after migrating the app TC 5.5.9 is throwing java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute. ...when we try to put a non-serializable in the

RES: Nervous about Sessions ...

2005-04-27 Thread Paulo Alvim
Ok Jay, But what about this JSTL recommendation: (...) javax.servlet.jsp.jstl.fmt.LocalizationContext lc = new javax.servlet.jsp.jstl.fmt.LocalizationContext(bundle); // This code just sets the lc variable - not serializable in the session object

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Frank W. Zammetti
Hi Paul, No, I don't know of any changes... I'm actually wondering if this is a restriction the latest servlet spec places on objects in session... I tend to doubt Tomcat would be imposing such a restriction unless the spec indicated such a restriction... I myself might learn something here!

Re: Custom Realm for Lotus Domino Could not open notes session

2005-04-27 Thread holger . willenborg
Hello, I figured out how to get it to work, even if there was no hint in all the documentation I know... The NotesFactory provides another createSession() which uses org.omg.CORBA.ORB to implement an Object Request Broker which seems to do connection pooling. Using this makes the problem

Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Yuval Zantkeren
Hi, I want to change the ROOT context to my web app but not in the Tomcat directory. I tried to define the context in xml file in the conf/Catalina/localhost/ with path= and delete the ROOT folder in The webapp directory but it doesn't work. I would also want to use this root from the JK

Re: Why 8080 and 8443 ..?

2005-04-27 Thread Nikola Milutinovic
David Whitehurst wrote: Chuck: Could you elaborate on what those parameters would be? A port is just a number. I'm trying to understand the history, but I would appreciate your comments on the other things required to make Tomcat production ready on top of just changing the Coyote connector

Re: OT: Good taglib repository - looking for date hadling tags

2005-04-27 Thread Nikola Milutinovic
Rahul Akolkar wrote: One such repository: http://jakarta.apache.org/taglibs/ I feel dumb not looking there first. Alas, I'm not in a position to use them, can you believe that? I'm using Struts 1.1 and it just doesn't live well with JSTL. Tried it and had XML parser errors during application

getting web.xml configurations from jsp

2005-04-27 Thread Kimberly Nico
Hello, I'm trying to add links to actions within a servlet (non-jsp) on my index page, but the url path of the servlet is configurable. All I can rely on is the class name of the servlet. I could probably do it with the old getServlet(String) on the ServletContext, except that method is

Re: Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Parsons Technical Services
RTFM or should I say rtm so as to be nice. You can't do that with 5.5.X . You must declare the default context in the server.xml http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Doug - Original Message - From: Yuval Zantkeren [EMAIL PROTECTED] To:

Re: Cannot assign requested address

2005-04-27 Thread Parsons Technical Services
Do an ipconfig /all on Windoze or ifconfig on Linux and see what your IP is. Is there a reason you are having Tomcat only listen on a specific IP? Is your IP static? What OS are you running? Doug - Original Message - From: J S [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent:

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Will Hartung
From: Frank W. Zammetti [EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 10:59 AM Hi Paul, No, I don't know of any changes... I'm actually wondering if this is a restriction the latest servlet spec places on objects in session... I tend to doubt Tomcat would be imposing such a

Re: RES: Nervous about Sessions ...

2005-04-27 Thread David Whitehurst
I heard something confusing in the reply. If Tomcat has a file caching under load, how does Tomcat serialize the objects in session if the client application isn't placing objects implementing java.io.serializable everytime? Will Hartung wrote: From: Frank W. Zammetti [EMAIL PROTECTED] Sent:

Clustering troubles.

2005-04-27 Thread Rod Fitzsimmons Frey
I'm setting up a 2-node Tomcat cluster with jk_mod doing the loadbalancing. The loadbalancing went without a hitch, or at least without hitches that maillist archives couldn't untie. But now I'd like to have in-memory session replication between the two tomcat nodes. I uncommented the

Re: Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Hassan Schroeder
Parsons Technical Services wrote: You can't do that with 5.5.X . You must declare the default context in the server.xml No, I don't know how you're getting that out of the reference below but there's no requirement to have your context -- any context -- defined in server.xml. Trust me, I've got

Starting Version 5.5.7

2005-04-27 Thread walter.d.vollberg
I just installed Tomcat version 5.5.7 on my Win XP computer and have noticed there is no startup.* shutdown.* files I am used to using to boot Tomcat nor anything in the start menu. What happened to these files and what do I use to start Tomcat now? Dave This message is for the designated

Re: Starting Version 5.5.7

2005-04-27 Thread Jason Bainbridge
On 4/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just installed Tomcat version 5.5.7 on my Win XP computer and have noticed there is no startup.* shutdown.* files I am used to using to boot Tomcat nor anything in the start menu. What happened to these files and what do I use to

Re: Starting Version 5.5.7

2005-04-27 Thread Anoop kumar V
tomcat, since 5.0 I think has stopped using the bat files and in your case I think it has been installed as a service already. If not you can still use the tomcat5.exe or tomcat5w.exe in the {tomcat_home}/bin folder. Make sure you have JDK 1.5+ on your system. HTH, Anoop On 4/27/05, [EMAIL

Re: Clustering troubles.

2005-04-27 Thread Rod Fitzsimmons Frey
Forgot to mention: Java runtime is jre1.5.0_02 Rod Fitzsimmons Frey wrote: I'm setting up a 2-node Tomcat cluster with jk_mod doing the loadbalancing. The loadbalancing went without a hitch, or at least without hitches that maillist archives couldn't untie. But now I'd like to have

Re: Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Parsons Technical Services
Hassan, So your context have the path element set to ? Please read what Yuval wrote and what I responded. Yuval wrote with path= . I responded with default context. And you are correct that you do not have to define any context in the server.xml, but if you wish to use the path element set to

SimpleTagSupport in Tomcat 4.1.27

2005-04-27 Thread Jason_Rosenblum
Hi, I'm trying to run a simple JSP that tests a custom tag. The tag was an extension of SimpleTagSupport.java. I have included the class SimpleTagSupport in my WAR file via j2ee-1.4.jar, but I am receiving an exception (see below). Does anyone have any ideas? javax.servlet.ServletException:

Re: RES: Nervous about Sessions ...

2005-04-27 Thread Will Hartung
From: David Whitehurst [EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 8:05 AM I heard something confusing in the reply. If Tomcat has a file caching under load, how does Tomcat serialize the objects in session if the client application isn't placing objects implementing

no host matches server name localhost

2005-04-27 Thread Jonathan August
I installed Tomcat 5.0.30 using yum on Fedora Core 3. When I try to connect to http://localhost:8080/, I get: Alert!: HTTP/1.1 400 No Host matches server name localhost I'm sure I'm missing something simple, but I'm pretty new at this, so I'm not sure what to check.

Re: no host matches server name localhost

2005-04-27 Thread Rod Fitzsimmons Frey
What do you have in your /etc/hosts file? Jonathan August wrote: I installed Tomcat 5.0.30 using yum on Fedora Core 3. When I try to connect to http://localhost:8080/, I get: Alert!: HTTP/1.1 400 No Host matches server name localhost I'm sure I'm missing something simple, but I'm pretty new at

Re: SimpleTagSupport in Tomcat 4.1.27

2005-04-27 Thread Jukka Uusisalo
[EMAIL PROTECTED] wrote: Hi, I'm trying to run a simple JSP that tests a custom tag. The tag was an extension of SimpleTagSupport.java. I have included the class SimpleTagSupport in my WAR file via j2ee-1.4.jar, but I am receiving an exception (see below). Does anyone have any ideas? Tomcat 4

RE: SimpleTagSupport in Tomcat 4.1.27

2005-04-27 Thread Jason_Rosenblum
Thanks! I'll rewrite the tag to use TagSupport. ~Jason -Original Message- From: Jukka Uusisalo [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 3:57 PM To: Tomcat Users List Subject: Re: SimpleTagSupport in Tomcat 4.1.27 [EMAIL PROTECTED] wrote: Hi, I'm trying to run a

Re: no host matches server name localhost

2005-04-27 Thread Jonathan August
This is my /etc/hosts: [jon ~]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost On Apr 27, 2005, at 3:52 PM, Rod Fitzsimmons Frey wrote: What do you have in your /etc/hosts

Type of server

2005-04-27 Thread Chawke, Nitin \(Corporate, consultant\)
Hi All, I have a very basic question here. What is tomcat ? Is it a Web Server or an App Server My understanding was its a Web Server with a Web Container. But recently I have come accross a lot of discussions saying that is an Application server? I tried to find out in the documentations, but

Re: Change ROOT in Tomcat 5.5.9

2005-04-27 Thread Hassan Schroeder
Parsons Technical Services wrote: Please read what Yuval wrote -- OK, that was: I want to change the ROOT context to my web app but not in the Tomcat directory. I tried to define the context in xml file in the conf/Catalina/localhost/ with path= and delete the ROOT folder in The webapp directory

Re: no host matches server name localhost

2005-04-27 Thread Rod Fitzsimmons Frey
I should have looked at your message more closely. The error is probably with your default host. Look in your {tomcat-home}/conf/server.xml file. Look for something like Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false

deployer always deploying context.xml

2005-04-27 Thread Paulo Alvim
Hi! We are using Tomcat Deployer with TC528 and trying to make it work without include the context.xml into the WAR. Since we have a WAR as a product, we can't define SGBD connection pooling information in advance...and it seems to be the way J2EE should work (context.xml as a deployment time

Re: RES: Nervous about Sessions ...

2005-04-27 Thread David Whitehurst
Will , I do editing application software for clients like BMW and Volkswagen, and my application had an issue where e.g. 2 records in 22,000 edits had the same data tied to different keys and different editors (users). I found that I was using a HashMap (not threadsafe, changed that) and I

Re: Type of server

2005-04-27 Thread Jorge Davila
This is from the online doc. Tomcat 5 implements the Servlet 2.4 and JavaServer Pages 2.0 specifications from the Java Community Process, and includes many additional features that make it a useful platform for developing and deploying web applications and web services. The generalized idea is:

Re: no host matches server name localhost

2005-04-27 Thread Jonathan August
Hmm, I have pretty much what you have. Here's the whole server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener

RES: RES: Nervous about Sessions ...

2005-04-27 Thread Paulo Alvim
Thank you very much, Frank... I had to create the following class... - import java.io.Serializable; import java.util.ResourceBundle; import javax.servlet.jsp.jstl.fmt.LocalizationContext; public class

Re: no host matches server name localhost

2005-04-27 Thread Jonathan August
I think I was just missing a Context. Thanks for the help, Rod!! -Jon On Apr 27, 2005, at 4:24 PM, Jonathan August wrote: Hmm, I have pretty much what you have. Here's the whole server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 Listener

Re: SSL

2005-04-27 Thread jejones
So I am new, obviously with the keytool use.. attached is the cert.txt file resulting from the keytool -list -v.. I changed the CSR data.. but the format is there... do you see anything wrong with the file? -jrj Jason Bainbridge wrote: On 4/26/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Re: client authentication dont work

2005-04-27 Thread Mark Thomas
Your user entry in tomcat-users.xml needs to look something like this: user username=CN=Mark Thomas, OU=Jakarta, O=Apache, L=London, C=GB password=null roles=tomcat,certs/ Basically, the user name needs to be the CN on the user's cert. Mark Markus Linnemann wrote: -BEGIN PGP SIGNED

Re: SSL

2005-04-27 Thread jejones
If I run keytool again, will it generate a keystore with a different private key? If so, then the cert I received from verisign will not work with that file. -jrj Jason Bainbridge wrote: Did you specify the full path names? I would backup the .keystore and then try again by specifying full

Re: SSL

2005-04-27 Thread Jason Bainbridge
On 4/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So I am new, obviously with the keytool use.. attached is the cert.txt file resulting from the keytool -list -v.. I changed the CSR data.. but the format is there... do you see anything wrong with the file? Hazarding a guess but it looks

redirect stdout on tomcat 5.5

2005-04-27 Thread Kanda Upendra
I am using Tomcat 5.5 and when I don't use the tomcat.exe, I can make it write to the stdout log. How can I redirect stdout to a specific file. Suggestions please. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

  1   2   >