You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2002/03/21 14:41:02 UTC

RE: Servlet Deploy Problem Help

	The stack trace you included indicates that you are running the
servlet, but its throwing an exception.

> -----Original Message-----
> From: Sanjay Bahal [mailto:sb6325@yahoo.com]
> Sent: Thursday, March 21, 2002 9:21 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Servlet Deploy Problem Help
> 
> 
> I either get a resource not found or 
> java.util.MissingResourceException: Can't find bundle
> for base name LocalStrings, locale en_US
> 	at
> java.util.ResourceBundle.throwMissingResourceException(Resourc
> eBundle.java:707)
> 	at
> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604)
> 	at
> java.util.ResourceBundle.getBundle(ResourceBundle.java:559)
> 	at HelloWorldExample.doGet(Unknown Source)
> 

	If your servlet wasn't being called then you wouldn't see it in the
stack trace.  I would suggest that you look at how you are loading resources
in your servlet (they are probably not in the classpath).

	Randy

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: Servlet Deploy Problem Help

Posted by Sanjay Bahal <sb...@yahoo.com>.
Thanks of the insight. The servlet is a HelloWorld
example. The only imports in the class are:
import java.io.*;
import java.text.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
I would easily suppose these should be available to
Tomcat. If not what do I do.
Thanks
Sanjay
--- Randy Layman <ra...@aswethink.com> wrote:
> 
> 	The stack trace you included indicates that you are
> running the
> servlet, but its throwing an exception.
> 
> > -----Original Message-----
> > From: Sanjay Bahal [mailto:sb6325@yahoo.com]
> > Sent: Thursday, March 21, 2002 9:21 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: Servlet Deploy Problem Help
> > 
> > 
> > I either get a resource not found or 
> > java.util.MissingResourceException: Can't find
> bundle
> > for base name LocalStrings, locale en_US
> > 	at
> >
>
java.util.ResourceBundle.throwMissingResourceException(Resourc
> > eBundle.java:707)
> > 	at
> >
>
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604)
> > 	at
> >
>
java.util.ResourceBundle.getBundle(ResourceBundle.java:559)
> > 	at HelloWorldExample.doGet(Unknown Source)
> > 
> 
> 	If your servlet wasn't being called then you
> wouldn't see it in the
> stack trace.  I would suggest that you look at how
> you are loading resources
> in your servlet (they are probably not in the
> classpath).
> 
> 	Randy
> 
> --
> To unsubscribe:  
> <ma...@jakarta.apache.org>
> For additional commands:
> <ma...@jakarta.apache.org>
> Troubles with the list:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>