RE: Tomcat 5 Repository

2014-01-28 Thread Caldarale, Charles R
> From: Pavneet singh Kochhar [mailto:kochha...@gmail.com] > Subject: Fwd: Tomcat 5 Repository > I searched the source code of Tomcat5 (git or svn repository) but could not > find it in the archives. At least you've got the right mailing list this time. No idea where you were looking, but the

Fwd: Tomcat 5 Repository

2014-01-28 Thread Pavneet singh Kochhar
Hello, I searched the source code of Tomcat5 (git or svn repository) but could not find it in the archives. Kindly let me know where I can get it. I need the git or svn repository since I require the commit messages as well. Thank you! Regards, Pavneet

Re: Clustering without Apache in the front

2014-01-28 Thread Howard W. Smith, Jr.
On Tue, Jan 28, 2014 at 8:59 PM, Neven Cvetkovic wrote: > On Tue, Jan 28, 2014 at 3:54 PM, Howard W. Smith, Jr. < > smithh032...@gmail.com> wrote: > > > > Thus I will probably never have to use clustering. > > > > Loving your responses on this topic, Chris. I do not want to hijack this > > thread,

Re: request.getAttribute("javax.servlet.request.X509Certificate") returns NULL for AJP connector (possible Bon Code issue?)

2014-01-28 Thread John Palmer
Chris: Thanks for the response. I think we can end this discussion - you have pretty much nailed it, I think. The great thing about having to pull together all the information I've gathered over that last month to make this post, is that it lets me see what I've been too close to see, in this case

Re: request.getAttribute("javax.servlet.request.X509Certificate") returns NULL for AJP connector (possible Bon Code issue?)

2014-01-28 Thread John Palmer
Konstantin: Thanks for the suggestion - I'll hang on to that link. I was ready to try running Tomcat with a debugger... the instructions I found were for using Eclipse (which I already had set up, but not with the TomCat source)... but I was reluctant to deal with another steep learning curve. Log

Re: Clustering without Apache in the front

2014-01-28 Thread Neven Cvetkovic
On Tue, Jan 28, 2014 at 3:54 PM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > > Thus I will probably never have to use clustering. > > Loving your responses on this topic, Chris. I do not want to hijack this > thread, but i find this topic interesting, and your responses make it more >

Re: using log4j in a webapp using embedded tomcat

2014-01-28 Thread John Cartwright - NOAA Federal
Thanks for your reply Chris. On Mon, Jan 27, 2014 at 12:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Are you running one and only one webapp in your Tomcat instance? If > not, then the system property will override it for all webapps, which > will probably cause confusion (

Re: Apache Tomcat Summit at ApacheCon NA 2014

2014-01-28 Thread Nick Williams
I didn't know for sure whether I was coming until now, so I couldn't reply earlier. I'll be at ApacheCon (speaking on Log4j) and I will DEFINITELY attend a Tomcat summit! I look forward to meeting you, Mark! Nick On Jan 28, 2014, at 6:47 PM, Mark Thomas wrote: > On 23/01/2014 13:29, Mark Thom

Re: Apache Tomcat Summit at ApacheCon NA 2014

2014-01-28 Thread Mark Thomas
On 23/01/2014 13:29, Mark Thomas wrote: > ApacheCon NA will be in Denver 7th to 11th April. > > The schedule for ApacheCon NA 2014 has been firmed up. There is an > opportunity for a project summit on either the Thursday or the Friday. > Since the BarCamp has been scheduled for the Thursday the Fr

Re: class from jar in tomcat/lib not found

2014-01-28 Thread Ja kub
Problem dissapeared when I added ha-jdbc-2.0.16 dependencies into tomcat/lib ! j@j-Dell-System-XPS-L702X:/szkolenie/tomcat/lib_hajdbc$ unzip -v ../hajdbc3.0_lib/ha-jdbc-3.0.0.jar | grep net.sf.hajdbc.sql.Driver 3429 Defl:N 1646 52% 2013-12-31 10:17 55394556 net/sf/hajdbc/sql/DriverDatab

Re: Clustering without Apache in the front

2014-01-28 Thread Raquib Hasan
Thanks Chris .. now I got a clear picture. First off I will try without cluster. If that does not work, I will go for clustering. Regards. On Tue, Jan 28, 2014 at 3:42 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Raquib,

RE: class from jar in tomcat/lib not found

2014-01-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: class from jar in tomcat/lib not found > > Caused by: java.lang.NoClassDefFoundError > Have you put both JAR files in lib/ at once? Or one in Tomcat's lib directory and another in the app's WEB-INF/lib. Having th

Re: [OT] Tomcat JDBC Error

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 1/28/14, 4:10 PM, Leo Medina wrote: > What type of script is this? Bash. It should work on any sh-compatible shell. > I'm on a linux box and keep getting and error: > > [javadev@corpjbdev01 apache-tomcat-6.0.26]$ for > /apps/tomcat/apach

Re: class from jar in tomcat/lib not found

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jakub, On 1/28/14, 4:52 PM, Ja kub wrote: > Hallo > > I try to define database resource in tomcat/conf/context.xml > > type="javax.sql.DataSource" username="root" password="xxx" > driverClassName="net.sf.hajdbc.sql.Driver" > url="jdbc:ha-jdbc:c

class from jar in tomcat/lib not found

2014-01-28 Thread Ja kub
Hallo I try to define database resource in tomcat/conf/context.xml when I put ha-jdbc-3.0.jar into lib directory class net.sf.hajdbc.sql.Driver is found, but when I put ha-jdbc-2.0.16.jar into lib directory I get Caused by: java.lang.NoClassDefFoundError: Could not initialize class n

Re: Tomcat JDBC Error

2014-01-28 Thread Leo Medina
Hi Chris, What type of script is this? I'm on a linux box and keep getting and error: [javadev@corpjbdev01 apache-tomcat-6.0.26]$ for /apps/tomcat/apache-tomcat-6.0.26/lib/*.jar \ ? /apps/tomcat/apache-tomcat-6.0.26/webapps/rbacx/WEB-INF/lib/*.jar \ ? ; do echo$jar ; unzip -v $jar |grep -i mysq

Re: Clustering without Apache in the front

2014-01-28 Thread Howard W. Smith, Jr.
On Tue, Jan 28, 2014 at 3:42 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Thus I will probably never have to use clustering. Loving your responses on this topic, Chris. I do not want to hijack this thread, but i find this topic interesting, and your responses make it more int

Re: Clustering without Apache in the front

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Raquib, On 1/28/14, 3:18 PM, Raquib Hasan wrote: > Do you mean, if just the sticky session is used, tomcat clustering > won't be needed? In some ways, yes, it is that simple. In other ways it is not. If you use sticky-sessions without clustering,

Re: Clustering without Apache in the front

2014-01-28 Thread Raquib Hasan
Chris, Do you mean, if just the sticky session is used, tomcat clustering won't be needed? Thanks, Raquib Hasan On Tue, Jan 28, 2014 at 12:37 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Raquib, > > On 1/28/14, 12:29 P

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Vye
On Tue, Jan 28, 2014 at 10:42 AM, Daniel Mikusa wrote: > On Jan 28, 2014, at 1:02 PM, Vye wrote: > >> On Tue, Jan 28, 2014 at 9:32 AM, Daniel Mikusa wrote: >>> On Jan 28, 2014, at 12:05 PM, Vye wrote: >>> Hi Tomcat users, >>> >>> Tomcat 6.0.20 is very old and has known security issues. Se

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Daniel Mikusa
On Jan 28, 2014, at 1:02 PM, Vye wrote: > On Tue, Jan 28, 2014 at 9:32 AM, Daniel Mikusa wrote: >> On Jan 28, 2014, at 12:05 PM, Vye wrote: >> >>> Hi Tomcat users, >> >> Tomcat 6.0.20 is very old and has known security issues. See the notices >> here. >> >> https://tomcat.apache.org/secur

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Vye
On Tue, Jan 28, 2014 at 10:17 AM, Konstantin Kolinko wrote: > 2014-01-28 Vye : >> On Tue, Jan 28, 2014 at 9:32 AM, Daniel Mikusa wrote: >>> On Jan 28, 2014, at 12:05 PM, Vye wrote: I have been unsuccessfully trying to remove the date from catalina's log file name. My ultimate goal

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Konstantin Kolinko
2014-01-28 Vye : > On Tue, Jan 28, 2014 at 9:32 AM, Daniel Mikusa wrote: >> On Jan 28, 2014, at 12:05 PM, Vye wrote: >>> >>> I have been unsuccessfully trying to remove the date from catalina's >>> log file name. My ultimate goal is to logrotate the file, which is >>> best done when the file name

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Vye
On Tue, Jan 28, 2014 at 9:30 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Vye, > > On 1/28/14, 12:05 PM, Vye wrote: >> I have been unsuccessfully trying to remove the date from >> catalina’s log file name. My ultimate goal is to logrotate the >> file, whic

Re: request.getAttribute("javax.servlet.request.X509Certificate") returns NULL for AJP connector (possible Bon Code issue?)

2014-01-28 Thread Konstantin Kolinko
2014-01-28 John Palmer : > We have two similar production environments which use: > request.getAttribute("javax.servlet.request.X509Certificate") > for several purposes. > > These use tomcat behind IIS using the Jakarta connector (aka reverse proxy) > and have been running since 2006 and 2011 resp

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Vye
On Tue, Jan 28, 2014 at 9:32 AM, Daniel Mikusa wrote: > On Jan 28, 2014, at 12:05 PM, Vye wrote: > >> Hi Tomcat users, > > Tomcat 6.0.20 is very old and has known security issues. See the notices > here. > > https://tomcat.apache.org/security-6.html > > You’ve been warned. You should upgrade

Re: request.getAttribute("javax.servlet.request.X509Certificate") returns NULL for AJP connector (possible Bon Code issue?)

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 1/28/14, 12:41 PM, John Palmer wrote: > We have two similar production environments which use: > request.getAttribute("javax.servlet.request.X509Certificate") for > several purposes. > > These use tomcat behind IIS using the Jakarta conne

request.getAttribute("javax.servlet.request.X509Certificate") returns NULL for AJP connector

2014-01-28 Thread John Palmer
We have two similar production environments which use: request.getAttribute("javax.servlet.request.X509Certificate") for several purposes. These use tomcat behind IIS using the Jakarta connector (aka reverse proxy) and have been running since 2006 and 2011 respectively without significant issues

Re: Clustering without Apache in the front

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Raquib, On 1/28/14, 12:29 PM, Raquib Hasan wrote: > I am not sure whether the sticky session is needed or not. The > session replication also may not be needed. My requirement is very > simple. If you don't need anything fancy, may I suggest that y

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Daniel Mikusa
On Jan 28, 2014, at 12:05 PM, Vye wrote: > Hi Tomcat users, Tomcat 6.0.20 is very old and has known security issues. See the notices here. https://tomcat.apache.org/security-6.html You’ve been warned. You should upgrade ASAP. > > I have been unsuccessfully trying to remove the date from

Re: Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vye, On 1/28/14, 12:05 PM, Vye wrote: > I have been unsuccessfully trying to remove the date from > catalina’s log file name. My ultimate goal is to logrotate the > file, which is best done when the file name is static. According to > the FileHandle

Re: [OT] Clustering without Apache in the front

2014-01-28 Thread Raquib Hasan
:) On Tue, Jan 28, 2014 at 11:28 AM, André Warnier wrote: > Christopher Schultz wrote: > ... > > I am thinking like, there would be a LB VIP that the client >>> requests would be communicating with. The sticky session would be >>> enabled in the LB and there is no need of apache web server in

Re: Clustering without Apache in the front

2014-01-28 Thread Raquib Hasan
Thanks Chris. I am not sure whether the sticky session is needed or not. The session replication also may not be needed. My requirement is very simple. There are 2 back end servers. I want both gets same user communication at the same time, so that, if one server fails the other can continue. I tho

Signing the Apache Tomcat windows binaries

2014-01-28 Thread Mark Thomas
All, I am currently evaluating a code-signing service for the ASF using Tomcat as a test case. It would help if folks who use Tomcat on Windows could provide use cases where they currently receive a warning so I can figure out what needs to be signed and test those use cases with signed versions.

Tomcat v6.0.20 - Cannot Remove Date From JULI Log File Names

2014-01-28 Thread Vye
Hi Tomcat users, I have been unsuccessfully trying to remove the date from catalina’s log file name. My ultimate goal is to logrotate the file, which is best done when the file name is static. According to the FileHandler javadoc ( http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/juli/FileH

Re: [OT] Clustering without Apache in the front

2014-01-28 Thread André Warnier
Christopher Schultz wrote: ... I am thinking like, there would be a LB VIP that the client requests would be communicating with. The sticky session would be enabled in the LB and there is no need of apache web server in between. Is this the right way of thinking? What do you mean VIP? A very

Re: Tomcat 7.0.50 tldValidation

2014-01-28 Thread Mark Thomas
On 28/01/2014 15:15, Christopher Schultz wrote: > There is no reason, however, that we couldn't merge the schemas > together into a single file Yes there is. Licensing. > I've gotten lost in the various resolver classes. Which one were > you looking at? There is only one EntityResolver / Entit

Re: Clustering without Apache in the front

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Raquib, On 1/28/14, 10:03 AM, Raquib Hasan wrote: > I am creating a tomcat cluster following helps I found online. My > question is, do I have to use the Apache(mod_jk) for session > replication? No. > Is it possible to use F5 load balancer dire

Re: Tomcat 7.0.50 tldValidation

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/24/14, 3:53 AM, Mark Thomas wrote: > On 23/01/2014 15:25, Christopher Schultz wrote: >> On 1/23/14, 10:17 AM, Mark Thomas wrote: >>> On 23/01/2014 15:11, Christopher Schultz wrote: > If that's true, then the Digester should be using

Clustering without Apache in the front

2014-01-28 Thread Raquib Hasan
Hello, I am creating a tomcat cluster following helps I found online. My question is, do I have to use the Apache(mod_jk) for session replication? Is it possible to use F5 load balancer directly bypassing the Apache? Primary purpose of the cluster is fail over. Load balancing is not needed. I thin

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Арсений Зинченко
Thanks for your replay, Neven. Eventually - I decided to heed advices and remove JAVA_OPTS at all. So - now using only CATALINA_OPTS in /bin/setenv.bat. 2014/1/28 Neven Cvetkovic > On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко >wrote: > > > > About point 4 - this is main goal: as we have

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 1/28/14, 8:16 AM, Neven Cvetkovic wrote: > On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко > wrote: >> >> About point 4 - this is main goal: as we have few >> Java-applications running in this very system - they must use >> "global" mem

Re: Tomcat JDBC Error

2014-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 1/27/14, 12:17 PM, Leo Medina wrote: > Good morning Mark, > > Can you please elaborate more as to what you meant by: > "com.mysql.jdbc.Driver must be present in one of your webapps. I'd > expect it to be in a JAR that has mysql in the name.

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Neven Cvetkovic
On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко wrote: > > About point 4 - this is main goal: as we have few Java-applications > running > in this very system - they must use "global" memory options, thats why I > suggested set System variable JAVA_OPTS. But namely Tomcat - must use > another me

Tomcat WebDav directory configuration

2014-01-28 Thread Sampers, Ruud
Thx for all your reactions, I've been unable to configure the webdav functionality, using the docBase/virtualpath in the server.xml. Enabling webdav via the servlet is ok, redirecting a webapps docbase to c:\temp works ok, but the combination of those 2 fails. It seems like either, you enable the

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Арсений Зинченко
A lot of thanks, Neven! This is perfect explanation - considering my English :-) About point 4 - this is main goal: as we have few Java-applications running in this very system - they must use "global" memory options, thats why I suggested set System variable JAVA_OPTS. But namely Tomcat - must us

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread André Warnier
Арсений Зинченко wrote: OK, thanks - I'll do it from now (really - never used this file before, just now found reference to it in catalina.bat) . But - last question, please: in setenv.bat - must be used CATALINA_OPTS or JAVA_OPTS? Ok, let us be really clear here. 1) The command to *stop* Tom

[OT] Re: Tomcat JDBC Error

2014-01-28 Thread Ognjen Blagojevic
Leo, On 27.1.2014 18:17, Leo Medina wrote: Can you please elaborate more as to what you meant by: "com.mysql.jdbc.Driver must be present in one of your webapps. I'd expect it to be in a JAR that has mysql in the name. If you don't need it remove it." I meant that we don't have a mysql db. in