AW: Install WAR via docBase within servlet.xml

2007-02-06 Thread Detlev Beutner
Hi there, It worked :-) /conf/server.xml: ... ... And within /conf/Catalina/myName.server.com/ROOT.xml Thanks again & best regards Detlev >>> I have a WAR which normally should be deployed via myName.xml into >>> /tomcat/conf/Catalina/localhost, with docBase="AbsoluteP

RE: Load Balancing Configuration

2007-02-06 Thread Narayanaswamy, Mohan
All the hardware load balancers are nowadays supporting SSL support. It uses hashing to support sticky session. Check Alteon Load Balancer Home Page. Regards, Mohan -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 3:19 AM To: Tomcat

SocketException: Invalid argument in catalina.out

2007-02-06 Thread Sreemani Tirumale
Hi, We have a Severe error in our catalina.out which reads - Jan 30, 2007 10:15:40 AM org.apache.tomcat.util.net.TcpWorkerThread runIt SEVERE: Remote Host /xx.xx.xx.xxx SocketException: Invalid argument We are running Tomcat version 5.0.28 on HP-UX. Does anyone know what causes this error and

Re: Large number of active sessions

2007-02-06 Thread John Hayward
I have the same problem. Java 1.5_08, Tomcat 5.5.20. Issue also happened with JDK 1.4.2 and Tomcat 5.5.12 Our session timeout is set to 20 minutes and most of the time it works fine. At any given moment we have around 2000 active sessions, and we get around 10 that won't timeout every hour. W

Re: Session Affinity and Session Replication

2007-02-06 Thread Rob Bugh
Fantastic! Thanks for the clarification. On Tue, 06 Feb 2007 20:17:17 -0600, Tim Lucia <[EMAIL PROTECTED]> wrote: >> -Original Message- >> From: Rob Bugh [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, February 06, 2007 3:22 PM >> To: Tomcat Users List >> Subject: Re: Session Affinity and Se

RE: Session Affinity and Session Replication

2007-02-06 Thread Tim Lucia
> -Original Message- > From: Rob Bugh [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 06, 2007 3:22 PM > To: Tomcat Users List > Subject: Re: Session Affinity and Session Replication > > > Thanks, for the information. My confusion in part stems from this comment > in the The Apache To

Re: SSL encryption serverice

2007-02-06 Thread Hassan Schroeder
On 2/6/07, �墙鹉� <[EMAIL PROTECTED]> wrote: I want to confirm one thing that Tomcat only can provide SSL encryption serverice with sign-self certificate ? Nope, utterly not true. Because i have tried SSL with certificate signed by our own CA, Tomcat would not work and occured SSL handshake Ex

SSL encryption serverice

2007-02-06 Thread 吳金能
Dear all I want to confirm one thing that Tomcat only can provide SSL encryption serverice with sign-self certificate ? Because i have tried SSL with certificate signed by our own CA, Tomcat would not work and occured SSL handshake Exception. Best Regards, Leslie smime.p7s Description: S/

Re: Tomcat 4.1.35 coming soon

2007-02-06 Thread Mark Thomas
Christopher Schultz wrote: > Mark, > > Is there a changelog available for the 4.1 line? I can't seem to find it > on the website, using the search, or even googling for "tomcat 4.1 > changelog". All of the more recent lines (5.0, 5.5, etc.) seem to have > easily-findable changelogs. It is in the

Tomcat policy file, advice and clarification please

2007-02-06 Thread Hugues Ferland
Hi, I have a Tomcat 5.5 installation on Debian Linux with Java 1.6. I have a web application that create its own connection to an Oracle database. The ojdbc14.jar is included in the WEB-INF/lib directory of the web application. Now with the default configuration with security enabled, a Securit

Re: [OT] Need help finding a Java class

2007-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve Ingraham wrote: > I have to say that your recommended query was the advice that helped > more than anything else. I ultimately have been trying to figure out > how the NO ASSIGNMENT data was returning in hopes of figuring out how to > qu

Re: webapp, ServletContextListener and log files

2007-02-06 Thread Hugues Ferland
I apologize for this previous mail, I realized this was just plain wrong. It was stdout and stderr that was written to catalina_.log (though I don't know where that log file is configured - there is also a catalina.out which remains empty). This lead me ask: What really do? As I understoo

Re: Load Balancing Configuration

2007-02-06 Thread Hassan Schroeder
On 2/6/07, Rob Bugh <[EMAIL PROTECTED]> wrote: If all of the incoming connections are over SSL can a harware load balancer handle this? Dunno -- my experience was a while back with Cisco Local Directors, and SSL was never a requirement. Hopefully someone else can chime in with relevant experi

Re: Load Balancing Configuration

2007-02-06 Thread Rob Bugh
Free is good. I like it. OK, let me ask a naive question about load balancer hardware. If all of the incoming connections are over SSL can a harware load balancer handle this? More specifically, can it handle session affinity in this case. That is, can it decrypt the connection then examine the

Re: Large number of active sessions

2007-02-06 Thread Rashmi Rubdi
Google Analytics is Javascript based, it won't show bot activity. Some bots also use sessions. - Original Message From: Christer Nordvik <[EMAIL PROTECTED]> To: Tomcat Users List ; [EMAIL PROTECTED] Sent: Tuesday, February 6, 2007 3:46:12 PM Subject: Re: Large number of active sessions

RE: [OT] Need help finding a Java class

2007-02-06 Thread Nelson, Tracy M.
| From: Steve Ingraham [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 06 February, 2007 15:18 | | To answer your question about my Java experience, I | do not know much at all. I have started a Java for beginners class this | January that I am taking online and I am attempting to work through the | O'

Re: Load Balancing Configuration

2007-02-06 Thread Hassan Schroeder
On 2/6/07, Rob Bugh <[EMAIL PROTECTED]> wrote: I currently have the following load balancing configuration: Apache with mod_jk and 2 Tomcat servers and Apache acts as the load balancer for the two Tomcat servers. I'm concerned about the single point of failure with Apache, however. Is there a

RE: [OT] Need help finding a Java class

2007-02-06 Thread Steve Ingraham
> Steve, > > This might be off-topic, but there's really not a good forum > for "general webapp what-the-heck-is-going-on discussion". > But hey, we're nice folks ;) > > Steve Ingraham wrote: > > If no person is assigned to the case the phrase "NO > ASSIGNMENT" shows > > up on the front page

[SOLVED] Re: context placement

2007-02-06 Thread Alan Chandler
On Tuesday 06 February 2007 20:46, Alan Chandler wrote: > On Tuesday 06 February 2007 20:34, Pid wrote: > > Alan Chandler wrote: > > > On Tuesday 06 February 2007 20:03, Alan Chandler wrote: > > >> I am getting symptoms (I think) of my JDNI resource having not > > >> been set up properly ... > > f

Socket time out exception in tomcat 5

2007-02-06 Thread tutim
When using tomcat 5 I'm getting a 'SocketTimeout Exception - read timed out' after 3 minutes. I set the client to time out after an hour using the follwing method: ((org.apache.axis.client.Call) _call).setTimeout(360); I also disabled the timeout in the server.xml. Under the SSL and non-SSL co

Re: context placement

2007-02-06 Thread Alan Chandler
On Tuesday 06 February 2007 20:34, Pid wrote: > Alan Chandler wrote: > > On Tuesday 06 February 2007 20:03, Alan Chandler wrote: > >> I am getting symptoms (I think) of my JDNI resource having not > >> been set up properly > Context first: Yeh just took that out as per suggestion further up threa

Re: Large number of active sessions

2007-02-06 Thread Christer Nordvik
1. Sure. But I have only 100 users. 2. Users: Google Analytics. Sessions: Tomcat manager 3. 5.5.17 4. Yes Guess I have to go the long way of creating my own session listener then, Had hoped there was an easy solution for this. 13000 sessions must indicate that something is very very wrong? I've n

Re: context placement

2007-02-06 Thread Pid
Alan Chandler wrote: On Tuesday 06 February 2007 20:03, Alan Chandler wrote: I am getting symptoms (I think) of my JDNI resource having not been set up properly I forgot to say that I have this working under eclipse on a development system, but it seems (as part of the Web App plugin) to copy

Load Balancing Configuration

2007-02-06 Thread Rob Bugh
Hello All, I currently have the following load balancing configuration: Apache with mod_jk and 2 Tomcat servers and Apache acts as the load balancer for the two Tomcat servers. I'm concerned about the single point of failure with Apache, however. Is there an alternate configuration that, for i

Re: Session Affinity and Session Replication

2007-02-06 Thread Hassan Schroeder
On 2/6/07, Rob Bugh <[EMAIL PROTECTED]> wrote: My confusion in part stems from this comment in the The Apache Tomcat Connector - Reference Guide, http://tomcat.apache.org/connectors-doc/reference/workers.html Ah, OK -- perhaps that's JK-specific. As I said, I used mod_proxy_ajp which has no "wo

Re: Session Affinity and Session Replication

2007-02-06 Thread Rob Bugh
Thanks, for the information. My confusion in part stems from this comment in the The Apache Tomcat Connector - Reference Guide, http://tomcat.apache.org/connectors-doc/reference/workers.html In the comments for sticky_session: "... Set sticky_session to False when Tomcat is using a Session Man

Re: context placement

2007-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan, Alan Chandler wrote: > In particular, I have NO contexts in my $CATALINA_HOME/conf/server.xml, > since I want to bring these in in my webapps .war file. Good. > So in the .war file for my app I have a META-INF/context.xml file with > the fol

Re: context placement

2007-02-06 Thread Alan Chandler
On Tuesday 06 February 2007 20:03, Alan Chandler wrote: > > I am getting symptoms (I think) of my JDNI resource having not been > set up properly I forgot to say that I have this working under eclipse on a development system, but it seems (as part of the Web App plugin) to copy the contents of c

Re: [OT] Need help finding a Java class

2007-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, This might be off-topic, but there's really not a good forum for "general webapp what-the-heck-is-going-on discussion". But hey, we're nice folks ;) Steve Ingraham wrote: > If no person is assigned to the case the phrase "NO ASSIGNMENT" shows

context placement

2007-02-06 Thread Alan Chandler
I am trying to use tomcat 5.5 for the first time - having just moved from tomcat5. I am getting symptoms (I think) of my JDNI resource having not been set up properly In particular, I have NO contexts in my $CATALINA_HOME/conf/server.xml, since I want to bring these in in my webapps .war file.

Re: Session Affinity and Session Replication

2007-02-06 Thread Hassan Schroeder
On 2/6/07, Rob Bugh <[EMAIL PROTECTED]> wrote: All the documentation I've read to date indicates not to use sticky sessions and session replication together. Can you cite where you saw that? I've set up a similar config (using mod_proxy_ajp) with both sticky sessions and session replication a

Re: Session Affinity and Session Replication

2007-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, Rob Bugh wrote: > So my question is, if I enable session affinity but not session > replication, how can I failover a connection without losing the > session data? You can't, unless you are using some other mechanism to share that data. Many

Re: File permission problem not understood

2007-02-06 Thread Alan Chandler
On Tuesday 06 February 2007 09:57, Pid wrote: > Do you have a SecurityManager running? > > Alan Chandler wrote: > > I have just upgraded my Debian Etch system from tomcat5 to > > tomcat5.5 Yes - that was the issue - I had turned it off on tomcat5 Thanks -- Alan Chandler http://www.chandlerfamily

Session Affinity and Session Replication

2007-02-06 Thread Rob Bugh
Hello All, I'm trying to get a better understanding when to use Session Affinity and Session Replication and have a question. Let me set my question up by describing my configuration. It consists of an Apache server with mod_jk and two Tomcat servers, where the Apache server is configured to lo

Re: Large number of active sessions

2007-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Wall wrote: > It seems that Tomcat 5.5.17 (and earlier) has had some sort of problem > in timing out sessions. I think it's still in 5.5.20, if this is the one you're talking about: http://issues.apache.org/bugzilla/show_bug.cgi?id=37356

Re: Large number of active sessions

2007-02-06 Thread Pid
David Wall wrote: It seems that Tomcat 5.5.17 (and earlier) has had some sort of problem in timing out sessions. I'm not sure if it would clean itself up if the person really came back and did another HTTP transaction or not, but I've noted that Tomcat Manager will show sessions that are have

Re: Large number of active sessions

2007-02-06 Thread Rashmi Rubdi
You can also activate server logs to log both visitor and bot activity by configuring AccessLogValve : http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html . Some bots take up a lot of sessions, you can verfiy this by running a program like Xenu Link Sleuth on your site. Then, you will b

Re: Large number of active sessions

2007-02-06 Thread David Wall
It seems that Tomcat 5.5.17 (and earlier) has had some sort of problem in timing out sessions. I'm not sure if it would clean itself up if the person really came back and did another HTTP transaction or not, but I've noted that Tomcat Manager will show sessions that are have been idle much lon

Re: Large number of active sessions

2007-02-06 Thread Pid
1) Lower your session timeout. 2) How are you measuring/calculating statistics? 3) Which version of Tomcat? 4) Are you url encoding all of your links? Christer Nordvik wrote: Hi! I've got a website with pretty low traffic (200 visitors a day). Lately it's been very slow and when I look in Tom

Large number of active sessions

2007-02-06 Thread Christer Nordvik
Hi! I've got a website with pretty low traffic (200 visitors a day). Lately it's been very slow and when I look in Tomcat's manager it says that it has a lot of sessions. Once I had 13000(!) active sessions. The session timeout is set to 30 minutes. How can this happen? Isn't this something that

Re: Still have log4j and CLASSPATH problems on linux

2007-02-06 Thread Boris Unckel
Hi Oren, Oren Livne wrote: Dear Gaurav and everyone, Thanks so much for your help. The explanations were good and helped me better understand how the tomcat classloader works. However, I still have a problem running my web application. In short, the exception is "java.lang.NoClassDefFoundEr

Re: Questions about Tomcat installation on Solaris Platform

2007-02-06 Thread Hassan Schroeder
On 2/6/07, Chittajalu, Ravi S. <[EMAIL PROTECTED]> wrote: product provided an app that can check the connections If you're sure the connection data is good, then it's configuration -- you'll need to provide the relevant parts of your config files. Assuming you've already read these, of course

RE: Questions about Tomcat installation on Solaris Platform

2007-02-06 Thread Chittajalu, Ravi S.
Thanks for the response Hassan.. I was installing PagaSystems (BPM tool) on tomcat and the product provided an app that can check the connections and verify Tomcat environment. Its not able to find datasource. The tool verified all other environment variable correctly. I tried using thin,

Re: Questions about Tomcat installation on Solaris Platform

2007-02-06 Thread Hassan Schroeder
On 2/6/07, Chittajalu, Ravi S. <[EMAIL PROTECTED]> wrote: 2. I configured a Database resource name with JNDI name "jdbc/oracle10g", but I do not have a way to test ? Create a JSP with code to open a (non-pooled) connection directly to confirm your connection parameters. Then yo

Questions about Tomcat installation on Solaris Platform

2007-02-06 Thread Chittajalu, Ravi S.
Hello Users Group, Request your help on following questions 1. This one is more a clarification question. I used a Unix account 'devuser', which is not associated to any Unix group. I installed Tomcat using this user

Re: Still have log4j and CLASSPATH problems on linux

2007-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oren, Oren Livne wrote: > - $tomcat_home/lib contains: (I copied the Struts and Hibernate libs > over here) Why did you do this? Unless you have a /really/ good reason, all of the libs required for your webapp should be in $YOUR_APP/WEB-INF/lib. Get

Re: Tomcat 4.1.35 coming soon

2007-02-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Is there a changelog available for the 4.1 line? I can't seem to find it on the website, using the search, or even googling for "tomcat 4.1 changelog". All of the more recent lines (5.0, 5.5, etc.) seem to have easily-findable changelogs. Thank

Re: Install WAR via docBase within servlet.xml

2007-02-06 Thread Pid
Detlev Beutner wrote: Hi Pid, I have a WAR which normally should be deployed via myName.xml into /tomcat/conf/Catalina/localhost, with docBase="AbsolutePathToWar". Within that xml snippet, is used. So I can call "www.server.com/myName" and it works. Now I want to call "myName.server.com" in

Re: File permission problem not understood

2007-02-06 Thread David Smith
java.security.AccessControlException: access denied (java.io.FilePermission /var/lib/tomcat5.5/webapps/blog/WEB-INF/classes/META-INF/hivemodule.xml read) This line (above) would indicate you have the security manager running. To fix this, you'll need to adjust conf/catalina.policy to allow re

Re: Install WAR via docBase within servlet.xml

2007-02-06 Thread Detlev Beutner
Hi Pid, > > I have a WAR which normally should be deployed via myName.xml into > > /tomcat/conf/Catalina/localhost, with docBase="AbsolutePathToWar". > > > > Within that xml snippet, > docBase="/webs/web123/tomcat/application.war" debug="0"> is used. > > > > So I can call "www.server.com/myName

Re: File permission problem not understood

2007-02-06 Thread Pid
Do you have a SecurityManager running? Alan Chandler wrote: I have just upgraded my Debian Etch system from tomcat5 to tomcat5.5 Now when I start my applications I am getting the following javax.servlet.ServletException: Unable to initialize application servlet: access denied (java.io.FileP

Re: Applets in JSP - writing to a file server

2007-02-06 Thread Pid
Teh Noranis Mohd Aris wrote: Dear all, I put my applet in standard action tag. I want my applet to save data that the user input in a defined text area. The user also input the file name in a defined text field. When the user clicks the Save button, I want the file name and its contents to

Re: Install WAR via docBase within servlet.xml

2007-02-06 Thread Pid
Detlev Beutner wrote: Hi there, I have a WAR which normally should be deployed via myName.xml into /tomcat/conf/Catalina/localhost, with docBase="AbsolutePathToWar". Within that xml snippet, is used. So I can call "www.server.com/myName" and it works. Now I want to call "myName.server.com" i