AW: NPE initializing 2.1.6 showcase in Tomcat 6.0.18
Hi.. is that already verified, that the NPE occurs cause of the spaces in the path names? And if - are there any other work arounds than installing tomcat in a different path, cause I have to use a preinstalled tomcat in a path with blank spaces. Regards, Jan -Ursprüngliche Nachricht- Von: Giovanni Azua [mailto:brave...@swissonline.ch] Gesendet: Freitag, 16. Januar 2009 12:49 An: 'Struts Users Mailing List' Betreff: RE: NPE initializing 2.1.6 showcase in Tomcat 6.0.18 hi there! Ok now the showcase works for me too. I think I found the cause of the problem. (Under Windows XP) - If I install Tomcat under C:\Program Files\Apache Software Foundation\Tomcat (as the Tomcat Windows service installer does) the NPE occurs - OTOH if I install Tomcat under e.g. C:\java\Tomcat it works fine. It looks like the problem is due to the empty spaces in the directory location of the configuration. Best, Giovanni -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Friday, January 16, 2009 11:14 AM To: Struts Users Mailing List Subject: Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18 2009/1/16 Lukasz Lenart lukasz.len...@googlemail.com: I installed Tomcat service and drop the war that comes within the struts-2.1.6-all.zip and then saw the NPE blow. I restarted the showcase several times from Tomcat manager but still got the NPE. I've started it from console (via bat file) maybe that's the case, I will check Nope, works ;-) Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: AW: NPE initializing 2.1.6 showcase in Tomcat 6.0.18
Jan Fröhlich wrote: And if - are there any other work arounds than installing tomcat in a different path, cause I have to use a preinstalled tomcat in a path with blank spaces. I didn't see any other responses, so I'll throw out the obvious answer that may or may not work: Have you tried adding and using a shortcut to that directory (which does not contain spaces) to see if that avoids the issue? -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: AW: NPE initializing 2.1.6 showcase in Tomcat 6.0.18
I agree with Dale Putting ANY characters other than a-z upper/lower and 0-9 and LONG FOLDER NAMES WITH SPACES easily gacks Java read routines so if your CATALINA_HOME is set to C:\PROGRAM FILES WITH SPACES\TOMCAT go to C:\ dir /X /AD find the shortened name e.g. PROGRA~1 and use that for environment variable SET CATALINA_HOME=C:\PROGRA~1\TOMCAT HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Thu, 22 Jan 2009 10:09:38 -0500 From: d...@newfield.org To: user@struts.apache.org Subject: Re: AW: NPE initializing 2.1.6 showcase in Tomcat 6.0.18 Jan Fröhlich wrote: And if - are there any other work arounds than installing tomcat in a different path, cause I have to use a preinstalled tomcat in a path with blank spaces. I didn't see any other responses, so I'll throw out the obvious answer that may or may not work: Have you tried adding and using a shortcut to that directory (which does not contain spaces) to see if that avoids the issue? -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org _ Hotmail® goes where you go. On a PC, on the Web, on your phone. http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208