Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Konstantin Kolinko
2010/1/11 Martin Grotzke : > On Mon, 2010-01-11 at 02:54 +0300, Konstantin Kolinko wrote: >> 2010/1/10 Martin Grotzke : >> > Hi, >> > >> > Jan 10, 2010 2:57:51 PM org.apache.catalina.connector.CoyoteAdapter service >> > SEVERE: An exception or error occurred in the container during the request >>

RE: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-10 Thread Caldarale, Charles R
> From: Leon Kolchinsky [mailto:lkolc...@gmail.com] > Subject: Re: How to deploy java app. on Tomcat's virtual domains > residing outside CATALINA_HOME? > > I also would like to keep apache http and use it's ssl capabilities. The identical SSL capabilities (same code) are available in Tomcat's AP

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
Charles, Looking back you are correct. With all my confusion that clearly did not register as I could plainly see it the host section of my server .xml. You guys have a lot of patience with a guy like me and I shouldn't post with such ignorance. I'm inheriting this project from the one who desig

Re: How to deploy java app. on Tomcat's virtual domains residing outside CATALINA_HOME?

2010-01-10 Thread Leon Kolchinsky
Thank you guys, I've decided to install it into CATALINA_HOME since it seems to be the only "proper" way for now of installing Sakai. I also would like to keep apache http and use it's ssl capabilities. Leon On Sun, Jan 10, 2010 at 7:57 AM, Christopher Schultz < ch...@christopherschultz.net> wro

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Martin Grotzke
On Mon, 2010-01-11 at 02:54 +0300, Konstantin Kolinko wrote: > 2010/1/10 Martin Grotzke : > > Hi, > > > > Jan 10, 2010 2:57:51 PM org.apache.catalina.connector.CoyoteAdapter service > > SEVERE: An exception or error occurred in the container during the request > > processing > > java.lang.NoClassD

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > To solve it, I simply removed the docBase="" from the ? Note that we mentioned an empty docBase was illegal quite some time ago. You should not have *any* elements in server.xml. Whatever

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Konstantin Kolinko
2010/1/10 Martin Grotzke : > Hi, > > Jan 10, 2010 2:57:51 PM org.apache.catalina.connector.CoyoteAdapter service > SEVERE: An exception or error occurred in the container during the request > processing > java.lang.NoClassDefFoundError: org/joda/time/format/ISODateTimeFormat >        at > de.java

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
Hi Mark, Thanks, that was the problem ! The question is how I solved it and is it safe. To solve it, I simply removed the docBase="" from the ? Upon investigating docBase, it where your .war file is located. I assume because my deployment does not involve a .war file that it's ok not to hav

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Sent: 2010 January 10, Sunday 16:28 > To: Tomcat Users List > > Can anyone post a virtual host snippet from their server.xml ? Better if you post your server.xml and the elements from your webapps (which should not be in server.xml). A

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Mark Thomas
On 10/01/2010 22:28, Patrick Flaherty wrote: > Uncle ! > > I just created a ROOT folder off of my appBase, cut and pasted all of > what was in my appbase > into the new ROOT folder. Restart Tomcat and I try and hit the app with > the hostname and I get > a 404 for /. > (If I add /ROOT to the appBa

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
Uncle ! I just created a ROOT folder off of my appBase, cut and pasted all of what was in my appbase into the new ROOT folder. Restart Tomcat and I try and hit the app with the hostname and I get a 404 for /. (If I add /ROOT to the appBase path and I can hit the app successfully.) I tried Tom

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Mark Thomas
On 10/01/2010 14:35, Martin Grotzke wrote: > final XMLFormat xmlFormat = (XMLFormat) Class.forName( > "de.javakaffee.web.msm.serializer.javolution.JodaDateTimeFormat", > true, classLoader ).newInstance(); > Can someone help with this? I suggest downloading a copy of

Re: 401 Error with Basic Auth and Tomcat

2010-01-10 Thread Pid
On 09/01/2010 23:16, cgswtsu78 wrote: Hello, I'm using the below httpd configuration in order to secure a resource ("/reportsvcs_ws") using basic auth. When I hit the url https://host/reportsvcs_ws without authing, I'm prompted as expected but I get a http status code of 401 when accessing the

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > If I have 3 apps for a given then off my appBase I > would have : > > /ROOT (a must default for each ) > /app2 > /app3 > > To access these apps, the URL's for the apps would be : > > http:

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
On Jan 10, 2010, at 1:53 PM, Caldarale, Charles R wrote: From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: Tomcat Filter Mapping Issue I don't touch that app, I leave it alone and it remains the machine's ROOT APP. No, it is that particular 's ROOT app; not the machine's.

Re: Max heap size

2010-01-10 Thread Robin Wilson
We're running with -Xmx=6g right now. No problems. 64-bit RHEL platform, so you may need a 64-bit OS for that. -- Robin D. Wilson On Jan 10, 2010, at 8:59 AM, "V Jayakumar" wrote: > > All > > > > Thank you all for the replies & the scripts. > > > > It is true that we can find the results th

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > I have looked online at various How-To's and it's not clear to me > this is the case. The Internet is an excellent example of Sturgeon's Law: 95% of everything is crud. > I have 2 Tomcat re

RE: Tomcat Filter Mapping Issue

2010-01-10 Thread Caldarale, Charles R
> From: Patrick Flaherty [mailto:pflah...@rampageinc.com] > Subject: Re: Tomcat Filter Mapping Issue > > I don't touch that app, I leave it alone and it remains the > machine's ROOT APP. No, it is that particular 's ROOT app; not the machine's. Every must have a ROOT app, and most likely not t

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Hassan Schroeder
On Sun, Jan 10, 2010 at 10:45 AM, Patrick Flaherty wrote: > I have not read that explicitly. I have looked online at various How-To's Things that are not part of the "official" documentation have a very real chance of being out-of-date, misleading, or just plain wrong. Try this instead :-)

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
Hi Hassan, I have not read that explicitly. I have looked online at various How- To's and it's not clear to me this is the case. I have 2 Tomcat reference books neither which mention this about Virtual Hosts. I will look some more. I do not dispute you at all, don't get me wrong. It's even b

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Hassan Schroeder
On Sun, Jan 10, 2010 at 9:55 AM, Patrick Flaherty wrote: > I set up three VIRTUAL HOSTS matching the names of the 3 PUBLIC domain names > I have mapping to the IP address of the box. > > Like the following : > > Host name = "www.myapp1.com"   appbase = "c:/app1" > Host name = "www.myapp2.com"   a

Re: Tomcat Filter Mapping Issue

2010-01-10 Thread Patrick Flaherty
On Jan 10, 2010, at 12:25 AM, Caldarale, Charles R wrote: From: Patrick Flaherty [mailto:pflah...@rampageinc.com] Subject: Re: Tomcat Filter Mapping Issue Meaning every host should have a ROOT app regardless of whether you are hosting ONE or MORE apps on a host ! Correct. Good ! That

RE: Incompatabilities?

2010-01-10 Thread George Sexton
I can give you the examples of incompatibilities I've seen in my app. They're pretty trivial. In Servlet API 2.2 days, Tomcat would take a negative load-on-startup order in the web.xml for a servlet. When running under WebLogic, that disabled the servlet. My app also called ServletContext.getReso

RE: Max heap size

2010-01-10 Thread Caldarale, Charles R
> From: V Jayakumar [mailto:v...@hotmail.com] > Subject: RE: Max heap size > > http://docs.sun.com/app/docs/doc/819-3681/abeii?a=view > says that maximum address space for a process in 32 bit version of > Linux is 2 GB. > > But am not sure for which version of JRE this limitation is applicable.

RE: Max heap size

2010-01-10 Thread V Jayakumar
All Thank you all for the replies & the scripts. It is true that we can find the results through tests. http://docs.sun.com/app/docs/doc/819-3681/abeii?a=view says that maximum address space for a process in 32 bit version of Linux is 2 GB. But am not sure for which version o

How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Martin Grotzke
Hi, for some feature of the memcached-session-manager (memcached-based session failover, [1]) I want to access/reference webapplication classes (in WEB-INF/lib/) directly from my manager implementation (subclasses o.a.catalina.session.ManagerBase, registered via Context/Manager) when tomcat starts