Resin to Tomcat migration(context name is null)

2008-12-01 Thread Abhi
above worked. Also is the context.xml or .xml automcatically picked or should server.xml be informed of this file? -- Cheers, Abhi

Re: Resin to Tomcat migration(context name is null)

2008-12-01 Thread Abhi
Thanks Mark. I am getting the context name using the session object session.getServletContext().getServletContextName() On Mon, Dec 1, 2008 at 5:23 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > Abhi wrote: > > I am trying to migrate my application from Resin to Tomcat 6.0.18. The

Re: Resin to Tomcat migration(context name is null)

2008-12-01 Thread Abhi
in Tomcat. What I actually want is the URL prefix for the servlet context. The method to access this would be httpServletRequest.getContextPath(). But I want to access this in a filter. Does anybody know a container independent way to do this? On Mon, Dec 1, 2008 at 5:35 PM, Abhi <[EM

Re: Resin to Tomcat migration(context name is null)

2008-12-01 Thread Abhi
I apologize for not being clear. The code is in the init method. On Mon, Dec 1, 2008 at 6:14 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Abhi wrote: > >> This is an issue with the way getServletContextName() is implemented in >> Resin and Tomcat. In Tomcat this returns

Re: Resin to Tomcat migration(context name is null)

2008-12-01 Thread Abhi
Thanks a ton. On Mon, Dec 1, 2008 at 6:50 PM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: > Abhi wrote: > >> I apologize for not being clear. The code is in the init method. >> >> > Tomcat 6.x implements Servlet API 2.5. There's appropiate > Ser

mod_jk initialization error

2008-12-08 Thread Abhi
./configure --with-apxs=/usr/sbin/apxs2 make During compilation I get no errors. I am using apache2. Any pointers? -- Cheers, Abhi

Re: mod_jk initialization error

2008-12-08 Thread Abhi
ou didn't > created configuration for > mod_jk. > > > Abhi wrote: > >> I am trying to get tomcat running with apache using mod_jk connector. >> >> I compiled mod_jk.so from source and put it under apache modules >> directory. >> I get no error while restartin

Re: mod_jk initialization error

2008-12-09 Thread Abhi
Thanks Rainer. It was a problem with the virtual hosts. Resolved it. Thanks again. 2008/12/9 Rainer Jung <[EMAIL PROTECTED]> > Abhi schrieb: > > Thanks Milan. > > > > This is how my apache2.conf looks > > > > LoadModule jk_module /usr/lib/apac

Tomcat memory usage 3.3 vs 5.5

2006-04-18 Thread Abhi Karmos
classpath, the steady state memory usage is 50 MB with Tomcat 3.3 and 66 MB with Tomcat 5.5. Has anyone else solved a similar problem before ? Can I try and tweak tomcat 5.5 to run in less memory ? Our server.xml is the minimal configuration possible. Regards, Abhi. OS: Linux / RedHat 7.3 JVM: IBM

Re: Tomcat memory usage 3.3 vs 5.5

2006-04-19 Thread Abhi Karmos
Hey thanks for your comments - 1. Our applications are fixed. We have removed all unnecessary apps. 2. Unwanted jars/classes are not loaded into physical memory by IBM JVM on Linux. So, it will not add to RSS. We have done some experiments and are sure of this claim. Abhi. "manivan

Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Abhi Karmos
Hi, Is there some documentation on how much memory a typical Tomcat 5.5 installation takes (without any webapps - just the server overhead). It takes about 45 MB (resident set size, ps -eux) on my linux system with IBM JVM. Abhi

Re: Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Abhi Karmos
Hi Filip, I am not convinced with your argument. When I start Tomcat 3.3 with the same JVM, same OS and same heap -X settings, the RSS barely crosses 25 MB. Tomcat 5.5 takes 45 MB. In both cases, there are no webapps...and all conceivable settings, threads, listeners are same. Abhi