I'm trying to use Jetspeed as a development platform for portlets that would eventually be used in WebSphere. I know it's not the best approach but Jetspeed is light on resources so can be run locally.
Basically deploying to both portals works fine, but the portlets do not show up in the portlet list of Jetspeed.
Here's the console output after placing the war files in C:\Apache\Jetspeed2\webapps\jetspeed\WEB-INF\deploy:
I noticed that Cameron's output did not end with the initialization done message, but also included the following lines (for yet another MyAjax portlet) which seems to be exactly what i'm missing here:
I've never seen anyone mention the registry entries in the tutorials. As I said deploying ImageDisplayPortlet fails about the same way so to me it looks like the problem with Jetspeed configuration.
What version of jetspeed are you using? Also, could you post your web.xml and portlet.xml? Lastly, if you look in your webapps folder, there should be a deployed instance of your portlet, does it have a generated jetspeed-portlet.xml?
posted 8 years ago
Brad Gardner wrote:What version of jetspeed are you using? Also, could you post your web.xml and portlet.xml? Lastly, if you look in your webapps folder, there should be a deployed instance of your portlet, does it have a generated jetspeed-portlet.xml?
It's jetspeed 2.2.0. The file jetspeed-potlet.xml is NOT generated. I also noticed there's a folder deploy\local which has the following README.txt
This is the default auto deployment folder where you can put portlet application
war files to be automatically deployed as local portlet application by Jetspeed
without a "jetspeed-" prefix in the name as is required for local portlet application
when deployed in the "normal" auto deployment folder (by default this parent deploy folder).
Well, I see no activity in the terminal if I drop a war file here. And the behavior is the same as before if I drop into deploy folder whether or not the file name or <portlet-name> is prefixed with jetspeed-.
Once again the very same archive works just fine under websphere. Thanks!
I came to this thread searching for a solution . Did not find it . But i have a work around for my situation. well i am able to deploy my application also the portlet also is listed in the Registry applicatin list. However i am not able to add it to the page . So i just cloned the ported and used that namei n finder and i was able to see the portlet