RE: Default SSL ciphers supported by Tomcat 6

2009-10-22 Thread uma_rk
Yes I saw that statement in the document. I was hoping someone here could tell me identify the default ciphers used by JDK6 (which is what I use under Tomcat6). This info seems basic enough; but I am unable to find it. I understand this is Tomcat list - I hope I do not get flamed for asking a JDK

Default SSL ciphers supported by Tomcat 6

2009-10-22 Thread uma_rk
I am looking for the default set of SSL(v3) ciphers supported by Tomcat 6.0.x. Is this essentially same as the default set of ciphers supported by the underlying JDK? Any help appreciated, /U

Re: IP-based virtual hosting with Tomcat(6)

2009-07-29 Thread uma_rk
All the vHosts are to be situated on the same server. The server may be addressed using any loopback address or any non-loopback addressed configured on the NICs of the server. Hence I have the mapping 127.0.0.9 -> vhost1 127.0.0.10 -> vhost 2 Let's say that a request arrives at address 10.

Re: IP-based virtual hosting with Tomcat(6)

2009-07-29 Thread uma_rk
Mark, If I wanted to use the same SSL certificate for all virtual hosts does it follow that a) I cannot use name based vHosts (because Tomcat SSL connector uses the Host: entry in the request as the common name) and must use IP-based vHosts. b) or define name-based vHosts on

RE: IP-based virtual hosting with Tomcat(6)

2009-07-29 Thread uma_rk
Thanks much for the clarification.In this case, how do I nominate the default virtual host? Is there something called default connector, such as that which may be needed if a request arrives into an unconfigured loopback address (say, 127.0.0.200)? My second issue is perhaps more serious: is the

IP-based virtual hosting with Tomcat(6)

2009-07-29 Thread uma_rk
I am using Tomcat6.0.18 on RHEL5. I would like to set up IP-based virtual hosting using Tomcat alone ( as opposed to using Apache front-end). The documentation (http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html) as well as examples of it seem to illustrate the use of name-based

RE: Include directories outside WEB-INF/ in CLASSPATH?

2009-07-15 Thread uma_rk
Actually I thought I was asking a different question: I use a specialization of VirtualWebappLoader quite successfully - to create a common class repository for a family of webapp contexts. My previous question(s) that seems to you to be related to this topic pertained to how I could create a hie

Include directories outside WEB-INF/ in CLASSPATH?

2009-07-14 Thread uma_rk
I am using Tomcat 6.0.14. Is there a way to include a directory outside WEB-INF/ into the classpath of the WebappClassLoader? Specifically, I am trying to load a certain resource which is located outside WEB-INF/ via WebappClassLoader. Is it possible to accomplish this using symlinks? Tx, /U

Re: #include'ing property files into conf/catalina.properties

2009-04-26 Thread uma_rk
? In any event, thanks much for your helpful suggestion. Regards, /U - Original Message - From: Kees Jan Koster To: Tomcat Users List Sent: Sun, 26 Apr 2009 08:13:41 + (UTC) Subject: Re: #include'ing property files into conf/catalina.properties Dear uma_rk, > We ce

#include'ing property files into conf/catalina.properties

2009-04-25 Thread uma_rk
Env: Tomcat 6.0.14 JRE 1.6 We centralize configurations in /etc/conf and hence I would like to import property configuration files into ${CATALINA_BASE}/conf/catalina.properties using #include as in // conf/catalina.properties ... #include /etc/conf/mytomcat.properties ...

URL Rewriting for implementing virtual hosts

2009-03-03 Thread uma_rk
We have a bunch of web applications packed into a single VM tomcat (6.0.14). I am looking to segrgating the contexts in distinct VMs based on IP address based virtual hosts. I assume that to keep this segregation transparent to the applications themselves, URL rewriting has to be incorporated (if

Re: Implementing service chaining with Tomcat6

2009-01-11 Thread uma_rk
Thanks Rusty. I was hoping for a 'Java' solution ( as in 'OS independent'). The daemon is a java application (actually the activemq JMS broker); Is there a way for me to have org.apache.catalina.startup.Bootstrap block till it receives a JMS notification or some such? The desired startup sequence

Implementing service chaining with Tomcat6

2009-01-10 Thread uma_rk
I am using Tomcat6.0.14 with Jdk1.6 on Linux RH4. My application comprises a daemon and Tomcat6. The daemon is slow in starting up. I need Tomcat6 to be started after the daemon is operational. While the daemon is a Java application, its a third-party tool whose src I do not control. Is there

Applying HTTPS connector selectively

2008-04-08 Thread uma_rk
Env: Tomcat 6.0.14, Jre1.6 I have both HTTP and HTTPs connector defined in my server configuration. I would like to apply the HTTPS connector to handle specific URLs into the webapp alone and have the rest be handled by HTTP connector. Eg: Context Root: /myapp URLs handled by HTTPS

META-INF/context.xml does not take effect

2008-03-06 Thread uma_rk
Env: Jre 1.6, Tomcat 6.0.14 I have a collection of 3 webapp contexts installed in Tomcat. I have a context.xml defined in conf/ to define a a custom WebappLoader, since I want all my webapp contexts to be loaded using my custom loader: Webapp 1 however, has a special resource that it

RE: "Exception handling Container property change"

2008-03-03 Thread uma_rk
Thanks! It looks like this is related to the long conversation we had about using VirtualWebappClassLoader a couple of months ago. I needed to use VirtualWebappLoader and hence chose to extend WebappLoader ("CustomWebappClassLoader) and install the class in ${CATALINA_BASE}/lib. This classloader

"Exception handling Container property change"

2008-03-03 Thread uma_rk
Env: Tomcat 6.0.14, Jre 1.6 Everytime I load my app context, the log yields the following MBean exception. What does this error indicate? Regards /U Mar 3, 2008 9:12:30 PM org.apache.catalina.mbeans.ServerLifecycleListener propertyChange SEVERE: Exception handling Container property change ja

RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence)

2008-01-16 Thread uma_rk
Charles, Thanks for your patient responses. Unfortunately, the "shared classloader" does not work either. This is in summary what I am trying to do: I have 3 webapp contexts that use a number of commons libraries (say, digester, betwixt, beanutils). I do not want to pack these jarfiles in each

Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence)

2008-01-15 Thread uma_rk
Env: JRE1.6, Tomcat 6.0.14 Following on an earlier thread: I am trying to place the libraries common to a number of webapp contexts in a common directory (${catalina.home}/myapplib) and configure the VirtualWebappLoader with the list of jarfiles for loading by each webapp context. My problem is t

RE: Classloader Problems: loading webapp classes using commons CL

2008-01-12 Thread uma_rk
Thanks for that unambiguous clarification! I will settle for the fat independent webapp contexts. On your comment below: uma> I am trying to determine if its possible to attempt such a uma> layering with Tomcat. > Cc> It has nothing to do with Tomcat, but everything to do with

RE: Classloader Problems: loading webapp classes using commons CL

2008-01-12 Thread uma_rk
Thanks Doc. I am attempting to refactor common classes is not for saving "a bit more of PermGen" space, but to create a structured layering. You won't duplicate a sorting algorithm even if it takes only a few more bytes would you? I am trying to determine if its possible to attempt such a layeri

Classloader Problems: loading webapp classes using commons CL

2008-01-12 Thread uma_rk
Env: Tomcat 6.0.14, JRE1.6 I have an application comprising a number of distinct webapp contexts which use a common version of certain jarfiles. Loading an instance of the jarfiles by each webapp classloader takes up a lot of memory. Hence, I have moved these jarfiles to ${CATALINA_BASE}/lib. So

Debugging 'listenerStart:Severe'

2007-12-12 Thread uma_rk
Env: Tomcat 6.0.14, JRE1.6 Often I find that making my webapp's log4j configuration more verbose with regards to org.apache.catalina.core.StandardContext would yield debugs on my the contexts fails with 'listenerStart: Severe' message. But I find that this is not consistent; is there a way to m

RE: Tomcat 6.0.x Classloader sequence

2007-11-15 Thread uma_rk
Charles, Even if I place the jarfiles in a common path, they will be loaded by the webapp classloader right? Which means that each webapp would load the jars anew. The distinct webapps are taking up a lot of heapspace and affecting Tomcat. I would like to load the common jarfiles using commons

commons-dbcp and tomcat-dbcp

2007-11-15 Thread uma_rk
Env: Redhat, jre6, Tomcat 6.0.14 In migrating a webapp using commons-dbcp from Tomcat 5.5.x to Tomcat 6.0.x, I find that my database fails to obtain connections from the pool. This is a long shot: is there any interplay between tomcat-dbcp (located in ${CATALINA_BASE}/lib and commons-dbcp (situ

Tomcat 6.0.x Classloader sequence

2007-11-15 Thread uma_rk
I understand that the webapp classloaders in Tomcat 6.0.x diverge from the delegation model in first loading from the webapp before yielding to the commons class loader. Is it possible for me to configure the webapp class loaders to load classes from a path common to multiple webapps before lo

Re: "Loader constraint violation"

2007-11-14 Thread uma_rk
Thanks, you're a lifesaver - I found out that an el-api-.jar was lurking in my webapp deposited there by the transitive dependency of Maven. Is there a systematic way to trace the load sequence of classloaders? Tx, /U -- Original message -- From: "Martin Gain

"Loader constraint violation"

2007-11-14 Thread uma_rk
Env: Jre6, Tomcat 6.0.14, Redhat Pl help: when I invoke a JSP on the server, I get the following exception. I have a copy if xml-apis.jar in my webapp; I tried moving it to ${CATALINA_BASE}/lib - that fixed this problem but failed the webapp as it could not parse my tlds. How do I identify the r

Re:

2007-11-14 Thread uma_rk
Again, thanks for your time. Just after I wrote the list, I discovered an older version of xerces in the webapp. That fixed it! Thanks! /Uma -- Original message -- From: "Martin Gainty" <[EMAIL PROTECTED]> > what version xerces are you using in WEB-INF/lib?..(I

Re: Error: ListenerStart

2007-11-14 Thread uma_rk
Martin, Thanks for your help. I now get a verbose output on why my context load fails: it has to do with the Spring context load listener failing to load the right XML parser to load an XML configuration. The reason I am posting this to Tomcat's list is this: I have xercesImpl ver 2.9.0 in ${CA

Error: ListenerStart

2007-11-14 Thread uma_rk
Environment: Jre6, Tomcat 6.0.14, Linux Redhat Is there a Tomcat (6.x) specific way of making ContextListener more verbose in its "Error: listenerStart" message? I mean is there a log4j setting for Tomcat that I can enable to identify why the context load fails? Tx, /U ---

Debugging classloading

2007-11-12 Thread uma_rk
Env: JDK6, Tomcat5.5.x, Linux redhat I have a jarfile in common/endorsed; the classes in it are referred to by the classes loaded by my webapp classloader. Yet, my webapp aborts with classdef not found exception. Is there a way to neatly detail how each classloader is loading? (Other than maki

Tomcat 5.5 to Tomcat migration guide

2007-11-12 Thread uma_rk
Is there a list of problems to watch for in migrating a Tomcat5.5 app to Tomcat6? What is the equivalent of Tomcat5.5's common/endorsed in Tomcat6? I mean how do I load a class using commons classloader in TC6? Thanx, /U - To

RE: Issue #39631 in Tomcat 5.5.23?

2007-03-27 Thread uma_rk
Is there a way to make Tomcat verbose with regards to problems with parsing XML? Also, why would a bad XML cause a Null Ptr Exception in Log4j ( I am not using DOMConfigurator; I use log4j.properties to configure log4j). Thanks, /U -- Original message -- From: "R

Issue #39631 in Tomcat 5.5.23?

2007-03-27 Thread uma_rk
I am running Tomcat 5.5.23 on a Windows XP machine with JDK6. I have only one webapp (others are standard webapps packaged with Tomcat). During Catalina bootstrap, I see the null pointer exception (trace below) that looks quite like #39631 (SEE http://issues.apache.org/bugzilla/show_bug.cgi?id=3

Tomcat 5.5.x with JDK6

2007-01-15 Thread uma_rk
Hello... I would like to run Tomcat 5.5.x on JDK6. Is this supported? If not, are there obvious red flags with this combination? Thanks, U - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL