Re: Tomcat, iis connector and case sensitivity

2008-06-17 Thread Luis Villa
Thank you very much for cheating, then :) 2008/6/16 André Warnier <[EMAIL PROTECTED]>: > > > Rainer Jung wrote: > >> Luis Villa wrote: >> >>> I catched it when, setting log_level to debug did nothing. >>> >> >> That was a desired side effect of the exercise :) >> > > You see, cheating will get yo

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

2008-06-17 Thread André Warnier
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 t

Invalidate sessions

2008-06-17 Thread JLucas ZB
Hello, i would like to invalidate the sessions. Is there any way to do that ? J Lucas

Re: Invalidate sessions

2008-06-17 Thread Youssef Mohammed
call invalidate method on javax.servlet.http.HttpSession On 6/17/08, JLucas ZB <[EMAIL PROTECTED]> wrote: > > > Hello, > > i would like to invalidate the sessions. > Is there any way to do that ? > > J Lucas > -- Regards, Youssef

Re: Servlet mapping error

2008-06-17 Thread Pid
Try just "*.", not "/*.", as below: *.invoker p Amber wrote: I write a very simple Spring HTTP invoker service, the servlet mapping config in web.xml is : TestServlet TestServlet amber.TestServlet TestServlet /*.invoker The test application works well in Oracle OC4J, but when I deploy

RE: Tomcat Custom Connector

2008-06-17 Thread Simon Aquilina
Hi Bill, Thanks again for your reply. Your comments are very helpfull :) I will definitly have other questions in the future but for now I think I can move forward :) Thanks again, Simon J.> To: users@tomcat.apache.org> From: [EMAIL PROTECTED]> Subject: Re: Tomcat Custom Connector> Date: Fr

problem with javac

2008-06-17 Thread Robert Welz
Hello. I am not familiar with javac and tried the following as in the manpage: javac -classpath /opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/ classes/; /opt/jakarta-tomcat-3.3.1a//webapps/ROOT/WEB-INF/classes/com/ oreilly/servlet /home/welz/develop/fundus/StingRay/Develop/Servlets/ stingr

Jrockit Vs Sun

2008-06-17 Thread James Law
Ok not quite a Vs question, however I'm intrigued by BEA claim that Jrockit is the "industry leading solutions". Does anyone have any experience in Jrockit, I know some of you will say "if its not broke" etc J. I've no issues with Sun's JVM just interested in hearing some views of Jrockit Thanks

Re: Using PHP4 with Tomcat5.5

2008-06-17 Thread Martin
Andre- I found this link helpful.. http://hi.baidu.com/kuch/blog/item/d8c41ef44231c16bdcc474ac.html make sure your /net/php/servlet.properties contains this library specification e.g. library=php5srvlt and /net/php/reflect.properties contains this library specification e.g. library=php5srvlt w

Re: Jrockit Vs Sun

2008-06-17 Thread André Warnier
James Law wrote: xyz is the "industry leading solution". That's not exactly a precise scientific or technical expression. I suppose that when marketing guys get together to create literature about a product, the conversation goes about like this : - Ok guys, we need to claim something in ord

logging with multiple web applications

2008-06-17 Thread Jamie
Hi Everyone Does anyone know how to configure Tomcat such that logging writes to separate log files for each web application? When we deploy several instances of our web application, for some reason, the logging output from all web applications is merged into a single debug.log file. Apparent

Re: problem with javac

2008-06-17 Thread Hassan Schroeder
On Tue, Jun 17, 2008 at 1:54 AM, Robert Welz <[EMAIL PROTECTED]> wrote: > how do I give javac those paths? Time to learn Ant, I think :-)-- A simple build.xml file uses wildcard paths to simplify compiling with multiple dependencies. FWIW, -- Hassan Schroeder -

RE: logging with multiple web applications

2008-06-17 Thread Caldarale, Charles R
> From: Jamie [mailto:[EMAIL PROTECTED] > Subject: logging with multiple web applications > > Does anyone know how to configure Tomcat such that logging writes to > separate log files for each web application? Care to tell anyone what version of Tomcat you're using? - Chuck THIS COMMUNICATION

Re: logging with multiple web applications

2008-06-17 Thread Jamie
That will be Tomcat version 6.0 Caldarale, Charles R wrote: From: Jamie [mailto:[EMAIL PROTECTED] Subject: logging with multiple web applications Does anyone know how to configure Tomcat such that logging writes to separate log files for each web application? Care to tell anyone what ver

Re: problem with javac

2008-06-17 Thread Steve Ochani
Date sent: Tue, 17 Jun 2008 10:54:06 +0200 From: Robert Welz <[EMAIL PROTECTED]> Subject:problem with javac To: users@tomcat.apache.org Send reply to: Tomcat Users List > Hello. > > I am not familiar with javac and tried

Re: logging with multiple web applications

2008-06-17 Thread André Warnier
Jamie wrote: That will be Tomcat version 6.0 Caldarale, Charles R wrote: From: Jamie [mailto:[EMAIL PROTECTED] Subject: logging with multiple web applications Does anyone know how to configure Tomcat such that logging writes to separate log files for each web application? Care to tell

RE: logging with multiple web applications

2008-06-17 Thread Caldarale, Charles R
> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Re: logging with multiple web applications > > Now Jamie, just a word of caution : this guy Chuck sounds > like he's nice and wants to help, but don't get your hopes > up, cause the next time he might just tell you to go read > the log4j do

Re: logging with multiple web applications

2008-06-17 Thread Jamie
Hi Charles Thanks for the help. See below. Caldarale, Charles R wrote: The real question is, has the OP read this: http://tomcat.apache.org/tomcat-6.0-doc/logging.html (My guess is that actually has been done as well.) Note that most of the log4j section in the above applies to Tomcat inter

RE: logging with multiple web applications

2008-06-17 Thread Caldarale, Charles R
> From: Jamie [mailto:[EMAIL PROTECTED] > Subject: Re: logging with multiple web applications > > Ok. I currently have the log4j-1.2.14.jar file in the WEB-INF/lib > directory. I will remove it. No, that's where it's supposed to be; one copy for each webapp. I was referring to Tomcat's lib direc

Logging for Dummies in Tomcat 5.5/6.0

2008-06-17 Thread André Warnier
Hi. Following another couple of threads which were leading to not much, and where it seemed evident that there was a notable difference in competence and understanding between the protagonists, I would like to start a new one, targeted at Tomcat Logging Dummies like me, but where Tomcat gurus

Tomcat 6.0 Classloaders

2008-06-17 Thread Ole Ersoy
Hi, I was wondering whether Tomcat 6.0 still has a classloader for classes that should be globally visible to all webapps only? I read through the classloader documentation and it seems to be saying that $CATALINA_HOME/lib contains classes that are visible to both Tomcat and the webapps. How

RE: Tomcat 6.0 Classloaders

2008-06-17 Thread Caldarale, Charles R
> From: Ole Ersoy [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6.0 Classloaders > > I was wondering whether Tomcat 6.0 still has a classloader > for classes that should be globally visible to all webapps > only? Not by default. However, you can edit conf/catalina.properties to create any classloa

Re: Class Loader Documentation

2008-06-17 Thread Ole Ersoy
I think its because its just hard to explain, but maybe it could be made clearer. I think *ignores* is the wrong word. Especially if someone actually looks at catalina bat and sees this line. set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar Doesnt look like that script is ignoring CLA

Re: Jrockit Vs Sun

2008-06-17 Thread Johnny Kewl
- Original Message - From: "James Law" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 17, 2008 12:56 PM Subject: Jrockit Vs Sun Ok not quite a Vs question, however I'm intrigued by BEA claim that Jrockit is the "industry leading solutions". Does anyone have any experience in Jrockit

RE: Jrockit Vs Sun

2008-06-17 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: Jrockit Vs Sun > > It seems to be Suns JRE It's not - different code base for the JVM core. The Java portion of the JRE and some of the native libraries may be the same. When we tried it several years ago, it was slightly faster than

Re: logging with multiple web applications

2008-06-17 Thread David Fisher
Hi Chuck, These threads have clarified things for me as well. Thanks. From: Jamie [mailto:[EMAIL PROTECTED] Subject: Re: logging with multiple web applications Ok. I currently have the log4j-1.2.14.jar file in the WEB-INF/lib directory. I will remove it. No, that's where it's supposed to be;

Re: Jrockit Vs Sun

2008-06-17 Thread Peter Lin
I've compared JRockit 1.4 and 1.5 in the past against SUN and it was faster for synthetic benchmarks. I don't work for BEA, but I do like JRockit. One thing that is different in JRockit is it dynamically resizes the perm generation, so in some cases it's better than SUN jvm. peter On Tue, Jun 1

RE: Jrockit Vs Sun

2008-06-17 Thread Caldarale, Charles R
> From: Peter Lin [mailto:[EMAIL PROTECTED] > Subject: Re: Jrockit Vs Sun > > One thing that is different in JRockit is it dynamically > resizes the perm generation, so in some cases it's better > than SUN jvm. Last time I looked, JRockit didn't actually have a generational allocation/collection

Re: Jrockit Vs Sun

2008-06-17 Thread Peter Lin
I don't know the internals. From my understanding, the generations setting is configurable. I would suggest looking at the docs for an authorative answer. peter On Tue, Jun 17, 2008 at 2:06 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> From: Peter Lin [mailto:[EMAIL PROTECTED] >> Subject

Help replacing mod_jserv with mod_jk

2008-06-17 Thread Sean Carolan
Hello Tomcat users: I need some help replacing the functionality of mod_jserv with mod_jk. Here is the situation: We have a legacy web-based java application that uses mod_jserv with load balancing. Typically there are one or more Apache servers with two java servers on the back-end. We also ha

Re: Jrockit Vs Sun

2008-06-17 Thread Juergen Weber
Why don't you try and run the DaCapo Benchmarks (http://dacapobench.org/) with JRockit and compare it to a Sun JDK 1.6 ? On Tue, Jun 17, 2008 at 8:22 PM, Peter Lin <[EMAIL PROTECTED]> wrote: > I don't know the internals. From my understanding, the generations > setting is configurable. I would sug

Re: Jrockit Vs Sun

2008-06-17 Thread Leon Rosenberg
Hello, i have tested synchronized vs. atomic performance two years ago with both jrockit and sun 1.5, both 32 bit, and jrockit was clearly faster in synchronization and slower in atomics. But its of cause its far outdated. http://moskito.anotheria.net/AtomicVsSynchronized.html regards Leon On

Re: Jrockit Vs Sun

2008-06-17 Thread Tony Anecito
I talked to the lead developer for JRockit months ago and he told me they take the code from Sun releases and add it to all the releases. What that means is thier 1.4.x is as fast as the 1.5.x but the difference is functionality they do not port 1.5 functionality to 1.4.x. This is important to me

Re: Installing Apache-Tomcat 6.0.16 Problem

2008-06-17 Thread Chuck Noren
Steve, with practical wisdom says, > Why not just get the binary version of Tomcat? I, slapping my hand to my head, says, duh, of course. Thanks, that did the trick. Chuck

Re: Tomcat 6.0 Classloaders

2008-06-17 Thread Ole Ersoy
I was wondering whether Tomcat 6.0 still has a classloader for classes that should be globally visible to all webapps only? Not by default. However, you can edit conf/catalina.properties to create any classloader hierarchy you want. So I take it: common.loader = Tomcat's classes/jars visibl

Re: Memory usage in Tomcat 6

2008-06-17 Thread Billy Ng
9 out of 10 are the heap size problem. Changing the -Xmsm and -Xmxm in the tomcatw.exe if you are using Windows. On the 32-bit Windows, you can only allocate 1.2 GB max. If you still have problem, check all the static vars to see any objects are growing forever. If you still have problem, t

RE: Tomcat 6.0 Classloaders

2008-06-17 Thread Caldarale, Charles R
> From: Ole Ersoy [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 6.0 Classloaders > > common.loader = Tomcat's classes/jars visible to both webapps > and to itself. > server.loader = only tomcat > shared.loader = only webapps Correct. This is how levels prior to 6.0 worked. > So if I wanted hib

RE: Memory usage in Tomcat 6

2008-06-17 Thread Caldarale, Charles R
> From: Billy Ng [mailto:[EMAIL PROTECTED] > Subject: Re: Memory usage in Tomcat 6 > > Changing the -Xmsm and -Xmxm in the tomcatw.exe That's tomcat6w.exe, not tomcatw.exe. > If you still have problem, there must be some huge > objects created from time to time. It can also be PermGen space (cla

Re: Invalidate sessions

2008-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J, JLucas ZB wrote: | i would like to invalidate the sessions. | Is there any way to do that ? Do you mean that you want to invalidate all sessions at once? In order to do that, you'd have to collect sessions as they are created (using a HttpSession

Re: Servlet mapping error

2008-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amber, Amber wrote: | /*.invoker As pid points out, you should use "*.whatever", not "/*.whatever". The servlet specification says that the pattern you used is not valid: " SRV.11.2 Specification of Mappings In the Web application deployment descr

Question about mod_ssl & mod_jk

2008-06-17 Thread Tan, Liao
All, My apache installed is has only the mod_jk.sl in the "libexec/" directory. I want to know what I need to do in order to to configure my current http to https? I know this is a very general question, but to start, I guess I need to include the directives in httpd.conf: 1) LoadModule ssl

Re: getAttribute(null)?

2008-06-17 Thread Mark Thomas
Leon Rosenberg wrote: may I suggest that you add the same check also to that method : protected void removeAttributeInternal(String name, boolean notify) { That would help wouldn't it ;). Done. Thanks for catching that. Mark

Re: Tomcat 6.0 Classloaders

2008-06-17 Thread Ole Ersoy
So if I wanted hibernate-3.0.14.jar to be visible to all webapps I could stick in in CATALINA_HOME/shared/lib and set shared.loader = ${catalina.home}/shared/lib/hibernate-3.0.14.jar and now it's visible to all webapps, but not to Tomcat? Also correct, but I don't know why you'd go to that troub

Connection Pooling and Teradata

2008-06-17 Thread Katilie, John
I'm not sure if this is the right place to post this question but I've seen through the years that there are a lot of knowledgeable people reading and responding. 1st. I'm running Tomcat 6.0.14 under Windows XP with Java 1.5.09. 2nd: My problem is not getting something working its trying

Java1.5 to 1.6

2008-06-17 Thread Kimberly Begley
Hi, I have a web application that was working great with Tomcat 5 and Java 1.5 - the server has recently been upgraded to Java 6 (still with tomcat 5) and now some parts are not working and throwing null exceptions as pasted below. I understand that the java executables should work properly but by

Re: Java1.5 to 1.6

2008-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kimberly, Kimberly Begley wrote: | I understand that the java executables should work properly but by the looks | of the error the problem might be with the servlet engines - would a | recompile of the entire app be in order? any suggestions? [snip]

Re: Java1.5 to 1.6

2008-06-17 Thread Kimberly Begley
Great - thanks for that Chris - I found the problem and its all working now. On Wed, Jun 18, 2008 at 11:31 AM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Kimberly, > > Kimberly Begley wrote: > | I understand that the java executables sho

Load Balancing Tomcat 5.5

2008-06-17 Thread Hari Krishnan N
Hi all, I am using windows version of Tomcat5.5. When the load increases, the Tomcat crashes and I have to restart the server. I would like to implement Tomcat Load Balance with another server using Sticky Sessions. Could somebody tell me how to configure Tomcat Server Load Balancing using S

isapi_redirect.dll without Tomcat

2008-06-17 Thread Diego Fdez . Durán
Hi, I've two hosts: Host A: Windows 2003, IIS 6.0, isapi_redirect.dll 1.2.26. Host B: Windows 2003, Tomcat 6. I've done the steps in the manual[1] and then a configuration using only .properties file[2] and not the registry, but I only get a red down-pointing arrow in the Filters configurat