I don't know if this is your problem, but while creating my own portlets I
ran into a gotch-a :

In the jetspeed-config.jcfg file, I got a "class not found" error, followed
by the error you posted, due to white-spaces inside the <classname> tags. In
your post, I see no white-spaces (ie space or CarriageReturns) but I was not
sure if you modified it when posting it to this group. In my case, the Linux
pico was automatically moving the classname to a new line creating the
white-space. Making it even more difficult, white spaces are not displayed
in error messages so it is not apparent they are there.

I hope your problem is this simple - though it took me hours to find it :/
Meanwhile, perhaps others could use the heads-up.

Steve B.

----- Original Message -----
From: "Kendell C Neal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 8:19 AM
Subject: New User - PorletFactory Error


>
> Hi! - I have written the HelloWorldPortlet java class as suggested in the
> "How to write a Portlet" section of the online documentation.
> I named the class package ibmwebportlet.test in the .java source file.
>
> I have compiled the .java and created a .class file,
> HelloWorldPortlet.class.  I have put this .class file in both c:
> \ibmwebportlet\test\ directory and the
> c:\tomcat\jakarta-tomcat-3.2.1\webapps\jetspeed\ibmwebportlet\test\
> directory.
>
> When I run startup, both of these directories are in the CLASSPATH.  This
> is printed as output from the startup.bat script
>
> I have also added this entry into the jetspeed-config.jcfg file per the
> directions in the online documentation.
>
> <portlet-entry type="instance" name="HelloWorldPortlet">
>            <classname>ibmwebportlet.test.HelloWorldPortlet</classname>
> </portlet-entry>
>
> The only thing that happens now, is from the customize page, I get
> HelloWorldPortlet to show up for selection.  Once chosen, nothing shows up
> on the pages.
> Shouldn't I get a page that says "HelloWorld!"????
>
> This error shows up in the tomcat MS-DOS window,...
>
> Error=CustomizePortlet: Could not get Portlet HelloWorldPortlet from
> Portlet Factory!
>
> Apparently, I am doing something wrong, but, I can't find any help in the
> online documentation.  How do I tell tomcat/jetspeed where to find the
code
> for my new portlet?  Thanks!!!
>
>
> Kendell
> email:   [EMAIL PROTECTED]
>
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?:          [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to