Tomcat 6 Scales

2007-03-09 Thread Filip Hanik - Dev Lists
I wrote a blog entry on how one of our connectors was developed the challenges you face doing that. Its not super technical as I'm saving the juicy details for ApacheCon And since no one reads my blog, I'll let you guys get it from here :)

Re: Correct static member cluster configuration for Tomcat 6/JDK.1.6.0/Linux

2007-03-08 Thread Filip Hanik - Dev Lists
I will look into this for you Filip Gmail User wrote: I am trying to configure a cluster with static members, but so far no luck. Am I missing something or is it not meant to be tested with both members on localhost? Both instances create their own sessions and no session propagation is

Re: Sessionid duplication

2007-01-17 Thread Filip Hanik - Dev Lists
while there is a risk for duplicate sessions being generated, we believe it to be very very small. What you can do is set jvmRoute in the Engine element to be unique for each one, that makes it less likely to be duplicate. Or you can come up with a better random algorithm, take a look at

Re: Tomcat memory usage.

2007-01-17 Thread Filip Hanik - Dev Lists
the 1GB limit is OS specific, on Solaris for example, and a 32bit VM we had the limit of -Xmx1850m on a 64bit VM the limitation should be non existent Filip Stephen Caine wrote: Ayusman, I have a OS X server, running Tomcat 5.0.19. There are already three applications running but I will

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Filip Hanik - Dev Lists
mod_proxy will do this in one line ProxyPass /1/myapp http://tomcat1:8080/myapp ProxyPass /2/myapp http://tomcat2:8080/myapp ProxyPass /3/myapp http://tomcat3:8080/myapp makes life easy Filip Ortwin Glück wrote: Hi, I have 3 Tomcat instances, each running a different version of the same

Re: Tomcat 6 Clustering with StaticMembers

2007-01-16 Thread Filip Hanik - Dev Lists
on the servers that is running tomcat you need to match Receiver port with Member port so for the member that listens to 51077, you need to configure the port=51077 also to avoid conflict, you might want to turn on the membership, which I think I forgot to add in a flag for, I'll do that

Re: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-16 Thread Filip Hanik - Dev Lists
Nachricht- Von: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 10. Januar 2007 16:52 An: Tomcat Users List Betreff: Re: Tomcat 5.5 Cluster: Session Replication before sending the response to achieve what you want, although slower, you can create a filter

Re: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-10 Thread Filip Hanik - Dev Lists
to achieve what you want, although slower, you can create a filter, and in that filter simply set all the attributes again Enumeration e = session.getAttributeNames(); while ( e.hasNext() ) { String name = e.next(); Object value = session.getAttribute(name); if ( value != null )

Re: the best method to secure Apache/tomcat communication

2007-01-10 Thread Filip Hanik - Dev Lists
take a look at autoSSH http://www.harding.motd.ca/autossh/ Filip Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lmk, lmk wrote: I have a question concerning the use of Apache server in front of tomcat, at the present time, we use tomcat 4, AJP, apache 2.2 and

Re: how to configure tomcat for Turkey?

2007-01-05 Thread Filip Hanik - Dev Lists
, thanks. but turkey locale uses , to denote decimal vs . in USA. for further testing, plz tell me what changes i need to make to tomcat to use turkey locale so that i can test my app in usa? On 1/4/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: it's your , character. you need to use

Re: Tomcat clustering broken - Unable to send message through cluster sender

2007-01-04 Thread Filip Hanik - Dev Lists
In TC 5.x.x message senders are removed when a multicast heartbeat is missed. so if your sender is null, then most likely your multicasting has a few hickups. in TC6 there is a safeguard against multicast failures using the TCP failure detector. Filip Spurlock, Robert J wrote: All, We've

Re: Tomcat 6.0 vs Tomcat 5.5 Clustering Changes

2007-01-04 Thread Filip Hanik - Dev Lists
Mainly its been refactored, farming as in 5.5 is still pretty broken and hasn't been worked on. What has been worked on is the separation of session replication vs cluster/group communication. These are two separate packages now o.a.catalina.tribes (group com, simple overview at

Re: Moving Tomcat

2007-01-04 Thread Filip Hanik - Dev Lists
you can also install Tomcat from the .tar.gz (on apache's website), that creates a location independent layout for you Filip Steve Ingraham wrote: I have a website running with jakarta-tomcat-5.5.9. The server this website resides on is going to have to be rebuilt so I am needing to move

Re: strange tomcat 5.5 problem/session handling?

2007-01-04 Thread Filip Hanik - Dev Lists
On the tomcat side, you can enable the RequestDumperValve to see what is going on, on the browser side use Firefox with a little plugin called LiveHttpHeaders, lets you see all the traffic going back and forward Filip Stefan Kuhn wrote: Hi all, I have got a rather strange problem with am

Re: how to configure tomcat for Turkey?

2007-01-04 Thread Filip Hanik - Dev Lists
it's your , character. you need to use the java.text.DecimalFormat class Filip Dharma General wrote: hello, (1) i want my JSP application to run with Turkey locale. how should i configure apache Tomcat 5.x for Turkey? (2) at present, i want to find out about an error message ---

Re: Forcing a sync when a cluster member reconnects

2006-12-13 Thread Filip Hanik - Dev Lists
there isn't a way to configure the sync that you are mentioning. In tomcat 6, we want to add versioned sessions, hence it would autosync when needed Filip Eric Demorsy wrote: Hi, I have configured a cluster of 2 tomcat servers and session sync is working fine, except for one point: if I

Re: Tomcat Clustering SSH

2006-10-23 Thread Filip Hanik - Dev Lists
http://www.harding.motd.ca/autossh/ Filip Massimiliano Berruti wrote: You're perfectly right...the problem is we must do this because this is a sample application we're developping for our university and they asked to use ssh tunnel or something else to secure connection in the cluster...

Re: HttpSessionListener with session replication (cluster)

2006-10-23 Thread Filip Hanik - Dev Lists
this would be pretty easy for you to try out and find out. there is a flag you can set notifySessionListenersOnReplication Filip Pascal Bleser wrote: What happens when a HttpSession times out in a cluster, wrt HttpSessionListeners ? Will the HttpSessionListener be notified with a

Re: Replication warning with tomcat cluster FastAsyncSockerSender

2006-10-23 Thread Filip Hanik - Dev Lists
connection refused, simple the Tomcat instance is unable to open a connection to the other instance to send the replication data. your systems will continue to function, but if you fail over that other node might not have your data. You'll want to find out why it is failing to open a connection,

Re: Tomcat 5.5.20 Internal error/crash.

2006-10-10 Thread Filip Hanik - Dev Lists
The best place to file bugs are in bugzilla http://issues.apache.org/bugzilla/ Filip j.random.programmer wrote: Hi: I'm getting these at random, tomcat version: 5.5.20 These looks like a serious coding bug (there should never be ArrayIndexOutOfBoundsExceptions), but it's not clear whether

ANN] Apache Tomcat v5.5.20 Now Available

2006-09-28 Thread Filip Hanik - Dev Lists
The Apache Tomcat team is pleased to announce the immediate availability of version 5.5.20 of the Apache Tomcat server. This release contains dozens of important bug fixes and improvements to the Tomcat server. Release Notes: http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES Change Log:

Re: JSessionId and Google

2006-09-19 Thread Filip Hanik - Dev Lists
couldn't you simply create a HttpServletResponseWrapper object in a filter, this object could overwrite the method that encodes the URL and remove the JSESSIONID from it Filip Simon wrote: Hi, According to the Google Information for Webmasters page, it appears that Google will not

Re: Tomcat CLustering listening address

2006-09-14 Thread Filip Hanik - Dev Lists
cause your `hostname` resolves to 127.0.0.1 in /etc/hosts Filip Patrick Wang wrote: Hi all: I setup the TCPListner's IP address to be auto on 2 separate machines. Then I used the command netstat -nlp to verify what's listed and found out one actually bound to 127.0.0.1, The

Re: decompiling classes

2006-09-08 Thread Filip Hanik - Dev Lists
if you are trying to connect to Oracle, why do you use the JDBC-ODBC bridge, its filled with problems. Download Oracles JDBC driver, they have a type 4 driver (pure Java), and use that Filip Propes, Barry L wrote: maybe I didn't look in the right places, but I didn't exactly find what I was

Re: decompiling classes

2006-09-07 Thread Filip Hanik - Dev Lists
gee, this is so BS, you don't have to go through all that effort. download all the source in a single package from http://tomcat.apache.org/download-55.cgi don't pay anyone for decompilation instructions, for open source, you can always get the source, for closed source its illegal anyway.

Re: 5.5.17 cluster doesn't sync sessions on startup

2006-09-06 Thread Filip Hanik - Dev Lists
are the nodes starting up simultanously, there is the risk of syncing not working if two nodes are starting at the same time as the cluster starts before the actual webapps are deployed. Filip Ronald Klop wrote: Hello, We are running a 4-node cluster of 5.5.17. Sometimes java or tomcat

Re: Low performance with Tomcat APR

2006-09-05 Thread Filip Hanik - Dev Lists
if (your max nr of open connections) Connector.maxThreads ) then the regular connector is better, and will always be as it is using blocking IO else APR will scale better, as it can keep a larger set of keep alive connections open end Your biggest gain on the APR connector is if you are

Re: Tomcat as a Service

2006-09-01 Thread Filip Hanik - Dev Lists
I would suggest you use http://people.apache.org/~fhanik/wrapper.html with that kit, comes a script called TomcatService.bat, this is the same as you would have started it as a service and you can troubleshoot. This also lets you control a few more options and settings, as well as generate

Re: Clustering with mod_jk

2006-09-01 Thread Filip Hanik - Dev Lists
since you are using prefork, you must set cachesize=1 for your workers.properties file. However, you have 4096 MaxClients, in order to serve this up in tomcat, your JK connector should have maxProcessors=4096. An alternative, and safe solution, although much less performance, is to set

Re: Clustering with mod_jk

2006-09-01 Thread Filip Hanik - Dev Lists
% that value. The thing that makes me think it's a mod_jk issue is the fact that suddenly all request flow locks onto a node and stays busy until I restart apache. e On 01/set/06, at 21:21GMT+02:00, Filip Hanik - Dev Lists wrote: since you are using prefork, you must set cachesize=1 for your

Re: tomcat not finding servlet....

2006-08-31 Thread Filip Hanik - Dev Lists
WARNING: A docBase C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\second inside the host appBase has been specified, and will be ignored try correcting the above error first, then continue your troubleshooting [EMAIL PROTECTED] wrote: The only entries that look abnormal in

Re: Problem moving from HTTP to HTTPS

2006-08-31 Thread Filip Hanik - Dev Lists
role-name*/role-name !-- even though I have no roles configured -- the * means all the roles that you have defined in web.xml, since you haven't defined any roles in web.xml, there is nothing to authenticate, hence its gonna deny the request Filip Glen Mazza wrote: Hello, I have

Re: Tool for monitoring Tomcat from the client side

2006-08-30 Thread Filip Hanik - Dev Lists
Leon Rosenberg wrote: I thought Filip coded something similar, a pooling NIO connector in java. Leon thats correct, it will be included in 6.0, in terms of performance it ranks like this HTTP Nr Of Connections maxThreads 1. Blocking IO Connector 2. Java NIO connector and APR connector are

Re: Tool for monitoring Tomcat from the client side

2006-08-30 Thread Filip Hanik - Dev Lists
matter Tomcat Native - APR lib - C is no difference than NIO - VM - C, hence the performance shouldn't be very different. Filip Hence another evidence that java's performance are equal or better than c? leon On 8/30/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Leon Rosenberg wrote

Re: What is mcastBindAddr for??

2006-08-29 Thread Filip Hanik - Dev Lists
on a multihomed machine, you might only want to bind your multicast socket to one interface, hence you use the bind address Filip Patrick Wang wrote: Hi, I am currently setting up 2 linux server and enabled the clustering and multicast for these 2 servers. I verified using the cat

Re: DataSource variables in replicated objects in a Tomcat cluster

2006-08-28 Thread Filip Hanik - Dev Lists
approach the problem from a different angle: why do you need to store the data source in a replicated object? there are so many other places you can store them :) Filip Dag Bjerkeli wrote: I have defined my datasource parameters in context.xml. I've initialized the datasource objects in

Re: JK 1.2.18 win32 dll not working

2006-08-25 Thread Filip Hanik - Dev Lists
its a known bug, the developers are pushing for 1.2.19 to get released Filip Jessica wrote: Hi Julie, I`m facing exactly the same problem as you described. Have you found any solution yet? Has anyone else succeded in getting jk-1.2.18 to run under IIS? An answer would help in isolating the

Re: Cluster serialization issue

2006-08-25 Thread Filip Hanik - Dev Lists
Mark's assessment is correct, how did you end up storing your request object in the session? Mark Hagger wrote: My best guess is that you've somehow stored the request object itself on the session, and thus the replication is trying to replicate that to the other nodes. If this is the case

Re: Deploying web app over cluster.

2006-08-23 Thread Filip Hanik - Dev Lists
a recent change in 5.5, deploy dir must be your webapps directory, we'll revise this again in 6.0 [EMAIL PROTECTED] wrote: Hello, I am having some trouble getting a web app to deploy over a cluster. Node 1 is a Linux box, with /tmp/war-listen, /tmp/war-deploy, /tmp/war-temp Node 2 is a

Re: Running Tomcat from Bootstrap.main

2006-08-23 Thread Filip Hanik - Dev Lists
your missing commons-logging from your classpath Zach Calvert wrote: I am running an Eclipse java application that makes a call to the Bootstrap.main function. I am using Log4J as my logger. I set the catalina.home, catalina.base, java.endorsed.dirs, and java.io.tempdir before I call

Re: JMS Alternative

2006-08-17 Thread Filip Hanik - Dev Lists
use qmail or one of those email frameworks, yes, you can access it using the JavaMail API you'd still need logic to handle bounces etc, so you do have some work ahead of you Feris Thia wrote: Hi All, Is there any alternative JMS api in Tomcat ? And how can I implement multi threading in

Re: Disable a web application

2006-08-17 Thread Filip Hanik - Dev Lists
yes, 1. remove it from webapps directory 2. set autoDeploy to false, but then you have to manually deploy all the others 3. you can stop it once its been deployed Ralf Schneider wrote: Hi, is there a way do disable a web application that is located in the webapps directory so that it will

Re: Clustering in Tomcat-4.x

2006-08-16 Thread Filip Hanik - Dev Lists
clustering in 4.x was only experimental, and probably has a load of bugs http://people.apache.org/~fhanik/index.html.old Filip jaikiran pai wrote: Hi, Can someone point me to a step by step setup process for Clustering Tomcat4.x? The Tomcat documentations that i saw, only talk about

Re: Tomcat 5.5.17 not displaying jsp page???

2006-08-14 Thread Filip Hanik - Dev Lists
look in your tomcat log files, the answer will be in there Filip Patrick Wang wrote: One more thing, I am invoking Tomcat only, no apache involved here by using URL like http://169.229.141.108:8080/ -Original Message- From: Patrick Wang [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: JDBCReal drivers

2006-08-10 Thread Filip Hanik - Dev Lists
common/lib Zohar wrote: When using JDBCRealm, where should I put my driver jars? No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.8/415 - Release Date:

Re: Tomcat Book Recommendation?

2006-08-09 Thread Filip Hanik - Dev Lists
I would say you don't need a book. The tomcat reference and usage docs are excellent, and then you have a gazillion tutorials online Filip M. Goodell wrote: Hello, Are there any text books / reference information about Tomcat on the maket that are considered to be the must haves ???

Re: mod_jk 1.2.15 connectivity failing errorcode =13

2006-08-09 Thread Filip Hanik - Dev Lists
hari168 wrote: I am using Tomcat 5.5 , Apache 1.3.27 and Mod_JK 1.2.15.. Connectivity is failing with following error message in mod_jk.log file [error] jk_init::mod_jk.c (2039): Initializing shm:${APACHE_HOME}/logs/jk-runtime-status errno=13 Please any one suggest, how i can dig this issue..

Re: logging url of page

2006-08-05 Thread Filip Hanik - Dev Lists
Almir Kazazic wrote: Hi , I am using tomcat 5.5 with log4j to log my errors, and it works great, but it would be of great help if I could get information about URL of errror, this way I could reproduce it and remove much faster, I want to have this code on a single place and not for every

Re: steps multiple instances of tomcat

2006-08-04 Thread Filip Hanik - Dev Lists
if you don't install it as a service, it is as easy on windows as on linux, there is no requirement for it to run as a service. but if you want the simple way of creating two tomcats running as services, don't use the tomcat provided wrapper, use: http://people.apache.org/~fhanik/wrapper.html

Re: Tomcat SSL question

2006-08-04 Thread Filip Hanik - Dev Lists
set redirectPort on your AJP(port 8009) connector to 443 http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html using mod_jk, you will not use port 8080 and 8443, only 8009. Filip David Miller wrote: I can't do that because the web server uses those ports. Perhaps someone can just verify

Re: Restarting Tomcat causes application to be displayed across all instances

2006-08-04 Thread Filip Hanik - Dev Lists
could be several reasons, one common one is that somewhere in your restart script, you are setting the classpath manually to include the classes. another would be that your classes are in shared/classes or shared/lib if not, you'd need to dig deeper. Ryan O'Hara wrote: Currently, we have a

Re: How do I direct all http requests to Https

2006-08-04 Thread Filip Hanik - Dev Lists
I just responded to this yesterday, web.xml for your web-application http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727 user-data-constraint CONFIDENTIAL Filip William Chu wrote: How do I direct a user to the https url when they use the http url? i.e. http://url is directed to

Re: How do I direct all http requests to Https

2006-08-04 Thread Filip Hanik - Dev Lists
use tomcat to speedup my Weblogic developement and that would require to have two web.xml files. Is there a way to set the context to user for example web_tomcat.xml file instead ? I work in exploded format. Thanks, MC From: Filip Hanik - Dev Lists [EMAIL PROTECTED] Reply-To: Tomcat Users

Re: How do I direct all http requests to Https

2006-08-04 Thread Filip Hanik - Dev Lists
= docBase=webapps/ROOT reloadable=false trusted=true /Context security-constraint user-data-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint /security-constraint /webapps On 8/4/06, Filip Hanik - Dev

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
that link contains all the necessary steps, when installing on the same machine, you must avoid port conflicts, the two instances aren't allowed to share ports like 8080,8009,4001 etc Filip Vinod Devarajan wrote: Hi I tried installing Tomcat 5.0.28 on Solaris 10. I then installed one more

Re: multiple instances of tomcat

2006-08-03 Thread Filip Hanik - Dev Lists
it could be easier to just cp -r TC_HOME_1 TC_HOME_2 and voila, two instances, just remember to change the ports in TC_HOME_2/conf/server.xml to be different from server_1 Filip Chris Lear wrote: * Pratap Parne wrote (03/08/06 15:50): how to setup and deploy applications on multiple

Re: Query regarding tomcat cluster

2006-08-03 Thread Filip Hanik - Dev Lists
(mod_jk, mod_proxy both are frequently-used.) Tim On 8/3/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: that link contains all the necessary steps, when installing on the same machine, you must avoid port conflicts, the two instances aren't allowed to share ports like 8080,8009,4001

Re: Help with redirection from http to https

2006-08-03 Thread Filip Hanik - Dev Lists
yes, web.xml for your web-application http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1019727 user-data-constraint CONFIDENTIAL Filip Chandra Muppavarapu wrote: Folks, I have a packaged software that uses tomcat as the webserver. I would like the users to be automatically redirected

Re: how to use jsvc to stop the tomcat service

2006-08-03 Thread Filip Hanik - Dev Lists
of course, stopping a service is used using the Windows Services GUI. Control Panel - Administrative Tools - Services Filip Patrick Wang wrote: Hi All: I am using TOMCAT 5.0.28, I found the following command to start a tomcat instance on the documentation page, however it did not mention

Re: tomcat 5.0 maintenance

2006-08-02 Thread Filip Hanik - Dev Lists
There is an interest and willingness to maintain, to my best knowledge we haven't received any complaints on fixes needed for 5.0.30-beta but once we have a list of required bug fixes, we can start working on it and issue a release Filip Frank Peters wrote: Hi, can someone give me a hint,

Re: Ant Build Problem Undeploying Struts App from Tomcat

2006-08-02 Thread Filip Hanik - Dev Lists
since 5.5.x is currently at .17, what don't you upgrade to that, before you call deploy, make sure you call remove/undeploy if the problem persists, post what is going wrong Warren wrote: I am running Tomcat 5.5.3 on a Windows XP box. When I run my Ant build task to undeploy my webapp, it

Re: SSL does not work on work.

2006-08-02 Thread Filip Hanik - Dev Lists
try using https for secure transport, ie, https://localhost:8443 ^ Chandra Muppavarapu wrote: Folks, I am trying to turn on SSL on my tomcat running as a webserver. I have followed the steps in the following link but my SSL still does not work.

Re: Tomcat Cluster

2006-08-01 Thread Filip Hanik - Dev Lists
it means that server-A has the webapp /edac but server-B doesn't. and server B is receiving messages, and ignoring them doesn't mean its an error, only if you expect both servers to have the webapp. This is not the case if one server is starting up and has not deployed the app yet Filip Ralf

Re: Servlet/session becoming null

2006-07-31 Thread Filip Hanik - Dev Lists
if you are saying the tomcat session is dropped then, two reasons could be: 1. the session cookie is dropped 2. the session has expired (been idle longer than your timeout setting) but your stack trace show TransactionSession, and it could be that your TransactionSession is holding a reference

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread Filip Hanik - Dev Lists
looks like your context XML file is not a valid XML format Filip Aynalem, Seblewengel (Trawick) wrote: Yes I do have SQL JDBC driver in common/lib as sqljdbc.jar and did drop ResourceLink.../ from context.xml file. Another error comes ups as follows: Jul 31, 2006 3:01:05 PM

Re: cluster SimpleTcpCluster in 5.5.17

2006-07-21 Thread Filip Hanik - Dev Lists
Are you saying that the message below keeps repeating itself? over and over again? what does your full log say? Filip Jean-frederic Clere wrote: Hi, I have trying to get the SimpleTcpCluster running but I only get: +++ INFO: Replication member

Re: Setting heap once the tomcat JVM is started

2006-07-21 Thread Filip Hanik - Dev Lists
since the heap is a Java VM configuration, not a Tomcat setting, you would have to consult your VM vendors documentation. The short answer would be no. Filip sajid khan wrote: Hi All, Can we set the JVM heap size after the Tomcat has started ? I mean to say configure heap at runtime Thanks

Re: Tomcat clustering

2006-07-20 Thread Filip Hanik - Dev Lists
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html Konstantina wrote: Hello, I have read that in Tomcat5 there is a way to multicast session data to a group of servers, so that each has the same information and the client can contact any server. How can I multicast information saved

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Filip Hanik - Dev Lists
redirection, as the name tells you, doesn't balance, it redirects, and there is nothing transparent about a redirection. what you are looking for is called proxying, and the best example for that, would be mod_proxy in the Apache httpd web server. Filip Madhur K Tanwani wrote: Hi, I'm

Re: starting with windows service

2006-07-13 Thread Filip Hanik - Dev Lists
http://people.apache.org/~fhanik/wrapper.html Vinu Varghese wrote: Hi Sk, Have u tried with the windows binary of tomcat ? - regards Vinu Shinya Koizumi wrote: Any word on this problem. SK. - Original Message - From: Shinya Koizumi [EMAIL PROTECTED] To: users@tomcat.apache.org

Re: Tomcat 5.5 load balancing URL redirefction not transparent to client

2006-07-13 Thread Filip Hanik - Dev Lists
wrong here and would want to tell me (or would you want me to encounter it as it comes :) )? looks good, if you only have one httpd, is that a single point of failure for you? Awaiting your valuable comments, Madhur. Filip Hanik - Dev Lists wrote: redirection, as the name tells you, doesn't

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager [/jsp-examples], requesting session state from

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
in tomcat you can write a Valve http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html this is tomcat specific, so it wouldn't be portable across containers. Filip Dean Hiller wrote: Is there any way to install a ServletFilter that is run before all webapps(including the default

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 10:00:36 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere

Re: one filter for all webapps?

2006-06-23 Thread Filip Hanik - Dev Lists
but at least the filter isn't. Jon Filip Hanik - Dev Lists wrote: in tomcat you can write a Valve http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html this is tomcat specific, so it wouldn't be portable across containers. Filip Dean Hiller wrote: Is there any way to install

Re: Tomcat session replication/cluster

2006-06-22 Thread Filip Hanik - Dev Lists
Pid: Filip Hanik - Dev Lists wrote: if the cluster is put in the engine element, the context names are prefixed with the engine name, since you can have multiple contexts with the same name in different host when reloading a context, you'll get these errors cause the context

Re: tomcat in-memory session replication

2006-06-21 Thread Filip Hanik - Dev Lists
you have two issues and would be better off trying to isolate them separately. 1. Session replication not working To Troubleshoot: Isolate the problem, so in this case, get rid of apache/mod_jk Follow these steps: 1. Get a small load balancer like http://siag.nu/pen/ If you are on windows,

Re: tomcat in-memory session replication

2006-06-21 Thread Filip Hanik - Dev Lists
also, use Tomcat 5.5.17 Sean O'Reilly wrote: Hi, I am trying to get in-memory session replication working and am testing running 3 seperate tomcat instances on the same server. I am using tomcat-5.5.15 and apache-2.0.54 with jk2. Whenever i run my test app although it should be doing

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Filip thuss2 wrote: We have 10 web servers with Tomcat's running on them and a mod_jk configuration to prefer the tomcat on localhost and only failover to

Re: mod_jk failover and preferring localhost

2006-06-21 Thread Filip Hanik - Dev Lists
Mladen Turk wrote: Filip Hanik - Dev Lists wrote: you've setup sticky_sessions to be false, (btw, I thought that only took 0/1 values) so how can you expect session affinity from that? Recent mod_jk versions can take True/False instead 1/0 just as an convenience method. instead or as well

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Filip Hanik - Dev Lists
the only risk would be if you are running two environments, maybe QA and production, you don't want the cluster membership to cross over another option is to just change address and port in server.xml from the default Filip Peter Rossbach wrote: HI, I see no risk with the default membership

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
have you set jvmRoute in your engine element (server.xml)? this is how mod_jk does session affinity filipp Sharma, Siddharth wrote: I have IBM HttpServer 2.0 (it is an apache essentially) fronting two tomcat instances (version 5.5.16) using mod_jk over ajp13. I have configured a load

Re: mod_proxy a risk?

2006-06-16 Thread Filip Hanik - Dev Lists
you should turn off your proxyrequests ProxyRequests Off first line in the documentation http://httpd.apache.org/docs/2.0/mod/mod_proxy.html you can still use ProxyPass without using proxyrequests Christoph Kukulies wrote: I wonder whether mod_proxy can be a security risk in Apache2.0.54,

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
Fredrik Andersson wrote: Hi all Ok so heres the deal. I want my tomcat installation (5.5.17) to load pages from /var/www/webapps/R2M/SMC I´m also running a virtual host setup so I edit my server.xml file and point the appBase for the directory to /var/www/webapps and then I have the context

Re: flushing system.out

2006-06-16 Thread Filip Hanik - Dev Lists
System.out.println is a synchronized call, and will become a performance bottleneck on highly concurrent applications, the ideal is to use a logging framework, and setup an async logger Filip Glenn Holliday wrote: I frequently see it used for debugging. It's an easy place to log to. That's

Re: Tomcat configuration error

2006-06-16 Thread Filip Hanik - Dev Lists
, but there are tons of different sources telling me different things and none works.. :( I understand that I must be anoying and it´s really nice of you to help me. =) Den 6/16/2006, skrev Filip Hanik - Dev Lists [EMAIL PROTECTED]: R2M.xml? where did that come from? it should be SCM.xml

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
. From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Fri 6/16/2006 7:21 PM To: Tomcat Users List Subject: Re: Apache with Tomcat and session affinity problem how do you verify that you don't have a cookie? I suggest using LiveHttpHeaders (firefox/mozilla

Re: Apache with Tomcat and session affinity problem

2006-06-16 Thread Filip Hanik - Dev Lists
can see the cookie JSESSIONID with its value. If you don't see the cookie, then definitely there is some issue. From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Fri 6/16/2006 7:21 PM To: Tomcat Users List Subject: Re: Apache with Tomcat and session

Re: org.apache.catalina.valves.RemoteHostValve issue

2006-06-16 Thread Filip Hanik - Dev Lists
Hi Lars, my guess is that it looks at 127.0.0.1, so adding 127\.0\.0\.1 to the list would solve it or, you can add enableLookups="true" to your Connector element, although, I'm not sure why it just wouldn't look at the Host header Filip Lars Huttar wrote: On the tomcat-user list

Re: Getting Tomcat to display a web page hosted by HTTPD

2006-06-15 Thread Filip Hanik - Dev Lists
how are you redirecting to http://localhost/Dir1/serverMessage.html Filip Mann, Bradley wrote: Hello, I have Tomcat running a web application behind HTTPD using the Jakarta connector. Here is my scenario: I navigate to http://localhost/Dir1/ This is essentially a login page for my web

Re: downloaded JK binaries for Linux - which to use? workers or prefork?

2006-06-14 Thread Filip Hanik - Dev Lists
Prefork: http://httpd.apache.org/docs/2.0/mod/prefork.html Worker: http://httpd.apache.org/docs/2.0/mod/worker.html Kim Albee wrote: yes -- but what is the difference? i'm running Fedora Core 3 on a single processor Linux box, running Apache 2.x what does prefork mean? vs. worker? thanks,

Re: Problem clustering with multiple nodes

2006-06-13 Thread Filip Hanik - Dev Lists
How do you go to another server? are you using a load balancer? ie, is your session cookie passed correctly when you switch server. Filip Troy Davidson wrote: I am trying to get a horizontal and vertical cluster working. There are three servers with two instances on Tomcat on each one. The

Re: Tomcat Service on Windows.

2006-06-13 Thread Filip Hanik - Dev Lists
you're better off using a different wrapper than the one that comes with Tomcat, this one allows for thread dumps and more customizations http://people.apache.org/~fhanik/wrapper.html In the wrapper.conf file you can change the name for your NT service Gohil, Jayesh wrote: Hi, Can anyone

Re: Database Persistance And Session Replication

2006-06-12 Thread Filip Hanik - Dev Lists
unfortunately you can't do both, its either or Filip David Ron wrote: Hey everybody, I would like to configure Tomcat for both session replication across 3 servers and database session persistence. The database persistence lags several seconds which is why I don't think that I

Re: Way to debug ports Tomcat is listening on?

2006-06-08 Thread Filip Hanik - Dev Lists
Not that it answers your question, but if you are using And my VirtualHost setting has the JkMount / p1 and JkMount /* p1 then y Then you are much better off using mod_proxy ProxyPass / http://w1:8080/ ProxyPassReserve / http://w1:8080/ ProxyPassPreserveHost On less head aches, less time spent

Re: Restricting access to localhost for an HTTP connector

2006-06-08 Thread Filip Hanik - Dev Lists
yes, you can bind the connector the 127.0.0.1, meaning it will only listen on that address use the "address" attribute in the connector http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Mark Claassen wrote: Is there to configure an HTTP Connector to only allow connections from

Re: Webapp Reload

2006-06-07 Thread Filip Hanik - Dev Lists
My guess is that your session attributes do not implement java.io.Serializable if they don't tomcat can not store them for a restart or reload Filip Asensio, Rodrigo wrote: Hello, We have a call center webapp with 100 simultaneous sessions all time ( 24/7 ). This webapp has several

Re: Webapp Reload

2006-06-07 Thread Filip Hanik - Dev Lists
: Things brings up an interesting point. How do you make the standard tomcat session attributes Serializable? Because, I currently am using a security constraint against an LDAP server. However, every time I redeploy the application the session is lost. On 6/7/06, Filip Hanik - Dev Lists

Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
you can also make your own life very easy, by switching to mod_proxy, and voila, everything works :) Filip Mann, Bradley wrote: Hello, I am attempting to setup a scenario in which Tomcat is hosting a web application behind HTTPD using the Jakarta Connector. I have installed the following on

<    5   6   7   8   9   10   11   12   >