APR on OSX with tomcat 5.5.x ?

2007-04-04 Thread j.random.programmer
Hi: Has anyone got Apache portable runtime (APR) to work on OS X (10.4.x) with tomcat 5.5.x ? My apr is installed in: /usr/local/apache/apr-1.2.8/ I've done all the usual steps of unpacking the apr src and compiling it with: ./configure --with-apr=/usr/local/apache/apr-1.2.8/

mod_jk, timeout values, best practices

2007-04-04 Thread Erik Melkersson
Hi! I've experimenting with different timeout values, to mod_jk. I have not yet been able to make it work the way I want. I have one apache and two tomcat. I have set up tomcat1 to be the primary and tomcat2 the failover. What I want to achieve is if at least one tomcat is up I want it to

problem in handlins request for JK2

2007-04-04 Thread sunil chandran
Hello all, I am Sunil C. i have used JK2 connector to connect Apache and Tomcat I am having a servlet (Certserv) folder in webapps folder in Tomcat. i gave uri to that cert program in my workers2.properties file. everything is working fine. but i face a

Re: Problems with clientAuth

2007-04-04 Thread Luis Villa
Hello all ! Someone can throw a little light in this problem? I am not able to solve it, and I've tried anything I've found searching in google :S Thank all! 2007/4/2, Luis Villa [EMAIL PROTECTED]: Ok, now I'm getting mad :S IExplorer keeps saying the page can't be found (it doesn't ask

Re: problem in handlins request for JK2

2007-04-04 Thread JOHN
Please show us the setup files... - Original Message - From: sunil chandran [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, April 04, 2007 9:02 AM Subject: problem in handlins request for JK2 Hello all, I am Sunil C. i have used

IIS JK connector problem

2007-04-04 Thread Vasanth
Hi, We are trying to migrate a running tomcat/JK/IIS setup from win 2000/IIS 5.0 to win 2003/IIS 6.0. The struts application is hosted using two tomcat instances and we use JK connectors as load balancer for these two servers. We have configured the IIS with a 'jakarta' virtual directory.The

Re: Need help with authentication

2007-04-04 Thread Kenneth Westelinck
Ok, here is some headers I found with fiddler: From firefox: - Request 1: GET /eai-admin/ HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-04-04 Thread Erik Melkersson
I have now been able to make it work on another minimalistic server using the same worker.properties. It displays the runtime state. Now I only have to find out what differs, that makes the status worker fail getting runtime state. (It's a lot that differs so that may take a long time :-/ )

Re: problem in handlins request for JK2

2007-04-04 Thread sunil chandran
Hi , this is the modifictaion i made in workers2.properties file: [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=0 tomcatId=localhost:8009 #

High cpu on Apache 2.2.3/Tomcat 5.5.20/APJ1.3 - Windows Server 2003 R2 SP1 SE

2007-04-04 Thread Mirko Viviani
Hi, We are using Tomcat 5.5.20 with Apache 2.2.3/ssl/svn and jdk 1.6.0-b105 on a Windows Server 2003 R2/SP1 SE with 4 Xeon cores and 4GB ram. I have configured apache with a virtual host and the ProxyPass directive to redirect all the requests to the Tomcat instance, as in this example:

HttpSessionActivationListener not getting called in the Tomcat 5.5.20 clustered mode.

2007-04-04 Thread Savita Narang
Hello I am using a tomcat clustered environment using two tomcat 5.5.20 servers in the Windows machine. I am using the in-memory replication for replicating the session. In my code, I have a session attribute that implements HttpSessionActivationListener interface. I expect this Listener to be

Re: Session Cookie and IE7

2007-04-04 Thread Johnny Kewl
I really not sure, still on IE6... but no one is talking so I'm going to guess. I think so, but I dont use IE7 so who knows but have a look at this article its ASP, but its easy reading and explains the concept http://www.15seconds.com/issue/971108.htm and then look up setDomain in

Another Comet 6.0.10 question

2007-04-04 Thread Sebastiaan van Erk
Hi, The pages on Comet say the following about the read event: EventType.READ: This indicates that input data is available, and that one read can be made without blocking. The available and ready methods of the InputStream or Reader may be used to determine if there is a risk of blocking:

Re: Need help with authentication

2007-04-04 Thread Kenneth Westelinck
Hi again, I did some further researching. I found this on the 304 returned by Tomcat when using firefox: -8---8---8---8---8---8---8---8---8---8---8---8---8---8---8-- You should never see this error in your Web browser. It should simply

RE: iis nd tomcat in one machine

2007-04-04 Thread Peter Crowther
From: Sabitha Divakaran [mailto:[EMAIL PROTECTED] I've installed both the IIS and tomcat in my system. Tomcat is listening the port 8080. It is installed after the IIS installation. But now iis is displaying page cannot be displayed when I take the url http://localhost:80 previously it

Session Hijacking with Apache Tomcat

2007-04-04 Thread Jasbinder Singh Bali
Hi, I have to demonstrate Session Hijacking with Apache Tomcat to my advisor when some precautionary measures are not taken. I'm just wondering how can I do this. After a satisfactory demonstration, I need to demonstrate the steps I would take to get rid of this session hijacking. In short, i

Re: Another Comet 6.0.10 question

2007-04-04 Thread Sebastiaan van Erk
I have been reading the EventType.READ explanation over and over again, and now I have even more questions. 1) It says I should return false or throw an IOException when I get EOF. However, the event method has a void return type, so I don't know how to do the first. And if it's not

Re: Session Hijacking with Apache Tomcat

2007-04-04 Thread Mikolaj Rydzewski
Jasbinder Singh Bali wrote: In short, i need to demonstrate session hijacking in apache tomcat and then show measures that would be taken to get rid of it. Any kind of help would be highly appreciated. Turn off cookies, Tomcat should then rewrite URLs to include jsessionid. Then it's trivial

Re: Session Hijacking with Apache Tomcat

2007-04-04 Thread David Tonhofer
Jasbinder Singh Bali wrote: Hi, I have to demonstrate Session Hijacking with Apache Tomcat to my advisor when some precautionary measures are not taken. Maybe securityfocus.com has some information on that? - To start a new

Re: Session Hijacking with Apache Tomcat

2007-04-04 Thread Jasbinder Singh Bali
And how should i get rid of session hijacking. Is there any feature is tomcat that takes care of it? On 4/4/07, Mikolaj Rydzewski [EMAIL PROTECTED] wrote: Jasbinder Singh Bali wrote: In short, i need to demonstrate session hijacking in apache tomcat and then show measures that would be

RE: Session Hijacking with Apache Tomcat

2007-04-04 Thread Peter Crowther
From: Jasbinder Singh Bali [mailto:[EMAIL PROTECTED] And how should i get rid of session hijacking. Is there any feature is tomcat that takes care of it? I shouldn't do your work for you, but... just hope your supervisor doesn't read tomcat-users :-). Demonstrate: the simplest approach is to

Re: Session Hijacking with Apache Tomcat

2007-04-04 Thread Mikolaj Rydzewski
Jasbinder Singh Bali wrote: And how should i get rid of session hijacking. Is there any feature is tomcat that takes care of it? Figure it out yourself, it's not so hard ;-) I.e. you can store client's IP address in a session, and compare it with every request. If they don't match, then

RE: Session Hijacking with Apache Tomcat

2007-04-04 Thread Raghupathy, Gurumoorthy
Hi, Client IP may not be right solution. This may fail if 2 users use the same proxy to access your site... This is normally the case in small and big business where every useris using a proxy to access a website Regards Guru -Original Message- From:

Re: Session Hijacking with Apache Tomcat

2007-04-04 Thread Jasbinder Singh Bali
Isn't there any feature in tomcat itself that would automatically take care of session hijacking without doing something at web application level. something like the way BadInputFilering valve in Tomcat tries to escape certain string patterns from the GET and POST parameter names and values so

[OT] RE: Session Hijacking with Apache Tomcat

2007-04-04 Thread Peter Crowther
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] Jasbinder Singh Bali wrote: And how should i get rid of session hijacking. Is there any feature is tomcat that takes care of it? Figure it out yourself, it's not so hard ;-) I.e. you can store client's IP address in a session, and

Re: Session Hijacking with Apache Tomcat

2007-04-04 Thread David Smith
Jasbinder Singh Bali wrote: And how should i get rid of session hijacking. Is there any feature is tomcat that takes care of it? On 4/4/07, Mikolaj Rydzewski [EMAIL PROTECTED] wrote: Jasbinder Singh Bali wrote: In short, i need to demonstrate session hijacking in apache tomcat and then

RE: Session Hijacking with Apache Tomcat

2007-04-04 Thread Peter Crowther
From: Jasbinder Singh Bali [mailto:[EMAIL PROTECTED] Isn't there any feature in tomcat itself that would automatically take care of session hijacking without doing something at web application level. Not in all cases. SSL deals with untrusted networks, but if you can't trust the user's

Re: Another Comet 6.0.10 question

2007-04-04 Thread Rémy Maucherat
On 4/4/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hi, The pages on Comet say the following about the read event: EventType.READ: This indicates that input data is available, and that one read can be made without blocking. The available and ready methods of the InputStream or Reader may be

Re: Filter class not found problem

2007-04-04 Thread Hassan Schroeder
On 4/4/07, Frank W. Zammetti [EMAIL PROTECTED] wrote: As per my post last night, I discovered that the problem starts in 6.0.10... FWIW, I just installed 6.0.10 and dumped in a webapp of mine that uses a Filter as a front controller, and it works fine. I have both JAVA_HOME and JRE_HOME

Re: Another Comet 6.0.10 question

2007-04-04 Thread Rémy Maucherat
On 4/4/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: 2) I keep getting READ events after reading all data from the stream (EOF reached). Now I don't want to close the event because I still want to write stuff, but I can't just return from the read event because I'll get another, causing a busy

Re: Another Comet 6.0.10 question

2007-04-04 Thread Rémy Maucherat
On 4/4/07, Rémy Maucherat [EMAIL PROTECTED] wrote: Ok, that javadoc is a little bit out of date (ex: returning false). However, it is still valid: if you get a read event, you're supposed to do at least one read, and it could return -1 (if it got that from the client). If it fails to read data

Re: Filter class not found problem

2007-04-04 Thread Frank W. Zammetti
On Wed, April 4, 2007 11:21 am, Hassan Schroeder wrote: FWIW, I just installed 6.0.10 and dumped in a webapp of mine that uses a Filter as a front controller, and it works fine. I have both JAVA_HOME and JRE_HOME defined for convenience (so I can switch as I test/upgrade versions); right now

RE: Need help with authentication

2007-04-04 Thread Nelson, Tracy M.
IE is sending Pragma: no-cache when it requests the admin page (Request 3 in your previous message). Firefox isn't, so I'm guessing Tomcat is assuming that FF has a copy. This is just what I noticed, I'm not an HTTP or Tomcat expert. | -Original Message- | From: Kenneth Westelinck

Re: Another Comet 6.0.10 question

2007-04-04 Thread Sebastiaan van Erk
Ok, so I get a -1 on a read. Now what do I do? If I just return from the event handler I immediately get another read :-(. If I close the event I can't do output anymore. Can't it just send me ERROR/TIMEOUT events, just like what would happen if no READS arrive at all? In that case I can do

Re: Different aliases have different sessions in Tomcat, why?

2007-04-04 Thread Burak Yýlmaz
The ip adress is just set correct in the dns servers...simply the host adress in server.xml is set to www.mydomain.com and i defined alias as mydomain.com Tomcat recognize www.mydomain.com and mydomain.com as different applications and creates different sessions for them... Any

Re: Another Comet 6.0.10 question

2007-04-04 Thread Rémy Maucherat
On 4/4/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Ok, so I get a -1 on a read. Now what do I do? If I just return from the event handler I immediately get another read :-(. If I close the event I can't do output anymore. Since there's not going to be any additional data from the client,

Re: accessing files/dirs.....

2007-04-04 Thread maya
yes I know, eventually I want to do this whole webapp in struts.. for now just want to be able to count how many images in 'images' folder.. (what I don't get here is first line.. where does the reqParameter come from? (this method is usu. used to get params from request (user input,

Axis2 v1.1.1 with Tomcat 6.0.10?

2007-04-04 Thread Rudolph, Troy
Hello, I installed Tomcat 6.0.10 and Axis2 1.1.1. I followed all the directions and dropped the axis2.war file into the f:\apache-tomcat-6.0.10\webapps directory. It was deployed correctly according to the log messages. When I tried to test it with my browser by visiting

How to redirect to stub page when app unavailable?

2007-04-04 Thread Darren Kukulka
Hi Tomcat Users, I'm trying to formulate a clever method of providing a stub page, 'under maintenance' if you will, for when we are building a new version of a Tomcat served application : i.e. when Tomcat is offline - we need to keep it offline during the build as there are back-end DB updates

How to trace successful ssl handshake?

2007-04-04 Thread Julien Gaulon
Dear Tomcat Users, I'm using a tomcat 5.5 on win XP. My servlet uses 2 secure connectors (different cipher suites and protocol SSL and TLS) on 2 ports. I have already found a way to have in my servlet a trigger when a ssl handshake failure occurs. But, in successful case, my servlet needs more

Tomcat hiding director

2007-04-04 Thread Hoa Doan
Is there a way to hid some directory from user access? Like lets say i have a directory name 'hideme' and in it are some files. What i want to do is not allow user from accessing it like 'localhost/hideme/index.html' - Sucker-punch spam with award-winning

Share Bean between two webapps

2007-04-04 Thread Roberto Bottoni \(Modernviaggi\)
I spend several hours to do this : I want to share a javabean between two different webapps i want to get fields and methods of a javabean that is stored in webapp2 from webapps1 I use Tomcat 5.0 and i have read http://tomcat.apache.org/tomcat-5.0-doc/jndi-resources-howto.html but i get no

error upload

2007-04-04 Thread bill biggs
I sign up with a web hosting last night I upload my war file and restart the server but when I go to the web site it give me this error any ides ? HTTP Status 404 - /Page1.jsp type Status report message /Page1.jsp

Re: Share Bean between two webapps

2007-04-04 Thread Martin Gainty
Hi Roberto- I think you may be speaking of demand loading multiple hierarchical container instances in which case I would look at implementing your app with Spring IOC (Injection of Control) and locate/allocate/init your bean via ContextSingletonBeanFactoryLocator class

Re: accessing files/dirs.....

2007-04-04 Thread David Smith
What I posted was an excerpt from a jsp page writing the index of a folder -- no Struts in sight. directory was just an arbitrary request parameter for example purposes: http://localhost:8080/myWebApp/imageList.jsp?directory=%2fsome%2fdirectory It doesn't really matter how you get that

Re: Need help with authentication

2007-04-04 Thread Martin Gainty
to disable Proxy Caching by FormAuthenticator $TOMCAT_HOME/conf/server.xml Context path=/myapp docBase=myapp Valve className=org.apache.catalina.authenticator.FormAuthenticator disableProxyCaching=false / /Context Is this what you're looking for??? M- This email message and any files

Re: Version of Java being used by Tomcat

2007-04-04 Thread Richard Dunne
Aneez, Try typing echo -version %JAVA% at the prompt. works in dos anyway, not sure if tomcat has its own specific syntax. Richard. - Original Message From: Aneez Backer [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, April 4, 2007 7:37:59 PM Subject: Version of

Re: Perl -T taint mode

2007-04-04 Thread Mark Montague
On Wed, Apr 4, 2007 14:32, Mike Cossaboon [EMAIL PROTECTED] wrote: I am running Tomcat 5.5.17 on Solaris 10 with Perl 5.8.4 installed. I start my perl cgis with: #!/usr/bin/perl -T The -T is for Taint mode which I do to make the cgis more secure. With a -T option, the web page is displayed

Re: accessing files/dirs.....

2007-04-04 Thread maya
ok, I asked webhosting guy, this is what finally worked: /chroot/home/myuid/mydomain/tomcat/webapps/india/delhi/images :) many thanks for yr help... David Smith wrote: What I posted was an excerpt from a jsp page writing the index of a folder -- no Struts in sight. directory was just an

Perl -T taint mode

2007-04-04 Thread Mike Cossaboon
Hi All, I am running Tomcat 5.5.17 on Solaris 10 with Perl 5.8.4 installed. I start my perl cgis with: #!/usr/bin/perl -T The -T is for Taint mode which I do to make the cgis more secure. With a -T option, the web page is displayed with no text from my print statements. If I remove the -T

Version of Java being used by Tomcat

2007-04-04 Thread Aneez Backer
Hi I have two versions of JAVA installed on my terminal. Is there any possible way to know which version of JAVA is being used by Tomcat 5.0.28 ??? Aneez - Don't pick lemons. See all the new 2007 cars at Yahoo! Autos.

Re: Version of Java being used by Tomcat

2007-04-04 Thread Martin Gainty
better make sure thats what Tomcat is using.. This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by

Re: Version of Java being used by Tomcat

2007-04-04 Thread David Smith
Should be reported in the manager app -- http://localhost:8080/manager/html Obviously change localhost and 8080 to reflect your installation. --David Aneez Backer wrote: Hi I have two versions of JAVA installed on my terminal. Is there any possible way to know which version of JAVA is being

Re: Version of Java being used by Tomcat

2007-04-04 Thread Martin Gainty
sorry.. http://TomcatHost:8080/manager/html (look at JVM Version at bottom of screen) Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message

RE: Version of Java being used by Tomcat

2007-04-04 Thread Robert Harper
That would show the version that is default for that console. You might do better to look at the configuration for the Tomcat server to see where it looks for the JRE. That would let you know for sure. If you are running on a WinXXX platform and as a service, you could look at the settings for the

Finding Version Of Tomcat On Unix?

2007-04-04 Thread Jeanna . Geier
Hello List! I have a quick question that I'm hoping someone can help me with: How can I find the version of Tomcat running on my Unix box? When I go into the README.txt doc, I see that it's 4.1...but I don't know the last #'s in the version: 4.1.x... Is there a command I can run to find this

Re: Tomcat hiding director

2007-04-04 Thread Martin Gainty
Hi Doan- The easist way is to configure .htaccess for the folder and configure access according to which referer or what type of page they want http://www.javascriptkit.com/howto/htaccess13.shtml Martin -- This email message and any files transmitted with it contain confidential information

Re: Perl -T taint mode

2007-04-04 Thread Mike Cossaboon
Mark, Thanks for the link to the perl site on Taint. I will be testing out some perl settings. Mike At 02:59 PM 4/4/2007, you wrote: On Wed, Apr 4, 2007 14:32, Mike Cossaboon [EMAIL PROTECTED] wrote: I am running Tomcat 5.5.17 on Solaris 10 with Perl 5.8.4 installed. I start my perl cgis

Re: Version of Java being used by Tomcat

2007-04-04 Thread Andrew Pliszka
You can create simple jsp page with a scriptlet that dumps System properties to console. Check javadoc for System for more information. Andrew Pliszk Aneez Backer wrote: Hi I have two versions of JAVA installed on my terminal. Is there any possible way to know which version of JAVA is being

Re: Finding Version Of Tomcat On Unix?

2007-04-04 Thread David Smith
As with the recently asked question on which java version is in use, you should be able to glean that from the manager webapp. http://localhost:8080/manager/html (replace localhost and 8080 with appropriate values for your installation) Log in with a user that has the manager role and it

Re: Tomcat hiding director

2007-04-04 Thread Rashmi Rubdi
I don't think .htaccess works with Tomcat alone -- doesn't it require Apache as well? You could write a filter to block all IP addresses. -Rashmi On 4/4/07, Martin Gainty [EMAIL PROTECTED] wrote: Hi Doan- The easist way is to configure .htaccess for the folder and configure access according

Re: Finding Version Of Tomcat On Unix?

2007-04-04 Thread Jeanna . Geier
Super - Thanks for the reply! David Smith [EMAIL PROTECTED] 04/04/2007 02:40 PM Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat Users List users@tomcat.apache.org cc Subject Re: Finding Version Of Tomcat On Unix? As with the recently asked question on which java

Re: Version of Java being used by Tomcat

2007-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Richard Dunne wrote: Aneez, Try typing echo -version %JAVA% at the prompt. works in dos anyway, not sure if tomcat has its own specific syntax. Never heard of that one before. As far as I know, echo on DOS does not accept any arguments

RE: Version of Java being used by Tomcat

2007-04-04 Thread Gurdeep Kaur \(gurdeep\)
java -version Should give you what is the default java version used Gurdeep -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 1:00 PM To: Tomcat Users List Subject: Re: Version of Java being used by Tomcat -BEGIN PGP SIGNED

Re: Version of Java being used by Tomcat

2007-04-04 Thread Andrew Pliszka
There is one more thing related to java version and JSPs, there is a configuration setting for the version used to compile jsps. So even if you have 1.5 your JSPs still might compile in 1.4 mode. This is setup in the tomcat xml config file. Andrew Gurdeep Kaur (gurdeep) wrote: java -version

RE: Version of Java being used by Tomcat

2007-04-04 Thread Robert Harper
Also remember that he said he had multiple versions of Java installed on his machine and it is possible that what Tomcat runs under may very well be different from what a console window would get. This is the case for me as well. I have three or four different versions of the JRE and what version

Lots of JspRuntimeContext threads

2007-04-04 Thread Adam Rabung
Hello, Tomcat 5.5.9/Windows XP/Java 1.5_11 I have a Tomcat running about 16 contexts. A few of them are fairly busy. We recently had a Out of memory: unable to create new native thread Exception. At the time, we had roughly 500 threads in the VM. Of that, 147 were named

Re: Another Comet 6.0.10 question

2007-04-04 Thread Sebastiaan van Erk
Hi, thanks very much for the replies. Rémy Maucherat wrote: On 4/4/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Ok, so I get a -1 on a read. Now what do I do? If I just return from the event handler I immediately get another read :-(. If I close the event I can't do output anymore. Since

Re: Another Comet 6.0.10 question

2007-04-04 Thread Rémy Maucherat
On 4/4/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hmm... I don't work under Windows, I use Ubuntu Linux, but I'll try figure out why it keeps sending me READ events after the end of stream was reached; I'll get back to you on that one (I'll see if I can make a small test program which

Re: connection pool

2007-04-04 Thread Filip Hanik - Dev Lists
Martin Gainty wrote: MG-- You want to make sure your abandoned connections are properly re-cycled e.g. To configure a DBCP DataSource so that abandoned dB connections are removed and recycled add the following paramater to the ResourceParams configuration for your DBCP DataSource Resource:

Re: Tomcat 6.0.10 hangs on startup when APR enabled

2007-04-04 Thread Filip Hanik - Dev Lists
Mladen Turk wrote: Stefan Armbruster wrote: Hi finally I did this: rm /dev/random; ln -s /dev/urandom /dev/random ... and Tomcat starts up fine. Wow, that something. You are very brave and root ;) awesome! Try with setting: $ export RANDFILE=/dev/urandom then start Tomcat. or create a

Re: Tomcat 6.0.10 Comet question

2007-04-04 Thread Filip Hanik - Dev Lists
Rémy Maucherat wrote: On 4/3/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: yes, a proposal is coming up, my guess is that you will do a {public int write(ByteBuffer)} on the CometEvent object. returns number of bytes written, but nothing is set in stone yet I hope that your proposal

Re: session replication

2007-04-04 Thread Filip Hanik - Dev Lists
Yerramsetti, Naga wrote: Hi, What happens if we use session replication and we try to store in session an object that is not serializable? throws an error, probably an IllegalArgumentException on session.setAttribute you can also take a look at www.terracotta.org, as they don't require

Re: High cpu on Apache 2.2.3/Tomcat 5.5.20/APJ1.3 - Windows Server 2003 R2 SP1 SE

2007-04-04 Thread Filip Hanik - Dev Lists
if you are already using mod_proxy, why use AJP, mod_proxy in particular, has a more solid implementation in HTTP than AJP Filip Mirko Viviani wrote: Hi, We are using Tomcat 5.5.20 with Apache 2.2.3/ssl/svn and jdk 1.6.0-b105 on a Windows Server 2003 R2/SP1 SE with 4 Xeon cores and 4GB

Re: How to trace successful ssl handshake?

2007-04-04 Thread Filip Hanik - Dev Lists
-Djavax.net.debug=handshake,ssl Filip Julien Gaulon wrote: Dear Tomcat Users, I'm using a tomcat 5.5 on win XP. My servlet uses 2 secure connectors (different cipher suites and protocol SSL and TLS) on 2 ports. I have already found a way to have in my servlet a trigger when a ssl handshake

Re: servlet url pattern problem!

2007-04-04 Thread jacky
It is webapp/servlet/login indeed. In fact, my jsp structure is as following: in index.jsp: jsp:include page=/jsp/top.jsp/ in top.jsp: FORM action=%=request.getContextPath()%/servlet/login method=POST onsubmit=return loginCheck(this); .. /FORM //here, the form will be submit On 4/3/07, David

Re: servlet url pattern problem!

2007-04-04 Thread Rashmi Rubdi
If you compile the Servlet class and Re-start Tomcat after defining the mapping in web.xml it should work. I tried the following and it works: - web.xml -