I have taken the examples/registration application and tried to deploy it alongside portal. I am not even attempting to integrate until they can both live side-by-side with no problems, as JSF apps do with portal.
One thing I have encountered which is likely the blocker is that JSF is registering two instances of the SeamPhaseListener. | 17:27:03,734 INFO [Initialization] done initializing Seam | 17:27:03,750 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 17:27:03,843 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4RC1/server/default/tmp/deploy/tmp55542jboss-seam-registration.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml | 17:27:03,843 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4RC1/server/default/tmp/deploy/tmp55485jboss-portal.sar-contents/lib/jsf-facelets.jar!/META-INF/faces-config.xml | 17:27:03,843 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4RC1/server/default/tmp/deploy/tmp55485jboss-portal.sar-contents/lib/tomahawk.jar!/META-INF/faces-config.xml | 17:27:03,890 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 17:27:03,906 ERROR [LocaleUtils] Locale name null or empty, ignoring | 17:27:04,140 INFO [STDOUT] HI! | 17:27:04,140 INFO [StartupServletContextListener] ServletContext 'C:\jboss-4.0.4RC1\server\default\.\tmp\deploy\tmp55542jboss-seam-registration.ear-contents\jboss-seam-registration-exp.war\' initialized. | 17:27:04,203 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 17:27:04,281 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4RC1/server/default/tmp/deploy/tmp55542jboss-seam-registration.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml | 17:27:04,281 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4RC1/server/default/tmp/deploy/tmp55485jboss-portal.sar-contents/lib/jsf-facelets.jar!/META-INF/faces-config.xml | 17:27:04,312 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4RC1/server/default/tmp/deploy/tmp55485jboss-portal.sar-contents/lib/tomahawk.jar!/META-INF/faces-config.xml | 17:27:04,375 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 17:27:04,375 ERROR [LocaleUtils] Locale name null or empty, ignoring | 17:27:04,375 INFO [RenderKitFactoryImpl] RenderKit with renderKitId 'HTML_BASIC' was replaced. | 17:27:04,375 INFO [STDOUT] HI! | I added a constructor to org.jboss.seam.jsf.SeamPhaseListener, that prints out "HI!". As you can see, it hits it twice. I am not sure why however, but my guess is thats its inside an .ear? Can anyone shed light on this? There is a long history of multiple instances of the same phaselistener being registered (http://www.nabble.com/forum/Search.jtp?forum=181&local=y&query=listener+twice), but none of the cases are related to what I am seeing. Of course, the peculiar thing is that this does not occur, once you undeploy the portal.sar! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931457#3931457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931457 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
