-
1. Re: JBoss on Eclipse
peterj May 20, 2009 10:43 AM (in response to ekusnady)So you question is why are those JAR files missing from WEB-INF/lib? The answer is that they are not needed - they are already part of either JBoss AS of Portal. If you package those files with your portlet your portlet will not work.
Since you installed JBoss Tools, did you enable the portlet facet on you dynamic web app? -
2. Re: JBoss on Eclipse
ekusnady May 20, 2009 11:16 AM (in response to ekusnady)Yes.. I enabled already the portlet facet on dynamic web project.
I just tried to deploy again my java portlet, but it still didn't work.
This is what i got from my eclipse :
http://localhost:8080/HelloWorld/WEB-INF/classes/test/TEST.java
--------------------------------------------------------------------------------
type Status report
message /HelloWorld/WEB-INF/classes/test/TEST.java
description The requested resource (/HelloWorld/WEB-INF/classes/test/TEST.java) is not available.
But if i test only like this : http://localhost:8080
I could see JBoss Portal on my eclipse.
Hmm .... Any suggestion? -
3. Re: JBoss on Eclipse
peterj May 20, 2009 11:51 AM (in response to ekusnady)Once a portlet is created, it has to be registered with the Portal and placed on a portal page. Then you access it through the portal URL. Looks like you are not doing that. The Portal docs should tell you what is needed (besides the portlet.xml file you also need a portlet-instances.xml and *-object.xml file).
Did you read the Tools portlet tutorial?
http://docs.jboss.org/tools/3.0.1.GA/en/jboss_portal_tools_ref_guide/html_single/index.html