Re: Tomcat Cluster

2008-02-13 Thread Andrew Hole
What you consider the minimal configuration? On Feb 13, 2008 7:23 AM, David Rees [EMAIL PROTECTED] wrote: On Feb 12, 2008 10:59 AM, Andrew Hole [EMAIL PROTECTED] wrote: I've the following configuration on server.xml for two different instances of tomcat (on the same server). BUT, i don't

i18N jsp application on linux and windows

2008-02-13 Thread Raghuveer
This is regarding the damage of polish messages from struts application deployed on Tomcat on Linux and Windows XP . I get polish messages from SAP that to be displayed in JSP page. I have set ISO8859_2 in JSP page for charset. %@ page contentType=text/html;charset=ISO8859_2 % I

Re: Tomcat Cluster

2008-02-13 Thread David Brown
Maybe Dave means to just run one Tomcat instance. There is in the TC doco info about the minimalist TC if memory serves. Since you are attempting a type of load-balancing it would serve you well to reply with a lot more info about your overall architecture: OS: vendor, build version, updates

Tomcat Cluster Error - Operation has timed out

2008-02-13 Thread gp456
Hello, we have a similar problem as Raul Garcia has posted in http://www.nabble.com/Tomcat-6---Cluster-error.-to14921385.html#a14921385 this message, but we're receiving the error of a disappearing member after appr. 12 hours!! Our load is also similar: 1 message/sec. We are using a hardware

Re: Tomcat Cluster Error -

2008-02-13 Thread Filip Hanik - Dev Lists
[CLUSTERLOG] NioReceiver - WARN - 02/12/2008 17:34:23,895 - NioReceiver - Channel key is registered, but has had no interest ops for the last 3000 ms. (canc elled:false):[EMAIL PROTECTED] last access:2008-02-12 17:34:17.957 and finally: this message most likely indicates that the thread pool

RE: Configuring the manager application for Tomcat 6

2008-02-13 Thread Caldarale, Charles R
From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Subject: Configuring the manager application for Tomcat 6 Why is it that placing the library in $CATALINA_HOME/lib just works? and the manager app knows how to find it there. The documentation in RUNNING.txt is incorrect for Tomcat 6.

Re: Will be any problem if I set minSpareThreads=0 maxSpareThreads=0

2008-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vitaly, Vitaly Baranovsky 2 wrote: | Yes, data is added to ThreadLocal with every request. | I can't modify this application. | | Does anybody knows, how to turn off thread pool? I want threads are created | before each requests and destroyed after

Re: Tomcat Cluster Error - Operation has timed out

2008-02-13 Thread Filip Hanik - Dev Lists
you already asked this question, and I already answered. http://marc.info/?l=tomcat-userm=120290898727190w=2 Filip gp456 wrote: Hello, we have a similar problem as Raul Garcia has posted in http://www.nabble.com/Tomcat-6---Cluster-error.-to14921385.html#a14921385 this message, but we're

Re: Configuring the manager application for Tomcat 6

2008-02-13 Thread Peter Stavrinides
Wow it works that was easy!... thanks so much Charles!!! would have taken me forever to find this. Peter Caldarale, Charles R wrote: From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Subject: Configuring the manager application for Tomcat 6 Why is it that placing the library in

Configuring the manager application for Tomcat 6

2008-02-13 Thread Peter Stavrinides
Hi all, This may be a trivial problem for most, but here goes... I am upgrading my Tomcat 5 server to Tomcat 6, which has gone pretty smoothly except for one problem with the manager application. A copy of the manager application is running on my server instance, I am also using a JDBC

RE: i18N jsp application on linux and windows

2008-02-13 Thread Raghuveer
There is no problem on Windows XP. For windows 2000 I have compiled the source with encoding option through ANT too. It started working on Windows 2000. javadoc sourcepath=${sourcedir} encoding=ISO-8859-2 destdir=./doc/api

Re: i18N jsp application on linux and windows

2008-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghuveer, Raghuveer wrote: | This is regarding the damage of polish messages from struts application | deployed on Tomcat on Linux and Windows XP . | | I get polish messages from SAP that to be displayed in JSP page. | | I have set ISO8859_2 in JSP

JNDI Realm and Password Encryption

2008-02-13 Thread Jeff Marendo
Hello, I'm using the JNDI realm and communicating with a Novell eDirectory (LDAP) server for authentication and authorization purposes. We're communicating on port 389, which is non-secure. I know the user ID and password is stored in plain text (within /conf/server.xml), but what I'm not sure

Debugging tomcat with eclipse

2008-02-13 Thread Hehl, Thomas
It seems like I've had this working before, but it surely isn't working now. I am trying to setup tomcat 5.5 so I can debug it with eclipse. I found the docs and set up the following environment variables. CATALINA_OPTS=-Dp6.home=D:\tomcat\common\lib:-Xdebug -Xrunjdwp:transport=dt_soc

Tomcat 5.5.23 - Connector URIEncoding=UTF-8

2008-02-13 Thread Bala . Satyam
hi, My application was running on Tomcat server 5.5.17 version. it was working fine with UTF-8 on this version. Now Iam using Tomcat 5.5.23 server. this version is not able to process my UTF-8 requests. I made the below changes in my server.xml, still it is not working. Connector

Re: Tomcat 5.5.23 - Connector URIEncoding=UTF-8

2008-02-13 Thread Adam Gordon
AFAIK, we had to add two things to support UTF-8 in our environment: 1. We had to add a Filter to Tomcat to set the encoding on every request to UTF-8, see this page: http://wiki.apache.org/tomcat/Tomcat/UTF-8 2. Add JkOptions +ForwardURICompatUnparsed to our apache config file in

Logging when a connection is refused

2008-02-13 Thread JebaB
We have two versions, 4.1.29 and 5.0.28, Tomcat running in our environment. In the 4.1.29, we are using the http10 connector. In the logs we see messages when a connection is being refused when there are no more threads available to process the request. We also see messages in the logs when

Re: Debugging tomcat with eclipse

2008-02-13 Thread Adam Gordon
It's actually MUCH easier than that... :-) If you use Tomcat's start and stop scripts, pass the jpda parameter to the script, e.g. /usr/local/tomcat/bin/catalina.sh jpda start Then, in Eclipse, select the Debug Perspective and then click the down arrow in the little green bug icon in the

Re: Debugging tomcat with eclipse

2008-02-13 Thread Luis Rivera
And don't forget to set JPDA_ADDRESS=8000 JPDA_TRANSPORT=dt_socket as you did before :) --Luis R. On Feb 13, 2008 9:19 AM, Adam Gordon [EMAIL PROTECTED] wrote: It's actually MUCH easier than that... :-) If you use Tomcat's start and stop scripts, pass the jpda parameter to the script,

Re: Will be any problem if I set minSpareThreads=0 maxSpareThreads=0

2008-02-13 Thread Vitaly Baranovsky
Will this not break the application? Does it not rely on this information? No, application uses thread local only for storing temporary data. Or, are we talking about an application that incorrectly uses ThreadLocal variables and needs to be fixed without modifying the code? Yes. What

Re: JNDI Realm and Password Encryption

2008-02-13 Thread david delbecq
Sniffing protocol would probably give you an idea about this :) Jeff Marendo a écrit : Hello, I'm using the JNDI realm and communicating with a Novell eDirectory (LDAP) server for authentication and authorization purposes. We're communicating on port 389, which is non-secure. I know the user

ISAPI Redirector not redirecting?

2008-02-13 Thread Kutsy, Bob
Hi all, This will seem to be an extremely minor problem for most of you, however I have expended numerous hours in research and testing with no success and exhausted all of my ideas (and a few other peoples ideas) for resolution of this issue. I have an IIS web server running alongside an

Re: Tomcat Cluster

2008-02-13 Thread David Rees
On Feb 13, 2008 12:08 AM, Andrew Hole [EMAIL PROTECTED] wrote: On Feb 13, 2008 7:23 AM, David Rees [EMAIL PROTECTED] wrote: Have you tried starting with a minimal configuration and then adding options as you deem necessary? What you consider the minimal configuration? See the docs. Looking

DataSource binding for JSP

2008-02-13 Thread Jason Ling
I have the following jsp file on tomcat 5.5.23. When the file is invoked, it only returns the header row of the table (First Name, Last Name, User Name, Password), but does not return the expected records from the Oracle data table. The entire jsp file is as follows: %@ page session=false % %@

RE: DataSource binding for JSP

2008-02-13 Thread Propes, Barry L
What is this? %! DataSource ds; % Do you need that on your page? I never run such a reference on mine. I've also imported the following packages - %@ page import=javax.naming.Context,javax.naming.InitialContext,javax.naming.NamingException,javax.sql.DataSource % My JSP config looks like:

Re: Null Pointer In java.lang.Package.isSealed because of Thread Saftey Issue with Webapp Classloader

2008-02-13 Thread Mark Thomas
Edward Costello wrote: Has anyone else encountered this? Does anyone know if this is fixed in a later version of tomcat, or if there is a work around? You obviously have spent some time looking at the code. You may not be aware of the web interface to svn. Take a look at

Re: Configuring the manager application for Tomcat 6

2008-02-13 Thread Mark Thomas
Caldarale, Charles R wrote: The documentation in RUNNING.txt is incorrect for Tomcat 6. In particular, there is no $CATALINA_BASE/lib, as you can tell by looking in the conf/catalina.properties file. The common.loader is defined to use ${catalina.home}/lib. Thanks for the heads up. Trunk has

Re: Sporadic Errors in catalina log

2008-02-13 Thread Steven
Hi Chuck, Ok so I got wireshark all setup and was able to capture the request that are generating empty reponses. But looking at the traffic log, im not sure what is different between a request that produces the error and on ethat does not. You mentioned the URI is null. Sorry, but im still

Re: DataSource binding for JSP

2008-02-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, Jason Ling wrote: | When the file is invoked, | it only returns the header row of the table (First Name, Last Name, User | Name, Password), but does not return the expected records from the Oracle | data table. [snip] | %! DataSource ds; %

Re: Sporadic Errors in catalina log

2008-02-13 Thread Len Popp
Chuck is referring to the part of the HTTP request that specifies which web page to fetch. If that piece is missing, it could cause the problem you're seeing. Examine your traffic log and find one of the problem requests. The first line of the HTTP request (after the TCP/IP headers) should look