set tomcat max session allow

2009-01-03 Thread cw
may i know is there any guidelines/info on how to set maximum limit of sessions allow for each webapp and redirect user to a static html page is exceeded . I already did my google and people mentioned need to do it directly on java codes rather than tomcat configuration,but they didn't mentioned

Re: Classpath problem

2009-01-03 Thread Konstantin Kolinko
2009/1/4 : > Hello. I am using Tomcat 6.0.18, my Java version is 1.6.0_11 and I have a > servlet called TestingServlet.java. My classpath reads like this: > > .;C:\Sun\SDK\bin; C:\Sun\SDK\jdk\bin; C:\Tomcat\lib\servlet-api.jar > > I cannot compile in DOS without typing: > > javac -classpath C:

Classpath problem

2009-01-03 Thread FHSerkland
Hello. I am using Tomcat 6.0.18, my Java version is 1.6.0_11 and I have a servlet called TestingServlet.java. My classpath reads like this: .;C:\Sun\SDK\bin; C:\Sun\SDK\jdk\bin; C:\Tomcat\lib\servlet-api.jar I cannot compile in DOS without typing: javac -classpath C:\Tomcat\lib\servlet-a

Change JSP Environment.

2009-01-03 Thread Stefan Englhart
Hello, I want to change the default user file-dir. for instance: /users/user1/ System: java 1.5.0_14, tomcat 6.0.18, os debian. Configuration: system.xml: I've test it with a command (new File(".") ) in a JSP and the re

RE: Redeploy leaks

2009-01-03 Thread Cosio, Raul
Memory leak is an advanced task. But once understood is very easy to fix them, just follow some simple rules, most common situations are: 1) Not de-registering jdbc driver, 2) shutdown log4j after use. To de-register jdbc driver just put this code in the contextDestroyed() method inside a ServletC

Re: Jar wars - Conflicting classes

2009-01-03 Thread Konstantin Kolinko
2009/1/3 David.Meldrum : > Windows XP SP 3 Tomcat 6.0.1 JVM 1.6.0 > > Must all conflicting classes be sorted out on one instance of Tomcat? > I have learned not to put application jars (classes) in the jre lib, since > they then become common to all applications and if there is a duplicate, but >

Jar wars - Conflicting classes

2009-01-03 Thread David.Meldrum
Windows XP SP 3 Tomcat 6.0.1 JVM 1.6.0 Must all conflicting classes be sorted out on one instance of Tomcat? I have learned not to put application jars (classes) in the jre lib, since they then become common to all applications and if there is a duplicate, but not exact duplicate, then things

Re: HELP NEEDED: Https, Tomcat, Apache - Total Noob to all this

2009-01-03 Thread Filip Hanik - Dev Lists
just add the same proxy statements to your SSL virtual host Filip scurenton wrote: First off, I am sure this is probably posted somewhere but not sure what to search on. I am new to the Tomcat world so bare with me. I have a reverse proxy setup in our DMZ running Tomcat 5 and Apache 2 and an

Re: “java.lang.NullPointerException” with JDBC connection from InitialContext

2009-01-03 Thread Robert Blackburn
> Just some suggestions that come to mind: > > Have you considered googling for "StringUtils indexOfIgnoreCaseRespectQuotes"? > E.g. it may be Connector/J bug #25047 fixed in v. 5.0.5 > Check, what version of MySQL Connector/J you are using. > OK, problem solved. For the record I did search on tha

Re: "java.lang.NullPointerException" with JDBC connection from InitialContext

2009-01-03 Thread Robert Blackburn
Hi Chuck, Thanks for responding – here are the answer to your questions... >> > connectionName="username" connectionPassword="password" >> connectionURL="jdbc:mysql://localhost:3306/db_name? >> autoReconnect=true&useUnicode=true&characterEncoding=UTF8" >> driverName="com.mysql.jdbc.Driver" r