Hi all!

I'm trying to integrate jBPM into JBoss-Portal, that is, I'm trying to change 
the jbpm webapp into a portlet.
Has anyone already tried that and succeded?

When I try to reach the first page, I get an error and this is how my server 
log looks like


  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.JbpmContext] creating JbpmContext
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] request 
null
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] session 
parameter 
[javax.portlet.p.ETTSInst?org.apache.myfaces.portlet.PortletUtil.PORTLET_REQUEST_FLAG]=true
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] session 
parameter [EMAIL PROTECTED]
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.configuration.JbpmContextInfo] 
creating jbpm context with service factories '[message, scheduler, logging, 
persistence, authentication]'
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.JbpmContext] creating JbpmContext
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] request 
null
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] session 
parameter 
[javax.portlet.p.ETTSInst?org.apache.myfaces.portlet.PortletUtil.PORTLET_REQUEST_FLAG]=true
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] session 
parameter [EMAIL PROTECTED]
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.configuration.JbpmContextInfo] 
creating jbpm context with service factories '[message, scheduler, logging, 
persistence, authentication]'
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.JbpmContext] creating JbpmContext
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] request 
null
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] session 
parameter 
[javax.portlet.p.ETTSInst?org.apache.myfaces.portlet.PortletUtil.PORTLET_REQUEST_FLAG]=true
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.webapp.filter.LogFilter] session 
parameter [EMAIL PROTECTED]
  | 2006-05-02 17:28:41,394 DEBUG [org.jbpm.configuration.JbpmContextInfo] 
creating jbpm context with service factories '[message, scheduler, logging, 
persistence, authentication]'
  | ...
  |  

several times, and then, again, several times:


  | ...
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.svc.Services] closing service 
'authentication': [EMAIL PROTECTED]
  | 2006-05-02 17:28:52,891 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpmportlet].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.StackOverflowError
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.svc.Services] closing service 
'authentication': [EMAIL PROTECTED]
  | 2006-05-02 17:28:52,891 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpmportlet].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.StackOverflowError
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.svc.Services] closing service 
'authentication': [EMAIL PROTECTED]
  | 2006-05-02 17:28:52,891 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpmportlet].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.StackOverflowError
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.svc.Services] closing service 
'authentication': [EMAIL PROTECTED]
  | 2006-05-02 17:28:52,891 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpmportlet].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.StackOverflowError
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.svc.Services] closing service 
'authentication': [EMAIL PROTECTED]
  | 2006-05-02 17:28:52,891 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpmportlet].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.StackOverflowError
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.svc.Services] closing service 
'authentication': [EMAIL PROTECTED]
  | 2006-05-02 17:28:52,891 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpmportlet].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.StackOverflowError
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
  | 2006-05-02 17:28:52,891 DEBUG [org.jbpm.svc.Services] closing service 
'authentication': [EMAIL PROTECTED]
  | 2006-05-02 17:28:52,891 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpmportlet].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.StackOverflowError
  | 2006-05-02 17:28:52,901 ERROR 
[org.apache.myfaces.portlet.MyFacesGenericPortlet] The portlet threw an 
exception
  | javax.faces.FacesException: javax.servlet.ServletException
  |     at 
org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:171)
  |     at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
  |     at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
  |     at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
  |     at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
  |     at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
  |     at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
  |     at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
  |     at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
  | ...
  | 

this is how my portlet.xml looks like:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"; 
version="1.0" 
  |              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |              
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";>
  |    <portlet>
  |      <description>ETTS Portlet</description>
  |         <portlet-name>ETTSPortlet</portlet-name>
  |         <display-name>ETTS Portlet</display-name>
  |         
<portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-class>
  |         
  |         <init-param> 
  |     <description>Portlet init page</description>
  |         <name>default-view</name>
  |     <value>/login.jsp</value>
  |         </init-param>
  |       <supports>
  |          <mime-type>text/html</mime-type>
  |          <portlet-mode>VIEW</portlet-mode>
  |          <!--
  |          <portlet-mode>EDIT</portlet-mode>
  |          <portlet-mode>HELP</portlet-mode>
  |          -->
  |       </supports>
  |       <portlet-info>
  |          <title>ETTS Portlet</title>
  |       </portlet-info>
  |    </portlet>
  | </portlet-app>
  | 

Any idea?

Thanks
luca


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940703#3940703

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940703


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to