[jboss-user] [JBoss Portal] - Re: JBoss on Eclipse

2009-05-20 Thread PeterJ
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

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232300
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JBoss on Eclipse

2009-05-20 Thread 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?


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232289
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JBoss on Eclipse

2009-05-20 Thread PeterJ
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?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232277
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user