• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployed portlets do not show up in Jetspeed

 
George Randall
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:


Note that i tried both the CompaniesAndPeoplePortlet (essentially a HelloWorld portlet) and ImageDisplayPortlet povided by Cameron McKenzie in a similar thread:
http://www.coderanch.com/t/203654/Portals-Portlets/java/Portal-Deployed-but-cant-see

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.

Please share your ideas,
George
 
Brad Gardner
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
George Randall
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

web.xml


portlet.xml
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there may be some more information in jetspeed-deployment.log

(C:\Apache\jetspeed-2.2.0\logs )
 
Noms Dom
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic