Tiago Fraga wrote:
Hi, I´m new in GateIn, and I am having any problems.
The first: with Eclipse integration.
Is there a way to integrate the Gatein and eclipse? I need run my project on Eclipse and the portlet runs into eclipse. I need degub step-by-step my project into the eclipse. I need test my portlet into the eclipse. Is this possible with gatein?
Today, I make my portlet, I make a build, I publish this war file and I try out of eclipse. But, when there a error, the portal doesn´t available the portlet, and I cann´t figure out what´s wrong!!!!!! There is no error log! There is no anything!!!!
You should be able to do most of work but with couple of extra help assuming you are using Eclipse and JBoss tools plugin. Once you publish your portlet .war to GateIn, you would have to use GateIn's UI to import that portlet to app registry and add it to some page. Currently, JBoss tool does not do that unfortunately. Redeploying the app or using eclipse's remote debugger, you should then be able to. May be I can blog about it. ;-)
My second problem is descouvery a error into the portlet. I´ve created a portlet from scratch and I tryed publish! But was failed! My portlet using JSF, Richfaces, xhtml. It is basic! When I don´t use JSF, I can publish a portlet without errors. But when I using JSF, I cann´t publish my portlet. I´ve already seeked how I can solve this problem, but again, I´ve failed!
What is the problem you are seeing?
Anybody can help me?
And, sorry my English, I don´t speak this language!!
Thank you, Prabhat Jha. I´ll be studing about eclipse's remote debugger!
And about no logs when I try publish my portlet on Gatein?
Thank you very much, Prabhat Jha, the link is very helpfull. But, I´m sorry my insistence. The debug works well when I can publish the portlet. But when I cann´t publish the portlet, I cann´t start the debug! Is there a way to register the error in the server log?
Your link is helpfull because I didn´t know how debug my portlets.
What do you mean by when I can publish the portlet? When you use eclipse to redeploy, do you not see some message in Eclipse's server console that server undeploys previous portlet app and redploys again? I have done that several times and it works.
Keep in mind that even if you develop and deploy portlet using Eclipse/JBoss Tools, you would still have to import portlet and add to a page manually using GateIn's UI. I think you know that already based on the blog but just clarifying again.
No! I'm publishing the portlet directly on gatein, without use JBoss Tools!