Re: Server affinity instead of session affinity

2010-11-23 Thread Andrew Hole
I'm reading about domain directive in worker properties. I can setup different workers to be in the same domain (p.e. a machine) and have domain affinity. Do you have some idea how it really works? Thanks On Tue, Nov 23, 2010 at 9:01 PM, Christopher Schultz ch...@christopherschultz.net wrote:

Re: Server affinity instead of session affinity

2010-11-23 Thread Andrew Hole
And regarding your question; ~Why can you not run all apps within one single JVM/Tomcat ? Because we have a lot of web applications and we are using 32-bit JVM. Thanks a lot On Tue, Nov 23, 2010 at 10:59 PM, Andrew Hole andremailingl...@gmail.comwrote: I'm reading about domain directive

Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
Hi guys! There is any available configuration to define server affinity instead of session affinity? Our architecture setup is based on multiple JVMs (tomcat) instances in each server (machine). The goal is to send all requests (within a session) from a client browser to the same machine. Is it

Re: Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
No... Session affinity (jvmRoute in JSESSION ID) implies sending to the same tomcat instance (same JVM), not for the same machine. Some idea? On Mon, Nov 22, 2010 at 9:10 PM, André Warnier a...@ice-sa.com wrote: Andrew Hole wrote: Hi guys! There is any available configuration to define

Re: Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
An example: Machine 1: Tomcat A Tomcat B On Mon, Nov 22, 2010 at 11:05 PM, André Warnier a...@ice-sa.com wrote: Andrew Hole wrote: No... Session affinity (jvmRoute in JSESSION ID) implies sending to the same tomcat instance (same JVM), not for the same machine. I guess that I still

Re: Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
was done using the same browser client). Thanks On Mon, Nov 22, 2010 at 11:23 PM, Andrew Hole andremailingl...@gmail.comwrote: An example: Machine 1: Tomcat A Tomcat B On Mon, Nov 22, 2010 at 11:05 PM, André Warnier a...@ice-sa.com wrote: Andrew Hole wrote: No... Session affinity (jvmRoute

Re: Server affinity instead of session affinity

2010-11-22 Thread Andrew Hole
:58 PM, André Warnier a...@ice-sa.com wrote: Andrew Hole wrote: Sorry for the inconvenience. I sent the email with wrong content. An example: Machine 1: Tomcat A App1 App2 Tomcat B App3 App4 Machine 2: Tomcat C App1 App2 Tomcat D App3 App4 Using session affinity, if I

tomcat process memory

2009-04-08 Thread Andrew Hole
Hi guys! I'm getting a strange behaviour of Tomcat process. I'm using a memory profiler and it shows the following info: heap allocated memory: 278MB non-heap allocated memory : 151MB However, TOP shows that memory used by tomcat process is more or less 1GB. WhY this happens? Is it possible to

Re: tomcat process memory

2009-04-08 Thread Andrew Hole
Linux. RES column. What is the difference between heap and non-heap and where I can configure the limit to non-heap? Thanks On Wed, Apr 8, 2009 at 2:58 PM, André Warnier a...@ice-sa.com wrote: Andrew Hole wrote: Hi guys! I'm getting a strange behaviour of Tomcat process. I'm using

Re: tomcat process memory

2009-04-08 Thread Andrew Hole
the value of 962MB. On Wed, Apr 8, 2009 at 3:13 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Andrew Hole [mailto:andremailingl...@gmail.com] Subject: Re: tomcat process memory What is the difference between heap and non-heap and where I can configure the limit

mod_proxy_balancer and session affinity

2009-03-12 Thread Andrew Hole
Hi guys! I can't find any documentation regarding session affinity using mod_proxy_balancer (http protocol). Anyone have or know where i cand find it? Thanks

mod_jk vs mod_proxy

2009-02-03 Thread Andrew Hole
Hi guys! Wich is the recommend module and what are the differences? Thanks a lot

mod_jk - load balancing

2009-01-21 Thread Andrew Hole
Hi Guys! What is the behavior of mod_jk if one of the workers stops? Mod_jk stops to send requests to that worker? Or it retries at each request and only after determine that the worker is down , it sends the request to the fine worker ? # -- # Load Balancer worker #

Service Unavailable - zero size object

2009-01-21 Thread Andrew Hole
Hi! We are using Apache + Mod_jk + Tomcat and randomly we are getting the following error (http 503) Service Unavailable - *zero* *size* *object* The server is temporarily unable to service your request. Please try again later. Do you have any idea about why happens this error? Thanks a lot A.H

Re: Service Unavailable - zero size object

2009-01-21 Thread Andrew Hole
and report the stacktrace here? Andrew Hole a écrit : Hi! We are using Apache + Mod_jk + Tomcat and randomly we are getting the following error (http 503) Service Unavailable - *zero* *size* *object* The server is temporarily unable to service your request. Please try again later. Do

Re: Tomcat and coldfusion

2009-01-15 Thread Andrew Hole
In cold fusion server log we can see that coldfusion stopped without errors Information,main,01/15/09,11:31:54,,ColdFusion stopped Do you have any idea? thanks On Wed, Jan 14, 2009 at 9:29 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Andrew Hole [mailto:andremailingl

Tomcat and coldfusion

2009-01-14 Thread Andrew Hole
Hello guys! I deployed coldfusion on Tomcat and everything looks fine to me except when I shutdown the service. This deployment was made in Linux. Jan 14, 2009 5:29:43 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-8189 Jan 14, 2009 5:29:44 PM

Re: Tomcat and coldfusion

2009-01-14 Thread Andrew Hole
just to say one more thing: this only happens when cfusion war is deployed in tomcat. If i try to shutdown without cfusion.war deployed, everything works fine. I'm seeing the cfusion log and there are no errors in stopping cfusion engine. Thanks On Wed, Jan 14, 2009 at 6:15 PM, Andrew Hole

Re: Tomcat and coldfusion

2009-01-14 Thread Andrew Hole
-name res-typecom.ibm.websphere.asynchbeans.WorkManager/res-type res-authContainer/res-auth res-sharing-scopeShareable/res-sharing-scope /resource-ref End WebSphere deploy -- /web-app On Wed, Jan 14, 2009 at 6:31 PM, Andrew Hole andremailingl...@gmail.comwrote: just

Re: Tomcat and coldfusion

2009-01-14 Thread Andrew Hole
Thanks for you quick response. How can I take a thread dump? Thanks On Wed, Jan 14, 2009 at 6:37 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Andrew Hole [mailto:andremailingl...@gmail.com] Subject: Tomcat and coldfusion It looks that tomcat is stopped

Re: Tomcat and coldfusion

2009-01-14 Thread Andrew Hole
R chuck.caldar...@unisys.com wrote: From: Andrew Hole [mailto:andremailingl...@gmail.com] Subject: Re: Tomcat and coldfusion How can I take a thread dump? Tough to tell you since you left out basic information: 1) Tomcat version 2) JRE/JDK version 3) OS type and level If you're

Session affinity

2008-11-21 Thread Andrew Hole
Hi guys! The session affinity in Apache guarantee that all requests from a specific browser will be redirected to the same instance of Tomcat (worker). How it works when we have an hardware load balancer in the first layer and 2 actives Apache HTTP Server? Thanks a lot

Re: Session affinity

2008-11-21 Thread Andrew Hole
Is not very smart... There is some problem with that? Thanks On Fri, Nov 21, 2008 at 9:00 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Session affinity How it works when we have an hardware load balancer in the first layer

Tomcat clustering

2008-10-27 Thread Andrew Hole
Hi Guys! What means the following error? What I'm doing wrong? FINE: Assuming clocks are synched: Replication for GET-ALL- took=47 ms. 27/Out/2008 17:12:10 org.apache.catalina.cluster.session.ClusterSessionListener messageReceived SEVERE: Context manager doesn't exist: Thanks a lot

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
on the server. for example, if you have applicate /test installed on server A, then it will have to be installed on server B as well, if it isn't, you'll get a message like the one below Filip Andrew Hole wrote: Hi Guys! What means the following error? What I'm doing wrong? FINE

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
Filip Andrew Hole wrote: I would like to cluster two different applications in same machine (each in different Tomcat instance). Is it possible? On Mon, Oct 27, 2008 at 5:39 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: It means that the application that it is trying

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
for the object sharing yourself you could use the tomcat internals to achieve what you want, but you'd have to do a bit of legwork. Filip Andrew Hole wrote: Yes. Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 But both applications have been developed by me and I want

share SessionID in different webapps - same tomcat

2008-09-03 Thread Andrew Hole
Is it possible to share sessionID between webapps in the same tomcat? How can I find a demo or some JSP to simulate it? Thanks a lot A.C

Re: share SessionID in different webapps - same tomcat

2008-09-03 Thread Andrew Hole
Thanks. And how can I test this feature? Could you help to write a JSP sample? Thanks On Wed, Sep 3, 2008 at 5:58 PM, Gregor Schneider [EMAIL PROTECTED]wrote: http://tomcat.apache.org/tomcat-5.5-doc/config/host.html Search for SingleSignOn Gregor -- what's puzzlin' you, is the nature of

Re: share SessionID in different webapps - same tomcat

2008-09-03 Thread Andrew Hole
Cookies (like you see in this site) is a good solution? *http://www.fwd.at/tomcat/sharing-session-data-howto.html* On Wed, Sep 3, 2008 at 6:21 PM, Andrew Hole [EMAIL PROTECTED]wrote: Thanks. And how can I test this feature? Could you help to write a JSP sample? Thanks On Wed, Sep 3

Capture and replay

2008-07-21 Thread Andrew Hole
Hello! I'm interested to capture and replay Java application events. There is some tool to do that? My java application runs on tomcat container. Thanks a lot

Windows Task Manager - tomcat processes

2008-06-23 Thread Andrew Hole
Hi! If I have more than one tomcat instance installed and started, how do I now wich process in task manager corresponds to the tomcat instance? In task manager I only see things like that: tomcat5.exe tomcat5.exe tomcat5.exe Thanks a lot A.

Re: Web server and tomcat - firewall

2008-05-07 Thread Andrew Hole
HI! I don't have perl installed in production servers, but it is windows server 2003. About mod_jk configuration (mod_jk/1.2.18) : # List the workers name worker.list = p1balancer, resumop1 # -- # Load Balancer worker # -- worker.p1balancer.type= lb

Re: Web server and tomcat - firewall

2008-05-07 Thread Andrew Hole
Thanks What means: error 10054 = Connection reset by peer. Andrew On Wed, May 7, 2008 at 7:14 PM, Rainer Jung [EMAIL PROTECTED] wrote: Andrew Hole wrote: HI! I don't have perl installed in production servers, but it is windows server 2003. OK, then it is windows error 10054

Web server and tomcat - firewall

2008-05-06 Thread Andrew Hole
Hi all| Maybe you could help me to solve a problem with your experience. My company has implemented a solution of 3 layers (Apache web server, Tomcat Container and Database). There is a firewall between the web server and the tomcat. We get the following errors in mod_jk log: These errors

java.net.ConnectException: Connection refused

2008-05-01 Thread Andrew Hole
Hello! When I shutdown tomcat i get the following error and the process remains active. Do you know what could be the problem? SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at

Tomcat shutdown

2008-03-31 Thread Andrew Hole
Hello! I have a cluster with two Tomcat's. When I shutdown one and the other still active I do not want to run valueunbound in the first. How do I do that? Basically: If (shutdown node 1 and node 2 is Active) then { do nothing; } else { business logic; } Thanks a lot

Re: Job Opportunity

2008-03-25 Thread Andrew Hole
Tomcat 5.5. But we are always looking for future... Regards On Tue, Mar 25, 2008 at 10:11 AM, ChrisS [EMAIL PROTECTED] wrote: What version of Tomcat Andrew? Chris S - Original Message - From: Andrew Hole [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent

Job Opportunity

2008-03-24 Thread Andrew Hole
Hello Guys! Anyone interested in joining a Portuguese company to be responsible for installing, managing and configuring Tomcat and Apache Web Server? We currently have very interesting international projects. Thanks a lot Andrew

Session valueUnbound

2008-03-17 Thread Andrew Hole
We're trying to avoid the execution of valueUnbound(), when a Tomcat instance is stopped in a cluster environment. Can this be done by checking whether the thread that is executing valueUnbound() is a daemon or not? In the tests we have performed, the only thread running valueUnbound(),

Why is session unbound called after cluster failover?

2008-02-25 Thread Andrew Hole
Hi! Why is session unbound called after cluster failover? Two more questions: -- In a scenario with two nodes, if I shutdown one, the other is instantly ready to receive and respond to requests, or it is necessary to wait a while? In a procuction scenario we cannot wait, because requests are

Re: Why is session unbound called after cluster failover?

2008-02-25 Thread Andrew Hole
PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: | Why is session unbound called after cluster failover? What value is being unbound? | Two more questions: -- In a scenario with two nodes, if I shutdown | one, the other is instantly ready to receive

Re: Why is session unbound called after cluster failover?

2008-02-25 Thread Andrew Hole
] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: | Well, our class USER implements HttpSessionBindingListener, | Serializable and when failover happens valueUnbound is executed(public | void valueUnbound(HttpSessionBindingEvent event)) - valueUnbound

Re: Why is session unbound called after cluster failover?

2008-02-25 Thread Andrew Hole
On 2/25/08, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: the stack trace idea is a good idea, and you can post it here Filip Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: | Well, our class USER implements

Re: Why is session unbound called after cluster failover?

2008-02-25 Thread Andrew Hole
[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: | It happens on both. Valueunbound is executed on old server when | tomcat is stopped, and is executed on new server when I execute | logout (or if I shutdown tomcat). That behavior seems

Re: Why is session unbound called after cluster failover?

2008-02-25 Thread Andrew Hole
tracking is associated to valueunbound). Actually, valueunbound is executed on all tomcats. Let me know if you need more information. On Mon, Feb 25, 2008 at 8:41 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: | I

Re: Why is session unbound called after cluster failover?

2008-02-25 Thread Andrew Hole
The valueUnbound is NOT being propagated from the TC instance shutting down across the cluster. The valueunbound is executed when I do the shutdown of an TC instance (session logout tracking was done - database record inserted). After that I still work with this session on the active node ...

Tomcat Cluster - node02 is invalid, removed or not replicated at this node.

2008-02-22 Thread Andrew Hole
Hello guys! We are trying to test Tomcat clustering but we are getting some problems. Sometimes (Log2) everything works fine but in other cases the cluster doesn't work (Log1). The only difference is the time that we wait after we shutdown a node. When we make a request after shutdown a node,

Re: Tomcat Cluster - node02 is invalid, removed or not replicated at this node.

2008-02-22 Thread Andrew Hole
it to 3 and it is true that you must wait 35 sec before you can restart a cluster node. Use the Java Service Wrapper or add this to your start scripts to configure this. Peter Am 22.02.2008 um 11:48 schrieb Andrew Hole: Hello guys! We are trying to test Tomcat clustering but we

Why is session unbound called after cluster failover?

2008-02-22 Thread Andrew Hole
Hi! Why is session unbound called after cluster failover? Two more questions: -- In a scenario with two nodes, if I shutdown one, the other is instantly ready to receive and respond to requests, or it is necessary to wait a while? In a procuction scenario we cannot wait, because requests are

Tomcat 5.5 clustering - Cluster Session

2008-02-18 Thread Andrew Hole
Hello! I'm getting the following message on Tomcat: 18/Fev/2008 12:07:50 org.apache.catalina.cluster.tcp.ReplicationValvecreatePrimaryIndicator FINE: Context /outpatient: Found session 07EEE91093046F13672F88402F03C5A2.node02 but it isnt a ClusterSession. Why this happen? Thanks a lot AH

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

Tomcat Cluster

2008-02-12 Thread Andrew Hole
Hello guys! I've the following configuration on server.xml for two different instances of tomcat (on the same server). BUT, i don't know why, session replication doesn't work. Could you help me to find why? Thanks Instance 1: Cluster className=

Re: Tomcat Cluster

2008-02-12 Thread Andrew Hole
on the same IP (loopback?) and port? Andrew Hole wrote .. Hello guys! I've the following configuration on server.xml for two different instances of tomcat (on the same server). BUT, i don't know why, session replication doesn't work. Could you help me to find why? Thanks

Tomcat Performance

2008-01-29 Thread Andrew Hole
Hello I read an interesting document from Mladen Turk (with whom I want to speak directly, but I don't know direct contact) that there is a formula to calculate the number of concurrent request: http://people.apache.org/~mturk/docs/article/ftwai.html Calculating Load When determining the number

Tomcat 64 bits

2008-01-23 Thread Andrew Hole
Hello! Is there any problem run Tomcat under 64 bits platform? And about JDK? Is it possible install JDK 32 bits for 64 bits platform? Thanks a lot A.

Tomcat benchmark

2008-01-21 Thread Andrew Hole
Hi! Is there any benchmark test available that allow me to determine the number of concurrent requests that Tomcat supports for a particular type of hardware? Thanks a lot

Connection pooling

2008-01-11 Thread Andrew Hole
Hello! The following configuration was not supposed to be created 5 connections at first get connection execution? My application with the following configuration creates always a new session in the database for each invocation, which is not to take advantage of pooling. Why? Context

Re: Datasource Property Parameters (Oracle) JNDI

2008-01-11 Thread Andrew Hole
I don't see examples with initial size of pool! Exists some default value for pool initial size?? On Jan 11, 2008 2:27 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Datasource Property Parameters (Oracle) JNDI Could you help me

Re: Datasource Property Parameters (Oracle) JNDI

2008-01-11 Thread Andrew Hole
maxIdle=10 minIdle=5 maxWait=-1 defaultAutoCommit=false / On Jan 11, 2008 2:40 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Datasource Property Parameters (Oracle) JNDI I don't see examples with initial size of pool

Re: Datasource Property Parameters (Oracle) JNDI

2008-01-11 Thread Andrew Hole
, 2008 2:40 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Datasource Property Parameters (Oracle) JNDI I don't see examples with initial size of pool! Exists some default value for pool initial size?? To quote

Re: Connection pooling

2008-01-11 Thread Andrew Hole
Every db execution creates a new session. Each session dropped correctly after db execution. Is it supposed I see 5 (new) connections to database after tomcat restart? Thanks On Jan 11, 2008 2:24 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED

Re: Connection pooling

2008-01-11 Thread Andrew Hole
with the actual server name replace the SID with the Service ID you will be using (check the tnsnames.ora for SID) http://www.microdeveloper.com/html/JNDI_Orcl_Tomcat1p.html Martin - Original Message - From: Andrew Hole [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent

Re: Datasource Property Parameters (Oracle) JNDI

2008-01-11 Thread Andrew Hole
Could you help me to setup my datasource to works fine? I already try lot of changes on Resource element, but pooling is disable. Resource name=ehr auth=Container type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory

Re: Datasource Property Parameters (Oracle) JNDI

2008-01-11 Thread Andrew Hole
Hello! I think that I have the same problem. Resource name=ehr auth=Container type=oracle.jdbc.pool.OracleDataSource factory=oracle.jdbc.pool.OracleDataSourceFactory driverClassName=oracle.jdbc.OracleDriver url=jdbc:oracle:thin:@192.168.1.244:1521:SID user=

Re: Datasource Property Parameters (Oracle) JNDI

2008-01-11 Thread Andrew Hole
. Thanks On Jan 11, 2008 4:21 PM, Martin Gainty [EMAIL PROTECTED] wrote: did you verify the listener on port 1521 is listening? netstat -a | grep 1521 M-- - Original Message - From: Andrew Hole [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday

Re: Datasource Property Parameters (Oracle) JNDI

2008-01-11 Thread Andrew Hole
I already change from ehr to jdbc/ehr but the problem of pooling remaining. Initial sessions are not created. Please, help me. Thanks a lot On Jan 11, 2008 3:45 PM, Andrew Hole [EMAIL PROTECTED] wrote: I get the following error when i change from ehr to jdbc/ehr: 2008-01-11 15:42:57,471

Tomcat threads

2007-12-10 Thread Andrew Hole
Hello! What's the value of Initial Number of Threads created on Tomcat startup? Everytime it is necessary Tomcat creates another thread. What happens after the processing end? The thread dies or becomes available for a future processing? Best regards

Single Sign-On

2007-12-05 Thread Andrew Hole
Hello everybody! I have two applications: - J2EE Application on tomcat - Microsoft Navision How can I implement single sign-on integrated with Microsoft Active Directory? Microsoft Active Directory could be central autenthication service? Thanks

Redirect

2007-12-03 Thread Andrew Hole
Hello! On an Apache server, I would like to have a Redirect from a URL to other URL not on my server. The redirect is temporary, and therefore I would prefer if the original URL appeared in the visitor's browser's Address Bar, as opposed to the URL of the site to which he/she was redirected. Is

Logging Framework

2007-11-26 Thread Andrew Hole
Hello! My java application writes relevant log of database procedures executions. My goal is to develop a report at intervals of 30 minutes with a summary, including requests slowest, and average time of execution, etc. 2007-11-26 00:00:00379 DEBUG ajp - 8009-10 RequestFilter - Request Started

Socket_keepalive

2007-11-20 Thread Andrew Hole
I need to define socket_keepalive parameter... but in Windows server 2003 I think that doesn't exist SO keepalive interval. How can I resolve this? Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Invoke JSP on tomcat startup

2007-11-16 Thread Andrew Hole
Invoking JSP it recreates a XML file on file system. I wish recreate for the first time at tomcat startup. Regards On Nov 16, 2007 2:21 PM, Jess Holle [EMAIL PROTECTED] wrote: Sounds like you want a ContextListener, not a JSP... Andrew Hole wrote: Hello! Exists some automatic way

Invoke JSP on tomcat startup

2007-11-16 Thread Andrew Hole
Hello! Exists some automatic way to invoke a JSP when tomcat starts? Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Best Linux distribution

2007-11-14 Thread Andrew Hole
Hi! In your opinion what is the best LINUX distribution for a server with an instance of Tomcat and an J2EE application of medium load? An opinion taking as a basis the performance and cost. Thanks - To start a new topic,

Environment variables

2007-11-06 Thread Andrew Hole
Hello! how can I setup environment variables on tomcat windows service? Tomcat cleans environment variables... Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Environment variables

2007-11-06 Thread Andrew Hole
I'm trying to execute a ssh command inside java code. SSH command must know HOMEDRIVE environment variable to find know_hosts file... How can I do that? Thanks a lot On Nov 6, 2007 3:14 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject

Re: Environment variables

2007-11-06 Thread Andrew Hole
I will try!!! Thanks a lot On Nov 6, 2007 3:24 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: I'm trying to execute a ssh command inside java code. SSH command must know HOMEDRIVE environment variable to find

The requested resource (/manager/) is not available

2007-10-15 Thread Andrew Hole
Hello! I'm getting the following error: description The requested resource (/manager/) is not available when I request URL for manager webapplication. I've manager.xml on ..\conf\Catalina\localhost and manager application on server\webapps\manager. What i'm doing wrong? Thanks a lot.

Re: The requested resource (/manager/) is not available

2007-10-15 Thread Andrew Hole
--- - Original Message - From: Andrew Hole [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, October 15, 2007 9:11 AM Subject: The requested resource (/manager/) is not available Hello! I'm getting the following error

Reload web application from my JSP

2007-10-15 Thread Andrew Hole
How can I , inside my JSP, call manager url to reload my web application? I need to call my JSP, because I do more things than reload. Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Tomcat library hierarchy

2007-10-11 Thread Andrew Hole
Hello! What's the difference between common/lib , common/endorsed and common/classes? Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Tomcat library hierarchy

2007-10-11 Thread Andrew Hole
. I don't know difference between put a jar in common lib or common endorsed p.e. Best regards On 10/11/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Tomcat library hierarchy What's the difference between common/lib , common

Diagnosing Tomcat memory usage

2007-10-10 Thread Andrew Hole
I've an java application running under tomcat and in the last week memory usage increase 50%, from 200M to 400M. I want to know exactly why this happens. Some suggestion? Thanks a lot - To start a new topic, e-mail:

Different jar version

2007-10-10 Thread Andrew Hole
What happens if I put different jar versions of same classes on WEB-INF/lib? Example: project.jar (new version) project_old.jar (old version) Tomcat load and use both? Could Tomcat be confused with this situation? Thanks a lot

Re: Different jar version

2007-10-10 Thread Andrew Hole
I'm getting OutofMemoryError ... Could have some relationship having two different versions of jar and memory leak? Thanks On 10/10/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Different jar version What happens if I put different

Tomcat clustering

2007-10-01 Thread Andrew Hole
In cluster of two nodes, which the parameter that I need to configure (or to decrease the value) for a node knows immediately that the other is down? With this configuration a node waits some time. Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

Reload an existing application

2007-10-01 Thread Andrew Hole
Is it possible reload configurations on \WEB-INF\classes without restart tomcat server? Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Session Replication

2007-09-27 Thread Andrew Hole
Hello everyone! For using Tomcat session clustering I need to put the following component in all nodes? Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster doClusterLog=true clusterLogName=clusterlog

Re: Session Replication

2007-09-27 Thread Andrew Hole
I only have one machine to test Session Replication. Every tomcat instances are in same machine. On 9/27/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Subject: Re: Session Replication yeah, but if you bind to 127.0.0.1 how do you

Re: Session Replication

2007-09-27 Thread Andrew Hole
: then, the tcpListenPort must be unique for each instance, since you cannot share the port Filip Andrew Hole wrote: I only have one machine to test Session Replication. Every tomcat instances are in same machine. On 9/27/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Filip

HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
Hello! I'm getting the following error: HTTP/1.1 400 no host matches server name myserver Why this happens? workers.properties # -- # Load Balancer worker PFH # -- worker.pfhbalancer.type= lb worker.pfhbalancer.balanced_workers= upg4out,upg7out #

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
host. En l'instant précis du 26/09/07 12:14, Andrew Hole s'exprimait en ces termes: Hello! I'm getting the following error: HTTP/1.1 400 no host matches server name myserver Why this happens? workers.properties # -- # Load Balancer worker PFH

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
Host name on server.xml: Host name=localhost appBase=webapps On 9/26/07, Andrew Hole [EMAIL PROTECTED] wrote: This is output from mod_jk debug: [Wed Sep 26 11:30:04 2007] [5724:4032] [debug] jk_uri_worker_map.c (545): Found an exact match pfhbalancer - /outpat/gateway [Wed Sep 26 11:30:04

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
Do you have some suggestion to solve this problem? On 9/26/07, Andrew Hole [EMAIL PROTECTED] wrote: Host name on server.xml: Host name=localhost appBase=webapps On 9/26/07, Andrew Hole [EMAIL PROTECTED] wrote: This is output from mod_jk debug: [Wed Sep 26 11:30:04 2007] [5724:4032

Re: HTTP/1.1 400 no host matches server name

2007-09-26 Thread Andrew Hole
Yes, I have... in defaultHost i have value localhost. On 9/26/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Hole wrote: Do you have some suggestion to solve this problem? Wow, are you impatient! |p Host name

AJP connector getPort

2007-09-25 Thread Andrew Hole
HI! I have a solution with an apache with mod_jk and 2 tomcat instances. How can I know with a JSP which tomcat instance process the request? Basically I want that my JSP show AJP connector port. Thanks - To start a new topic,

Tomcat status

2007-09-18 Thread Andrew Hole
Is there a function to check the status of tomcat? A simple JSP p.e., i make an http request to tomcat port, and if i don't get response, I say that status is down. I want to create a simple JSP resume of all tomcat instances status Thanks,

Re: Tomcat status

2007-09-18 Thread Andrew Hole
, Andrew Hole [EMAIL PROTECTED] wrote: Is there a function to check the status of tomcat? A simple JSP p.e., i make an http request to tomcat port, and if i don't get response, I say that status is down. I want to create a simple JSP resume of all tomcat instances status Thanks

2 Tomcat instances

2007-09-17 Thread Andrew Hole
Hello! I've two tomcat instantes and an apache web server with mod_jk. Mod_jk balance request to each tomcat. Think on following situation; - TomcatA and TomcatB up - I make a request to Apache that redirects to TomcatA. I'm editing text on JSP (lot of input texts). In this moment TomcatA

  1   2   >