Yes, I did restart Tomcat for about fifty times (no exaggeration).

And, again, I did copy the classes to my WEB-INF/classes dir and it didn't
work; copying it to my j2sdk/jre/lib/ext did it.

I'm using Jetspeed 1.4 and tomcat 4.1 btw.

-
Gerald Stampfel
[EMAIL PROTECTED]

----- Original Message ----- 
From: "Weaver, Scott" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 3:10 PM
Subject: RE: PortletFactory: Unable to load class


> Gerald,
>
> Your portlet should work just fine when copied to your WEB-INF/classes
directory.  Did you restart tomcat after you deployed the class?  If you
didn't restart, do you have your webapp's context marked as
reloadable="true"?
>
> Regards,
> *================================*
> | Scott T Weaver                 |
> | <[EMAIL PROTECTED]>            |
> | Apache Jetspeed Portal Project |
> | Apache Pluto Portlet Container |
> *================================*
>
>
> > -----Original Message-----
> > From: Gerald Stampfel [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, November 02, 2003 2:39 PM
> > To: Jetspeed Users List
> > Subject: PortletFactory: Unable to load class
> >
> > Hi,
> >
> > i made a small portlet and copied the class file (+ directory structure)
> > into jetspeed/WEB-INF/classes. That didn't work, i got the following
error
> > message in jetspeedservices.log:
> >
> > org.apache.jetspeed.portal.PortletException: PortletFactory: Unable to
> > load class foo.bar
> >  at
> >
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.
> > getPortlet(JetspeedPortletFactoryService.java:217)
> >  at
> >
org.apache.jetspeed.services.portletfactory.JetspeedPortletFactoryService.
> > getPortlet(JetspeedPortletFactoryService.java:163)
> >  at
> >
org.apache.jetspeed.services.PortletFactory.getPortlet(PortletFactory.java
> > :92)
> >  .....
> >
> > I also created a jar, incorporating my portlet class, and copied it
under
> > jetspeed/WEB-INF/lib. Didn't work. I did the same for tomcat/common/lib.
> > Didn't work too.
> >
> > Than i copied the .jar file into j2sdk/lib/ext and it worked.
> >
> > Here my question: why do the directories jetspeed/WEB-INF/class and
> > jetspeed/WEB-INF/lib exist when they are not given attention ?
>
>
> >
> > thanks
> >
> >
> > -
> > Gerald Stampfel
> > [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to