java.lang.OutOfMemoryError: PermGen space

2008-06-12 Thread Shashidhar Rampally
Hey all, I have deployed Alfresco (http://www.alfresco.com) on my Apache2.0+modjk_Tomcat5.5.9 installation running on a Windows XP box. Now, when I start Tomcat I get an OutOfMemoryError. I have searched a lot and almost all posts say that I need to increase the heap space by adding -Xms128m

Re: java.lang.OutOfMemoryError: PermGen space

2008-06-12 Thread Shashidhar Rampally
Thanks for the quick reply Chuck! I found java5w.exe immediately after I sent the email. Increasing the heap did not solve my issue. I had to increase the PermSize by setting -XX:MaxPermSize=256m Now I am getting some IO and RMI exceptions. However, they are all related to Alfrsco. Thanks again!

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-13 Thread Shashidhar Rampally
PROTECTED] wrote: 2008/4/13, Shashidhar Rampally [EMAIL PROTECTED]: [...] Also when I tried to replace one VirtualHost with multiple VirtualHosts (and hence not needing mod_rewrite), I am getting the following error message: [warn] VirtualHost xyz.com:80 overlaps with VirtualHost

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Shashidhar Rampally
, Shashi VirtualHost *:80 JkMount /* ajp13 RewriteEngine on Options +FollowSymlinks RewriteCond %{http_host} ^xyz.com [nc] RewriteRule ^(.*)$ http://www.xyz.com$1 [r=301,nc,L] /VirtualHost On Fri, Apr 11, 2008 at 3:53 PM, Shashidhar Rampally [EMAIL PROTECTED

Re: 301 permanent redirects in Apache + Tomcat using mod_jk (solved partly)

2008-04-12 Thread Shashidhar Rampally
] wrote: 2008/4/12, Shashidhar Rampally [EMAIL PROTECTED]: Francis, I have followed your suggestion of using a VirtualHost but also made use of a suggestion I found on a website which talked about putting mod_rewrite rules inside the VirtualHost element along with the JkMount

301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
Hi guys, I am trying to permanently redirect http://xyz.com to http://www.xyz.com, which is hosted on Apache2 + Tomcat 5.5.9 with mod_jk. I am trying to use .htaccess file to do so. So far my efforts have been unsuccessful! It looks like one the request is handed over to mod_jk before it gets

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
(response.SC_MOVED_PERMANENTLY); //send user to new location response.setHeader(Location, http://www.xyz.com;); % On Fri, Apr 11, 2008 at 12:48 PM, Francis Galiegue [EMAIL PROTECTED] wrote: 2008/4/11, Shashidhar Rampally [EMAIL PROTECTED]: Hi guys, I am trying

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
rewriting module/plug-in like mod_rewrite. Thanks, Shashi On Fri, Apr 11, 2008 at 1:45 PM, Francis Galiegue [EMAIL PROTECTED] wrote: 2008/4/11, Shashidhar Rampally [EMAIL PROTECTED]: Thanks for the quick reply, Francis! My httpd.conf file doesn't have a single VirtualHost defined because I

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
away. Thanks, Shashi On Fri, Apr 11, 2008 at 3:28 PM, Francis Galiegue [EMAIL PROTECTED] wrote: 2008/4/11, Shashidhar Rampally [EMAIL PROTECTED]: Francis, I placed the following in httpd.conf. However, the next time I visited xyz.com, it took me to Tomcat home page

Re: 301 permanent redirects in Apache + Tomcat using mod_jk

2008-04-11 Thread Shashidhar Rampally
I am sorry, I meant I do not know anything about mod_proxy. On Fri, Apr 11, 2008 at 3:53 PM, Shashidhar Rampally [EMAIL PROTECTED] wrote: Francis, Sorry if I offended you. Those links are www.xyz.com/specsheets.html - www.xyz.com/specsheet.jsp www.xyz.com/aboutus.html - www.xyz.com