Hi Kendell,
I think there are two ways you can deploy your HelloWorldPortlet
1. create a new folder ..../webapps/jetspeed/Web-inf/classes/ibmwebportlet/test
and copy your .class file in this folder
2. create a .jar file which includes your HelloWorldPortlet.class and copy it
to ..../webapps/jetspeed/Web-inf/lib (Btw, in this folder you can find all the
other .jar files)
You don't have to modify your classpath, tomcat finds the classes/jar-files
automatically
Hope this helps,
Markus
Kendell C Neal wrote:
> 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]
--
____________________________________________________________
Markus Kopka BROKAT AG
Senior Software Engineer www.brokat.com
Industriestrasse 3
D-70565 Stuttgart
Germany
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]