RE: Stripping down the JSP engine from Tomcat

2008-09-25 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Stripping down the JSP engine from Tomcat I have tried removing the jasper jars but that fails tomcat from starting What happens if you also remove the JSP servlet declaration from conf/web.xml? - Chuck THIS COMMUNICATION MAY

RE: Tomcat with LDAP - admin part authentication

2008-09-25 Thread Caldarale, Charles R
From: yann bizouerne [mailto:[EMAIL PROTECTED] Subject: Tomcat with LDAP - admin part authentication Now the tomcat-users.xml seems not used anymore for the admin,manager part. Since you changed the Realm, the tomcat-users.xml file is not used for anything. I have tried my LDAP

RE: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Caldarale, Charles R
From: Morgan Cox [mailto:[EMAIL PROTECTED] Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to same context .. Thanks for the advise - it seems that I do need to set the ROOT webapp for each virtual server - anyone got any ideas of how to do this. Read *all* of

RE: How to have multiple domains/contexts with Tomcat ? they all go to same context ..

2008-09-26 Thread Caldarale, Charles R
From: Morgan Cox [mailto:[EMAIL PROTECTED] Subject: Re: How to have multiple domains/contexts with Tomcat ? they all go to same context .. One last thing - If you upload the .war files with the tomcat manager / host-manager is there a way to do this Once the Host elements are set up, you

RE: Tomcat 5.5 war takes 4 to 7 minutes to deploy

2008-09-27 Thread Caldarale, Charles R
G Kontos wrote: The server has a total of 432 MB of memory, 90MB initial Heap size for tomcat, 180MB max heap size. In this day and age, that's bordering on tiny. Besides the likely I/O problem, you may be doing a lot of garbage collections. You certainly want -Xms the same as -Xmx with

RE: How can Servlet detect lost of connection to client?

2008-09-27 Thread Caldarale, Charles R
From: Edward Dowgiallo [mailto:[EMAIL PROTECTED] Subject: Re: How can Servlet detect lost of connection to client? How about putting in a lifecycle listener for Session destruction? A Session typically persists across the coming and going of multiple HTTP connections for a client, so that

RE: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Caldarale, Charles R
From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0 No-one. com.sun.management.jmxremote=true by default. Minor corrections: 1) The plain com.sun.management.jmxremote does not take a

RE: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Caldarale, Charles R
From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0 That does not agree with the docs: http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html Note that none of the

RE: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0

2008-09-29 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Jconsole working without using any extra System property withTomcat6.0 started using Intellij Idea 7.0 jdk-6u7-fcs-src-b06-linux-10_jun_2008/j2se/src/share/classes/s un/management/Agent.java If you browse through there, you'll see all the references

RE: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-09-29 Thread Caldarale, Charles R
From: Chad Kellerman [mailto:[EMAIL PROTECTED] Subject: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space) the application indexes uploaded files, the indexing process creates the temporary files then removes them. Sounds like your indexing process is

RE: Multiple Time Zones on one Tomcat instance?

2008-09-30 Thread Caldarale, Charles R
From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Multiple Time Zones on one Tomcat instance? Is there any way we can serve mutliple webapps from a single Tomcat instance, with mutliple timezones? Tomcat itself doesn't care about time zones, and a single JVM instance will only use one

RE: Authentication behaviour

2008-09-30 Thread Caldarale, Charles R
From: Maurizio Lotauro [mailto:[EMAIL PROTECTED] Subject: Authentication behaviour The server answers with 401 before it has received the whole content send from client. In fact it seems that the answer become right after the server has received the http header. Looks proper to me for

RE: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Caldarale, Charles R
From: Bai Shen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat stops with error after calling setclasspath.bat set JRE_HOME=..\..\jre Make the above an absolute path, including drive letter. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is

RE: tomcat 6.0.18 and JDK 6

2008-10-01 Thread Caldarale, Charles R
From: ib solution [mailto:[EMAIL PROTECTED] Subject: Re: tomcat 6.0.18 and JDK 6 btw how do you know that tomcat need a file msvcr71.dll Experience. Browsing the mailing list archives can help get you some of that experience without having to suffer through all the problems yourself. -

RE: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Caldarale, Charles R
From: Bai Shen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat stops with error after calling setclasspath.bat No effect. Are you editing your .bat files in UNIX format, by any chance? The Windows shell might not like missing carriage returns. - Chuck THIS COMMUNICATION MAY CONTAIN

RE: application deployment issue, Tomcat 5.5

2008-10-01 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: application deployment issue, Tomcat 5.5 By the way, which is the easiest way to see the full version of Tomcat? There's a version.sh script in the Tomcat bin directory that will display the actual Tomcat level. One particularity of

RE: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Caldarale, Charles R
From: LoopInfinitum [mailto:[EMAIL PROTECTED] Subject: Re: can i compile .tag files on the fly? please help :( so my question is, can tomcat 5.02a be configured to compile .tag files on the fly? Your Tomcat version is a bit odd, since there never has been such any such level (Tomcat does

RE: Seek help for javax.servlet.ServletException: Java heap space

2008-10-01 Thread Caldarale, Charles R
From: BruceLee [mailto:[EMAIL PROTECTED] Subject: Seek help for javax.servlet.ServletException: Java heap space I tried JAVA_OPTS -Xms128m -Xmx512m -Xss1024k -XX:MaxPermSize=128m. On my local machine, everything is fine without any JAVA_OPTS customization. What JVM are you using on your

RE: Seek help for javax.servlet.ServletException: Java heap space

2008-10-02 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: Seek help for javax.servlet.ServletException: Java heap space Why is it usually better to set -Xms and -Xmx to the same value ? It avoids the overhead of expansion and contraction of the heap, including the associated

RE: application deployment issue, Tomcat 5.5

2008-10-02 Thread Caldarale, Charles R
From: albrecht andrzejewski [mailto:[EMAIL PROTECTED] Subject: Re: application deployment issue, Tomcat 5.5 java is looking to some native code to unzip the WAR file, which is huffman's compressed (yes, war files can be unzipped). The native code being used to do the unzipping is packaged

RE: application deployment issue, Tomcat 5.5

2008-10-02 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: application deployment issue, Tomcat 5.5 I am still a bit puzzled by the sequence of events below though. First it writes that the WAR file is invalid or unreadable, then 10 seconds later it mentions a logging properties permission

RE: javax.naming.NamingException: Cannot create resource instance

2008-10-02 Thread Caldarale, Charles R
From: Ziggy O [mailto:[EMAIL PROTECTED] Subject: Re: javax.naming.NamingException: Cannot create resource instance One thing i have noticed is that if i take the /META-INF/Context.xml file and copy it into $CATALINA_HOME/conf/Catalina/localhost/testapp.xml it does work. If the file is

RE: Support

2008-10-02 Thread Caldarale, Charles R
On Fri, Oct 3, 2008 at 3:50 AM, Angelica Ardila [EMAIL PROTECTED]wrote: That version of JDK should I use for the Tomcat 6? Read the release notes: http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt Tomcat 6.0 is designed to run on JSE 5.0 and later. - Chuck THIS COMMUNICATION MAY

RE: Support

2008-10-02 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Partha Goswami Subject: Re: Support ah, JDK 6.0 has some issue, in WIndows after installing JDK 6.0 Tomcat 6.0 u need to put msvci70.dll from Jdk folder to bin folder of tomcat , that's why i was asking. JDK 5 has no issue,

RE: Support

2008-10-02 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Support Normally I always recomment lagging a JRE version as well... avoid bleeding edge... JRE/JDK 6 has been around for almost two years now, so I don't think the 1.6.0_07 download is at all risky. On the other hand, the 1.6.0_10

RE: fex* war malware

2008-10-04 Thread Caldarale, Charles R
From: David Tyler [mailto:[EMAIL PROTECTED] Subject: fex* war malware THE SAFEGUARD AGAINST THIS IS TO CHANGE THE DEFAULT TOMCAT MANAGER APP PASSWORD. That would be tricky, since, by default, there is no manager app password or even role in conf/tomcat-users.xml; out of the box, the manager

RE: How to update the tomcat to run newly deployed applications withoutrestarting it.

2008-10-04 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: How to update the tomcat to run newly deployed applications withoutrestarting it. First, in summary, the question may boil down to : if the Tomcat/conf/server.xml file is modified (timestamp changed), does Tomcat automatically

RE: Regd....ASF Bugzilla - Bug 45015 (Quoting in attributes)

2008-10-05 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: RegdASF Bugzilla - Bug 45015 (Quoting in attributes) But I do not understand how I can make the compiler ignore this validation. We use precompiled JSPs. If you're using the suggested ant script for precompilation:

RE: Heap dump of servlet

2008-10-06 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Heap dump of servlet Is there any way to get just the heapdump of servlet threads? Since the heap is shared by all threads in the JVM, there's no such thing as a heapdump of servlet threads. Use jmap or similar tools to see what's

RE: [error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-06 Thread Caldarale, Charles R
From: Sehyia Jalaludheen [mailto:[EMAIL PROTECTED] Subject: [error] (32)Broken pipe: ajp_ilink_send(): send failed This happens only when I am logging into the application after a few days inactivity. Login fails in the first three or four attempts and then the login is successful. Any

RE: Using tomcat to hold many open connections.

2008-10-06 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: Using tomcat to hold many open connections. Does CometProcessor and/or NIO come pre-installed pre-configured as part of Tomcat 6? All part of the basic package: http://tomcat.apache.org/tomcat-6.0-doc/aio.html - Chuck THIS

RE: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-07 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Non-secure HTTP connector with secure=true requires a keystore? I'm trying to configure an HTTP Connector that reports to the application that the connection is secure. I thought I had done this using just what you described, but

RE: Welcome file bypasses security-constraint checking?

2008-10-07 Thread Caldarale, Charles R
From: Rob Mercer [mailto:[EMAIL PROTECTED] Subject: Welcome file bypasses security-constraint checking? Just noticed some odd behavior in tomcat today Care to tell us the version, or should we consult a psychic reader? He did not touch the web.xml file and yet the /seasonpass/ folder

RE: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-07 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Non-secure HTTP connector with secure=true requires a keystore? I tried it with scheme=http at first, and got the same exception. The code in 6.0 is noticeably different from that in 5.5 for protocol initialization, including

RE: Welcome file bypasses security-constraint checking?

2008-10-07 Thread Caldarale, Charles R
From: Rob Mercer [mailto:[EMAIL PROTECTED] Subject: RE: Welcome file bypasses security-constraint checking? Tomcat 6.0.14 Thanks. security-constraint display-nameNot secured Pages/display-name [various unsecured declarations snipped] /security-constraint security-constraint

RE: JNDIRealm - mapping LDAP group to security role

2008-10-08 Thread Caldarale, Charles R
From: Felix Schumacher [mailto:[EMAIL PROTECTED] Subject: Re: JNDIRealm - mapping LDAP group to security role have you thought about adding an extra attribute to the groups, so that the mapping is done by a normal ldap query? Even that's not necessary. The servlet security model already has

RE: JNDIRealm - mapping LDAP group to security role

2008-10-08 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jérôme Delattre Subject: Re: JNDIRealm - mapping LDAP group to security role What should I do with it? add the same security-role-ref for each LDAP group to all my Servlets? sound strange... Yes, you're right; I missed that this

RE: Communicating between webapps

2008-10-08 Thread Caldarale, Charles R
From: Darryl Pentz [mailto:[EMAIL PROTECTED] Subject: Re: Communicating between webapps Nevertheless, besides that, Tomcats classloader hierarchy also prevents this mechanism. If you put the singleton's class in the common library, it will be accessible to both webapps. However, you have

RE: Exception while running web application with Tomcat security manager enabled

2008-10-08 Thread Caldarale, Charles R
From: Vijayaraghavan Amirisetty [mailto:[EMAIL PROTECTED] Subject: Exception while running web application with Tomcat security manager enabled I am trying to run a simple webapp on tomcat 5.0 The 5.0 branch is no longer supported; can you try it on 5.5 or 6.0? i.e with the additional

RE: Creating virtual directory in Tomcat - HTTP Status 404 ...

2008-10-08 Thread Caldarale, Charles R
From: uddav [mailto:[EMAIL PROTECTED] Subject: Creating virtual directory in Tomcat - HTTP Status 404 ... docBase=/dirtest/prod_scrpts URL http://servername:8080/test i get the error: HTTP Status 404 - /test/ Unless you have a welcome file (e.g., index.html)

RE: Communicating between webapps

2008-10-09 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Communicating between webapps My case goes somewhat like this : an application consisting of several webapps needs access to some common data (read/write). What you're describing is referred to as a bean in Java terminology. These

RE: Communicating between webapps

2008-10-09 Thread Caldarale, Charles R
From: Bill Davidson [mailto:[EMAIL PROTECTED] Subject: Re: Communicating between webapps So if I'm understanding you correctly, different webapps use different class loader instances and so the singleton is actually instantiated separately for each class loader? Depends on where the class

RE: Exception while running web application with Tomcat security manager enabled

2008-10-09 Thread Caldarale, Charles R
From: Vijayaraghavan Amirisetty [mailto:[EMAIL PROTECTED] Subject: Re: Exception while running web application with Tomcat security manager enabled Does the Tomcat Security Manager use any native libraries for it's operations? No. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: dbcp error with java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource

2008-10-09 Thread Caldarale, Charles R
From: Ziggy [mailto:[EMAIL PROTECTED] Sent: 2008 October 09, Thursday 11:12 org.apache.tomcat.dbcp.dbcp.PoolingDataSource I have placed the jdbc driver on both the following directories [code] $TOMCAT_HOME/common/lib/ $APPLICATION_ROOT_DIR/WEB-INF/lib/ [/code] Never, never, never put the

RE: Tomcat 6.0.18 empties tomcat-users.xml

2008-10-09 Thread Caldarale, Charles R
From: Robert Hufsky [mailto:[EMAIL PROTECTED] Subject: Tomcat 6.0.18 empties tomcat-users.xml Before starting, $CATALINA_HOME/conf/tomcat-users.xml contains the default user entries. Look again - they're all commented out. After starting Tomcat, $CATALINA_HOME/conf/tomcat-users.xml is

RE: external folder be mapped to Tomcat 'specific 'web application'

2008-10-10 Thread Caldarale, Charles R
From: Karthik Nanjangude [mailto:[EMAIL PROTECTED] Subject: RE: external folder be mapped to Tomcat 'specific 'web application' 1) My external folder which has *images* is on folder e/STATICIMAGES I presume there's a colon missing in the above, and all your forward slashes should really be

RE: SSL Host

2008-10-10 Thread Caldarale, Charles R
From: Serge Fonville [mailto:[EMAIL PROTECTED] Subject: Re: SSL Host I read both and what I still don't get is: How do I specify a connector to a host? You can't. You would need multiple Service elements, each with its own nested Connector and corresponding Host elements. Alternatively,

RE: Non-secure HTTP connector with secure=true requires a keystore?

2008-10-10 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Non-secure HTTP connector with secure=true requires a keystore? Successful startup. Using HTTP, a test JSP reports that request.isSecure() returns true, which is exactly what Filip claims. It appears that the behavior of TC

RE: SSL Host

2008-10-10 Thread Caldarale, Charles R
From: Serge Fonville [mailto:[EMAIL PROTECTED] Subject: Re: SSL Host If I access https://*.autumn.nl (which shouldn't exist, I get the defaulthost, instead I wan't to get a 404 of some sort, indicating that that site does not exist? A request that has a domain that resolves to your IP

RE: setHeader after DoFilter delegation in filter?

2008-10-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: setHeader after DoFilter delegation in filter? To create output for the client, the application calls something, right? (I mean a method of HttpRequest). Not quite - you're confusing request with response. There are methods in

RE: Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Caldarale, Charles R
From: IceManPat [mailto:[EMAIL PROTECTED] Subject: Re: Why can NOT run Tomcat on my Laptop C:\set JAVA_HOME =D:\Program Files\Java\jdk1.6.0_07 The problem is you have a space before the equals sign; that makes the environment variable JAVA_HOME (note the trailing space), rather than

RE: [OT] Why can NOT run Tomcat on my Laptop

2008-10-11 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: [OT] Why can NOT run Tomcat on my Laptop Allowing spaces in directory and file names was a nutty idea which has cost more over time than the Iraq war and current financial debacle combined. (I'll assume the above is sarcastic, and

RE: [OT] Why can NOT run Tomcat on my Laptop

2008-10-13 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: [OT] Why can NOT run Tomcat on my Laptop That would be the Darwin award :-) Now, call me thick, but that one I don't get. Might be a USA thing: http://www.darwinawards.com/ - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: Max connections

2008-10-13 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: Max connections I didn't understand the description of attribute maxKeepAliveRequests, it says: The maximum number of HTTP requests which can be pipelined until the connection is closed by the server. Does it mean total number of

RE: server.xml configuration

2008-10-14 Thread Caldarale, Charles R
From: gjj391 [mailto:[EMAIL PROTECTED] Subject: server.xml configuration I seem to have a bit of a issue when installing railo in tomcat. Don't suppose you'd care to tell us which version of Tomcat? I am using mod_jk to bypass apache and have tomcat serve everything. Then why bother with

RE: external folder be mapped to Tomcat 'specific 'web application'

2008-10-14 Thread Caldarale, Charles R
From: Karthik Nanjangude [mailto:[EMAIL PROTECTED] Subject: RE: external folder be mapped to Tomcat 'specific 'web application' Question: Can this configuration be done from within 'XYZAPPS/META-INF/context.xml' Specific to the application only No - webapps are independent (required by the

RE: Changing the ROOT application in Tomcat 6.0.18 on Linux

2008-10-15 Thread Caldarale, Charles R
From: Maik Schumacher [mailto:[EMAIL PROTECTED] Subject: RE: Changing the ROOT application in Tomcat 6.0.18 on Linux As mentioned, no problems on Windows XP, but using ROOT.xml on my Linux machine does not work. It seams that Tomcat ignores the ROOT.xml in tomcat/conf/Catalina/localhost

RE: tomcat as services

2008-10-15 Thread Caldarale, Charles R
From: Frank Uccello [mailto:[EMAIL PROTECTED] Subject: tomcat as services First I copy an existing tomcat.exe and rename to Tomcat-ItActionSystem.exe tomcat5 //IS//TomcatItActionSystems --DisplayName=Tomcat-ItActionSystem --Install=C:\Program

RE: Tomcat Shutdown Port as Variable

2008-10-15 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat Shutdown Port as Variable a shame that you cant specify that attribute via %JAVA_OPTS% As Rainer already pointed out, you can; the shutdown script does not use CATALINA_OPTS, but it does honor JAVA_OPTS. - Chuck THIS

RE: tomcat as services

2008-10-15 Thread Caldarale, Charles R
From: Frank Uccello [mailto:[EMAIL PROTECTED] Subject: RE: tomcat as services Ok this maybe a stupid question to ask but where do I download the service.bat file Repeating what I already said (emphasis added): Rather than mucking around with all that, download and install the **.zip

RE: tomcat as services

2008-10-15 Thread Caldarale, Charles R
From: Frank Uccello [mailto:[EMAIL PROTECTED] Subject: RE: tomcat as services It gives me a window error nonalpah45 only option is click ok Once click ok Failed installing 'tomcat-ItActionSystem' service The error message is self-explanatory: you have a non-alphabetic character in the

RE: MySQL DBCP Connection Example?

2008-10-15 Thread Caldarale, Charles R
From: Tim Potter [mailto:[EMAIL PROTECTED] Subject: Re: MySQL DBCP Connection Example? I can test that out, but that would be a different direction than I think I want to go. I don't think David was strong enough in his recommendations: you may not ever add additional Context elements to

RE: common jars for all applications in tomcat

2008-10-16 Thread Caldarale, Charles R
From: Raghu [mailto:[EMAIL PROTECTED] Subject: common jars for all applications in tomcat My questions is where is the correct folder to have the common jar files which are shared across multiple applications $CATALINA_BASE/shared/libor $CATALINA_BASE/common/lib. Read the doc and

RE: common jars for all applications in tomcat

2008-10-16 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: RE: common jars for all applications in tomcat did you locate your sap.jars specifically sapco.jar to be located on CLASSPATH? Don't ever, ever do that. The CLASSPATH variable should never be used with Tomcat, and the only thing on the

RE: Controlling the order of classloading.

2008-10-16 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Controlling the order of classloading. But is there not a load-at-startup tag or something like it in a web.xml file, with a numeric value for that purpose ? It specifies that the designated servlet be loaded during startup, but does

RE: Problem with connecting to port used by Tomcat.

2008-10-16 Thread Caldarale, Charles R
From: S Vashisht [mailto:[EMAIL PROTECTED] Subject: Fwd: Problem with connecting to port used by Tomcat. when I start server and try to connect to port used by Tomcat; I get unable to connect error. Look for a firewall between your client (browser?) and the server on which Tomcat is

RE: Tomcat not using multiple cores

2008-10-16 Thread Caldarale, Charles R
From: Matthew Laird [mailto:[EMAIL PROTECTED] Subject: Tomcat not using multiple cores Unfortunately what then occurs is all other threads suddenly become unusably slow. The entire web application grinds to a halt until this thread that's running hot completes. We've run Tomcat on 32 cores

RE: Tomcat not using multiple cores

2008-10-16 Thread Caldarale, Charles R
From: Matthew Laird [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat not using multiple cores From Tomcat, as far as I understand you can only do 2GB per Tomcat instance. Please correct me if I'm wrong. Not true. The limitation is due to the OS, not the JVM and certainly not Tomcat. A

RE: Tomcat not using multiple cores

2008-10-16 Thread Caldarale, Charles R
From: Brantley Hobbs [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat not using multiple cores I think that this is a garbage collection issue. Extremely unlikely, since the OP has already stated: The only time I began to see the other cores actually start being used is when I enabled

RE: Tomcat not using multiple cores

2008-10-16 Thread Caldarale, Charles R
From: Matthew Laird [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat not using multiple cores But of course I'm not a Java or JVM expert and have no idea what kind of interlinks can exist between different client connections. Again - get a thread dump when at 100% on one core and 0% on the

RE: Classes in tomcat\server\lib folder sometimes are visible to web application

2008-10-16 Thread Caldarale, Charles R
From: Gary Hirschhorn [mailto:[EMAIL PROTECTED] Subject: Classes in tomcat\server\lib folder sometimes are visible to web application According to this documentation, classes in this jar should be TOTALLY invisible to web applications. That's not quite the case. Classes outside of a given

RE: Tomcat manager - Two instances problem!

2008-10-16 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Tomcat manager - Two instances problem! (Odd that unisys.com.br is not a resolvable DNS name, even from inside the corporate network...) java.lang.NoClassDefFoundError: org/apache/catalina/manager/ManagerServlet Looks like the

RE: Classes in tomcat\server\lib folder sometimes are visible to web application

2008-10-17 Thread Caldarale, Charles R
From: Gary Hirschhorn [mailto:[EMAIL PROTECTED] Subject: RE: Classes in tomcat\server\lib folder sometimes are visible to web application The Catalina ClassLoader in server/lib creates Webapp1 ClassLoader specifically for webapp1. It's actually org.apache.catalina.loader.WebappLoader that

RE: Building Tomcat With IcedTea

2008-10-18 Thread Caldarale, Charles R
From: Ole Ersoy [mailto:[EMAIL PROTECTED] Subject: Building Tomcat With IcedTea I'm trying to build tomcat with IcedTea. I get the following types of errors while DBCP is being built: Are you using JDK 6 for your Tomcat builds? Tomcat must be built with JDK 5 due to incompatibilities

RE: Timeout while stopping tomcat

2008-10-18 Thread Caldarale, Charles R
From: Thomas Manson [mailto:[EMAIL PROTECTED] Subject: Timeout while stopping tomcat Tomcat starts correctly, but a timeout occurs when stopping Any idea of what's wrong ? Nothing's really wrong, but you can get rid of the error message by commenting out the AJP connector that you're not

RE: Timeout while stopping tomcat

2008-10-18 Thread Caldarale, Charles R
From: Thomas Manson [mailto:[EMAIL PROTECTED] Subject: Re: Timeout while stopping tomcat If I want to build an link between my Apache2 and Tomcat 6, will I need the AJP connector ? Yes. Also, which [ModJK/JK/JK2 or else] project is the correct to use with Tomcat 6 ? The mod_jk2 package

RE: Timeout while stopping tomcat

2008-10-18 Thread Caldarale, Charles R
From: Thomas Manson [mailto:[EMAIL PROTECTED] Subject: Re: Timeout while stopping tomcat I want a Apache 2 server to use PHP app's too with tomcat apps using port 80. I think that's the only way of doing, isn't it ? Strictly speaking, it's not the only way, but it's certainly the most

RE: Can't login as manager

2008-10-19 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Schneider Subject: Can't login as manager tomcat-users !-- role rolename=tomcat/ role rolename=role1/ role rolename=manager/ user username=tomcat password=tomcat roles=tomcat/ user username=both password=tomcat

RE: Using Convert to handle NULL values for empty Strings

2008-10-19 Thread Caldarale, Charles R
From: Alexander Hartner [mailto:[EMAIL PROTECTED] Subject: Re: Using Convert to handle NULL values for empty Strings The problem indeed does not appear in 6.0.14, however both 6.0.16 and 18 are affected by it. I wonder what has changed, and how I can fix this This might be related:

RE: naroow down my issue

2008-10-20 Thread Caldarale, Charles R
From: Frank Uccello [mailto:[EMAIL PROTECTED] Subject: naroow down my issue I think it has to do with this line since I just copy the server.xml from a working tomcat 4 Fatal error. Go back to the default server.xml that came with your 5.5 version of Tomcat and update that with the changes

RE: tomcat 6 and subdirectories

2008-10-20 Thread Caldarale, Charles R
From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 6 and subdirectories I have the feeling it's not the pattern, but something else that's causing this problem. Are you still specifying an empty docBase? That's illegal. Where is your Context element located? It should not

RE: tomcat doesn't stop when shutdown

2008-10-20 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Subject: Re: tomcat doesn't stop when shutdown This is what I see in logs, I am starting and stopping as root: INFO: Stopping service Catalina Oct 20, 2008 2:22:47 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote

RE: Why isn't my welcome file being read?

2008-10-22 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:[EMAIL PROTECTED] Subject: Why isn't my welcome file being read? The request is logged in Apache as GET /foo/ with no file being specified. The real question is: What's being logged in Tomcat? Likely that httpd is never passing the request on to Tomcat. What

RE: Why isn't my welcome file being read?

2008-10-22 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:[EMAIL PROTECTED] Subject: Re: Why isn't my welcome file being read? I presume it is something called JK that does the connection to Tomcat, I'm obviously not too familiar with Apache. Then why are you using httpd at all? Current versions of Tomcat can handle

RE: Question regarding 6.0.14 and NoClassDefFound org/apache/juli/logging/LogFactory

2008-10-22 Thread Caldarale, Charles R
From: Mario Felarca [mailto:[EMAIL PROTECTED] Subject: Question regarding 6.0.14 and NoClassDefFound org/apache/juli/logging/LogFactory We are experiencing this issue when trying to run tomcat 6.0.14 on a RHEL 4.6 system. What happens if you try it with 6.0.18 downloaded from the Tomcat web

RE: How to serve two docBases under the same context path

2008-10-23 Thread Caldarale, Charles R
From: nlif [mailto:[EMAIL PROTECTED] Subject: How to serve two docBases under the same context path In production, I intend to use Apache to serve the static content, and Tomcat to process requests to the application Why are you wasting your time, energy, and resources to do that? Tomcat is

RE: One instance listen on 127.0.0.1 and on single external ip

2008-10-23 Thread Caldarale, Charles R
From: Fu-Tung Cheng [mailto:[EMAIL PROTECTED] Subject: One instance listen on 127.0.0.1 and on single external ip I do that with the Connector address=207.203.10.45 Now I also would like to have tomcat remain listening on 127.0.0.1. Just configure another Connector identical to the first

RE: tomcat 6 and subdirectories

2008-10-23 Thread Caldarale, Charles R
From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 6 and subdirectories I will try in META-INF/context.xml, although how do you specify multiple contexts in this case? There's a separate META-INF directory in each webapp, so each gets its own context.xml file. - Chuck

RE: How can I use a class in javax package from the jar file in WEB-INF/libinstead of the one in common/lib.

2008-10-24 Thread Caldarale, Charles R
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED] Subject: How can I use a class in javax package from the jar file in WEB-INF/libinstead of the one in common/lib. it must be designed to work in any Tomcat server with default Tomcat libraries and the server admin also said he has to keep

RE: Question about Tomcat context

2008-10-24 Thread Caldarale, Charles R
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: RE: Question about Tomcat context From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] JAVA_OPTS=-XX:MaxPermSize=512m -Xms24m -Xmx512m For server environments, you usually want to set Xms to the same value as Xmx to avoid heap

RE: TomCat question

2008-10-24 Thread Caldarale, Charles R
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: RE: TomCat question From: Ghanta, Bose [mailto:[EMAIL PROTECTED] Will Tomcat run with J2SE or does it require J2EE? The ones I have here run just fine on J2SE. Tomcat must be run on J2SE, not J2EE. The J2EE download includes jars

RE: TomCat question

2008-10-24 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: TomCat question That depends on the all important version of tomcat you are using. Versions 5.5.x and 6.0.x at least should run on a j2se no problem. I think you're confusing the OP's question with the more typical one about JRE vs

RE: How can I use a class in javax package from the jar file in WEB-INF/libinstead of the one in common/lib.

2008-10-24 Thread Caldarale, Charles R
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED] Subject: Re: How can I use a class in javax package from the jar file in WEB-INF/libinstead of the one in common/lib. Well, that javamail.jar in the common/lib is, as far as I know, from the repository of the Linux server. Hence my comment

RE: Force getting Client Cert from browser

2008-10-24 Thread Caldarale, Charles R
From: atul [mailto:[EMAIL PROTECTED] Subject: Force getting Client Cert from browser Tomcat never initiates ssl renegotiation - probably because it hangs onto sslsocket and sslsession object for performance. No - it's because the *browser* uses the same sessionid and connection. Nothing

RE: Are multiple contexts of the same code code base visible to each other?

2008-10-24 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:[EMAIL PROTECTED] Subject: Re: Are multiple contexts of the same code code base visible to each other? The problem that I'm worried about is how a certain class in my webapp is going to behave when 2 instances are of it are running. Each webapp has its own

RE: Tomcat 5.5 logging confusion

2008-10-24 Thread Caldarale, Charles R
From: Wm.A.Stafford [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5 logging confusion I am installing Tomcat 5.5.27 on Windows XP as the servlet container for a Spring MVC app we will be hosting. Are you running Tomcat as a service or from the command line? I'd recommend doing it from the

RE: tomcat 6 and subdirectories

2008-10-24 Thread Caldarale, Charles R
From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 6 and subdirectories I had to remove the appBase attribute from the host definition and provide an absolute path in the context's docBase. That's not right. Each Host should have an appBase; you just need to insure that

RE: How can I use a class in javax package from the jar file in WEB-INF/lib instead of the one in common/lib.

2008-10-24 Thread Caldarale, Charles R
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED] Subject: Re: How can I use a class in javax package from the jar file in WEB-INF/lib instead of the one in common/lib. I believe, if a class is in java or javax package it might not be loaded from the libraries in the WEB-INF/lib directory

RE: How can I use a class in javax package from the jar file in WEB-INF/lib instead of the one in common/lib.

2008-10-24 Thread Caldarale, Charles R
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED] Subject: Re: How can I use a class in javax package from the jar file in WEB-INF/lib instead of the one in common/lib. Even if it is loaded first, I believe, it should work as both libraries are the same javamail What frequently happens is

RE: jsessionid sent in URL is being ignored.

2008-10-25 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: jsessionid sent in URL is being ignored. If the jsessionid was really a parameter in this URL, it would need to be after the ? No, the semicolon delimiter is correct. Look at section 7.1.3 of the Servlet spec and the URI RFC (3986

<    1   2   3   4   5   6   7   8   9   10   >