ApacheCon Europe 2009: Early Bird Deadline Extended until 13th of February

2009-02-10 Thread jean-frederic clere
Here's some great news for everyone who's thinking of traveling to Amsterdam for this year's ApacheCon Europe. The Early Bird deadline has been extended to Friday, February 13th - and remember, there is a discount of 150 Euro on registration for anyone staying at the Mövenpick Hotel. Register at

Re: HttpSessionActivationListener problems

2009-02-10 Thread Rui Pedro
Thank you for the help. I need to find out other solution ... Do you know any way to distinguish if the one session is invalidated by timeout or because the server have been shutdown? One of the ways is to use session.getMaxInactiveInterval with the current timestamp and the

Re: Simple Tomcat 6, servlet tutorial. First draft for comment

2009-02-10 Thread Dave Pawson
2009/2/10 Filip Hanik - Dev Lists devli...@hanik.com: What benefit do you get from running it with JSVC, vs just writing a simple script into /etc/init.d/ to manage it yourself? It was offered. I went to the trouble of amending it to make it work. I do manage it myself? How would another script

Re: Simple Tomcat 6, servlet tutorial. First draft for comment

2009-02-10 Thread michel
One idea might be to have specific case studies. By that I mean way to opften when some things are explained some details are assumed and not really explained, such as what directory to put things in; it leave people trying to figure out what is implied by put in class directory or such,

Re: Simple Tomcat 6, servlet tutorial. First draft for comment

2009-02-10 Thread Mark Thomas
Dave Pawson wrote: 2009/2/10 Filip Hanik - Dev Lists devli...@hanik.com: What benefit do you get from running it with JSVC, vs just writing a simple script into /etc/init.d/ to manage it yourself? It was offered. I went to the trouble of amending it to make it work. I do manage it myself?

Re: Simple Tomcat 6, servlet tutorial. First draft for comment

2009-02-10 Thread Dave Pawson
2009/2/10 Mark Thomas ma...@apache.org: The main use of jsvc is to bind to port 1025 (usually 80 and 443) but run as a non-privileged user. If you aren't listening on a port 1025 then you probably don't need it. It didn't work for me Mark! I run jsvc as root. But yes, I'm listening on 8080.

Re: Session replication problem

2009-02-10 Thread Mohamedin
__ Information from ESET NOD32 Antivirus, version of virus signature database 3840 (20090210) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - To unsubscribe, e-mail: users-unsubscr

Fw: Still trying to get Tomcat 6 to work

2009-02-10 Thread michel
Much thanks to all and I got it working, but only on port 8090 so the URL has to include :8090. I am wondering if there isn't a start-up bug, because when I try some commands with all the servers stopped I get: telnet localhost 8080 - Unable to connect to remote host: Connection refused telnet

tomcat admin console problem

2009-02-10 Thread Srinivas Jonnalagadda
Hi, I am getting the Access to the specified resource () has been forbidden when i try to access as http://192.168.0.10:8080/admin/. the admin app is deployed on a solaris machine with tomcat 5.5.9 communicationg with Apache HTTP Server and using mod_jk connector. I copied admin.xml to

Re: tomcat admin console problem

2009-02-10 Thread Mark Thomas
Srinivas Jonnalagadda wrote: Hi, I am getting the Access to the specified resource () has been forbidden when i try to access as http://192.168.0.10:8080/admin/. the admin app is deployed on a solaris machine with tomcat 5.5.9 communicationg with Apache HTTP Server and using mod_jk

Problem starting Tomcat Windows service

2009-02-10 Thread André Warnier
. That part worked nicely. However, when trying to start the service later on, something goes awry, and the service does not start. The Windows Event logger is pretty useless, mentioning an error of type 0/0 or similar. In the Tomcat logs directory however, I find the file jakarta_service.20090210

Re: Problem starting Tomcat Windows service

2009-02-10 Thread Serge Fonville
worked nicely. However, when trying to start the service later on, something goes awry, and the service does not start. The Windows Event logger is pretty useless, mentioning an error of type 0/0 or similar. In the Tomcat logs directory however, I find the file jakarta_service.20090210

RE: Problem starting Tomcat Windows service

2009-02-10 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Problem starting Tomcat Windows service (I have this suspicion that even with the zip version, I need to get the 64-bit version of procrun somewhere else, yes ?) Correct:

Re: HttpSessionActivationListener problems

2009-02-10 Thread Flavio Crispim
Rui the javadoc says it began on servlet spec 2.3 or since TC 4, see: http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSessionActivationListener.html it should be stable enougth. (Am I wrong?) Before I dig a little more, I´m not sure TC can handle such event when the java process is

Re: Problem starting Tomcat Windows service

2009-02-10 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Problem starting Tomcat Windows service (I have this suspicion that even with the zip version, I need to get the 64-bit version of procrun somewhere else, yes ?) Correct:

certificate problem in firefox 3.05

2009-02-10 Thread Marko Sacher
Hi, I have a problem with a certificate from a CA. The certificate of the CA is included by default in FF3. If I call my page I get error: sec_error_bad_signature: invalid signature. In other browsers the certificate looks O.K. My CA tells me to disable SSLv2 and perhaps also weak cyphers. My

Re: Still trying to get Tomcat 6 to work

2009-02-10 Thread michel
Problem solved! I needed to include the IP address (server.xml) to connect to my address instead of the shared box. I checked different places for install information and that wasn't shown anyhere. Connector address=91.203.57.197 port=8080 protocol=HTTP/1.1 connectionTimeout=2

Re: tomcat admin console problem

2009-02-10 Thread Srinivas Jonnalagadda
Mark, Thanks very much. Once i commented the filter it worked. Here is what i have on my address filter. though it was ridiculous that the same setting worked well on a windows machine this did not work on solaris machine. Context

RE: Still trying to get Tomcat 6 to work

2009-02-10 Thread Caldarale, Charles R
From: michel [mailto:compu...@videotron.ca] Subject: Re: Still trying to get Tomcat 6 to work Problem solved! Security hole opened! (Not really, but you tried.) Connector address=91.203.57.197 port=8080 That didn't solve the problem, it merely masked it. By specifying a particular IP

Re: Still trying to get Tomcat 6 to work

2009-02-10 Thread michel
Chuck, I got this info from my hosting tech guy Ah, looking in the qsys account, I can see what you're doing. You're trying to bind to port 8080 for the entire server, on top of everyone else's web servers! It's a good job the existing httpds prevented you from doing this! - Original

RE: How to set Tomcat JVM variables in registry for Tomcat 6.0.18?

2009-02-10 Thread n1ght0w1
Thanks so much for your help that resolved the issue right away :). -- View this message in context: http://www.nabble.com/How-to-set-Tomcat-JVM-variables-in-registry-for-Tomcat-6.0.18--tp21921845p21936292.html Sent from the Tomcat - User mailing list archive at Nabble.com.

tomcat admin console set values

2009-02-10 Thread Srinivas Jonnalagadda
Hi, When i set the DataSource values thru the Tomcat Administration web application. Where are these values physically stored? the file name. I set these values and tried to figure out if they are stored in server.xml orcontext.xml and i dont see them. any documentation regarding this? Your

RE: Still trying to get Tomcat 6 to work

2009-02-10 Thread Caldarale, Charles R
From: michel [mailto:compu...@videotron.ca] Subject: Re: Still trying to get Tomcat 6 to work Ah, looking in the qsys account, I can see what you're doing. You're trying to bind to port 8080 for the entire server, on top of everyone else's web servers! So your Tomcat is sharing a

RE: tomcat admin console set values

2009-02-10 Thread Caldarale, Charles R
From: Srinivas Jonnalagadda [mailto:sarinivas7...@earthlink.net] Subject: tomcat admin console set values When i set the DataSource values thru the Tomcat Administration web application. Where are these values physically stored? First off, tell us your Tomcat level - we're not psychics.

Re: Slightly OT: ApacheCon Europe 2009

2009-02-10 Thread Rainer Jung
On 30.01.2009 15:15, Gregor Schneider wrote: I'm just wondering if anyone of this list will be joining the ApacheCon in Amsterdam this year? If so, maybe we could set up kid of a userlist-meeting and see the faces behind those posts? I'll be there Sunday to Friday. I'll be also at the

Re: tomcat admin console problem

2009-02-10 Thread Mark Thomas
Srinivas Jonnalagadda wrote: Mark, Thanks very much. Once i commented the filter it worked. Here is what i have on my address filter. though it was ridiculous that the same setting worked well on a windows machine this did not work on solaris machine. Context

How to exclude some classes to being serialized in sharing session with clustered tomcats?

2009-02-10 Thread Stanimir Komitov
Hi, How to exclude some classes to being serialized in sharing session with clustered tomcats? I`m using hibernate, spring, java mail, apache commons dbcp, pool ... and to serialize/deserialize sessions all the classes must implement Serializable (or Externalizable), and I think that it`s not a

RE: Slightly OT: ApacheCon Europe 2009

2009-02-10 Thread Antonio Vidal Ferrer
I'll be there from Mon to Fri. Hope to see ya! Best Toni. -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: martes, 10 de febrero de 2009 17:21 To: Tomcat Users List Subject: Re: Slightly OT: ApacheCon Europe 2009 On 30.01.2009 15:15, Gregor Schneider wrote:

Re: Problem with mod_jk and Tomcat Native Connectors on Solaris

2009-02-10 Thread Scott Severtson
Another similar but not identical case: Solaris 10 on x86 (occurs on both 32/64 bit hardware) Tomcat 6.0.18 Tomcat Native 1.1.16 APR 1.3.3 Apache 2.2.11 Using mod_proxy_ajp and AjpAprProtocol All tools compiled with GCC 3.4.3 (default shipped with Solaris 10). mod_proxy_ajp times out waiting

Re: Still trying to get Tomcat 6 to work

2009-02-10 Thread Mark Thomas
Caldarale, Charles R wrote: From: michel [mailto:compu...@videotron.ca] Subject: Re: Still trying to get Tomcat 6 to work Ah, looking in the qsys account, I can see what you're doing. You're trying to bind to port 8080 for the entire server, on top of everyone else's web servers! So your

Re: How to exclude some classes to being serialized in sharing session with clustered tomcats?

2009-02-10 Thread Mark Thomas
Stanimir Komitov wrote: Hi, How to exclude some classes to being serialized in sharing session with clustered tomcats? I`m using hibernate, spring, java mail, apache commons dbcp, pool ... and to serialize/deserialize sessions all the classes must implement Serializable (or

Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-10 Thread lynckmeister
Dear Forum , i have the problem that if my session timeouts i 've been redirected to the loginpage ( from the secured area). If i relogin in i get some null-pointer exceptions in my application ( first the orchestra framework has a problem ) i investigated , and it seems to be the problem ,

Tomcat 4.1 security container

2009-02-10 Thread Propes, Barry L
Hello, TC developers and users, I have an interesting issue with my setup to my Oracle connection. I've been using DBCP for some time in my configuration. Recently, our Oracle DBAs reassigned the IP address of the server. Where I show oraservername in my param attribute, I previously ran the IP

Re: Getting OpenBlueDragon and Tomcat to traverse directories

2009-02-10 Thread Jordan Michaels
An updated installer can be found on the official OpenBD Installer download site: http://openbd.viviotech.net/ In the installer directory. All future releases will be located there or directly from the http://www.openbluedragon.org/ web site. A Windows Installer (which also will use

Re: How to exclude some classes to being serialized in sharing session with clustered tomcats?

2009-02-10 Thread Kees Jan Koster
Dear Stanimir, How to exclude some classes to being serialized in sharing session with clustered tomcats? I`m using hibernate, spring, java mail, apache commons dbcp, pool ... and to serialize/deserialize sessions all the classes must implement Serializable (or Externalizable), and I think

Re: AJP vs HTTP connectors?

2009-02-10 Thread Bill Davidson
Eric B. wrote: I was listening to a webinar on spring source by Filip Hanik Mark Thomas regarding tuning Tomcat for production in which they indicate that the Http connector is recommended vs an AJP connector (http://www.springsource.com/node/555). I downloaded this webinar and

Re: Tomcats Sessions not getting released

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sudip, On 2/10/2009 2:36 AM, sudip pattanayak wrote: We have an implementation where by we call the value unbound to release sessions for any users. Could you explain this in more detail? For any user which does not logoff from the previous

Re: Fw: Still trying to get Tomcat 6 to work

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michel, On 2/10/2009 7:45 AM, michel wrote: Much thanks to all and I got it working, but only on port 8090 so the URL has to include :8090. I am wondering if there isn't a start-up bug, because when I try some commands with all the servers stopped

Re: certificate problem in firefox 3.05

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marko, On 2/10/2009 9:53 AM, Marko Sacher wrote: I have a problem with a certificate from a CA. The certificate of the CA is included by default in FF3. If I call my page I get error: sec_error_bad_signature: invalid signature. In other

RE: Fw: Still trying to get Tomcat 6 to work

2009-02-10 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Fw: Still trying to get Tomcat 6 to work Sorry, I can't see the original messages (too old so they went out of my inbox). Can you (re-)post your Connector configurations from server.xml? The thread is in the

Re: How to exclude some classes to being serialized in sharing session with clustered tomcats?

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stanimir, On 2/10/2009 11:25 AM, Stanimir Komitov wrote: How to exclude some classes to being serialized in sharing session with clustered tomcats? Do you mean avoiding serializing some /objects/ in shared sessions? I can see your problem. You

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lynckmeister, On 2/10/2009 12:34 PM, lynckmeister wrote: i have the problem that if my session timeouts i 've been redirected to the loginpage ( from the secured area). If i relogin in i get some null-pointer exceptions in my application ( first

Re: Tomcat 4.1 security container

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On 2/10/2009 12:49 PM, Propes, Barry L wrote: I did check the catalina output log and it shows this: == 2009-02-10 10:22:34 JDBCRealm[Standalone]: Exception performing authentication

Re: SSL/HTTPS forwarding under Apache + mod_jk + tomcat

2009-02-10 Thread Bill Davidson
Bill Davidson wrote: André Warnier wrote: By the way, the reason why I can't try it right now is that I just don't have the application to try it with. So whatever I mentioned before (but which apprently so far seems ok) was purely by attempting to understand the documentation. Beware. I

RE: Tomcat 4.1 security container

2009-02-10 Thread Propes, Barry L
Thanks, Chris -- I'll double check that! Been a while since I edited the server.xml doc at all - haven't added much to the app lately. Thanks! -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, February 10, 2009 2:33 PM To: Tomcat Users

Clustering: Session replication

2009-02-10 Thread Jorge Medina
Hi, I am trying to configure session replication using the Cluster object. The documentation says: The IP broadcasted is java.net.InetAddress.getLocalHost().getHostAddress() (make sure you don't broadcast 127.0.0.1, this is a common error) I just wrote a small

Re: Apache/mod_jk serves random files from tomcat

2009-02-10 Thread Yuval Perlov
We started restarting apache on a regular basis but if a user is in mid request (consider a user that just filled a big form and is upload a file). I moved all static content to apache so tomcat is now only delivering the actual jsp file. The result was that the mix up took longer to

FW: Clustering: Session replication

2009-02-10 Thread Jorge Medina
According to the Javadoc, InetAddress.getLocalHost() returns the loopback address. So...how do I control the broadcasting address ? -Original Message- From: Jorge Medina Sent: Tuesday, February 10, 2009 3:38 PM To: 'users@tomcat.apache.org' Subject: Clustering: Session replication

RE: Tomcat 4.1 security container

2009-02-10 Thread Propes, Barry L
YOU DA MAN, Chris!! THAT WAS IT! -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, February 10, 2009 2:33 PM To: Tomcat Users List Subject: Re: Tomcat 4.1 security container -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, On

RE: Clustering: Session replication

2009-02-10 Thread Caldarale, Charles R
From: Jorge Medina [mailto:jmed...@e-dialog.com] Subject: FW: Clustering: Session replication According to the Javadoc, InetAddress.getLocalHost() returns the loopback address. No, it doesn't; the sentence in question reads: If the operation is not allowed, an InetAddress representing the

Re: Fw: Still trying to get Tomcat 6 to work

2009-02-10 Thread michel
Hi Chris, Connector address=91.203.57.197 port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / Server address=91.203.57.197 port=8005 shutdown=SHUTDOWN - Original Message - From: Christopher Schultz ch...@christopherschultz.net Sorry, I can't see the original

RE: Clustering: Session replication

2009-02-10 Thread Jorge Medina
I am using a virtual environment. My machine did not have an entry for its IP address in /etc/hosts I added the IP address with the name returned by the shell command `hostname` I think this probably would be resolved via DNS in a regular envionment...but for now I am set. Thanks -Jorge

Re: Apache/mod_jk serves random files from tomcat

2009-02-10 Thread André Warnier
Yuval Perlov wrote: [...] 2) getting rid of apache and moving tomcat to the front (much harder to configure but ensures we are rid of this problem). This being the Tomcat forum, and as these things go, I am sure you are going to get some ringing endorsements for that. But I am less sure

Trouble with cluster and JMX

2009-02-10 Thread Eric B.
Hi, I'm brand new to clustering and read through the docs at http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html to get a better understanding of how it works. I tried the settings I would have expected to work, and on startup, I can see both tomcat's communicate and join the cluster (via

tomcat admin console problems

2009-02-10 Thread Srinivas Jonnalagadda
Hi, When i set the DataSource values thru the Tomcat Administration web application. Where are these values physically stored? the file name. I set these values and tried to figure out if they are stored in server.xml orcontext.xml and i dont see them. any documentation regarding this? Your

RE: tomcat admin console problems

2009-02-10 Thread Caldarale, Charles R
From: Srinivas Jonnalagadda [mailto:sarinivas7...@earthlink.net] Subject: tomcat admin console problems When i set the DataSource values thru the Tomcat Administration web application. Where are these values physically stored? the file name. We already answered this question:

Re: RealmBase's 'Container' requirement (revisited)

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Just a bump since I didn't get any responses other than a question from Chuck. Mark? Filip? Bill? Tim? I'd even go for a flame from Remy. ;) Thanks, - -chris On 2/5/2009 4:49 PM, Christopher Schultz wrote: All, Back in July, I asked about

Re: Fw: Still trying to get Tomcat 6 to work

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michel, On 2/10/2009 4:53 PM, michel wrote: Connector address=91.203.57.197 port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / That looks fine to me. Does Tomcat startup cleanly? With an empty log directory and Tomcat stopped,

Re: sneding Ajax call to jsp page

2009-02-10 Thread Keshav Prasad
You may want to google for some ajax+jsp tutorials, because this list is primarily for tomcat specific questions. On Wed, Feb 4, 2009 at 3:17 PM, Sneha Manohar sneha_hams...@yahoo.co.inwrote: Hi all , I am new to AJAX , I sending ajax request to jsp page , var url =

Re: Fw: Still trying to get Tomcat 6 to work

2009-02-10 Thread michel
Hi Chris, I get some messages in the catalina.out log but they don't seem to indicate any problem. I probably could fine-tune a few things but I am just happy to get it working. Feb 11, 2009 2:19:03 AM org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING:

Re: Apache/mod_jk serves random files from tomcat

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuval, On 2/10/2009 3:44 PM, Yuval Perlov wrote: We started restarting apache on a regular basis but if a user is in mid request (consider a user that just filled a big form and is upload a file). So it appears that Apache is, over time, losing

Re: Session replication problem

2009-02-10 Thread Filip Hanik - Dev Lists
...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3840 (20090210) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: Clustering: Session replication

2009-02-10 Thread Filip Hanik - Dev Lists
For each Tomcat set Receiver address=your-ip-goes-here ... / http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-receiver.html that way you broad cast your-ip-goes-here instead. alternatively, setup your hostname properly, and make sure the hostname resolves to the IP address, and not

Re: Trouble with cluster and JMX

2009-02-10 Thread Filip Hanik - Dev Lists
log looks good, the warning could be that you are using an old configuration option take a look at http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html also, what could mean that it doesn't work, would be that multicast is not working for you, and you need to enable multicast. you can

Re: Fw: Still trying to get Tomcat 6 to work

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michel, On 2/10/2009 9:30 PM, michel wrote: I get some messages in the catalina.out log but they don't seem to indicate any problem. I probably could fine-tune a few things but I am just happy to get it working. Feb 11, 2009 2:19:03 AM

Re: Tomcats Sessions not getting released

2009-02-10 Thread sudip pattanayak
Hi Chirstopher,   Thanks for responding.   Actually our design structure is such that we allow just one session for any user.   So when if a user is logged in any other system or he has not logged off the previous instance, and then again he tries to login then we tell the user that your

Re: Apache/mod_jk serves random files from tomcat

2009-02-10 Thread Yuval Perlov
Thanks! The problem as far as I can tell is a simple mixup of http requests so user identities don't play into this. It might look like it since user A is getting the results of user B but as far as session management goes it is unaffected by this. The URLs are very short. This happens