public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/24385] New: spurious NoClassDefFoundError with web applications
@ 2005-10-15 17:05 thebohemian at gmx dot net
2005-10-15 17:16 ` [Bug libgcj/24385] " thebohemian at gmx dot net
2005-10-16 0:44 ` thebohemian at gmx dot net
0 siblings, 2 replies; 3+ messages in thread
From: thebohemian at gmx dot net @ 2005-10-15 17:05 UTC (permalink / raw)
To: java-prs
Given the following situation:
- Apache Tomcat 5.0.27
- (gij (GNU libgcj) version 4.1.0 20051014 (experimental) from CVS
- web application with a library jar in WEB-INF/lib (eg. axis.jar)
- try to load and access a class from axis.jar (e.g. Class.forName(....) )
NoClassDefFoundError is thrown.
I found this problem with a real web application but was able to reproduce the
problem with a simple test application, too.
--
Summary: spurious NoClassDefFoundError with web applications
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thebohemian at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24385
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/24385] spurious NoClassDefFoundError with web applications
2005-10-15 17:05 [Bug libgcj/24385] New: spurious NoClassDefFoundError with web applications thebohemian at gmx dot net
@ 2005-10-15 17:16 ` thebohemian at gmx dot net
2005-10-16 0:44 ` thebohemian at gmx dot net
1 sibling, 0 replies; 3+ messages in thread
From: thebohemian at gmx dot net @ 2005-10-15 17:16 UTC (permalink / raw)
To: java-prs
------- Comment #1 from thebohemian at gmx dot net 2005-10-15 17:16 -------
Created an attachment (id=9988)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9988&action=view)
Test application showing the problem
Unpack the application in your tomcat webapps folder and start the servlet
container.
Point your web browser to http://your-tomcat-server:port/gij-test-webapp .
It should say that the JavaUtils class could be found but it does not do so.
(Source included, of course)
Btw: This works with jamvm+classpath & kaffe.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24385
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcj/24385] spurious NoClassDefFoundError with web applications
2005-10-15 17:05 [Bug libgcj/24385] New: spurious NoClassDefFoundError with web applications thebohemian at gmx dot net
2005-10-15 17:16 ` [Bug libgcj/24385] " thebohemian at gmx dot net
@ 2005-10-16 0:44 ` thebohemian at gmx dot net
1 sibling, 0 replies; 3+ messages in thread
From: thebohemian at gmx dot net @ 2005-10-16 0:44 UTC (permalink / raw)
To: java-prs
------- Comment #2 from thebohemian at gmx dot net 2005-10-16 00:44 -------
After some explanation on IRC and a test run with "gij -noverify" I concluded
that this bug is a duplicate of 17021.
*** This bug has been marked as a duplicate of 17021 ***
--
thebohemian at gmx dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24385
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-16 0:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-15 17:05 [Bug libgcj/24385] New: spurious NoClassDefFoundError with web applications thebohemian at gmx dot net
2005-10-15 17:16 ` [Bug libgcj/24385] " thebohemian at gmx dot net
2005-10-16 0:44 ` thebohemian at gmx dot net
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).