Hi all,
I am trying to deploy a portlet instace developed on sun java creator2. However I am getting an exception. I already look some documentation and I've removed the jsf-api.jar from /lib, although I still get the error:
org.jboss.portal.portlet.PortletInitializationException: The portlet portlet threw a runtime exception during init
at org.jboss.portal.portlet.PortletContainer.start(PortletContainer.java:261)
at org.jboss.portal.portlet.PortletWebApp.startService(PortletWebApp.java:112)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
Nevertheless I can run jboss portal and see the portlet ,therefore I've create a new page on the portal but the portlet never appear no the page. I do not get any exception doing the page load.
Any ideas?
Thanks,
DO
Well, after the second round I found the solution.
on Marco Weblog
http://blogs.sun.com/marcoscorner/entry/creator_2_portlet_in_jboss
You have to remove the WEB-INF/lib/jsf-api.jar and the WEB-INF/lib/portlet.jar
Cheers,
David O