I have installed JBP 2.0 and it is working fine.  However, I am having trouble 
deploying the sample portlet war files (helloworld and cardemo).  If I put the 
war files in deploy,  JBoss handles them typically, but the portal does not see 
them, and the page is not available.  If I put the war files in 
deploy/jboss-portal.sar, the portal does not see them and they are not expanded 
into tmp.  I have tried the following URLs in both cases:

http://localhost:8080/portal/index.html?page=helloworld

http://localhost:8080/portal/index.html?ctrl:id=page.default.helloworld

The page name in helloworld-pages.xml is helloworld, not hello.

If I put the expanded war file into deploy/jboss-portal.sar, then the page is 
visible under the page menu of the menu portlet, but the page does not display 
correctly.  I have reviewed the logs and there are no error messages.   I have 
reviewed all of the documentation and tried a number of permutations.  I have 
also looked through the forum and found a posting about adding a leading / into 
to the helloworld page xml file.  None of these solutions allow me to display 
the page as specified in the documentation.  Exactly where does one put the war 
files containing portlets to deploy?  How does the portal aggregate the various 
*-pages.xml files?  Must the server be restarted when a new portlet war file is 
deployed in order for the portal to be able to handle the new portlet instances 
and pages?  Must the war file be deployed expanded?

Any help getting these samples to work would be greatly appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883498#3883498

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883498


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to