SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
Dear users I'm unable to get a Hello World Servlet running from my browser.  Configuration: Windows XP Version 2002 service pack 3 Apache-tomcat-7.0.23-windows-x86 CATALINA_HOME = c:\apache-tomcat-7.0.23-windows-x86\apache-tomcat-7.0.23 CLASSPATH= 

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
...@apache.org To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Tuesday, 10 January 2012, 18:30 Subject: Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23 On 10/01/2012 18:28, Alastair Baldwin wrote: Dear users I'm unable to get a Hello World Servlet running from

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
Apache-Tomcat 7.0.23 On 10/01/2012 18:38, Alastair Baldwin wrote: Excuse my ignorance, but I had the package information in place and had the same error so I tried to simplify it by removing the package details from HelloWorldServlet.java and the webapps directory. Is a package essential

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
Apache-Tomcat 7.0.23 On 10/01/2012 19:20, Mark Thomas wrote: On 10/01/2012 19:14, Alastair Baldwin wrote: My HelloWorldServlet.class is in CATALINA_HOME/webapps/WEB-INF/Classes Which should be: CATALINA_HOME/webapps/WEB-INF/classes Scratch that. It should be: CATALINA_HOME/webapps/appname/WEB

Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Alastair Baldwin
wrote: From: Alastair Baldwin [mailto:alastairgbald...@yahoo.co.uk] Subject: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23 CLASSPATH= .;c:\apache-tomcat-7.0.23-windows-x86\apache-tomcat-7.0.23\servlet-api.jar Probably not the cause of your problem, but don't set

Unable to access images stored in webapps/myapp/WEB-INF/images ?

2012-01-23 Thread Alastair Baldwin
Dear Users Why am I able to access images stored here: http://localhost:8080/imageUploader/1234.jpg but not here: http://localhost:8080/imageUploader/WEB-INF/images/1234.jpg File permissions are the same Any ideas? Thanks Alastair

Re: Unable to access images stored in webapps/myapp/WEB-INF/images ?

2012-01-24 Thread Alastair Baldwin
Thank you all for clearing that up. Alastair - Original Message - From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Tuesday, 24 January 2012, 2:00 Subject: RE: Unable to access images stored in webapps/myapp/WEB-INF/images ?