-
1. Re: How to - Portal 2.6.4 and Rich Faces integration
prabhat.jha Mar 27, 2008 2:54 PM (in response to adesai)For RichFaces you would need to use JBoss Portlet Bridge which is still in beta phase but most of the functionality is working. Please see what configuration needs to be done and what are supported versions at http://labs.jboss.com/auth/portletbridge/
-
2. Re: How to - Portal 2.6.4 and Rich Faces integration
adesai Mar 27, 2008 3:01 PM (in response to adesai)Ok, thanks Prabhat. Let me have a look there.
-
3. Re: How to - Portal 2.6.4 and Rich Faces integration
adesai Mar 27, 2008 6:33 PM (in response to adesai)Ok, i did follow all the steps and configured RichFaces. When I run the application provided in the archetype, getting following exception/error on the prompt.
i just copied the war file (richfaces-basic.war) created by maven and deployed it in the deploy dir.15:22:51,859 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing 15:22:54,234 ERROR [STDERR] Exception in thread "ScannerThread" 15:22:54,234 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space 15:22:55,593 ERROR [Http11Processor] Error processing request 15:23:01,843 ERROR [STDERR] Exception in thread "http-127.0.0.1-8080-1" 15:23:01,843 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space 15:23:07,750 ERROR [STDERR] Exception in thread "Timer-2" 15:23:08,921 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space 15:24:36,312 ERROR [STDERR] Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread" 15:24:36,312 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space 15:25:29,531 ERROR [STDERR] Exception in thread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" 15:25:29,531 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
The log is spitting out something like:ERROR [STDERR] Mar 27, 2008 3:22:26 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
Please help.
Thanks,
-Amol -
4. Re: How to - Portal 2.6.4 and Rich Faces integration
jvitor Mar 28, 2008 6:40 AM (in response to adesai)You can edit java_opts on run.bat to increase your PermGen space, example values:
set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -
5. Re: How to - Portal 2.6.4 and Rich Faces integration
adesai Mar 28, 2008 1:37 PM (in response to adesai)thank you!
-
6. Re: How to - Portal 2.6.4 and Rich Faces integration
adesai Mar 28, 2008 8:09 PM (in response to adesai)Hello there,
I'm trying to run sample richfaces-basic: echo application on Portal 2.6.4. It did work when I deployed it as per the instructions given in Maven Archetype.
When I compiled the app again and deployed it, it's giving following error/message on the browser as soon as I type anything in the text box.type Status report message description: The requested resource () is not available.
I put following code in my echo.xhtml and it did work fine. it's in fact showing me a beautiful calendar.<rich:calendar popup="false"/>
Please let me know what could be the reason my echo app is not working.
Thanks a lot.
Regards,
-Amol -
7. Re: How to - Portal 2.6.4 and Rich Faces integration
wesleyhales Mar 28, 2008 10:00 PM (in response to adesai)This usually happens when the ajax request cannot access the resource on the servlet side. Is your page located under WEB-INF? If so, move it outside of that folder.
-
8. Re: How to - Portal 2.6.4 and Rich Faces integration
adesai Mar 31, 2008 12:22 PM (in response to adesai)Thank you Wesley. That was the reason, i couldn't make it run the first time. Moved the page outside WEB-INF and the app started working.
regards,
-Amol