public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* Bundle LocalStrings not found
@ 2002-10-01 13:34 Tom Karagianes
  2002-10-01 14:44 ` Anthony Green
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Karagianes @ 2002-10-01 13:34 UTC (permalink / raw)
  To: rhug-rhats

I keep running into the error listed below whenever I attempt to view one of
Tomcat's servlet examples. On investigation, LocalStrings is where it
belongs (actually the various LocalStrings appear to be where they belong)
so the error has me somewhat confused.  This failure was identified once
before, in the December 2001 archives, but no solution was given.  I suspect
that this is caused by some subtle configuration failure, but I have used
all the tricks I know to no avail.  A point in the right direction would be
appreciated.

System vitals that might be important:
	Mandrake 8.1
	Kernel 2.4.8
	GCJ 3.1

Thanks

TK

(p.s. I think what you have done so far is remarkable.  Thanks a lot.)


Error: 500
Location: /examples/servlet/HelloWorldExample
Internal Servlet Error:
java.util.MissingResourceException: Bundle LocalStrings not found
at 0x404747e0: _ZN4java4lang9ThrowableC1EPNS0_6StringE
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x40465036: _ZN4java4lang9ExceptionC1EPNS0_6StringE
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x40469766: _ZN4java4lang16RuntimeExceptionC1EPNS0_6StringE
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x404b28d9:
_ZN4java4util24MissingResourceExceptionC1EPNS_4lang6StringES4_S4_
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x404b5b90:
_ZN4java4util14ResourceBundle9getBundleEPNS_4lang6StringEPNS0_6LocaleEPNS2_1
1ClassLoaderE (/home/opt/gcc3/lib/libgcj.so.3)
at 0x404b53ab:
_ZN4java4util14ResourceBundle9getBundleEPNS_4lang6StringEPNS0_6LocaleE
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x405cd847: ffi_call_SYSV (/home/opt/gcc3/lib/libgcj.so.3)
at 0x405cd7f7: ffi_raw_call (/home/opt/gcc3/lib/libgcj.so.3)
at 0x40446cff: _ZN16_Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x405d8874:
_ZN16_Jv_InterpMethod3runEP7ffi_cifPvP7ffi_rawP26_Jv_InterpMethodInvocation
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x40444b14: _ZN16_Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x405cd6ac: ffi_prep_closure (/home/opt/gcc3/lib/libgcj.so.3)
at 0x401fea3a:
_ZN5javax7servlet4http11HttpServlet7serviceEPNS1_18HttpServletRequestEPNS1_1
9HttpServletResponseE (/home/opt/gcj_binaries/lib/lib-javax-servlet.so.0)
at 0x401feda9:
_ZN5javax7servlet4http11HttpServlet7serviceEPNS0_14ServletRequestEPNS0_15Ser
vletResponseE (/home/opt/gcj_binaries/lib/lib-javax-servlet.so.0)
at 0x4009c15c:
_ZN3org6apache6tomcat4core14ServletWrapper9doServiceEPNS2_7RequestEPNS2_8Res
ponseE (/home/opt/gcj_binaries/lib/lib-org-apache-tomcat.so.0)
at 0x40097cb5:
_ZN3org6apache6tomcat4core7Handler7serviceEPNS2_7RequestEPNS2_8ResponseE
(/home/opt/gcj_binaries/lib/lib-org-apache-tomcat.so.0)
at 0x4009bc64:
_ZN3org6apache6tomcat4core14ServletWrapper7serviceEPNS2_7RequestEPNS2_8Respo
nseE (/home/opt/gcj_binaries/lib/lib-org-apache-tomcat.so.0)
at 0x400946c6:
_ZN3org6apache6tomcat4core14ContextManager15internalServiceEPNS2_7RequestEPN
S2_8ResponseE (/home/opt/gcj_binaries/lib/lib-org-apache-tomcat.so.0)
at 0x400941bf:
_ZN3org6apache6tomcat4core14ContextManager7serviceEPNS2_7RequestEPNS2_8Respo
nseE (/home/opt/gcj_binaries/lib/lib-org-apache-tomcat.so.0)
at 0x400bb08d:
_ZN3org6apache6tomcat7service4http21HttpConnectionHandler17processConnection
EPNS2_13TcpConnectionEP6JArrayIPN4java4lang6ObjectEE
(/home/opt/gcj_binaries/lib/lib-org-apache-tomcat.so.0)
at 0x400b4846:
_ZN3org6apache6tomcat7service15TcpWorkerThread5runItEP6JArrayIPN4java4lang6O
bjectEE (/home/opt/gcj_binaries/lib/lib-org-apache-tomcat.so.0)
at 0x400d22bd: _ZN3org6apache6tomcat4util26ThreadPool$ControlRunnable3runEv
(/home/opt/gcj_binaries/lib/lib-org-apache-tomcat.so.0)
at 0x40472193: _ZN4java4lang6Thread3runEv (/home/opt/gcc3/lib/libgcj.so.3)
at 0x40457c5c: _Z13_Jv_ThreadRunPN4java4lang6ThreadE
(/home/opt/gcc3/lib/libgcj.so.3)
at 0x405bbbf0: _Z20_Jv_ThreadUnRegisterv (/home/opt/gcc3/lib/libgcj.so.3)
at 0x405c3d0e: GC_start_routine (/home/opt/gcc3/lib/libgcj.so.3)
at 0x40845bc3: pthread_detach (/lib/libpthread.so.0)
at 0x4092cc0a: __clone (/lib/libc.so.6)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bundle LocalStrings not found
  2002-10-01 13:34 Bundle LocalStrings not found Tom Karagianes
@ 2002-10-01 14:44 ` Anthony Green
  2002-10-09 12:50   ` Tom Karagianes
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Green @ 2002-10-01 14:44 UTC (permalink / raw)
  To: Tom Karagianes; +Cc: rhug-rhats

On Tue, 2002-10-01 at 13:44, Tom Karagianes wrote:
> I keep running into the error listed below whenever I attempt to view one of
> Tomcat's servlet examples. On investigation, LocalStrings is where it
> belongs (actually the various LocalStrings appear to be where they belong)
> so the error has me somewhat confused.

Just put the directory with LocalString.properties on your CLASSPATH
before running tomcat.  For me, this looks like:

$ CLASSPATH=/menlo/green/rhug/i/etc/tomcat/webapps/examples/WEB-INF/classes tomcat

I'm pretty sure you shouldn't have to do this. :-)

Any help debugging this would be great.  Even a pointer to where tomcat
sets the classpath based on the webapps that are installed...

> (p.s. I think what you have done so far is remarkable.  Thanks a lot.) 

Thanks!!

AG


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Bundle LocalStrings not found
  2002-10-01 14:44 ` Anthony Green
@ 2002-10-09 12:50   ` Tom Karagianes
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Karagianes @ 2002-10-09 12:50 UTC (permalink / raw)
  To: 'Anthony Green'; +Cc: rhug-rhats

Thanks.  This worked like a charm.  Will keep my eye out for what Tomcat
does with classpaths on installed webapps.

TK

-----Original Message-----
From: Anthony Green [mailto:green@redhat.com]
Sent: Tuesday, October 01, 2002 2:44 PM
To: Tom Karagianes
Cc: rhug-rhats@sources.redhat.com
Subject: Re: Bundle LocalStrings not found


On Tue, 2002-10-01 at 13:44, Tom Karagianes wrote:
> I keep running into the error listed below whenever I attempt to view one
of
> Tomcat's servlet examples. On investigation, LocalStrings is where it
> belongs (actually the various LocalStrings appear to be where they belong)
> so the error has me somewhat confused.

Just put the directory with LocalString.properties on your CLASSPATH
before running tomcat.  For me, this looks like:

$ CLASSPATH=/menlo/green/rhug/i/etc/tomcat/webapps/examples/WEB-INF/classes
tomcat

I'm pretty sure you shouldn't have to do this. :-)

Any help debugging this would be great.  Even a pointer to where tomcat
sets the classpath based on the webapps that are installed...

> (p.s. I think what you have done so far is remarkable.  Thanks a lot.)

Thanks!!

AG

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-09 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-01 13:34 Bundle LocalStrings not found Tom Karagianes
2002-10-01 14:44 ` Anthony Green
2002-10-09 12:50   ` Tom Karagianes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).