-
1. Re: JBOSS and JSF Portlets (Sun RI)
hamptont Mar 29, 2006 12:29 AM (in response to pauljoyce)I'm having the same problem.
I'm trying to deploy a portlet that was built using a modified version of the myfaces libraries. These modified myfaces libraries are bundled into the portlet and JBoss has a diff version in JBoss/jbossweb-tomcat55.sar/jsf-libs.
I read something about deployment based scoping but this doesn't seem to work for the files that are in the JBoss/jbossweb-tomcat55.sar/jsf-libs directory.
Is there someway to configure a portlet app so that it will use the myfaces libraries from the portlet war file instead of the ones in JBoss/jbossweb-tomcat55.sar/jsf-libs ?
The JBoss docs say to delete the JBoss/jbossweb-tomcat55.sar/jsf-libs directory from JBoss, but I can't do that because then the JBoss-Portal doesn't work.
Thanks,
Tom -
2. Re: JBOSS and JSF Portlets (Sun RI)
pauljoyce Mar 29, 2006 2:27 AM (in response to pauljoyce)Hi,
me again. I managed to get the guess-numbers sample portlet deployed to JBoss. What did I do :
1) changed the portlet.xml to use myfaces libraries
2) added the myfaces listener to web.xml
2) removed the JSF Sun RI libs from the jar.
so basically changed the sample to use Myfaces libs instead of Sun RI.
I still have an app that is Sun RI based that I want to deploy to JBoss. Toms question is very relevant. The solution on the JBoss site ( remove the JSF libs ) does not work as there are portlets in the JBoss portal that use these libs.
regards,
PJ -
3. Re: JBOSS and JSF Portlets (Sun RI)
scottdawson Mar 29, 2006 8:43 AM (in response to pauljoyce)Here's a wiki page that gives the details of using MyFaces and JBoss, including information on Tomahawk and substituting the Sun RI:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces
Regards,
Scott -
4. Re: JBOSS and JSF Portlets (Sun RI)
pauljoyce Mar 29, 2006 8:55 AM (in response to pauljoyce)from the wiki
To use the JSF Reference Implementation instead of the bundled MyFaces implementation, simply delete the jbossweb-tomcat55.sar/jsf-lib directory. Then, package the RI in your WEB-INF/lib directory as usual.
this does NOT work.
JBoss itself uses these jars so when removed you cannot access the portal homepage. -
5. Re: JBOSS and JSF Portlets (Sun RI)
theute Mar 29, 2006 9:17 AM (in response to pauljoyce)If you remove the JSF libs from jsf-libs then you need to embed them into the portal webapp since the portlet manager is using JSF.
-
6. Re: JBOSS and JSF Portlets (Sun RI)
pauljoyce Mar 29, 2006 10:22 AM (in response to pauljoyce)how does one go about this ? i.e. embedding the jars in the JBoss Portal webapp
i tried moving them the the server/default/lib dir but no joy. have to run so will look at it again tomorrow.
if you have any suggestions it would be great.
pj -
7. Re: JBOSS and JSF Portlets (Sun RI)
cooliluv Mar 29, 2006 2:12 PM (in response to pauljoyce)Hi,
I have the same problem. I am not using Myfaces but Sun faces. Roy was going to have a look at it.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886147 -
9. Re: JBOSS and JSF Portlets (Sun RI)
elam May 5, 2006 4:24 PM (in response to pauljoyce)Paul, did you ever find a solution for this?
-
10. Re: JBOSS and JSF Portlets (Sun RI)
pauljoyce May 8, 2006 5:12 AM (in response to pauljoyce)Hi Elam,
Did not find a solution or spend very long trying to. Switched to using the Jetspeed 2 Portal.
/Paul. -
11. Re: JBOSS and JSF Portlets (Sun RI)
peter.brueckler May 23, 2006 8:11 AM (in response to pauljoyce)Hi all,
so after following several blogs I came to the solution that using JBoss Portal together with Sun Java Studio Creator 2 will only work by droping the Sun Faces RI and replace them with the MyFaces, is this correct?
Or is there meanwhile a new status?
@Roy: You started to do the necessary steps for integrate Sun Faces RI. Some new results?
THX & BR,
Peter -
12. Re: JBOSS and JSF Portlets (Sun RI)
herveminko May 24, 2006 4:18 AM (in response to pauljoyce)Hi all,
I also want to display a small JSF application as a portlet using JBoss porlat. My application uses the SUN RI libraries... Is there really no possibility to perform that? It's very important for me to know that ...
Thanks