Help with reloading a servlet for log4j logging.

2005-05-26 Thread Subhrajyoti Moitra
Hi, I am initializing Log4J system using an init servlet, which is loaded on start-up (servlet name is Log4JInitServlet). In web.xml I am pointing to the log4j.properties file using the param tag. Problem Now suppose I change some properties in log4j.properties file. (change the log

RE: Help with reloading a servlet for log4j logging.

2005-05-26 Thread Mariano
You must use PropertyConfigurator.configureAndWatch(fileProperties,miliseconds) By Mariano -Mensaje original- De: Subhrajyoti Moitra [mailto:[EMAIL PROTECTED] Enviado el: jueves, 26 de mayo de 2005 8:35 Para: tomcat-user@jakarta.apache.org Asunto: Help with reloading a servlet for log4j

Re: html:errors/ blank page on invalid form

2005-05-26 Thread Gurumoorthy
hello html:form action=/SubmitLogonForm.do is wrong html:form action=/SubmitLogonForm Regards Guru - Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, May 26, 2005 6:04 AM Subject: Re:

RE: JPDA and Tomcat 5.5.9 Service on Windows

2005-05-26 Thread Philippe Johan
Hi cam, When running tomcat as a windows service, there is also a configuration screen. If you do not yet have the small icon in the notification area, you can use the Configure Tomcat option from the Start menu (or tomcat5w.exe //ES//Tomcat5). In this screen you can add the parameters on the

Showing Tomcat Icon rather than DOS icon

2005-05-26 Thread Dakota Jack
How can I write my Tomcat startup script to show the Tomcat icon on a PC bar rather than the DOS icon? Thanks -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail:

Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread Raverkar, Sachin \(Sachin\)
Hi all, We are currently using Tomcat-5.0.28 and JDK 1.4.2_03. We need to move onto JDK 1.5. We would build our war file using JDK 1.5. Can we continue to use Tomcat-5.0.28 with JDK 1.5? Do you see any problem? Are there any known issues? Since Tomcat 5.5 is designed to run on J2SE 5.0 [JDK

Re: HttpSessionListener

2005-05-26 Thread Christoph Kutzinski
Hi Randy, Randy George wrote: Hi Will and Christopher, Good thought. I shut down Tomcat and started it again with a clean set of logs: localhost.2005-05-25.log . . May 25, 2005 11:22:17 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized()

welcome file handling

2005-05-26 Thread Jureczky Bálint
Hello All, We had problems with welcome-file handling after Tomcat upgrade. The welcome file points to page like /dir1/dir2/index.jsp. The page is found despite the fact that the servlet specification says leading / is not allowed, this is valid in all Tomcat versions I know. The exact

Problems in building tomcat 4.1.27 from source

2005-05-26 Thread Gaurav Bansal
Can any one tell me how can I build the tomcat 4.1.27 from the source. It was fairly easy to do it on tomcat 5.5.X with the help of ant alone but on 4.1.27 it is giving too many errors.. I have resolved many but is there no way we can build it cleanly ?? You can direct me some links also Thanks

[OT] RE: DNS Request distribution and TCP NAT distribution For Tomcat Cluster

2005-05-26 Thread Peter Crowther
[Marked off-topic as this now has nothing to do with Tomcat.] From: Steve Kirk [mailto:[EMAIL PROTECTED] Can I ask how sure you felt of what you say here please: Uhhh... how about 'the little pixies told me, and I believe everything they say'? :-) It's from a combination of knowing two

RE: Showing Tomcat Icon rather than DOS icon

2005-05-26 Thread Steve Kirk
Right click, choose properties, click change icon, browse to tc dir, choose tomcat.exe. -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Thursday 26 May 2005 08:47 To: Tomcat Users List Subject: Showing Tomcat Icon rather than DOS icon How can I write my

RE: Force Non-SSL

2005-05-26 Thread Steve Kirk
Not dreaming for a second of contradicting Tim ;) but wouldn't this work? Switch on SingleSignOn. Install two hosts on the same engine. First host has non-ssl connector only, second has ssl only. Install main webapp on non-ssl host, without the login code. Install just the login code on a

RE: Tomcat/Personal Web Server Problem

2005-05-26 Thread Steve Kirk
Looks like TC cannot start. If you have fresh installed it, then hazarding a guess, I'd say it might be because the port might be in use. You can't have 2 servers on the same port. Did you have them configured to run on the same port (8080)? One thing to check is to open a dos window then type

RE: sign Files using Aladdin's eToken USB Pro

2005-05-26 Thread Philippe Johan
Hi Carol, You can not always copy a private key stored on a token to somewhere else. Many of these devices are constructed especially to make this impossible. I know for a fact that that this is the case for example with SmartCards use in the banking world to access secured systems. In general

Re: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread Tim Diggins
I'm not an expert, but I believe (from experience previous googling) that tomcat 5.0.x will respond with an exception (IncorrectClassFileFormat or something) when it encounters class files compiled with jdk1.5, and that thus yes you need 5.5. There are some recent threads about migrating

Re: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread delbd
Exception about class file format would be encountered only if tomcat would be run on a jvm 1.4 and you deploy a war containing 1.5 compiled classes. If you run tomcat with jvm 1.5 it should be able to load classes from a war containing 1.5 compiled classes. The main problem which could arise

Re: welcome file handling

2005-05-26 Thread Tim Diggins
Don't know about the difference, but a couple of potential workarounds: 1) could be to have your welcome page just be the default index.jsp and have it just contain a redirect to the relevant page (but this will mean a response-request roundtrip for your user). 2) alternatively you could

RE: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread Steve Kirk
The main problem which could arise is if tomcat 5.0.x uses a java class or method which disappeared on jvm1.5 This would be doc'd in 1.5 release notes, didn't notice anything relevant when I upgraded: http://java.sun.com/j2se/1.5.0/compatibility.html Also, why would the TC team release a

RE: [OT] RE: DNS Request distribution and TCP NAT distribution For Tomcat Cluster

2005-05-26 Thread Steve Kirk
Thanks Peter, interesting. Your experience of it sounds similar to other experiences I've had when changing from one ISP to another (there seems to be a cutover time of up to 3 days where some 3rd party ISPs clearly still cached and served the old IP for our domain name). It was because of this

RE: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread Steve Kirk
You can run 5.0.28 on jdk1.5 but you need to add a compatibility package which is available from the tc downloads page. Basically it adds 3 jars to fix issues with xml compatibility with the 1.4 vm. I haven't done it myself (I upgraded both at once) but google some of these words and you can

RE: JPDA and Tomcat 5.5.9 Service on Windows

2005-05-26 Thread Steve Kirk
I've been running tomcat on windows for 5 years, as a service for 2 years, and I didn't know that screen existed !! What a revelation. :) -Original Message- From: Philippe Johan [mailto:[EMAIL PROTECTED] Sent: Thursday 26 May 2005 08:09 To: tomcat-user@jakarta.apache.org Cc: cam

RE: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread Steve Kirk
I was not looking forward to reconfiguring logging, as it'd always been an area that generated some confusion, but if anything logging is easier on 5.5 than 5.0 IMHO. I had Loggers configured in 5.0, but these are redundant in 5.5, so I have no logging config at all now - I just use the

Fwd: garbage collection problem with class sun.reflect.GeneratedMethodAccessor

2005-05-26 Thread dharshana vanderbona
Hi All, I'm working on a web application which uses Struts JSPs. Platform : Linux Servlet Engine : Tomcat 5.5 Java version: Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing) with the following settings. JAVA_OPTS=-Xms512m -Xmx512m JAVA_OPTS=$JAVA_OPTS -verbose:gc

Re: Force Non-SSL

2005-05-26 Thread Tim Funk
From a config point of view no. The simple workaround - Ditch the web.xml config for requiring SSL - Create a filter which checks the scheme and URL - if the do not match what you desire - you can issue a redirect in the filter to https (or http) as desired -Tim August Detlefsen wrote: Is

RE: [OT] RE: DNS Request distribution and TCP NAT distribution For Tomcat Cluster

2005-05-26 Thread Peter Crowther
From: Steve Kirk [mailto:[EMAIL PROTECTED] Thanks Peter, interesting. Internet issues in the large tend to be - you get emergent behaviour that is often unexpected :-). I think these are referred to as caching servers as opposed to secondary. It's the secondaries that receive the zone

Re: shared install under Linux

2005-05-26 Thread Mark
Is this for a development environment ? On 5/23/05, Marius Scurtescu [EMAIL PROTECTED] wrote: Hi, Could anyone share some advice on how to install Tomcat on a Linux box such that it can be shared by several users? I would imagine that you install Tomcat to a system folder like /usr or

Re: Tomcat/Personal Web Server Problem

2005-05-26 Thread Robin Rembish
Steve, Thanks for responding. The results of netstat -a include the following: Active Connections Proto Local Address Foreign AddressState TCP4e317:8080 0.0.0.0:0 LISTENING TCP4e317:8081 0.0.0.0:0 LISTENING

Re: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread David Smith
Small correction -- 5.5 needs the compat package to work on jdk l.4, not 5.0 needs it to work on jdk 1.5. I've used TC 5.0 jdk 1.5 together no problem. --David Steve Kirk wrote: You can run 5.0.28 on jdk1.5 but you need to add a compatibility package which is available from the tc

RE: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread Steve Kirk
Yes sorry, david is correct, I got it backwards. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday 26 May 2005 12:59 To: Tomcat Users List Subject: Re: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5 Small correction -- 5.5 needs

RE: [OT] RE: DNS Request distribution and TCP NAT distribution For Tomcat Cluster

2005-05-26 Thread Steve Kirk
Yup. So anyone using your ISP's DNS servers will get one of two IPs for www.microsoft.com at present, out of the however many they have. Lumpy load balancing in action :-). Yes true, hadn't thought of it like that. Where a site has more Ips for a host than an ISP has DNS servers, this

RE: garbage collection problem with class sun.reflect.GeneratedMethodAccessor

2005-05-26 Thread Caldarale, Charles R
From: dharshana vanderbona [mailto:[EMAIL PROTECTED] Subject: Fwd: garbage collection problem with class sun.reflect.GeneratedMethodAccessor After running the system for sometime with around 50 users I noticed that the system is starting to fillup the memory. But strangely even after all

Context Class with Tomcat 5.5.7

2005-05-26 Thread luc_boudreau
I'm developping on Tomcat 5.5.7 and I want to use the Environment Entries with my servers. To access those entries, it seems like I need to use the Context class located in the package org.apache.tomcat.core.Context. I cannot find this package or the source code for this class. Is there

RE: welcome file handling

2005-05-26 Thread Jureczky Bálint
I thinking your proposal 1 is good, it has the least impact on existing code. Proposal 2 is not too easy to follow because the name and port should be in my case the ip of an external firewall (which is not known). I'm still very interested what is in the background of the different behavior.

RE: Context Class with Tomcat 5.5.7

2005-05-26 Thread Steve Kirk
You might not need code/docs to do that, you might be OK just reading the JNDI how-to: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.html See also this page. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html If you do need the docs, you could maybe

Logging to two logfiles by classes instantiated by init

2005-05-26 Thread Steve Kirk
I have always used 2 ways of logging. Mainly I use java.util.logging classes, including a custom Formatter that I wrote myself. I do not use log4j. When my webapp first starts, the init() method of my own custom Invoker servlet loads the config for my main logging code is loaded from web.xml

RE: Tomcat/Personal Web Server Problem

2005-05-26 Thread Steve Kirk
Well based on your netstat output below, this proves that something is listening on 8080 and 8081. It doesn't indicate what is (not sure if there is a way to find out). If you are accessing http://localhost:8080 and still getting PWS, then it is still starting on 8080, before TC is, so TC is

Re: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread Tim Diggins
And, oops, I'm sorry for spreading the original FUD - Following this thread, I've just tried again to get everything working on tc5.0/jdk1.5 and hey-presto, everything ok - guess I must've had TC running on jdk1.4 after all... But planning to migrate to 5.5 anyway. thanks everyone T Steve

RE: Showing Tomcat Icon rather than DOS icon

2005-05-26 Thread Steve Kirk
Jack, You accidentally replied direct to me rather than to the list. It's best to reply to the list so that everyone gets to see the answer. I'm replying to you via the list now. If you mean by the run bar/pc bar the bar at the top of the window that TC runs in, then I think what you are trying

Re: Tomcat/Personal Web Server Problem

2005-05-26 Thread Robin Rembish
Steve, After uninstalling Personal Web Server, I was not getting PWS when typing http://localhost:8080 in the address window of Internet Explorer. I got the following error message: Page cannot be displayed The page you are looking for is currently unavailable Above Address Window:

HTMLManager FAIL :

2005-05-26 Thread Karasek-XID, Nicolas
Hello, With tomcat 5.5.4, I'm trying to deploy a war in tomcat manager and I'm getting the following exception : SEVERE: Exception invoking periodic operation: java.lang.NullPointerException at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:87 5) at

RE: Tomcat/Personal Web Server Problem

2005-05-26 Thread Steve Kirk
Sorry, my mistake - you said that clearly the first time but I misread it. I'm struggling to make any further suggestions I'm afraid. You could try the bood old fashioned reboot. Is the problem persists, verify that 8080/8081 are still in LISTENING state. Then maybe can you install TC on

Re: Showing Tomcat Icon rather than DOS icon

2005-05-26 Thread Tim Diggins
If you make a SHORTCUT to a batch file, then it you can change its icon (both of the shortcut-icon and of the window it launches) by rightclicking the shortcut, properties, Shortcut tab: Change icon (a shortcut to a batch file gives some similar controls to what a PIF used to give, can also

Tomcat 5.5.9 and JK: username returns null

2005-05-26 Thread Thomas Nybro Bolding
Having just upgraded to Tomcat 5.5.9 I choose to use JK rather than JK2 as JK2 is being reported deprecated. With JK2 I used IIS integrated authorization and simply entered tomcat.requestAuthentication=false in my jk2.properties file. How do I accomplish the same with JK??? Best regards Thomas

RE: html:errors/ blank page on invalid form

2005-05-26 Thread Andy
Guru and Nikola, Thanks for the suggestions, having looked at this again, I think this is a Struts problem however, so I've posted to struts-users. Thanks anyway, Andy. -Original Message- From: Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: 26 May 2005 08:37 To: Tomcat Users List

Client authentication for single servlet

2005-05-26 Thread Alistair Young
In Tomcat 5.0.x Is it possible to for a servlet to get a client's certificate without forcing the whole server to use client authentication? in server.xml: clientAuth=true - stops everyone accessing via https clientAuth=want - secure servlet displays no content clientAuth=false -

Implementing custom session expiration rule

2005-05-26 Thread Marc Vaillancourt
I have a requirement to implement different session timeout values for different user roles. What would be the most straightforward way to accomplish this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: shared install under Linux

2005-05-26 Thread Marius Scurtescu
Mark wrote: Is this for a development environment ? Yes, for development. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Implementing custom session expiration rule

2005-05-26 Thread Steve Kirk
You could implement a filter that checked the time since last visit, and if the session had expired according to your custom rule, invalidate the session and redirect to appropriate page such as login. You'd have to make sure that the default session time set in server.xml was longer than the max

Problem with precompiled JSPs

2005-05-26 Thread Mike Baliel
Hello, I have an application that is currently running under JBoss 3.2.x with Jetty that I would like to get running on Tomcat 5.X. I have precompiled all of the JSP's and mapped them to there respective JSP path in the web.xml. Here is a sample fragment of the web.xml: ?xml

RE: HttpSessionListener

2005-05-26 Thread Randy George
Hi Christopher, I think I've fixed the problem. I did two things 1) I renamed the SessionCounter to MyCounter 2) Somehow I had commented out the HttpSession session = request.getSession(true); Once I had a session started everything worked (including the Tomcat Manager

RE: HttpSessionListener

2005-05-26 Thread Randy George
Hi Christopher, I think I've fixed the problem. I did two things 1) I renamed the SessionCounter to MyCounter 2) Somehow I had commented out the HttpSession session = request.getSession(true); Once I had a session started everything worked (including the Tomcat Manager

jk 1.2.14 connector connection problem

2005-05-26 Thread Derrick Koes
I've run with this configuration elsewhere without error. I'm not certain what the issue is. I have this same problem without using the loadbalancer worker. I can't even get to jkstatus. Any help is greatly appreciated. server.xml ?xml version='1.0' encoding='utf-8'? Server Listener

Re: Problem with precompiled JSPs

2005-05-26 Thread Mike Baliel
Hello again, Is anyone using precompiled JSP's in a similar way or have knowledge of others using precompiled JSP's in Tomacat that is similar to the usage below? Any response is welcomed... ;-) Mike Baliel wrote: Hello, I have an application that is currently running under JBoss

Vedr.: Tomcat 5.5.9 and JK: username returns null - solved

2005-05-26 Thread Thomas Nybro Bolding
As pointed out by Mr. Allistair Crossley in his blog http://www.adcworks.com/blog/ one has to modify server.xml. For anyone updating their Tomcat to 5.5x I highly recommend Allistairs blog! /Thomas Thomas Nybro Bolding/THBO/Intranet/[EMAIL PROTECTED] 26-05-2005 17:42 Besvar venligst til

servlet request time out ?!

2005-05-26 Thread Angelov, Rossen
Hi, Does anybody know about a time out on a servlet request with Tomcat 5? The problem is that I have a request that takes about 30 minutes but the browser keeps waiting for the response forever. I tried different browsers but it's the same behavior. I put debug statements in the doPost method

Re: jk 1.2.14 connector connection problem

2005-05-26 Thread Mladen Turk
Derrick Koes wrote: I've run with this configuration elsewhere without error. I'm not certain what the issue is. I have this same problem without using the loadbalancer worker. I can't even get to jkstatus. Any help is greatly appreciated. The problem is with the installation. You

Re: servlet request time out ?!

2005-05-26 Thread Mike Baliel
Hi Angelov, I am new to Tomcat (Just started using Tomcat5.0 yesterday), but the problem you mentioned sounds like a typical connnection timout. Have you tried to setting the connectionTimeout value to 0 in the server.xml? Here is to location in server.xml. Where there is currently a

error-page not catching errors? Tomcat 4.1.31

2005-05-26 Thread David Johnson
Hi all I've added the following to my web.xml (thanks for the help) error-page error-code500/error-code location/error.jsp/location /error-page error-page error-code404/error-code location/error.jsp/location /error-page error-page error-codejava.lang.Exception/error-code

Re: error-page not catching errors? Tomcat 4.1.31

2005-05-26 Thread Jon Wingfield
You should check tomcat's logs to see if there are any warnings. The last error-page def'n is invalid. It should be: error-page exception-typejava.lang.Exception/exception-type location/error.jsp/location /error-page Maybe tomcat is ignoring all the error-page definitions due to the

Re: Problems in building tomcat 4.1.27 from source

2005-05-26 Thread Mark Thomas
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/BUILDING.txt?rev=1.35view=log I'd use the latest version if I were you. You might end up with a couple of different versions of libraries but you should be OK. Another useful trick is to download a tomcat binary, that way you know you will

RE: jk 1.2.14 connector connection problem

2005-05-26 Thread Derrick Koes
After verifying with Mladen that the setup was correct, the problem is still exhibited. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 2:39 PM To: Tomcat Users List Subject: Re: jk 1.2.14 connector connection problem Derrick Koes wrote:

RE: jk 1.2.14 connector connection problem

2005-05-26 Thread Phillip Qin
Try the simpliest configuration in workers.properties # Define 1 real worker using ajp13 worker.list=worker1,status # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 worker.worker1.lbfactor=50 worker.worker1.cachesize=10

tomcat on the SGI

2005-05-26 Thread Murad Nayal
Hi, has anybody been able to get TOMCAT 5.9 running on an SGI workstation: I have installed the binary distribution 5.9 but can't get it to start. [4]/local/jakarta-tomcat-5.5.9 65# java -version java version 1.4.1_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_06) Java

Re: Tomcat/Personal Web Server Problem

2005-05-26 Thread Robin Rembish
Steve, Thanks for trying to help. I've decided to have Windows NT re-installed on my laptop. Robin - Original Message - From: Steve Kirk [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Thursday, May 26, 2005 10:34 AM Subject: RE: Tomcat/Personal Web Server

RE: servlet request time out ?!

2005-05-26 Thread Steve Kirk
I haven't tested this myself, so I'm only going on what the docs say (5.5): http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html If I've understood correctly, this doc seems to say that the connectionTimeout param doesn't have the effect Angelov is looking for - it sets the max

RE: servlet request time out ?!

2005-05-26 Thread Angelov, Rossen
That's exactly how I understood it too. The request will be dropped if after certain number of milliseconds the request's URI hasn't been received. In my case the URI comes directly with the request and based on my log I can see the request is being processed but there is no response after the

RE: servlet request time out ?!

2005-05-26 Thread Steve Kirk
Sorry Ross, got yr name wrong :) Would be interested to know how to do it though, if you find out could you please post, thanks. -Original Message- From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Sent: Thursday 26 May 2005 21:20 To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject:

RE: jk 1.2.14 connector connection problem

2005-05-26 Thread Derrick Koes
Nope, no dice. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 4:06 PM To: 'Tomcat Users List' Subject: RE: jk 1.2.14 connector connection problem Try the simpliest configuration in workers.properties # Define 1 real worker using ajp13

Can not get Tomcat 5.5.x (specifically 5.5.9) to recompile modified jsp

2005-05-26 Thread Tom Autera
Hello, When I modify an existing jsp, Tomcat 5.5.9 does not recompile and serve the jsp. I have been messing around with the following options, but nothing seems to work. I have to bounce Tomcat to get the refresh. servlet servlet-namejsp/servlet-name

Re: servlet request time out ?!

2005-05-26 Thread Mike Baliel
Hi Angelov, I had a similar problem a few years back using websphere 4.0 and IBM's HTTP server. The HTTP server was dropping the connection with the servlet container before the unit of work had finished. Setting the HTTP server's connection timeout to infinite resolved the issue. Not

Re: tomcat on the SGI (problem solved)

2005-05-26 Thread Murad Nayal
Hi just wanted to say I solved the problem by downloading the compat package. turns out this tomcat version requires JRE 1.5 thanks Murad Nayal wrote: Hi, has anybody been able to get TOMCAT 5.9 running on an SGI workstation: I have installed the binary distribution 5.9 but can't get

Possible to to log into db?

2005-05-26 Thread David
Hallo, Anybody knows if how I can configure tomcat to store the access log into a rational database? Is there an existing tutorial? Regards David

RE: tomcat on the SGI

2005-05-26 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Murad Nayal Subject: tomcat on the SGI [4]/local/jakarta-tomcat-5.5.9 65# java -version java version 1.4.1_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_06) Java HotSpot(TM) Client VM (build 1.4.1_06, mixed

Sticky Session, Round-Robin with BalancerFilter?

2005-05-26 Thread Scott Dudley
Is it possible to perform JK-like sticky session, round robin load balancing using a Tomcat instance as the front-end vs Apache, IIS, etc? This may seem an odd request, but I've been asked to port an application from Resin to Tomcat. They are using an instance of resin in this very manner

Re: html:errors/ blank page on invalid form

2005-05-26 Thread Gurumoorthy
Andy, We had this issue before ... can you do email me the struts-config.xml ? i think the PATH in forward name is not correct action forward name=SUCCCESS path=/index.jsp forward name=FAIL path=/login.jsp

RE: servlet request time out ?!

2005-05-26 Thread Angelov, Rossen
Well, I know only two attributes in Tomcat that configure connection related timeouts: connectionTimeout and disableUploadTimeout. I already tried setting connectionTimeout=0 but it didn't work. Now I'll try setting disableUploadTimeout=true. I didn't have it before in my server.xml and by

OT: Software release process

2005-05-26 Thread Nathan Smith
Hi all, I was wondering if someone could give me some insight into how their release process works. We are a small company with three Java developers working on a web based application. Our release or even the development process needs to change to make doing full or patch releases a lot

An unexpected exception has been detected in native code outside the VM.

2005-05-26 Thread David B Sullivan
We're running Tomcat 4.1 on Sun Solaris 9, connecting to another Solaris 9 box running Oracle 9.2.0.1 and Java 1.4.2_05. When Tomcat tries to connect to the DataBase, it crashes, with the log file shown below. We can point Tomcat at another DataBase, same versions of everything, and it works

Anybody using Godaddy ssl certs?

2005-05-26 Thread Mark Winslow
I'm having problems getting them to work. I'm wondering if anybody has had either problems or successes with them. The self-generated keys from keytool work, but I get a message that the browsers don't have common encryption algorithms once I install the tomcat alias cert from godaddy.com.

Anybody using Godaddy ssl certs?

2005-05-26 Thread Mark Winslow
I'm having problems getting them to work. I'm wondering if anybody has had either problems or successes with them. The self-generated keys from keytool work, but I get a message that the browsers don't have common encryption algorithms once I install the tomcat alias cert from godaddy.com.

Re: Anybody using Godaddy ssl certs?

2005-05-26 Thread Scott Reynolds
I installed an SSL Cert from GoDaddy a few weeks ago and haven't had any trouble with Tomcat 4.1. Scott --- Mark Winslow [EMAIL PROTECTED] wrote: I'm having problems getting them to work. I'm wondering if anybody has had either problems or successes with them. The self-generated keys from

Only one ssl domain per server instance?

2005-05-26 Thread Mark Winslow
I'm wondering if there's a way to get more than one ssl domain per server instance. The ssl Connector tag seems to be in the top level in server.xml. Is there a way to put it with a particular host or context or have more than one instance per server? Java's ssl library seems to accept only one

Re: Anybody using Godaddy ssl certs?

2005-05-26 Thread Mark Winslow
I'm wondering. Did you have to match all the fields like Organization Name and Organizational unit exactly to what Godaddy uses? I just put the common name as my domain name, but noticed after the cert was issued some of the other fields didn't match. Thanks. --- Scott Reynolds [EMAIL

Re: Only one ssl domain per server instance?

2005-05-26 Thread Hassan Schroeder
Mark Winslow wrote: I'm wondering if there's a way to get more than one ssl domain per server instance. The ssl Connector tag seems to be in the top level in server.xml. You can define multiple Connectors, each with its own keystore. -- Hassan Schroeder - [EMAIL

Re: An unexpected exception has been detected in native code outside the VM.

2005-05-26 Thread Will Hartung
From: David B Sullivan [EMAIL PROTECTED] Sent: Thursday, May 26, 2005 3:42 PM We're running Tomcat 4.1 on Sun Solaris 9, connecting to another Solaris 9 box running Oracle 9.2.0.1 and Java 1.4.2_05. When Tomcat tries to connect to the DataBase, it crashes, with the log file shown below. We

Re: Anybody using Godaddy ssl certs?

2005-05-26 Thread Mark Winslow
OK, I did a rekey and it now works. I did match everything up like below, but I'm not sure if it was that, rekeying, or something else like errors during downloading previously. Thanks! --- Mark Winslow [EMAIL PROTECTED] wrote: I'm wondering. Did you have to match all the fields like

Re: OT: Software release process

2005-05-26 Thread Patrick Thomas
On 5/26/05, Nathan Smith [EMAIL PROTECTED] wrote: ... trouble free, with 100% certainty that the code we are releasing works, no new bugs have been introduced, and ... Wow... if you figure out how to do that, make sure you write a book. I'll be wanting a copy. ;) ~PST

Re: Anybody using Godaddy ssl certs?

2005-05-26 Thread Scott Reynolds
I just set the common name and organization name to the name of my domain. When I examine the certificate details, that's all that's in there as far as my info is concerned. Everything else says something about Starfield Technologies, Inc. Scott --- Mark Winslow [EMAIL PROTECTED] wrote: I'm

Re: Are we required to move to Tomcat 5.5 in order to move to JDK 1.5

2005-05-26 Thread Mark Leone
Sounds like the consensus is that Tomcat 5.0.x will work with jdk 1.5. FWIW I found the following two problems trying to run code built for jre 1.4 in a 1.5 jvm. 1. A couple DOM classes (don't remember which ones, but you'll know it if you run in to them) had some methods added in jdk 1.5. If

Re: shared install under Linux

2005-05-26 Thread Mark
Then in that case, I would make the context writable to all developers, and also make the context reloadable. By making the context reloadable, tomcat will reload any classes/jars that are placed into/or updated in the context. A couple tips would be: 1. If you are building classes into the

OT: Release procedure experiences

2005-05-26 Thread Nathan Smith
Hi all, should have been a bit more succinct with my request. I would like to know what kind of software Release procedure a lot of you carry out, and your experiences with that procedure, with respect to a small company developing commercial software. How do you carry out patch releases?

RE: Help with reloading a servlet for log4j logging.

2005-05-26 Thread Subhrajyoti Moitra
It worked Thanks a lot Mariano! -Original Message- From: Mariano [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 12:23 PM To: 'Tomcat Users List' Subject: RE: Help with reloading a servlet for log4j logging. You must use

Parsing Log4J log file.

2005-05-26 Thread Subhrajyoti Moitra
Hi, Given : I am using Log4J along with AspectJ for logging. The Conversion pattern I am using in log4j is as follows. (This is just an example) %d{ABSOLUTE} %5p %X{JSESSIONID} %c{1}:%L - %m%n In a Servlet filter I am setting the JSESSIONID in a MDC. So finally my logs are

Re: An unexpected exception has been detected in native code outside the VM.

2005-05-26 Thread Nikola Milutinovic
David B Sullivan wrote: We're running Tomcat 4.1 on Sun Solaris 9, connecting to another Solaris 9 box running Oracle 9.2.0.1 and Java 1.4.2_05. When Tomcat tries to connect to the DataBase, it crashes, with the log file shown below. We can point Tomcat at another DataBase, same versions of