Re: problem on Tomcat 3.3.1a: "hang"

2005-03-08 Thread Bill Barker
"Connection reset by peer" isn't usually that interesting (it usually means that the browser dropped the connection). Making some wild guesses: Using the Http10Connector on Windows usually means that you need to add something like socketCloseDelay="50" to the element in server.xml. Even bette

problem on Tomcat 3.3.1a: "hang"

2005-03-08 Thread Marcus Nugroho
Hi All, We are implementing CRM application using Tomcat as a web server : The platform and version : - Jakarta Tomcat 3.3.1a - Windows 2000 Advance Server SP4 The problem is after several users logged in properly, then the next user login will "hang". Any other login process after it will fa

RE: How to access web site from other computers

2005-03-08 Thread U K Laxmi
Thank you for the detailed info. I appreciate it. May be, in future i may go for a static IP address. But for testing purposes, i would like to do some wrok around specified by you. I went to www.dyndns.org and selected 'Dynamic DNS' and did whatever it asked me to. I'm able to access it locally.

RE: Parallel install of 5.5 with existing 5.0? (Win Server 2003)

2005-03-08 Thread J Malcolm
Well, I downloaded and unzipped the zip version and ran service.bat. I got a popup error: "Overlapped I/O Operation is in progress; NonAlpha 46" I've been a programmer for many years and have seen many cryptic error messages, but this one ranks right on up there. Found a ref to it on a Microsof

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

2005-03-08 Thread alexander dosher
I'd be extremely glad if you could test this possibly fixed realm. Replace the existing class in server/lib/catalina-optional.jar. ... you have to either build it from CVS (which is easy) or get it from a nightly build. M. Maucherat, thank you for the suggestion, but i'm not sufficiently (i.e. at a

Re: Redirect from http:// to https://

2005-03-08 Thread Antony Paul
You use Tomcat standalone or along with Apache. In Tomcat stand alone you can 1, In index.jsp or whatever be the welcome page check response.isSecure() then redirect. 2. There is an option in web.xml in security element transport-guarantee which can be specified for certain resources. On accessin

Re: Being lost in the mailing list

2005-03-08 Thread Bill Barker
"Klaus-F. Kaal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Peter, > > I can imagine that the gurus get tons of eMails with difficult and silly > questions. And as there is limited time, they can't answer them all. I > believe they keep answering the freshly incoming ones. Si

Re: How to access web site from other computers

2005-03-08 Thread Mark Leone
It sounds like you may have a firewall issue. Make sure that all software or hardware firewalls in the path are configured to allow the IP address and port you're sending from. Also make sure your router is configured to rout IP packets from the WAN interface to the IP address on your LAN that

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

2005-03-08 Thread Hassan Schroeder
Richard Mixon (qwest) wrote: Hassan, Could it be that you do not experience the long periods of inactivity on weekends that we do? No, I'm using this for both my own dev workbench and an intranet server at the moment, and at the least they're idled out overnight. So there's not enough authenticatio

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

2005-03-08 Thread Remy Maucherat
On Tue, 8 Mar 2005 16:28:22 -0700, Richard Mixon (qwest) <[EMAIL PROTECTED]> wrote: > Remy, > Thanks - but where do I get the new class file? The Apache mail server, which, BTW, must be the worst mail server in existence, chooses to let through all the viruses and spammers of the world, but is ref

mod_jk: download speed problem

2005-03-08 Thread Mikhail Kruk
apache 2.0.53 tomcat 5.0.29 mod_jk 1.2.8, worker configured to do ajp13 Red Hat ES 3 Going straight to Tomcat or straight to Apache downloads work fast. Going through mod_jk uploads work fast. Going through mod_jk downloads go at 70Kb/sec. Everything tested from localhost, so it's not a network i

Redirect from http:// to https://

2005-03-08 Thread Sanjeev Srivastava
Hi All!, Can anone tell me how can I redirect http:// to https:// . I want as soon as the user type http://abc.com it will go to https://abc.com (SSL Config). Please help.. Regards, Sanjeev Send instant messages to your online friends http://uk.messenger.yahoo.com ---

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, alex

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

2005-03-08 Thread Richard Mixon (qwest)
Hassan, Could it be that you do not experience the long periods of inactivity on weekends that we do? This only happens on the weekend when we have low activity - sometimes one of the Tomcat instances (they are clustered) will not see a login request for about a half-day. During the week, the long

Re: [OT] RE: same port used in both directions?

2005-03-08 Thread Mark Leone
Thanks for the suggestions. It turned out to be the sw firewall my corp VPN client requires. I set a couple "intruders" to trusted, and the HTTPS session worked fine from work. Cox advertises no static IP, but they actually reserve the IP based on MAC address, so you end up with a static IP as

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

2005-03-08 Thread Remy Maucherat
On Tue, 08 Mar 2005 15:16:41 -0800, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > Richard Mixon (qwest) wrote: > > > 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 w

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

2005-03-08 Thread Hassan Schroeder
Richard Mixon (qwest) wrote: 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 use a JDBCRealm to authenticate the user. Would using the DataSou

RE: Parallel install of 5.5 with existing 5.0? (Win Server 2003)

2005-03-08 Thread J Malcolm
Jason, Thanks for the quick response. I figured there had to be some solution like that. Jerry -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 4:55 PM To: Tomcat Users List Subject: Re: Parallel install of 5.5 with existing 5.0? (Win Se

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

2005-03-08 Thread Remy Maucherat
On Tue, 08 Mar 2005 14:28:12 -0800, alexander dosher <[EMAIL PROTECTED]> wrote: > i'm getting the same problem, w/MySQL 4.1.8 & 3.1.6 connector (except my > error is "Software caused connection abort" rather than "broken pipe - > but same underlying cause, MySQL timing out the connection). > autoRe

Re: Parallel install of 5.5 with existing 5.0? (Win Server 2003)

2005-03-08 Thread Jason Bainbridge
On Tue, 8 Mar 2005 16:52:22 -0600, J Malcolm <[EMAIL PROTECTED]> wrote: > I am running 5.0 in production on my server. I want to move up to 5.5. But > what I'd like to do is install 5.5 parallel to the 5.0 installation so I can > migrate and test and have a quick rollback path if I have problems.

Re: Persistence manager ClassNotFoundException during deserialization

2005-03-08 Thread Mark Thomas
What happens on 4.1.31? Mark Antony Paul wrote: I created a sample application and is available at http://geocities.com/antonypaul24/web.html . Any one can download it and test. rgds Antony Paul On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul <[EMAIL PROTECTED]> wrote: I am waiting for some knowledg

Parallel install of 5.5 with existing 5.0? (Win Server 2003)

2005-03-08 Thread J Malcolm
I am running 5.0 in production on my server. I want to move up to 5.5. But what I'd like to do is install 5.5 parallel to the 5.0 installation so I can migrate and test and have a quick rollback path if I have problems. I realize I can't have both running at the same time. But I'd really like t

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

2005-03-08 Thread alexander dosher
i'm getting the same problem, w/MySQL 4.1.8 & 3.1.6 connector (except my error is "Software caused connection abort" rather than "broken pipe - but same underlying cause, MySQL timing out the connection). autoReconnect doesn't work for me either. sounds like perhaps i should bail on 5.5.* & go

Re: getting datasource in a JSP?

2005-03-08 Thread Darryl Wagoner
Peter Johnson wrote: As shown in the examples Context initContext = new InitialContext(); Context envContext = (Context)initContext.lookup("java:/comp/env"); DataSource ds = (DataSource)envContext.lookup("jdbc/rofDB"); Thanks for the quick reply! That has solved the problem! -- Darryl Wa

RE: HTTPS, port 443 & firewall

2005-03-08 Thread Paul Wallace
Thanks Doug! Paul. Port 443 must be opened on the firewall. When a browser uses https it is talking on port 443 and not 80. The redirect is telling the browser to call back on port 443 or whatever port is designated as https, and not a transfer. Although https can be defined to run on port 80 o

Re: tomcat fails on FC3

2005-03-08 Thread David Smithson
I am an ass. Heehaww! I didn't have the JDK installed, just the JRE. Also, my JAVA_HOME and JRE_HOME paths were wrong, so I exported them rightly. Now I have to think of a startup script that will work for this or maybe just hack the old init script from FC2. Hopefully this will just break ever

Re: getting datasource in a JSP?

2005-03-08 Thread Peter Johnson
As shown in the examples Context initContext = new InitialContext(); Context envContext = (Context)initContext.lookup("java:/comp/env"); DataSource ds = (DataSource)envContext.lookup("jdbc/rofDB"); Parsons Technical Services wrote: Try "jdbc/rofDB" Doug - Original Message - From:

Re: getting datasource in a JSP?

2005-03-08 Thread Parsons Technical Services
Try "jdbc/rofDB" Doug - Original Message - From: "Darryl Wagoner" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, March 08, 2005 4:15 PM Subject: Re: getting datasource in a JSP? Rahul Akolkar wrote: javax.naming.Context Thank Rahul that help, but now I have another problem.

RE: How to access web site from other computers

2005-03-08 Thread jtsbaker
OK. There have been suggestions that you get a static ip address. If your internet service provider will assign you a static ip address, that will solve your problem if you are trying to access the tomcat service using a domain name. However if your internet service provider is unwilling to prov

Re: tomcat fails on FC3

2005-03-08 Thread Ole Ersoy
It looks like you have not uninstalled libgcj. It compiles java source directly to native machine code. Here is more info: http://gcc.gnu.org/java/ If you don't need it (it's typically not used), uninstall it like this (As su): rpm -e jdkgcj That should take care of it. Good luck, - Ole ---

RE: tomcat fails on FC3

2005-03-08 Thread Randall Svancara
The reason that this happens is that you are not using the right java. If you do a: whereis java You will see that java is installed in /usr/bin. This is not the correct java, you need to use another one. If you do this: cat /usr/bin/java You will see that this is just a script. I used J2

Re: getting datasource in a JSP?

2005-03-08 Thread Darryl Wagoner
Rahul Akolkar wrote: javax.naming.Context Thank Rahul that help, but now I have another problem. When I use the tomcat example JSP tags page: This works *** <%@ taglib uri="http://java.sun.com/jsp/jstl/sql"; prefi

RE: tomcat fails on FC3

2005-03-08 Thread Trice, Jim
David, If you install the j2sdk from http://java.sun.com it should replace the links in /etc/alternatives to java and javac from that kit. Jim T. -Original Message- From: David Smithson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:10 PM To: tomcat-user@jakarta.apache.org Sub

Re: Being lost in the mailing list

2005-03-08 Thread Peter Johnson
Klaus, I think I may have spotted it ... does this file exist ? /usr/lib/apache2-prefork/mod_jk.so I suspect that the module isn't being loaded into Apache. Now you say that you are using mod_jk2 (which is fine, I do too) however it looks like you are using mod_jk. If the above file does exist t

tomcat fails on FC3

2005-03-08 Thread David Smithson
Hi all. I followed the instructions in RUNNING.txt from the binary distribution of Tomcat 5. I'm having some trouble and would appreciate a little help. What am I doing wrong? When I run startup.sh, I get this output in the shell: Using CATALINA_BASE: /usr/share/tomcat5 Using CATALINA_HOME:

TOMCAT 5.0.28 applications using https in 443 port and other appliction with https and computer certificate in the same server.

2005-03-08 Thread Acácio Furtado Costa
We are using TomCat 5.0.28 with about six deployed applications. These applications are using JNDI realm with https on port 443. The connector on port 443 is using a valid digital certificate. We are now designing a new application that will use a machine certificate and https access into a t

Re: SSL: same port used in both directions?

2005-03-08 Thread Chris Hosler
The default is 8443 Christopher W. Hosler Network Administrator Ingham County MIS Department Email [EMAIL PROTECTED] As water reflects the face So a mans heart reflects the man >>> [EMAIL PROTECTED] 3/7/2005 11:46:23 PM >>> I have Tomcat 5.5.7 behind a router/firewall, with port 443 and 8080

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 u

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 S

Re: load-balancing

2005-03-08 Thread Mladen Turk
Sng Wee Jim wrote: I am load-balancing tomcat 5.0.28 using JK1.2/AJP1.3. Cool ;) I noticed the loadbalancer virtual JK worker redirect requests to the tomcat instances in a round-robin fashion, without taking into account which tomcat has a higher number of active sessions. You must note what jk

tomcat jsp taglib/compilation/cache issue

2005-03-08 Thread Sacha Stanton
Hi, I have a tomcat taglib problem. If it's not something obvious, I would appreciate if anyone could give me a hand fixing it - hopefully I am not out of line on this newsgroup, but the server is in production and I am all out of ideas so I am happy to negotatiate a rate if it takes some time

RE: How to access web site from other computers

2005-03-08 Thread Mark Benussi
Not wishing to be fussy but you don't have to have a static IP. You can have a dynamic IP and there are various companies that will manage this for free https://www.dyndns.org/ Some routers like my UK BT ADSL modem come with functionality that notifies dyndns as soon as the dynamic IP changes. --

RE: How to access web site from other computers

2005-03-08 Thread U K Laxmi
The machine is connected to internet thro' broadband connection. --- [EMAIL PROTECTED] wrote: > An answer to this question would require a little > more information. > > When you say "My computer is in network" is the > network you are refering > to a local area network or is the window machine >

RE: Date parsing

2005-03-08 Thread George Sexton
Well because of the ambiguities you have to have some expectation of what format the date will be in. What date is 05/12/2005? In the US its May 12th. In Britain it's December 5th. You have to have some expectation and validate against it. The software is designed to use a Locale as an aid to pa

RE: How to access web site from other computers

2005-03-08 Thread jtsbaker
An answer to this question would require a little more information. When you say "My computer is in network" is the network you are refering to a local area network or is the window machine connected directly to the internet through a broadband connection or a dial up connection? Send a response

RE: Tomcat 5 java.lang.outOfMemory

2005-03-08 Thread Allistair Crossley
The registry settings are only available when you use the Windows installer to install Tomcat though. I think you can modify the service.bat if you manually install the Tomcat service manually. We change this line : "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_B

RE: Tomcat 5 java.lang.outOfMemory

2005-03-08 Thread Caldarale, Charles R
> Francesco Pellegrini wrote: > > Tomcat 5 was installed with Services. > > I have changed in catalina.bat : > set CATALINA_OPTS=" -server -Xmx1200m -Xms1200m -Xss256k" If you're running Tomcat as a Windows service, I don't think the environment variables have any effect. Instead, there are re

Re: R: Tomcat 5 java.lang.outOfMemory

2005-03-08 Thread Jon Wingfield
Tomcat doesn't pick up CATALINA_OPTS when run as a service. The arguments for the service are held in the registry. More details here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/windows-service-howto.html and in the archives of this list. HTH, Jon PS: you should still profile your app, though

RE: Date parsing

2005-03-08 Thread Charles P. Killmer
This has a bunch of useful methods in it. Thank you. However what I am looking for is some class that can handle a date/time string in many different formats and return a date/time object back to me. I tried your code with 3/1/2005 and it worked fine. 3-1-2005 did not. This probably means that

RE: tomcat load-balancing maintenance strategy?

2005-03-08 Thread Randall Svancara
Yeah, but you still need to uncomment the cluster element in the server.xml. Also if you have a multi-homed server you need to bind multicast to a specific ip address. Not to mention that you need to set up mod_jk and apache to load balance. It is not just adding a trivial xml element into the

RE: Tomcat 5 java.lang.outOfMemory

2005-03-08 Thread Allistair Crossley
Hi, The latest and greatest of course. Be warned that upgrading to Tomcat 5.5 series however comes with some additional "work" like Java 5.0, slight variance in how to configure data sources, logging and so on, so you may want to go with 5.0.28 or 30 for now. Allistair. > -Original Messag

R: Tomcat 5 java.lang.outOfMemory

2005-03-08 Thread Francesco Pellegrini
Thanks for your answers, I want to upgrade Tomcat, but wich version can I use? Thanks. -Messaggio originale- Da: Allistair Crossley [mailto:[EMAIL PROTECTED] Inviato: martedì 8 marzo 2005 17.46 A: Tomcat Users List Oggetto: RE: Tomcat 5 java.lang.outOfMemory Hi, The answer is not alwa

RE: Tomcat 5 java.lang.outOfMemory

2005-03-08 Thread Allistair Crossley
Hi, The answer is not always to throw more memory at your application. The best answer is to test whether you actually need more memory or whether you are leaking it somehow. So find a profiler, get it to talk to Tomcat, and then run your JSP and watch the method call tree, heap monitor and h

Re: Tomcat 5 java.lang.outOfMemory

2005-03-08 Thread Christoph Kutzinski
Solution a: Increase the heap memory further Solution b: Decrease the memory usage of your application Francesco Pellegrini wrote: Hi all, I have an environment with Tomcat 5.0.19 and java 1.4.02, on windows 2000 server platform. Tomcat 5 was installed with Services. I have changed in catalina.bat

Tomcat 5 java.lang.outOfMemory

2005-03-08 Thread Francesco Pellegrini
Hi all, I have an environment with Tomcat 5.0.19 and java 1.4.02, on windows 2000 server platform. Tomcat 5 was installed with Services. I have changed in catalina.bat : set CATALINA_OPTS=" -server -Xmx1200m -Xms1200m -Xss256k" Usually the sistem works fine, but when I try to find a lot of

RE: How to access web site from other computers

2005-03-08 Thread Ramu, Vinod
The IP allocated to your machine must be STATIC. If you built a internet site then ask your internet service provider to allocate a static IP to your machine. Otherwise, if you have built a intranet site talk to your system administrator, probably he will find a domain controller. -Original

Re:[OT] How to access web site from other computers

2005-03-08 Thread Parsons Technical Services
First: Do you have any firewall software running on your machine? Second: Can other machines on the network see your machine? Such as in Network Neighborhood. Third: Use your IP in the URL. http://172.16.1.37/web/JSP/login.html Of course substituting in your IP. Doug - Original Message

How to access web site from other computers

2005-03-08 Thread U K Laxmi
I've a web application developed using apache and tomcat on windows 2000 machine. I can access the application locally. ie. using http://localhost/web/JSP/login.html and also using machine name ie. http://dummy/web/JSP/login.html. My computer is in network. But i'm unable access my web application

JNDI LDAP Resource

2005-03-08 Thread Justin Crabtree
I am trying to setup a JNDI Resource in my server.xml for a SSL connection to a LDAP server. I have setup and used JDBC resources, but I have been unable to find any examples on setting up a LDAP connection. Is this even possible? If so, anyone have some good examples of how to set it up? If

RE: Date parsing

2005-03-08 Thread George Sexton
I wrote my own date handling class, and it will do what you are looking for: Essentially, to provide a picture for the users you pass in the locale to SaneDate.getDateFormat(). To parse the date, try { new SaneDate(request.getParameter("parm"),lc); } catch (InvalidDateException ide) { } http:

RE: Trying to retrieve the ROOT context in Servlet.

2005-03-08 Thread Jeffrey Lanham
So, hitting an invalid context gets you the root context? Isn't that a little insecure? Jeff -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 3:49 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Trying to retrieve the ROOT conte

RE: tomcat load-balancing maintenance strategy?

2005-03-08 Thread Ramu, Vinod
I thought XML element in web.xml does that automatically. -Original Message- From: Randall Svancara [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 9:40 AM To: Tomcat Users List Subject: RE: tomcat load-balancing maintenance strategy? You need to implement either in memory

RE: tomcat load-balancing maintenance strategy?

2005-03-08 Thread Randall Svancara
You need to implement either in memory session replication or persist the session in a database or a shared file system. I have finally got my tomcat cluster working and session replication is functional. Randall -Original Message- From: Sng Wee Jim [mailto:[EMAIL PROTECTED] Sent: M

Re: getting datasource in a JSP?

2005-03-08 Thread Rahul Akolkar
javax.naming.Context On Tue, 08 Mar 2005 09:32:19 -0500, Darryl Wagoner <[EMAIL PROTECTED]> wrote: > I think the main problem is that I haven't found the import for the > Context class. - To unsubscribe, e-mail: [EMAIL PROTECT

Re: [OT] RE: same port used in both directions?

2005-03-08 Thread Parsons Technical Services
Three more things: You did set Tomcat to listen on 443 and not 8443? Turn off you monitor and unless it's noisy she may not notice it's on. If you are on a personal Cox account at home, there is a good chance that Cox has 443 blocked as well as 80. Unless you have a static IP with Cox they do not

getting datasource in a JSP?

2005-03-08 Thread Darryl Wagoner
Greetings, I am trying to follow some of the examples and got some more questions and problems. I think the main problem is that I haven't found the import for the Context class. Should this a class in common/lib to get the connection? thanks <%@ page import = "java.io.*" import = "java.

Re: [OT] RE: same port used in both directions?

2005-03-08 Thread Mark Leone
It's a very simple firewall, integrated with a wireless router. I specify which inbound ports to allow through and which LAN address they go to. I'm allowing all port 443 traffic. No filters provided for outbound, so I assume they're all open. I run ZoneAlarm sw firewall, which I have configure

Re: org.apache.jasper.JasperException: Could not find ancestor parseTag ???

2005-03-08 Thread Rahul Akolkar
Would help if you posted appropriate snippet from v3getT1ClientV.jsp as well. -Rahul On Tue, 8 Mar 2005 11:07:04 +0100, Philippe Couas <[EMAIL PROTECTED]> wrote: > Hi, > > I have folloing error message > > org.apache.jasper.JasperException: Could not find ancestor parseTag > -

Re: Being lost in the mailing list

2005-03-08 Thread Justin Crabtree
Klaus-F. Kaal wrote: Hi Doug, sorry, that I had to shout out, but I can see that every specialist gets tons of eMails every day. And if he or she does not answer straight away to some mails, the others will be dumped in a bin and ... lost. And nobody answered by mails since days... Thanks for yo

load-balancing

2005-03-08 Thread Sng Wee Jim
Hi, I am load-balancing tomcat 5.0.28 using JK1.2/AJP1.3. I noticed the loadbalancer virtual JK worker redirect requests to the tomcat instances in a round-robin fashion, without taking into account which tomcat has a higher number of active sessions. For eg.

Re: application can not reconnect when database restarts

2005-03-08 Thread James Sys
Hi Bhavesh, Glad to hear the auto-reconnect worked for you with MySQL. I've not tried the same with Oracle, so can only suggest you research this option. Still, Deutsche Bank are a large company & must have lots of Oracle experts available. I'm sure one of them can point you in the right direc

org.apache.jasper.JasperException: Could not find ancestor parseTag ???

2005-03-08 Thread Philippe Couas
Hi, I have folloing error message org.apache.jasper.JasperException: Could not find ancestor parseTag Could you explain my error, i don't see if i have forgot a library or missing an heritag ? cause mère javax.servlet.ServletException: Could not find ancestor parseTag at org.a

Re: Trying to retrieve the ROOT context in Servlet.

2005-03-08 Thread Lionel Farbos
Hi Jeffrey, I use Tomcat 5.0.30 and, when I use getServletContext().getContext("/toto"), if the Context toto doesn't exist, it returns the root context. On Mon, 7 Mar 2005 15:32:25 -0600 "Jeffrey Lanham" <[EMAIL PROTECTED]> wrote: > I have been trying for days and tons of google searches and ma

[OT] RE: same port used in both directions?

2005-03-08 Thread Peter Crowther
[Marked as OT because not Tomcat-specific] > From: Mark Leone [mailto:[EMAIL PROTECTED] > I have Tomcat 5.5.7 behind a router/firewall, with port 443 and 8080 > forwarded through the firewall. I can make connections from > outside the > firewall to port 8080, but not port 443 (it times out). I

Re: Can't see hosts after upgrading to 5.5.7

2005-03-08 Thread Digby
Ah! That's brilliant. Thanks Ole. Ole Ersoy wrote: The 5.5 jndi resource has all of the attributes for the data source in one element, like this: type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:[EMAIL PROTECTED]:1521:

Re: tomcat load-balancing maintenance strategy?

2005-03-08 Thread Wolfgang Hackl
Sng Wee Jim wrote: 1. Is it possible to pass the session information to TomcatA before shutting down TomcatB? For eg. we want to perform servers upgrade, so we down TomcatB, upgrade it, start TomcatB, before doing the same to TomcatA. This is what a cluster does. See http://jakarta.apache.org/t