Hi Miten,

There are some other quirks that I've encountered on my installation. Admittedly, I've not been doing portlet work for long. Still, my development box is XP, I'm running tomcat 5.0.28 with jdk 1.5. Jetspeed's backed by a MySQL db. I've had your experience as well. My problems worked themselves out, but there were a few quirks that I didn't see documented:

1. When I redeploy a warfile, jetspeed does not remove the old webapp and install the new one over it. I shut down tomcat5, delete my portlet webapp directory, build the warfile to jetspeed's deploy directory and restart. I've also had to do a maven db.recreate fairly regularly because the removal of my apps doesn't seem to go smoothly. I'm sure these are basic configuration issues on my system, but I haven't taken the time to figure them out yet.

2. Some of the documentation suggests that if you have a j2eedeployer (or something like that) user and password specified in your build.properties file in USER_HOME it will automatically connect to the Catalina manager app for removals and installs. This isn't true. You need to add those properties to jetspeed's properties file (WEB-INF/conf/jetspeed.properties). Actually, you're supposed to add them to override.properties from what I read, but I haven't done that so I can't say that it works.

3. Scott's response probably fixes your problem. ;) I just wanted to add these to the list for headache reduction purposes.

Mike

Scott T. Weaver wrote:

APPID::portletid needs to be APPID::portletName not the id.


miten mehta wrote:

Hello,

I have custom portlet which is packaged in war file. xml files I added were:
portlet.xml - which defines xml for my portlet
web.xml - copied it from jetspeed dir deployed in
tomcat (I hope thats how to package)


added entry to default-page.psml as APPID::portletid

I see on default page a window for my porlet but it
does not seem to be getting called. I dont know exactly what all I need to get a basic
portlet working. I added System.out.println messages
but nothing printed to console. Neither log4j is any
help since I believe my portlet is not called at all.
Some thing related to jetspeed unable to find it.


Any one would like more info let me know and I can
provide you with war file etc.

Miten.


__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









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



Reply via email to