Re: clustering questions

2005-06-14 Thread Filip Hanik - Dev Lists
So the proper location for a Cluster element is inside a Host element? Host Does this mean I need to have a separate Cluster element for each virtual host? yes, unfortunately, the better solution is to do the virtual hosting in your apache server. That way you only need one cluster config.

Re: picture of session state for nodes in cluster??

2005-06-09 Thread Filip Hanik - Dev Lists
you would have to write a valve or other component that queries the Tomcat internal classes yourself, If you do come up with something very useful, we would love to include it into the code base. Filip John MccLain wrote: How can I get a picture of session state for each node in a

Re: How to query for number of active participants in the tomcat 5.5 cluster

2005-06-09 Thread Filip Hanik - Dev Lists
you would need to write a component that queries the cluster classes (internal tomcat components) yourself. I believe you can reach the cluster object through JMX and through the tomcat classes (host etc) the interface CatalinaCluster.getMembers() returns all members in a cluster. Filip

Re: Clustering without farmwardeployer

2005-06-06 Thread Filip Hanik - Dev Lists
Two suggestions: 1. Make sure the farm war deployer is really turned off, and by the way, the farm war deployer doesn't deploy into webapps, instead into the dir you specify in server.xml 2. Check your scripts again, chances are you are the one redeploying your own old code. Filip Todd

Re: how to determine clustering problem?

2005-06-06 Thread Filip Hanik - Dev Lists
turn on logging, see Tomcat docs then through log4j you can turn on logging for only org.apache.catalina.cluster and you will be able to see all messages going through. Filip John MccLain wrote: We have a webapp that runs fine in 1 tomcat instance. We have insured that all classes being

Re: How to use Database persistence for tomcat clustering?

2005-04-19 Thread Filip Hanik - Dev Lists
Configure the PersistenceManager as your session manager hang zhao wrote: Hi, everyone I am trying some configuration with my small tomcat cluster (2 tomcats, 1 apache, connected with mod_jk2 as load balancer). The problem is that I want to use a shared database (Mysql) to do session replication

Re: Limit catalina.out size

2005-03-29 Thread Filip Hanik - Dev Lists
or like we do, we pipe the output through cronolog Filip Tim Funk wrote: There shouldn't be anything going to standard output (Unless your code is writing to System.out) An overly simple way to rotate logs in unix ... cd $tomcat_log_dir cp -f catalina.out catalina.out.`date +%Y.%m.%d` cat

Re: Cluster Deployment Question

2005-03-23 Thread Filip Hanik - Dev Lists
Make sure your WAR file gets properly installed on both instances SEVERE: Unable to install WAR file java.io.FileNotFoundException: C:\tmp\war-deploy\clustertest.war (The system cannot find the path specified) Durfee, Bernard wrote: I am ready to set Tomcat up in a clustered environment. So to

Re: Apache/Tomcat 4.1.18 - Displaying empty Strings as null

2005-03-18 Thread Filip Hanik - Dev Lists
install tomcat 4.1.31 on your new server Mendez, Eric wrote: Hello, I recently installed Apache/Tomcat v 4.1.18 on my new server, and I have a JSP page that extracts values from an Oracle database, if the value in the database is an empty String (), it returns as a null value in my JSP page. I

Re: tomcat load-balancing maintenance strategy?

2005-03-11 Thread Filip Hanik - Dev Lists
its fixed in 5.5.x, you need a patch for 5.0.x? Dan Carwin wrote: I also experienced cluster failure when restarting a downed cluster member in 5.0. I tested with Tomcat 5.0.30. Randall, what version of Tomcat did you succeed with? Thanks, Dan -Original Message- From: Richard Mixon

Re: SV: Cluster: will session listeners got called again after replication?

2005-03-02 Thread Filip Hanik - Dev lists
, even though it can pick up the sessions from the other nodes, my HttpSessionBindingListener and HttpSessionListener were not called at all during the replication. Joseph On Fri, 25 Feb 2005, Filip Hanik - Dev Lists wrote: there is a flag you can set so that listeners don't get called, its optional

Re: Tomcat clustering and NotSerializableException

2005-03-01 Thread Filip Hanik - Dev Lists
As Richard says, don't store your request in the session, not a good 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

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

2005-03-01 Thread Filip Hanik - Dev Lists
your multicast isn't working. Filip Randall Svancara wrote: I have a problem in my tomcat logs. I am using tomcat 5.5.7 and whenever I start up tomcat for the first time, I receive this error message. INFO: Manager[/testapp], skipping state transfer. No members active in cluster group. After the

Re: SV: Cluster: will session listeners got called again after replication?

2005-02-25 Thread Filip Hanik - Dev Lists
there is a flag you can set so that listeners don't get called, its optional its called notifyListenersOnReplication, see server.xml for example, default is true Filip Jesper Ekberg wrote: Hello! My first mail to this list. :) I have read it for a long time tho. We have a tried to cluster 3

Re: Cluster: Is session's lastAccessedTime got replicated?

2005-02-25 Thread Filip Hanik - Dev Lists
unless the session is primary, the last accessed time wont matter, when the session becomes primary, the last access time gets set immediately. Filip Joseph Lam wrote: Found that only when a replication is explicitly triggered by set/removeAttribute(), the other nodes'

Re: SV: Cluster: will session listeners got called again after replication?

2005-02-25 Thread Filip Hanik - Dev Lists
there is a difference between a crashed tomcat and a shutdown tomcat. Filip Filip Hanik - Dev Lists wrote: there is a flag you can set so that listeners don't get called, its optional its called notifyListenersOnReplication, see server.xml for example, default is true Filip Jesper Ekberg

Re: Cluster: how to set mcast interface for dual LAN card?

2005-02-22 Thread Filip Hanik - Dev Lists
there is an attribute mcastBindAddr that allows you to bind to the interface. Joseph Lam wrote: Hi, If I have two LAN cards and I want my Tomcat to mcast through one of them, what parameter should I set? Regards, Joseph - To

Re: Load balancing SSL sessions

2005-02-22 Thread Filip Hanik - Dev Lists
you can also use DNS round robin, www.mysite.com resolves to two or more IP addresses. Filip Andrew Miehs wrote: We use F5 BigIPs, but they are probably overkill for your application - The cisco probably will be as well. A 'Cheap' software solution might be to work with redirects, and 2

Re: dodgy session class

2005-02-16 Thread Filip Hanik - Dev Lists
Nice catch Vlad, I'll look into it. Filip [EMAIL PROTECTED] wrote: thanks for your reply Peter. unfortunately none of the applications has explicitly configured sessions manager. I have managed to consistently reproduce the problem. The problem involves two webapps, app1 and app2. App1 is

Re: dodgy session class

2005-02-16 Thread Filip Hanik - Dev Lists
Actually, I didn't get your attachments, could you open a bug in bugzilla and attach them there. Filip [EMAIL PROTECTED] wrote: thanks for your reply Peter. unfortunately none of the applications has explicitly configured sessions manager. I have managed to consistently reproduce the problem.

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

2005-01-27 Thread Filip Hanik - Dev lists
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 Richard Mixon (qwest) wrote: Filip, Thanks so much for some reason taking the Manager statement

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

2005-01-27 Thread Filip Hanik - Dev lists
be an actual bug. I'll try to get this running tomorrow. Filip Richard Mixon (qwest) wrote: 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

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

2005-01-27 Thread Filip Hanik - Dev lists
I meant, if you have time to create a simple test app, that I can work with, it will speed up the process Filip Filip Hanik - Dev lists wrote: Interesting, I haven't done any work with the latest work of tomcat because of engagements elsewhere. but you have the time to create a very small

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

2005-01-27 Thread Filip Hanik - Dev lists
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 Filip Hanik - Dev lists wrote: Interesting, I haven't done any work with the latest work of tomcat because

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

2005-01-27 Thread Filip Hanik - Dev lists
. Let me see what I can dig up before I send you off to do something crazy :) Filip Richard Mixon (qwest) wrote: 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

RE: Why is tomcat (java) so memory intensive?

2004-12-21 Thread Filip Hanik \(lists\)
you will need to dig deeper into jprobe or whatever profiler you are using. after that you will see where the memory goes. also, try the latest version of tomcat 5.0 Filip -Original Message- From: Philippe Deslauriers [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 21, 2004 8:53 AM To:

RE: Tomcat not starting...Tomcat4.1.30

2004-11-07 Thread Filip Hanik \(lists\)
look at all the logs files, there is always something in there, if you are running on windows, go to the bin directory in a dos prompt and type catalina.bat run and see why its failing, and also, get yourself a version control system, that way you won't lose data :) Filip -Original

RE: newbie question

2004-10-28 Thread Filip Hanik \(lists\)
you have conflict in ports, both tomcats can not run on the same port at the same time. instead of calling start.bat, call catalina.bat run to have the windows stay the same and not shutdown on you FIlip -Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: newbie question

2004-10-28 Thread Filip Hanik \(lists\)
did you look at the other connectors? catalina.bat run - will tell you the message, try that Filip -Original Message- From: Luke FERNANDEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 1:52 PM To: [EMAIL PROTECTED] Subject: RE: newbie question There would be port conflict

RE: newbie question

2004-10-28 Thread Filip Hanik \(lists\)
yes, and if you actually read the message StandardServer.await: create[8005]: java.net.BindException: Address already in u se: JVM_Bind java.net.BindException: Address already in use: JVM_Bind look for 8005 in your server.xml and you will find out that this is the shutdown port. Filip

RE: which Linux Platform is best for Tomcat?

2004-10-26 Thread Filip Hanik \(lists\)
redhat 9 is pretty crummy with java, you might need to add in the LD_ASSUME_KERNEL parameter for stability Filip -Original Message- From: Evgeny Gesin [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 9:11 AM To: Tomcat Users List Subject: Re: which Linux Platform is best for

RE: Why mail/session always being set to localhost even Context.xml says otherwise?

2004-10-25 Thread Filip Hanik \(lists\)
mailto: could come from someone's email client Filip -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 3:41 PM To: 'Tomcat Users List' Subject: RE: Why mail/session always being set to localhost even Context.xml says otherwise? Not sure that

RE: Session problems with cluster

2004-10-19 Thread Filip Hanik \(lists\)
What's concerning? To set the record straight, I have not worked with context reloads, so I don't know what changed from 5.0.25 to 5.0.28. But I do know this, don't expect clustering to work with nodes popping in and out all the time. Yes session replication is a nifty thing, but if you abuse it

RE: Session problems with cluster

2004-10-19 Thread Filip Hanik \(lists\)
-Original Message- From: Matthew Stone [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 3:39 PM To: Tomcat Users List Subject: Re: Session problems with cluster Filip Hanik (lists) wrote: What's concerning? the session actually randomly loses data sometimes To set

RE: IIS slow and fast

2004-10-19 Thread Filip Hanik \(lists\)
rough guess, but never hurts to check: could it be that IE6 on Win2000 does some funky DNS check that it gets stuck on? I would do a print statement on the server when it receives the request, maybe it receives the request after 14.5 seconds and the actual request only takes 0.5, then it would be

RE: Session problems with cluster

2004-10-19 Thread Filip Hanik \(lists\)
(lists) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 5:39 PM To: Tomcat Users List Subject: RE: Session problems with cluster Hmm, that's a bit concerning. I found your lack of faith disturbing, you must believe in the force luke, especially when you wish to pay $0 for the software

RE: Session problems with cluster

2004-10-19 Thread Filip Hanik \(lists\)
oh, I forgot to mention, useDirtyFlag is only used with SimpleTcpReplicationManager, cause there is no AOP code that could detect that objects inside the session have changed Filip -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 6:16

RE: Performance issue

2004-10-06 Thread Filip Hanik \(lists\)
sounds like an App problem, cause your hardware is sure powerful, assuming you configured your connector threads to handle enough concurrency Filip -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 6:20 AM To: Tomcat Users List Subject: Re:

RE: response.sendRedirect()

2004-10-06 Thread Filip Hanik \(lists\)
works for me -Original Message- From: Pablo Carretero Sánchez [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 9:39 AM To: [EMAIL PROTECTED] Subject: response.sendRedirect() Hi, I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. It doesn't work in my appl.

RE: Synchronization in cluster

2004-10-01 Thread Filip Hanik \(lists\)
That doesn't solve the problem -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 4:26 AM To: Tomcat Users List Subject: RE: Synchronization in cluster With this usage scenario i would recommend sticky sessions. -Original

RE: Installing the MySql jdbc driver on XP?

2004-09-23 Thread Filip Hanik \(lists\)
The driver manager is built into the JDK java.sql.DriverManager, there is nothing you have to do in particular to use it. All you do is classLoader.loadClass(your.jdbc.driver.name); DriverManager.getConnection(your.jdbc.url,username,password); Filip -Original Message- From: John

RE: Single Point of Failure Solutions for clustering Tomcat 5?

2004-09-20 Thread Filip Hanik \(lists\)
http://www.loadbalancer.org/download.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 2:37 PM To: Tomcat Users List Subject: Re: Single Point of Failure Solutions for clustering Tomcat 5? Hi Filip, Couldn't see much software

RE: Frequent session expire in Tomcat 4.1.27

2004-09-08 Thread Filip Hanik \(lists\)
you do that in your own web.xml file see a tutorial on web.xml /servlets -Original Message- From: Arun Prasad R [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 10:59 PM To: Tomcat Users List Subject: Frequent session expire in Tomcat 4.1.27 hi i experience frequent

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-05 Thread Filip Hanik \(lists\)
I forgot to tell you the debug flag is not in place anymore. if you want to see debug messages, you have to enable it through the logger. I setup log4j and set the output to DEBUG to see all the replication messages, there are plenty of them :) Filip -Original Message- From: Tomcat

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-05 Thread Filip Hanik \(lists\)
and to do this, very easy, just read /tomcat-docs/config/printer/logger.html Filip -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Sunday, September 05, 2004 4:05 PM To: Tomcat Users List Subject: RE: Tomcat 5.5 In-Memory Session Replication I forgot

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-05 Thread Filip Hanik \(lists\)
Oki doki artichokie, I just had 5 min to spare :), so I found the bug and fixed it in the 5.5 branch. So replication should work like on 5.0.x in 5.5 now, farming is still broken in 5.5 Filip -Original Message- From: Tomcat Newbie [mailto:[EMAIL PROTECTED] Sent: Sunday, September 05,

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-04 Thread Filip Hanik \(lists\)
did you try replication with 5.0.27? if that works for you, then for sure something broke. 5.5 is still in dev mode, so you can't bank on everything working quit yet :) Filip -Original Message- From: Tomcat Newbie [mailto:[EMAIL PROTECTED] Sent: Saturday, September 04, 2004 4:51 AM To:

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-04 Thread Filip Hanik \(lists\)
more performance out of tomcat. If you allow mcast traffic from other hosts into your machine, you are already taking up resources. Filip -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Saturday, September 04, 2004 2:22 PM To: Tomcat Users List Subject: RE

RE: Tomcat5.0.25 TCP Session Replication

2004-09-03 Thread Filip Hanik \(lists\)
conf looks good, (Bdo you have multicast enabling between your boxes? (B (BFilip (B (B-Original Message- (BFrom: $B4d:j(B $B?7(B [mailto:[EMAIL PROTECTED] (BSent: Friday, September 03, 2004 12:13 AM (BTo: [EMAIL PROTECTED] (BSubject: Tomcat5.0.25 TCP Session Replication (B

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-03 Thread Filip Hanik \(lists\)
Make sure you have multicast enabled. This can be a little tricky if you run on a multihomed host, but you can google it. The only thing I see logged is the message: If it says skipping state transfer, no other members in the cluster, means that the members haven't discovered each other, this

RE: Why is Tomcat/Connector Installation So Incredibly Painful??

2004-09-03 Thread Filip Hanik \(lists\)
it can also be as easy as ProxyPass /mywebapp http://localhost:8080/mywebapp ProxyPassReverse /mywebapp http://localhost:8080/mywebapp in httpd.conf if you are using mod_proxy, took me 5 minutes to get tomcat and apache to play nice together Filip -Original Message- From: Wendy Smoak

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-03 Thread Filip Hanik \(lists\)
also forgot to mention, setting TTL on the multicast will keep the multicast messages from going all over the place Filip -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 7:53 PM To: Tomcat Users List Subject: RE: Tomcat 5.5

RE: Tomcat 5.5 In-Memory Session Replication

2004-09-03 Thread Filip Hanik \(lists\)
I am sure, my question was not very clear regarding security. that is true, I'm sure you could limit this traffic with configuration on your OS between your two servers. set up machines to only access mcast and tcp traffic from certain IPs and certain ports. cause the feature you talk about,

RE: Tomcat and .htaccess

2004-08-28 Thread Filip Hanik \(lists\)
you can easily secure directories with entries in the web.xml file, Filip -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Saturday, August 28, 2004 6:12 PM To: Tomcat Users List Subject: Re: Tomcat and .htaccess On Sat, Aug 28, 2004 at 04:27:25PM -0600, Morris Hooten

RE: Sessions not (quite) working?

2004-08-28 Thread Filip Hanik \(lists\)
are you seeing the same thing going directly to Tomcat? -Original Message- From: Kevin Matthews [mailto:[EMAIL PROTECTED] Sent: Saturday, August 28, 2004 7:34 PM To: [EMAIL PROTECTED] Subject: Sessions not (quite) working? Hi all, I was hoping somebody on this list might be able

RE: Access JBoss from Tomcat

2004-08-26 Thread Filip Hanik \(lists\)
there are a gazillion tutorials on how to access EJB on google. this is very simple 1. Place your jboss-client libraries (including the class files for your ejb home and interface) in WEB-INF/lib (as jar files) 2. Get the JNDI context for the JBoss server Properties props = new Properties();

RE: Access JBoss from Tomcat

2004-08-25 Thread Filip Hanik \(lists\)
just access the EJBs the same way its been done since the spec started. Lookup the EJB through JNDI, then invoke its method. Filip -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 5:50 PM To: Tomcat Users List Subject: Re: Access JBoss

RE: How do I configure Tomcat to translate UTF-8 encoded parameters

2004-08-23 Thread Filip Hanik \(lists\)
doesn't URIEncoding suggest that the URI is encoded, in a POST, the parameters are passed in the body, not in the URI? -Original Message- From: Rick Wong [mailto:[EMAIL PROTECTED] Sent: Monday, August 23, 2004 8:08 PM To: Tomcat Users List Subject: How do I configure Tomcat to

RE: How can I make cluster nodes communicate info other than session

2004-08-19 Thread Filip Hanik \(lists\)
2 hours and you already crying ;) In the clustering code there is something called a org.apache.catalina.cluster.MessageListener. this is an interface that you implement, then you register your object with the cluster. When the cluster receives a message, it will call accept() on the listener, if

RE: adding distributable/ garbles sesion id string

2004-08-19 Thread Filip Hanik \(lists\)
JBoss doesn't use Tomcat clustering code, they have their own, hence you will see a different session id Filip -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:45 PM To: Tomcat Users List Subject: RE: adding distributable/ garbles sesion

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Filip Hanik \(lists\)
no, the address already in use is tcpListenPort, that has to change if you run two instances on the same machine Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 2:51 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: AW:

RE: Tomcat clustering

2004-08-17 Thread Filip Hanik \(lists\)
mcastAddr is a multicast IP address, range from 224.0.0.0 - google it Filip -Original Message- From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 7:01 AM To: Tomcat Users List Subject: RE: Tomcat clustering Can you please tell me what is mCastAddr

RE: Tomcat clustering without Apache

2004-08-16 Thread Filip Hanik \(lists\)
session replication is supported in tomcat without apache in tomcat 5, just uncomment the cluster section in server.xml, also, there are online docs http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Filip -Original Message- From: Mitchell Teixeira [mailto:[EMAIL

RE: cluster didn't replicat sessions

2004-07-17 Thread Filip Hanik \(lists\)
also the debug flag is obsolete, instead enable debug level using log4j or the other logger Filip -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 3:26 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: cluster didn't replicat sessions

[Fwd: Problem when deploying a new .war]

2004-06-07 Thread Distribution Lists
can anyone help me with this? Considering that no one has replied to my original email, did it make sense? More information required maybe? Regards Original Message Subject: Problem when deploying a new .war From:Distribution Lists

RE: Session Replication with Tomcat 5.0.19

2004-06-04 Thread Filip Hanik \(lists\)
1) Yes, you assumptions are correct imagine this code Map map = (Map)session.getAttribute(map); map.put(test,test); in this scenario, the simple tcp replication manager comes in handy. 2) Session activate/passivate is not invoked. I didn't really think of it as activation/passivation

Problem when deploying a new .war

2004-06-02 Thread Distribution Lists
I'm running apache 2.0.46, Tomcat 4.1.29 with JK2 2.0.2 I have this problem when I stop and remove an application through the tomcat manager, then upload a new WAR when I hit start I get this error FAIL - Application at context path /AnicoWeb could not be started FAIL - Encountered

RE: Cluster problem ??

2004-05-31 Thread Filip Hanik \(lists\)
next major release will have this feature -Original Message- From: Eric Chow [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 3:12 AM To: Tomcat Users List Subject: Cluster problem ?? Hello, I setup two Tomcat5 in cluster mode. If it is possible to synchronize all the application

RE: Log4j Problem w/Tomcat 5.0.24 and JSVC

2004-05-28 Thread Filip Hanik \(lists\)
After hours of messing around trying to get the log4j to initialize looking in the archives would have saved you hours of work! http://www.mail-archive.com/[EMAIL PROTECTED]/msg126799.html Filip -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Friday, May 28,

RE: A cluster question

2004-05-26 Thread Filip Hanik \(lists\)
Is there any other way to force replication apart from calling session.setAttribute(name, bean) yes, there is, but not using the DeltaManager, instead use SimpleTcpReplicationMananger and set useDirtyFlag=false the useDirtyFlag is ignored on the delta manager, since the delta manager only

RE: A cluster question

2004-05-26 Thread Filip Hanik \(lists\)
-Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Wed 5/26/2004 6:43 PM To: Tomcat Users List Cc: Subject:RE: A cluster question Is there any other way to force replication apart from calling session.setAttribute(name, bean) yes

RE: A cluster question

2004-05-26 Thread Filip Hanik \(lists\)
. This only happens to SimpleTcpReplicationManager, DelataManager maintains sessions ok. The version of tomcat i'm testing on is 5.0.19 Regards, Vlad -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Wed 26/05/2004 22:12

RE: Using JMS in Tomcat Valve

2004-05-26 Thread Filip Hanik \(lists\)
what initial context are you trying to connect to you can do this: Properties props = new Properties(); props.setProperty(...); Context cxt = new InitialContext(props); where you set the machine and port of the machine hosting your initial context. (should be the URL to the server where your JMS

RE: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik \(lists\)
not an issue with clustering, the stack trace is in the mod_jk code, Filip -Original Message- From: Vikas Gupta [mailto:[EMAIL PROTECTED] Sent: Sunday, May 23, 2004 12:08 PM To: Tomcat Users List Subject: Urgent: Issue with Tomcat Clustering Hi All, I am trying to do tomcat clustering

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Filip Hanik \(lists\)
Nr of bytes sent=369314 over 400 ==923 bytes/request average number of bytes sent over in each replication request INFO: Average cluster serialize/send time=91 ms for 400 requests (36640ms) the average time it takes to perform a replication request. IE, this is the overhead you have per request

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Filip Hanik \(lists\)
- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 12:46 PM To: Tomcat Users List Subject: RE: Quiestion about Average cluster serialize/send Nr of bytes sent=369314 over 400 ==923 bytes/request average number of bytes sent over in each replication request INFO: Average

RE: Load Balance question(what a people doing)

2004-05-21 Thread Filip Hanik \(lists\)
some tips: Using any java code for load balancing is never gonna work, just doesn't scale. Software load balancing, three alternatives are: Pen (http://siag.nu/pen) Balance (http://balance.sourceforge.net) and mod_jk. My favorite is pen, it is fast, works great and runs on unix and windows. If you

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Filip Hanik \(lists\)
that there may be more to be looking at ?? It is very obvious I am way over my head, and I appreciate the help you guys are giving me Randy -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 1:50 PM To: Tomcat Users List Subject: RE: Quiestion

RE: Quiestion about Average cluster serialize/send

2004-05-21 Thread Filip Hanik \(lists\)
on average 120 to serialize this data. (does this include broadcasting it to the other servers?) What kind of profile? thanks -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 4:23 PM To: Tomcat Users List Subject: RE: Quiestion about Average

RE: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Filip Hanik \(lists\)
yes! -Original Message- From: Randy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 6:01 PM To: 'Tomcat Users List' Subject: RE: Trying to get a Cluster/Session Replication working Ok Here is a stupid question How do I determine what context I am replicating? Is it the

RE: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Filip Hanik \(lists\)
I am saying. don't start the servers at the same time :) Filip -Original Message- From: Randy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 4:40 PM To: 'Tomcat Users List' Subject: RE: Trying to get a Cluster/Session Replication working So I added LD_ASSUME_KERNEL=2.4 and

RE: questions of Cluster

2004-05-17 Thread Filip Hanik \(lists\)
primary-secondary session replication only replicate the session to one other machine if Tomcat1 is crashed,only Tomcat2(if it's alive) can continue the services and replace Tomcat1 correct, if your system crashes two tomcats at a time, contact your system administrator or debug your code :) you

RE: TC5 java mail woes

2004-04-23 Thread Filip Hanik \(lists\)
javax.activation in both by webapp lib directory and common/lib don't put the same class file in two different locations to be loaded by two different classloaders. remove it from webapp/lib and keep it only in common/lib, and try again filip -Original Message- From: Mark Lowe

RE: request.setRemoteUser(p)

2004-04-22 Thread Filip Hanik \(lists\)
one way of doing it is to create a valve, since the valve has direct access to the underlying objects, you can set the remoteUser Filip -Original Message- From: Schehl, Micah [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 9:33 AM To: 'Tomcat Users List' Subject:

RE: Tomcat 4 session replication in a production environment

2004-04-19 Thread Filip Hanik \(lists\)
hey there, several people are using it in production, however, it is not a supported implementation. I can upgrade the 4 version for a consulting fee, but time constraints limits me to work on T5 only at the moment. Filip -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED]

RE: Session persistance

2004-04-16 Thread Filip Hanik \(lists\)
that will not work from a war file, cause you only get a facade to the actual session. in order to serialize a session you need access to the tomcat internal classes. what I suggest you do though is that you create session attribute listeners and store your sessions there. there should also be

RE: Memory Leak

2004-04-15 Thread Filip Hanik \(lists\)
you're classes might not take a lot of memory, but the classes that your classes reference, such as byte[] char[] String etc will. so if the leak is in your code, you need a profile to track it down. Filip -Original Message- From: Chanan Braunstein [mailto:[EMAIL PROTECTED] Sent:

RE: Session persistance

2004-04-15 Thread Filip Hanik \(lists\)
In this case you are probably better off copying the existing manager source code, and just modify the load and unload methods. Filip -Original Message- From: Anu Mathew [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 12:37 AM To: Tomcat Users List Subject: Re: Session persistance

RE: Tomcat 5 clustering question...

2004-04-14 Thread Filip Hanik \(lists\)
wow, you wrote a book :) 1. where is the class com.mycompany.ourapp.common.model.ReturnPolicy? 2. WARNING: Manager[/ourapp], requesting session state from org.apache.catalina.cluster.mcast.McastMember[tcp://127.0.0.1:4001,127.0.0.1 ,4001, alive=1259] Your network is misconfigured. Your are

RE: Threads Locking cont.

2004-04-14 Thread Filip Hanik \(lists\)
this is not a tomcat, issue, it is your code (or should I say the webservice code) that is locking when trying to read data from the socket. you should set SO_TIMEOUT on the socket, and it will timeout and throw an error instead of hanging forever when there is no data from the other side. Filip

RE: threads locking

2004-04-13 Thread Filip Hanik \(lists\)
print to log4j instead, I assume you know print to the context log? Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 12:29 PM To: 'Tomcat Users List' Subject: threads locking Has anyone else had any problems with threads locking

RE: threads locking

2004-04-13 Thread Filip Hanik \(lists\)
01:27 pm, Filip Hanik \(lists\) wrote: print to log4j instead, I assume you know print to the context log? Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 12:29 PM To: 'Tomcat Users List' Subject: threads locking Has anyone else

RE: threads locking

2004-04-13 Thread Filip Hanik \(lists\)
thought it didn't? On Tuesday 13 April 2004 01:27 pm, Filip Hanik \(lists\) wrote: print to log4j instead, I assume you know print to the context log? Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 12:29 PM To: 'Tomcat Users

RE: Clustering Application Scope Objects

2004-04-12 Thread Filip Hanik \(lists\)
are not backed by a database, the task of handling conflicts becomes more difficult. I think you would almost need to create some sort of locking mechanism that does not allow changes to be made during an update. Mike --- Filip Hanik (lists) [EMAIL PROTECTED] wrote: not implemented right now

RE: Clustering Application Scope Objects

2004-04-11 Thread Filip Hanik \(lists\)
not implemented right now, how would you solve conflicts? Filip -Original Message- From: Mike Duffy [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 5:48 PM To: Tomcat Users List Subject: Clustering Application Scope Objects I've read documentation for The Tomcat 5 Servlet/JSP

RE: HttpSession Replication in Tomcat Cluster not working with EJB's!

2004-04-05 Thread Filip Hanik \(lists\)
. It's works with the handle. Thanx for all the co-operation. cheers Suraj -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Saturday, March 27, 2004 5:51 AM To: Tomcat Users List Subject: RE: HttpSession Replication in Tomcat Cluster not working with EJ B's! I

RE: non-java files inside jar

2004-04-05 Thread Filip Hanik \(lists\)
how are you trying to get the XML file? make sure you use the correct class loader approach FIlip -Original Message- From: Linda Smith [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 10:07 AM To: [EMAIL PROTECTED] Subject: non-java files inside jar I get a ServletException

RE: Tomcat 5 Clustering

2004-04-01 Thread Filip Hanik \(lists\)
1. http://siag.nu/pen/ (works on both windows and unix, you may need cygwin) 2. http://balance.sourceforge.net (unix only) 3. Apache mod_jk/mod_jk2 with load balancing the TCP based solutions (12) will work faster and are easier to install. mod_jk/2 comes with a different set of features in

RE: Session replication

2004-04-01 Thread Filip Hanik \(lists\)
hi Vijay, sorry to let you know that I don't have bandwidth to support session replication on Tomcat 4 as it was not part of the official release The latest code base is at http://cvs.apache.org/~fhanik/ is that what you are using? Filip -Original Message- From: Vijay Kandy

RE: Session replication

2004-04-01 Thread Filip Hanik \(lists\)
Filip, I am using JavaGroups-2.0.jar...is 2.0 not compatible with Tomcat 4.1.24? Thanks for the good software and the docs (http://www.theserverside.com/articles/article.tss?l=Tomcat) !! Regards, Vijay Kandy -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent

  1   2   3   4   >