You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by John Wooten <jw...@ntplx.net> on 2002/01/05 19:27:33 UTC
Inner Classes and loader error?
Is anyone aware of a problem with the class loader loading inner classes in
JetSpeed.
I test a portlet that works without an innerclass and one that references an
inner class and the inner class one fails with a classLoader exception,
can't locate class ( classname is the name of the inner class ).
The class and the inner class are in the same jar file.
========================
John Wooten, Ph.D.
CTO & CoFounder, Shoulders Corp
http://www.shoulderscorp.com
865-482-9400
jwooten@shoulderscorp.com
============================
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Inner Classes and loader error?
Posted by John Wooten <jw...@ntplx.net>.
Finally found problem.
We had been using this code under Tomcat so it wasn't a problem with loading
inner classes although from the trace, that's what it appeared to be.
Instead it was a problem with a jar file for a class used by the inner class
that was't available in Jetspeed. Once we added that jar file, it worked.
(I've attached screen shot for those interested).
Now, the first screen looks fine, exactly what I would expect. However, if
I hit save or next or last buttons, then the image takes over the entire
page, not just the frame. Apparently I have to manage the frame I direct
to? That seems odd. I thought jetspeed would handle keeping my direction
back to the same frame. Somehow the first time I show the page it does, but
after that I don't seen anything about Jetspeed, i.e. not in the Jetspeed
frame. How do I work with this?
-----Original Message-----
From: Santiago Gala [mailto:sgala@hisitech.com]
Sent: Sunday, January 06, 2002 7:50 AM
To: Jetspeed Developers List
Subject: Re: Inner Classes and loader error?
John Wooten wrote:
>Is anyone aware of a problem with the class loader loading inner classes in
>JetSpeed.
>
>I test a portlet that works without an innerclass and one that references
an
>inner class and the inner class one fails with a classLoader exception,
>can't locate class ( classname is the name of the inner class ).
>
>The class and the inner class are in the same jar file.
>
This kind of problems come usually bound to the servlet container you
are using. Can you please elaborate more on this problem? (which
container, detailed stack trace, ...) Tomcat 4 has had a lot of problems
related with class loading.
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
Re: Inner Classes and loader error?
Posted by Santiago Gala <sg...@hisitech.com>.
John Wooten wrote:
>Is anyone aware of a problem with the class loader loading inner classes in
>JetSpeed.
>
>I test a portlet that works without an innerclass and one that references an
>inner class and the inner class one fails with a classLoader exception,
>can't locate class ( classname is the name of the inner class ).
>
>The class and the inner class are in the same jar file.
>
This kind of problems come usually bound to the servlet container you
are using. Can you please elaborate more on this problem? (which
container, detailed stack trace, ...) Tomcat 4 has had a lot of problems
related with class loading.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>