Tomcat 5.5.12 and user-agent header

2005-10-06 Thread Richard Mixon
I tested out my application on 5.5.12 yesterday and noticed one small anomally. I had a JSP in my sitemesh decorator default.jsp that ends up wrapping the login page for container managed authentication. This page had a statement String _userAgent =

RE: Tomcat 5.5.12 and user-agent header

2005-10-08 Thread Richard Mixon
. Thanks - Richard -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Friday, October 07, 2005 10:13 PM To: tomcat-user@jakarta.apache.org Subject: Re: Tomcat 5.5.12 and user-agent header Richard Mixon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED

RE: Tomcat 5.5.12 and user-agent header

2005-10-09 Thread Richard Mixon
tomcat out of the box (5.5.12 tar.gz) and only changed the http port. regards leon On 10/8/05, Richard Mixon [EMAIL PROTECTED] wrote: I am just using the standard HTTP connector. This is on my development workstation so I don't normally run JK and Apache, except for final testing

RE: Getting Apache2 forwarding to tomcat5

2005-10-12 Thread Richard Mixon
I believe that SuSE does not supply JK2, but only JK. And as another poster said, JK2 is now deprecated. I got the RPM apache2-jakarta-tomcat-connectors working pretty easily as I remember. I moved from the RPM to a newer compiled version of JK version 1.2.14 a couple of months ago to get newer

RE: Tomcat 5.5.12 and user-agent header

2005-10-12 Thread Richard Mixon
problem from what you have described. There are a range of tools for looking at headers. livehttpheaders is good, as is TcpMon which is distributed as part of Axis. Mark -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 12:00 AM

RE: Tomcat 5.5.12 and user-agent header

2005-10-12 Thread Richard Mixon
-Coyote/1.1 Transfer-Encoding: chunked Date: Wed, 12 Oct 2005 16:33:52 GMT Connection: close -- -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 12, 2005 12:45 AM To: 'Tomcat Users List' Subject

RE: Tomcat 5.5.12 and user-agent header

2005-10-12 Thread Richard Mixon
going through Apache and mod_jk? Richard Mixon wrote: OK - yes, it was lack of sleep that was causing the problem to not appear, I was starting Tomcat 5.5.9 instead of 5.5.12, sorry :( The problem is still there. I even took SiteMesh out of the picture, to make sure it was not the problem (should

JSP Development settings with Tomcat5

2004-04-23 Thread Richard Mixon (qwest)
Is it possible to deploy from a war file using the deployer, but then have in-place JSP modifications detected and re-compiled dynamically? I have been unable to achieve this. I have searched the archives, read the doc and find nothing about what the recommended development setup is for doing

Tomcat 4.1.24 JDBCRealm is (unfortunately) caching passwords

2003-09-29 Thread Richard Mixon (qwest)
For some reason changes to a user's password take about a half hour to become effective. I can query the database using the MySQL command line client and see the changed password. We use SHA encryption/encoding. I can also turn on a log message in my login servlet and see that the encoded value

RE: Tomcat 4.1.24 JDBCRealm is (unfortunately) caching passwords

2003-09-29 Thread Richard Mixon (qwest)
to force a new session - Invalidate the session which should get rid of the cached Principal stuff I think one of the latter 2 should work (I hope) -Tim Richard Mixon (qwest) wrote: For some reason changes to a user's password take about a half hour to become effective. I can query the database

RE: Instantiate a bean on startup

2003-10-06 Thread Richard Mixon (qwest)
You did not say which Tomcat version you are using, but if you are using 4.0 or higher you should be able to use a listener that can do whatever you want at startup. Check the web.xml docs or the servlet spec. - Richard -Original Message- From: Benjamin Swanson [mailto:[EMAIL

RE: Hosting

2003-10-12 Thread Richard Mixon (qwest)
We are extremely happy with the support, capabilities and overall value offered by http://www.mmaweb.net . If your site is commercial or is critical that it be available, I would check them out. We have tried some cheaper sites, but it was not worth the grief. Their support staff is very

[OT] Role-based security, how to switch active role

2003-12-02 Thread Richard Mixon (qwest)
We are considering assigning multiple roles to some users/principals in our Struts 1.1 application. The alternative is to have to give some users multiple login ids, which does not seem attractive. J2EE, Struts and Tomcat all seem to support multiple roles. BACKGROUND: I took a look at

Webapp Maintenance in a Cluster

2005-01-19 Thread Richard Mixon (qwest)
I am trying to setup a cluster of two Tomcat 5.0.19 servers behind a single instance of Apache. We currently use the JK connector to connect Apache2 and a singel Tomcat instance now, and would start to use it in load balancing mode with the two Tomcat instances. We will need to start using JBoss

Updating webapps in a running production cluster.

2005-01-20 Thread Richard Mixon (qwest)
one at a time rather than all together. Thanks - Richard -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 5:39 PM To: tomcat-user@jakarta.apache.org Subject: Webapp Maintenance in a Cluster I am trying to setup a cluster of two

RE: Updating webapps in a running production cluster.

2005-01-20 Thread Richard Mixon (qwest)
. Bring it back up. Shut the next down and update. Bring it back up and so on. -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 2:22 PM To: Tomcat Users List Subject: Updating webapps in a running production cluster. I apologize

RE: Tomcat 5.5.4 Admin application deploy

2005-01-20 Thread Richard Mixon (qwest)
I think your mistake is copying jakarta-tomcat-5.5.4\server\webapp\admin\*.* to $CATALINA_HOME\webapp\admin You should copy it to the correct location: $CATALINA_HOME\server\webapp\admin The admin.xml file expects it to be under server/webapps, see: Context

RE: tomcat

2005-01-20 Thread Richard Mixon (qwest)
Like for which version of Tomcat and for which web server? You can probably find what you need at the JK site: http://jakarta.apache.org/tomcat/connectors-doc/index.html HTH -Richard -Original Message- From: David Harland [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005

NPE in ActionForm where it is not be possible

2004-07-10 Thread Richard Mixon (qwest)
I am getting a NullPointerException in an action form that should theoretically not be possible :( Any ideas/help/suggestions are appreciated. Obviously it is possible :). I happens when I'm testing. I find a problem, leave my browser up, then stop/start Tomcat. I select a home page link from the

RE: NPE in ActionForm where it is not be possible

2004-07-13 Thread Richard Mixon (qwest)
QM mailto:[EMAIL PROTECTED] wrote: On Sat, Jul 10, 2004 at 12:31:21PM -0700, Richard Mixon (qwest) wrote: The log variable is initialized when the Action form is instantiated, like so: public class ChartWizardForm extends ActionForm implements java.io.Serializable { private transient

RE: NPE in ActionForm where it is not be possible

2004-07-13 Thread Richard Mixon (qwest)
Craig Berry mailto:[EMAIL PROTECTED] wrote: From:QM [mailto:[EMAIL PROTECTED] I notice, you define/initialize the instance variable log at its declaration point. Humor me: what happens if you initialize log in the ctor? Or for that matter, why not make the log member static?

RE: NPE in ActionForm where it is not be possible

2004-07-14 Thread Richard Mixon (qwest)
Informatics -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 6:26 PM To: Tomcat Users List Subject: RE: NPE in ActionForm where it is not be possible QM mailto:[EMAIL PROTECTED] wrote: On Sat, Jul 10, 2004 at 12:31:21PM -0700, Richard

RE: NPE in ActionForm where it is not be possible

2004-07-14 Thread Richard Mixon (qwest)
and depending on other constraints you may want this). Yoav Shapira Millennium Research Informatics -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 1:43 PM To: Tomcat Users List Subject: RE: NPE in ActionForm where

RE: I need a pointer about persistent info for my servlet, please

2004-07-15 Thread Richard Mixon (qwest)
Bret, Two questions: 1) Are you using Tomcat 5? 2) If so are you using the Tomcat-Deployer to deploy your application? If you answer yes to both, then this is probably a good foundation for a solution to your problem. Let me explain. The Tomcat deployer uses an Ant script and a associated

Recursive stack trace with Tiles and Filter - any ideas?

2004-09-29 Thread Richard Mixon (qwest)
Sorry for the cross-post, but I'm not sure if this is more of a Tomcat or Struts issue (in addition to certainly somehow being my code issue :). Any suggestions are appreciated. The last week or so have been having our Tomcat 5.0.19 server on SuSE Linux crash with a Signal 11. We are using Struts

RE: Recursive stack trace with Tiles and Filter - any ideas?

2004-09-30 Thread Richard Mixon (qwest)
-Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 6:52 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Recursive stack trace with Tiles and Filter - any ideas? Sorry for the cross-post, but I'm not sure if this is more

RE: Recursive stack trace with Tiles and Filter - any ideas?

2004-09-30 Thread Richard Mixon (qwest)
Steffen - thank you for the reminder. Yes, I should have snipped a lot more the second time - Richard Steffen Heil wrote: Hi Please: http://learn.to/quote -Original Message- Regards, Steffen - To

Tomcat 5 deployer compile errors on %@ includes

2004-02-24 Thread Richard Mixon (qwest)
I am trying to use the client deployer. Our JSP pages use a number of compile time includes such as %@ include file=someCommonCode1.jsp %. The client deployer is trying to compile each of these included files independently. I am getting compile errors all over the place. The reason is that one

RE: Tomcat 5 deployer compile errors on %@ includes

2004-02-25 Thread Richard Mixon (qwest)
thing to do is to not make compile time includes end in '.jsp'. Some use .inc, other .jspi, and the spec might even have arecommendation for compile time includes. Also by using a specific file extension you can quickly identify its purpose. -Tim Richard Mixon (qwest) wrote: I am trying to use

JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-26 Thread Richard Mixon (qwest)
I am trying to get JK 1.2.8 (within Apache 2.0.52 SSL build) to fail over to my remaining Tomcat 5.5.7 instance when the first instance is brought down (e.g. for maintenance or due to an actual failure). The application uses container managed authentication (CMA) and obviously sessions. I have

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-26 Thread Richard Mixon (qwest)
two tomcats, try failover and go from there. also, enable debugging for your logging, and a lot more will be spit out in the logs Filip - Original Message - From: Richard Mixon (qwest) [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Wednesday, January 26, 2005 4:37 PM Subject

RE: Re: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-26 Thread Richard Mixon (qwest)
I have no idea - but it is not English. It looks like someone's autoresponder is set to reply to each new thread in the list. I've had to setup a filter to eliminate them from my inbox. Is there a better solution (i.e. does anyone know this guy so they can phone him and tell him to quit it?).

RE: loadbalancing with mod_jk 1.2.8

2005-01-27 Thread Richard Mixon (qwest)
John, From what I gather, this is the purpose of the properties local_worker and local_worker_only properties in the workers.properties file. They are documented at the bottom of this page: http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html Unfortunately the explanation is not

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
? Thank you - Richard Mixon -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 7:29 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: JK, Session Replication/Clustering, SSL and failover in Tomcat 5 yes, There is code that takes

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
like any other Lifecycle listener, Server Listener className=o.a.c.c.s.JvmRouteSessionIDBinderLifecycleListener/ Filip - Original Message - From: Richard Mixon (qwest) [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Sent: Thursday

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
:4001,192.168.1.140,4001, alive=126093] DEBUG TP-Processor3 org.apache.catalina.cluster.session.JvmRouteBinderValve - No Cluster DeltaManager [EMAIL PROTECTED] at /stars TOMCAT LOG - SRV1 END - Richard -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
Never mind. Sorry for the dumb questions, its in my application ontext. - Richard -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 11:09 AM To: Tomcat Users List Cc: Filip Hanik - Dev [EMAIL PROTECTED] Subject: RE: JK, Session

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
org.apache.catalina.cluster.session.JvmRouteBinderValve - No Cluster DeltaManager [EMAIL PROTECTED] at /stars - Original Message - From: Richard Mixon (qwest) [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Thursday, January 27, 2005 10:55 AM Subject: RE: JK, Session Replication/Clustering, SSL

RE: loadbalancing with mod_jk 1.2.8

2005-01-27 Thread Richard Mixon (qwest)
Mladen Turk wrote: Richard Mixon (qwest) wrote: John, SNIP From what I do understand: 1) At the point that you decide to do maintenance on one machine, you need to change your workers.properties and set local_worker=0 for that particular machine. 2) Then do a reload on your Apache

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
. I feel like I'm very close, but not quite there. Thank you - Richard Filip Hanik - Dev wrote: you said you enabled it in your context.xml file, if so remove it Filip - Original Message - From: Richard Mixon (qwest) [EMAIL PROTECTED] To: Tomcat Users List tomcat-user

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
Robert F. Hall wrote: Try killing one of the Tomcat JVM's at the OS level. Robert - thanks! That worked. - Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
Filip Hanik - Dev lists wrote: expireSessionsOnShutdown=true set this property to false! this will not kill the sessions on the other servers during shutdown. but, yes kill -9 or taskmanager killing it, will work too Filip, Thank you so much. Setting expireSessionsOnShutdown=false allowed

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
Filip Hanik - Dev lists wrote: another thought, this object com.ltoj.webapp.util.ClassGrid does it contain a reference to a struts object, and maybe that is why the loading doesn't work, just a thought. Filip Hanik - Dev lists wrote: Interesting, I haven't done any work with the latest

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-27 Thread Richard Mixon (qwest)
Filip Hanik - Dev lists wrote: Hi Richard, Static variable don't get serialized with an object (anyone correct me if I am wrong), so that is not the problem. I believe it to be a bug. Struts is taking a class loader and loading the data, my guess is that its taking the context classloader,

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-28 Thread Richard Mixon (qwest)
Peter Rossbach wrote: That true, I add the JvmRouteBinderValve to the codebase to switch the Session to other node after failure. It works with Tomcat 5.5.5 Config: a) Add Valve at your conf/Catalina/localhost/context.xml.default or context.xml Context Valve

RE: catalina.out

2005-01-28 Thread Richard Mixon (qwest)
Edao Aliye wrote: Hi all, Is there any way i can tell tomcat to limit the file catalina.out in $CATALINA_HOME/logs to for example 2MB in Tomcat 5.5.4?? Please help! Thanks in advance It's in the 5.5 documentation how to limit log size and to rotate:

RE: catalina.out

2005-01-28 Thread Richard Mixon (qwest)
Edao Aliye wrote: Hi Richared, The problem I have ist not localhost_log That works pretty good. Hier ist my configuration: ++ more log4j.properties log4j.rootLogger=info, R log4j.appender.R=org.apache.log4j.RollingFileAppender

RE: logging remote IP address

2005-01-28 Thread Richard Mixon (qwest)
Mark wrote: I'm just tring to see if http request that came from one IP address has more then 1 client behind it. I've seen on some webpages that My IP is displayed as both external and internal - so it means it's doable - but the question is how to get this info in Tomcat. A major purpose of

RE: Updating webapps in a running production cluster.

2005-01-29 Thread Richard Mixon (qwest)
Roberto Cosenza wrote: Sorry if I insist with this post. Has anybody succeeded in updating a webapp in a tomcat cluster without loosing (any)requests? I´m wondering if this is possible at all with tomcat. If we don´t provide a solution we are forced to switch to an other servlet container

RE: Updating webapps in a running production cluster.

2005-01-29 Thread Richard Mixon (qwest)
Roberto Cosenza wrote: I do mean mod_jk2. Could this be the problem? /roberto Yes - jk2 is deprecated. From what I understand jk 1.2.8 has all significant function of jk2 and is much more stable/reliable. I am not sure whether it has the jkstatus function however. BTW, My tests that showed

RE: Updating webapps in a running production cluster.

2005-01-29 Thread Richard Mixon (qwest)
Peter, I used the Jan 19th version of Tomcat 5.5.7, Apache 2.0.52 (build for ssl), jk 1.2.8, Windows XP SP2 and Sun JRE 1.5 SP1. - Richard Peter Rossbach wrote: Hello, with which tomcat version you test this, please try the new 5.5.7 and tell us the result! :-) Please tell us your env,

Where is jkstatus function in jk version 1.2.8?

2005-01-29 Thread Richard Mixon (qwest)
I understand that the jk 1.2.8 connector supercedes the deprecated jk2 connector. I had read previous posting that indicated version 1.2.8 of jk contained equivalent or better function/features than jk2. However the jk2 connector contains documentation on a jkstatus administration interface that

RE: Jakarta Tomcat Connector - Load Balancing

2005-01-31 Thread Richard Mixon (qwest)
Derek Greer wrote: Thanks. I don't recall reading this in any of the documentation. Can you explain what setting this actually does? Derek Mladen Turk wrote: Derek Greer wrote: I'm trying to use the Tomcat Connector to do load balancing through the IIS filter, however the sessions do

RE: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-31 Thread Richard Mixon (qwest)
It appears that you are using the deprecated JK2, not JK 1.2.8 that this thread is discussing. Please start a new thread with the appropriate title and you might get better responses. - Richard sulaiman jrar wrote: I am having problem doing sessionreplication apache give me this problem [Mon

XML/URI issue on Tomcat 5.5.7 and/or Java version issue

2005-02-03 Thread Richard Mixon (qwest)
Users Subject: Re: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built Richard Mixon (qwest) wrote: My build of FOP from 2004/05/29 works fine on Sun Java 1.4.1_02 with Tomcat 5.0.19, but when I move toSun Java 1.5.1 and Tomcat 5.5.7 I get the URI I/O error listed below

RE: Error FOP/BATIK ... PDFXMLHandler:253 - svg graphic could not be built

2005-02-03 Thread Richard Mixon (qwest)
again, very much - Richard Thomas DeWeese wrote: Hi Richard, What is 'imageURLProtocol' I'm guessing it's file:// I think it should be either file:/// or file:/. Richard Mixon (qwest) wrote: Thomas DeWeese wrote: Richard Mixon (qwest) wrote: I checked my SVG markup and am not sure

RE: commons-logging logger instances - how to initialize in replicated session objects

2005-02-12 Thread Richard Mixon (qwest)
Thanks Trond, I had forgotten about readObject.That may be a better option than creating yet another utility method. Trond G. Ziarkowski wrote: Hi, I'm maybe stepping out of my territory here, but I think that static members are not serialized/deserialized. To re-initialize your static

commons-logging logger instances - how to initialize in replicated session objects

2005-02-11 Thread Richard Mixon (qwest)
I have been working with Filip Hanik to get failover/session replication working for my application. Finally it is working quite well. Hooray for Filip! However it did uncover one issue with the way I was handling the commons-logging logger instances in my business objects that I store in the

RE: SOLVED - commons-logging logger instances - how to initialize in replicated session objects

2005-02-13 Thread Richard Mixon (qwest)
()); } } private void readObjectNoData() throws java.io.ObjectStreamException { if (log == null) { // Initialize log instance if it is null log = LogFactory.getLog(getClass().getName()); } } } -Original Message- From: Richard Mixon (qwest) [mailto

RE: Tomcat 5.5.7 webapp not reload after META-INF/context.xml change

2005-02-13 Thread Richard Mixon (qwest)
Tevor, Not sure if I have much to add, so much as just clarifying what you are asking. Its of interest to me also. If you are using the tomcat-deployer app, then file tomcat/webapps/your-webapp/META-INF/context.xml normally gets deployed to tomcat/conf/Catalina/localhost/your-webapp.xml. I

Tomcat 5.5.7 deployer ExceptionInInitializer error

2005-02-15 Thread Richard Mixon (qwest)
When I use the client deployer to compile my web app I am getting this error under SuSE Linux (SLES9). Under Windows XP it deploys fine. It seems sort of puzzling as to why the deployer is running the Struts org.apache.struts.util.MessageResources.getMessageResources during a compile. Here is a

Tomcat 5.5.7 deployer ExceptionInInitializer error in Struts getMessageResources

2005-02-15 Thread Richard Mixon (qwest)
Anybody have any ideas? I have googled this list and others and so far no clues Thank you - Richard -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 1:31 AM To: TomcatUsers Subject: Tomcat 5.5.7 deployer ExceptionInInitializer error

RE: Tomcat 5.5.7 deployer ExceptionInInitializer error in Struts getMessageResources

2005-02-15 Thread Richard Mixon (qwest)
. ? I thought your problem is compiling? This deployer (manager webapps) compiles okay in XP and not in SuSE? aka_sergio --- Richard Mixon (qwest) [EMAIL PROTECTED] wrote: Anybody have any ideas? I have googled this list and others and so far no clues Thank you - Richard -Original Message

RE: Tomcat 5.5.7 deployer ExceptionInInitializer error in Struts getMessageResources

2005-02-15 Thread Richard Mixon (qwest)
-Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 1:58 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.7 deployer ExceptionInInitializer error in Struts getMessageResources Sven, Sorry I was unclear. I should have said that under

RE: Need simple app to test tc5 session failover - please

2005-02-18 Thread Richard Mixon (qwest)
Dan, I just spent a couple of weeks working with Filip Hanik to get session replication and failover working correctly on Tomcat 5.5.7 (at least for the specifics of my situation). Failover was working fine, though I did have to use a special listener to handle the replication of the jvmRoute

Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Richard Mixon (qwest)
We have been using Sun Java 1.4.2, Tomcat 5.0.19, MySQL 4.1.7, MySQL Connector/J 3.0.15 with Hibernate 2.1.7c with no problems. This is on both Windows XP Pro SP2 (development) and SuSE Linux SLES9 (test and production). In order to get failover to work the way we wanted we upgraded to Tomcat

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Richard Mixon (qwest)
Users List Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? Have you changed the corresponding mysql connector jar file ? -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: 21 February, 2005 7:53 AM To: tomcat-user@jakarta.apache.org

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-21 Thread Richard Mixon (qwest)
Engineer. NorthStar Technologies. www.globalnorthstar.com EE(Computer Engineering), UET Lahore, Pakistan. SCJP,SCWCD SCBCD Sun Microsystems, Inc. Brain Bench Certified Java Programmer. -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: 21 February, 2005 10:24 AM

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-21 Thread Richard Mixon (qwest)
Microsystems, Inc. Brain Bench Certified Java Programmer. -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: 21 February, 2005 6:16 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? Shakeel, Thanks for the suggestion

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? New approach

2005-02-21 Thread Richard Mixon (qwest)
: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 7:53 PM To: tomcat-user@jakarta.apache.org Subject: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? We have been using Sun Java 1.4.2, Tomcat 5.0.19, MySQL 4.1.7, MySQL Connector/J 3.0.15

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? New approach [SOLVED]

2005-02-21 Thread Richard Mixon (qwest)
, but NOT for Linux. Anyway, all seems to be working great now that I used just plain username. Thanks for the earlier help and suggestions. - Richard Richard Mixon (qwest) wrote: We have been using Sun Java 1.4.2, Tomcat 5.0.19, MySQL 4.1.7, MySQL Connector/J 3.0.15 with Hibernate 2.1.7c

Tomcat 5.5.7 - error trying to replicate session on Linux

2005-02-21 Thread Richard Mixon (qwest)
OK, we still have one more issue with our Tomcat cluster as we move to our Linux environment. For some reason, both instances (jvmRoute=srv1 and jvmRoute=srv2) see each other at startup. We see that they each join the cluster just fine. But when the first request comes through we get an exception

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-22 Thread Richard Mixon (qwest)
denied for user ''@'kingfishS11' I just tried to find some docs to make sure I'm right but I can't see anything under the 5.5 documentation :-S Hope this helps Tom. On Mon, 21 Feb 2005 07:32:29 -0700, Richard Mixon (qwest) [EMAIL PROTECTED] wrote: -Original Message- From: Richard

RE: Tomcat 5.5.7 - error trying to replicate session on Linux

2005-02-22 Thread Richard Mixon (qwest)
as the second network card. Thanks - Richard Mixon -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 10:14 PM To: tomcat-user@jakarta.apache.org Subject: Tomcat 5.5.7 - error trying to replicate session on Linux OK, we still have one more

RE: Tomcat 5.5.7 - error trying to replicate session on Linux [SOLVED]

2005-02-22 Thread Richard Mixon (qwest)
watchEnabled=false/ /Cluster --- Richard Richard Mixon (qwest) wrote: OK, we still have one more issue with our Tomcat cluster as we move to our Linux environment. For some reason, both instances (jvmRoute=srv1 and jvmRoute=srv2) see each other at startup. We see that they each join

RE: Cluster: how to set mcast interface for dual LAN card? (SOLVED)

2005-02-24 Thread Richard Mixon (qwest)
The tcpListenAddress (on the Receiver tag) may also need to be set to the correct interface/nic (rather than just auto). - Richard Joseph Lam wrote: I have tried that but still got some weird behavior (seems that it was able to send out broadcast with the proper interface but unable to listen

Under Tomcat 5.5.7 how to get Username xxx successfully authenticated

2005-02-24 Thread Richard Mixon (qwest)
Under Tomcat 5.0.19 I had a logger statement in my application context that created a log file. This log file contained, among other things, a line each time a user successfully/unsuccessfully logged in, similar to: 2005-02-20 07:09:20 JDBCRealm[/stars]: Username xxx successfully authenticated

RE: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-27 Thread Richard Mixon (qwest)
Edmon, I am not sure if I understand, but perhaps you should tak a look at Matt Raible's Appfuse application framework at: https://appfuse.dev.java.net/ His solution uses: - SSL (optional of course, just a servlet parameter); - Container Managed Authentication; - a custom login servlet that

RE: JDBC

2005-02-27 Thread Richard Mixon (qwest)
Sounds like you need application logic to do this - probably in conjunction with using Tomcat's Container Managed Authentication (CMA). Tomcat can validate the username against a database (see JDBCRealm at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JDBCRea lm ). However

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Richard Mixon (qwest)
As Matt said its probably your applications objects. When we switched to clustering I was surprised at how many of my session objects I needed to add serializable to. But it was easy work and quickl done. HTH - Richard Dale, Matt wrote: I would guess that this means you have an object in your

RE: Architecture for application and web server

2005-02-28 Thread Richard Mixon (qwest)
JBoss just did a free webinar that covered the topic pretty well and had some nice PowerPoint slides. You can access the recorded webcast here: https://jboss.webex.com/jboss/onstage/tool/record/viewrecording1.php?E ventID=136098785 But basically, Apache uses Tomcat's AJP protocol to talk with

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Richard Mixon (qwest)
-Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 8:13 AM To: Tomcat Users List Subject: RE: Tomcat clustering and NotSerializableException As Matt said its probably your applications objects. When we switched to clustering I

RE: Tomcat clustering and NotSerializableException

2005-03-01 Thread Richard Mixon (qwest)
) at Since CoyoteRequestFacade is a tomcat class, I assume it has to be fixed by the tomcat team. Unless the actual object that is not Serializable not CoyoteRequestFacade is available somewhere else... - Jim -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED

RE: Tomcat Cluster

2005-03-01 Thread Richard Mixon (qwest)
Randall, Below is the clustering section of my server.xml running under SuSE Linux (SLES9). Things to check I can think of: 1. Is your server multi-homed (more than one network adapter)? If so you must (at least from my experience) specify both mcastBindAddr and tcpListendAddress as shown below.

RE: skipping state transfer. No members active in cluster group

2005-03-01 Thread Richard Mixon (qwest)
Randall, See my answer to your posting on the subject Tomcat Cluster. Both Tomcat 5.0.28 and Tomcat 5.5.7 should work on Linux - at least on SuSE Pro 9.2 and SLES9. However failover restart under session replication works much better on the Tomcat 5.5.8 that is available as alpha. You might do

RE: Tomcat clustering and NotSerializableException

2005-03-01 Thread Richard Mixon (qwest)
idea. Richard Mixon (qwest) wrote: CoyoteRequestFacade is the first element in the stack trace - it is not the session stored object that is causing the NotSerializableException. As I said in my prior posting, to resolve this issue you need to: 1) Identify each object that you are explicitly

RE: tomcat load-balancing maintenance strategy?

2005-03-08 Thread Richard Mixon (qwest)
Jim, Also check the archives for my post on restarting a downed Tomcat cluster member. This was not working well prior to Tomcat 5.5.8. When the instance was restarted it would throw exceptions trying to re-synchronize vi session replication. - Richard -Original Message- From: Randall

JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Richard Mixon (qwest)
Has anything changed with the way that JDBCReal handles connection timeouts in Tomcat 5.5.7? We upgraded from Tomcat 5.0.19 to Tomcat 5.5.7 in production and are now getting JDBC connection errors when the site has not been accessed for a while. This is happening when a user tries to login - we

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Richard Mixon (qwest)
, the longest inactive period is usually about six hours. - Richard -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:17 PM To: Tomcat Users List Subject: Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x Richard Mixon (qwest) wrote: We upgraded

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-08 Thread Richard Mixon (qwest)
Remy, Thanks - but where do I get the new class file? - Richard -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:01 PM To: Tomcat Users List Subject: Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x On Tue, 08 Mar 2005 14:28:12 -0800,

RE: Being lost in the mailing list

2005-03-09 Thread Richard Mixon (qwest)
Klaus, Was there a reason you did not use the preconfigured Java 1.4, Tomcat 5.0.19 and JK connectors that come with SuSE Pro 9.1? These are listed under the SuSE YAST Install Software panel. Just select RPM groups Productivity-Networking-Web-FrontEnds. The SuSE prepared README

RE: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-17 Thread Richard Mixon (qwest)
. Are you using HTTP or Form-based authentication to get the user credentials? On Tue, 2005-03-08 at 11:57 -0700, Richard Mixon (qwest) wrote: Has anything changed with the way that JDBCReal handles connection timeouts in Tomcat 5.5.7? We upgraded from Tomcat 5.0.19 to Tomcat 5.5.7

RE: webappclassloader

2005-03-25 Thread Richard Mixon (qwest)
Its hard to tell - you need to tell us more - e.g. what version of Tomcat are you using. I have gotten similar messages when I used the deployer app to undeploy a webapp, but due to a lock on a file (i.e. a JSP file was open in a text editor) all of the files were not deleted by the deployer app.

RE: [OT] Serialization (was RE: Clustering question)

2005-04-01 Thread Richard Mixon (qwest)
Peter Crowther wrote: From: Dale, Matt [mailto:[EMAIL PROTECTED] Yes this is a problem. All objects contained within a serializable object must in turn be serializable themselves. Or marked as 'transient'. This omits them from serialization. If you mark them as transient, you may need need

RE: Apache - JK2 - Tomcat Question

2005-04-05 Thread Richard Mixon (qwest)
Geoff Wiggs wrote: I have a 'newbie' jk2 / Tomcat question. I am running Tomcat behind Apache with mod_jk2 interfacing the two. snip Just so you are aware, jk2 is deprecated in favor of jk. As of version 1.2.10 of jk, most useful features in jk2 should be in jk. See

RE: [ANN] Tomcat 5.5.9 voted stable

2005-04-11 Thread Richard Mixon (qwest)
Christoph Kutzinski wrote: Yoav Shapira wrote: Please note that while all core features have been tested and voted stable, there is a known issue in this build related to the clustering module. The fix for this issue is available by itself at Bugzilla, and will be included in subsequent

How to do Downtime with a Apache/Tomcat webapp

2005-05-15 Thread Richard Mixon (qwest)
I'm curious how folks handle letting users know that their webapp is down when doing maintenance. We've got a pretty standard setup. Our informational/static site is served by Apache 2.0.x. We use mod_jk to link to a page in our webapplications, triggering CMA for authentication and login. We run

How to do Downtime with a Apache/Tomcat webapp

2005-05-15 Thread Richard Mixon (qwest)
I'm curious how folks handle letting users know that their webapp is down when doing maintenance. We've got a pretty standard setup. Our informational/static site is served by Apache 2.0.x. We use mod_jk to link to a page in our webapplications, triggering CMA for authentication and login. We run

RE: How to do Downtime with a Apache/Tomcat webapp

2005-05-17 Thread Richard Mixon (qwest)
like it would work? It would be less disruptive because you don't have to restart Apache (if there's more to the web site than the one Tomcat app). Plus this will work with stand-alone Tomcat. On 5/15/05, Richard Mixon (qwest) [EMAIL PROTECTED] wrote: I'm curious how folks handle letting users

RE: How to do Downtime with a Apache/Tomcat webapp

2005-05-17 Thread Richard Mixon (qwest)
like it would work? It would be less disruptive because you don't have to restart Apache (if there's more to the web site than the one Tomcat app). Plus this will work with stand-alone Tomcat. On 5/15/05, Richard Mixon (qwest) [EMAIL PROTECTED] wrote: I'm curious how folks handle letting users

  1   2   >