OPSPortlet in Liferay&JBoss

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

OPSPortlet in Liferay&JBoss

daniele.stroppa
'Morning everybody,

I'm trying to run the OPSPortlet in Liferay3.6 running on JBoss 4.0.2, but I'm experiencing some problem.

I just copied the code of OPSPortlet, copied it into MyOPSPortlet, wrote the portlet.xml file, put the ops.jar into the lib folder of JBoss and deployed the portlet to Liferay. The deployment completes fine, but when load the portlet I get some exceptions (see below for trace). It seems to me the portlet is not finding the processors.

This is my portlet.xml file

<?xml version="1.0" ?>
<portlet-app xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xi="http://www.w3.org/2003/XInclude">
   <portlet>
      <portlet-name>MyOPSPortlet</portlet-name>
      <portlet-class>com.portlets.MyOPSPortlet</portlet-class>
       <!--<portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class> -->
     
      <init-param>
            <name>oxf.main-processor.uri</name>
            <!-- <value>{http://www.orbeon.com/oxf/processors}page-flow</value> -->
            <value>oxf:/page-flow</value>
      </init-param>
      <init-param>  
      <name>oxf.main-processor.input.controller</name>  
      <value>oxf:/config/page-flow.xml</value>  
      </init-param>
      <!--  <init-param>
            <name>oxf.main-processor.input.controller</name>
            <value>oxf:/portlet/simple/config/page-flow.xml</value>
        </init-param> -->
        <init-param>
            <name>oxf.error-processor.uri</name>
            <!-- <value>{http://www.orbeon.com/oxf/processors}pipelinew</value> -->
            <value>oxf:/pipeline</value>
        </init-param>
        <init-param>
            <name>oxf.error-processor.input.config</name>
            <value>oxf:/config/error.xpl</value>
        </init-param>
      <supports>
         <mime-type>text/html</mime-type>
      </supports>  
      <portlet-info>
         <title>My Orbeon Presentation Server Portlet</title>
         <short-title>My OPS Portlet</short-title>
      </portlet-info>
   </portlet>
</portlet-app>

and this is the stack trace i get when loading the portlet

2006-04-13 09:33:51,743 INFO  [STDOUT] javax.portlet.PortletException
2006-04-13 09:33:51,743 INFO  [STDOUT] at com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:74)
2006-04-13 09:33:51,743 INFO  [STDOUT] at javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
2006-04-13 09:33:51,743 INFO  [STDOUT] at com.liferay.portlet.CachePortlet.init(CachePortlet.java:131)
2006-04-13 09:33:51,743 INFO  [STDOUT] at com.liferay.portal.model.Portlet.init(Portlet.java:1062)
2006-04-13 09:33:51,743 INFO  [STDOUT] at com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFactory.java:96)
2006-04-13 09:33:51,743 INFO  [STDOUT] at com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFactory.java:50)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(org.apache.jsp.html.portal.render_005fportlet_jsp:410)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
2006-04-13 09:33:51,743 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
2006-04-13 09:33:51,743 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
2006-04-13 09:33:51,743 INFO  [STDOUT] at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(org.apache.jsp.html.portal.layout.view.portlet_jsp:932)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
2006-04-13 09:33:51,743 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
2006-04-13 09:33:51,743 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
2006-04-13 09:33:51,743 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
2006-04-13 09:33:51,743 INFO  [STDOUT] at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.jsp.html.portal.layout_jsp._jspService(org.apache.jsp.html.portal.layout_jsp:382)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
2006-04-13 09:33:51,759 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
2006-04-13 09:33:51,759 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
2006-04-13 09:33:51,759 INFO  [STDOUT] at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspService(org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp:1316)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
2006-04-13 09:33:51,759 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,759 INFO  [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
2006-04-13 09:33:51,775 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include_0(org.apache.jsp.html.common.themes.portal_jsp:410)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.jsp.html.common.themes.portal_jsp._jspService(org.apache.jsp.html.common.themes.portal_jsp:359)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
2006-04-13 09:33:51,775 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
2006-04-13 09:33:51,775 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:184)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:159)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
2006-04-13 09:33:51,775 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:355)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
2006-04-13 09:33:51,775 INFO  [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:136)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,775 INFO  [STDOUT] at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:117)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
2006-04-13 09:33:51,775 INFO  [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
2006-04-13 09:33:51,790 INFO  [STDOUT] at java.lang.Thread.run(Thread.java:595)
2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by: javax.portlet.PortletException
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:109)
2006-04-13 09:33:51,790 INFO  [STDOUT] at javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
2006-04-13 09:33:51,790 INFO  [STDOUT] at com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:68)
2006-04-13 09:33:51,790 INFO  [STDOUT] ... 114 more
2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by: java.lang.NullPointerException
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceManagerWrapper.java:91)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManagerWrapper.java:63)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.pipeline.api.PipelineContext.<init>(PipelineContext.java:110)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:132)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
2006-04-13 09:33:51,790 INFO  [STDOUT] at org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:107)
2006-04-13 09:33:51,790 INFO  [STDOUT] ... 116 more

Any idea?

thanks



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: OPSPortlet in Liferay&JBoss

Ryan Puddephatt
Daniele
        I think its because you have commented out the portlet-class it
can't find the ops.jar

Ryan

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: [hidden email]
>[mailto:[hidden email]]
>Sent: 13 April 2006 09:55
>To: [hidden email]
>Subject: [ops-users] OPSPortlet in Liferay&JBoss
>
>'Morning everybody,
>
>I'm trying to run the OPSPortlet in Liferay3.6 running on JBoss 4.0.2, but
>I'm experiencing some problem.
>
>I just copied the code of OPSPortlet, copied it into MyOPSPortlet, wrote
>the portlet.xml file, put the ops.jar into the lib folder of JBoss and
>deployed the portlet to Liferay. The deployment completes fine, but when
>load the portlet I get some exceptions (see below for trace). It seems to
>me the portlet is not finding the processors.
>
>This is my portlet.xml file
>
><?xml version="1.0" ?>
><portlet-app xmlns:oxf="http://www.orbeon.com/oxf/processors"
>xmlns:xi="http://www.w3.org/2003/XInclude">
>   <portlet>
>      <portlet-name>MyOPSPortlet</portlet-name>
>      <portlet-class>com.portlets.MyOPSPortlet</portlet-class>
>       <!--<portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>-->
>
>      <init-param>
>            <name>oxf.main-processor.uri</name>
>            <!-- <value>{http://www.orbeon.com/oxf/processors}page-
>flow</value> -->
>            <value>oxf:/page-flow</value>
>      </init-param>
>      <init-param>
>       <name>oxf.main-processor.input.controller</name>
>       <value>oxf:/config/page-flow.xml</value>
>      </init-param>
>      <!--  <init-param>
>            <name>oxf.main-processor.input.controller</name>
>            <value>oxf:/portlet/simple/config/page-flow.xml</value>
>        </init-param> -->
>        <init-param>
>            <name>oxf.error-processor.uri</name>
>            <!--
><value>{http://www.orbeon.com/oxf/processors}pipelinew</value> -->
>            <value>oxf:/pipeline</value>
>        </init-param>
>        <init-param>
>            <name>oxf.error-processor.input.config</name>
>            <value>oxf:/config/error.xpl</value>
>        </init-param>
>      <supports>
>         <mime-type>text/html</mime-type>
>      </supports>
>      <portlet-info>
>         <title>My Orbeon Presentation Server Portlet</title>
>         <short-title>My OPS Portlet</short-title>
>      </portlet-info>
>   </portlet>
></portlet-app>
>
>and this is the stack trace i get when loading the portlet
>
>2006-04-13 09:33:51,743 INFO  [STDOUT] javax.portlet.PortletException
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:74)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portlet.CachePortlet.init(CachePortlet.java:131)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portal.model.Portlet.init(Portlet.java:1062)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFactory.j
>ava:96)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFactory.ja
>va:50)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(org.apache.js
>p.html.portal.render_005fportlet_jsp:410)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>322)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:252)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher
>.java:672)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatc
>her.java:574)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatche
>r.java:499)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(org.apache.j
>sp.html.portal.layout.view.portlet_jsp:932)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>322)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:252)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher
>.java:672)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatc
>her.java:574)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatche
>r.java:499)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jsp.html.portal.layout_jsp._jspService(org.apache.jsp.html.porta
>l.layout_jsp:382)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>322)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:252)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher
>.java:672)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatc
>her.java:574)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatche
>r.java:499)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspServ
>ice(org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp:1316
>)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>322)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:252)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher
>.java:672)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatc
>her.java:574)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatche
>r.java:499)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include_0(org
>.apache.jsp.html.common.themes.portal_jsp:410)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jsp.html.common.themes.portal_jsp._jspService(org.apache.jsp.htm
>l.common.themes.portal_jsp:359)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
>322)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:252)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher
>.java:672)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDi
>spatcher.java:463)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatc
>her.java:398)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatche
>r.java:301)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestPro
>cessor.java:184)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesR
>equestProcessor.java:239)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesReq
>uestProcessor.java:302)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229
>)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProce
>ssor.java:159)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:3
>55)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:252)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:202)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:136)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:202)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilte
>r.java:117)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:202)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.j
>ava:81)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
>nFilterChain.java:202)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
>ava:213)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
>ava:178)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVa
>lve.java:39)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoc
>iationValve.java:153)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBas
>e.java:407)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
>:59)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
>6)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
>5)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
>a:107)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
>ection(Http11Protocol.java:744)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.ja
>va:527)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThr
>ead.java:112)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>java.lang.Thread.run(Thread.java:595)
>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>javax.portlet.PortletException
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:109)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:68)
>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 114 more
>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>java.lang.NullPointerException
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceManage
>rWrapper.java:91)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManagerWra
>pper.java:63)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.pipeline.api.PipelineContext.<init>(PipelineContext.java:110
>)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:132)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:107)
>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 116 more
>
>Any idea?
>
>thanks




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: OPSPortlet in Liferay&JBoss

daniele.stroppa
In reply to this post by daniele.stroppa
I just changed the portlet class to my class, com.portlets.MyOPSPortlet.



Daniele Stroppa
Graduate Software Engineer
Intelligent Transport Systems
Atkins Highways and Transportation

Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
Tel: +44 (0)1372 756252
Mob: +44 (0)7981 670012
E-mail: [hidden email]
www.atkinsglobal.com/its

-----Original Message-----
From: Ryan Puddephatt [mailto:[hidden email]]
Sent: 13 April 2006 10:04
To: [hidden email]
Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss

Daniele
        I think its because you have commented out the portlet-class it
can't find the ops.jar

Ryan

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: [hidden email]
>[mailto:[hidden email]]
>Sent: 13 April 2006 09:55
>To: [hidden email]
>Subject: [ops-users] OPSPortlet in Liferay&JBoss
>
>'Morning everybody,
>
>I'm trying to run the OPSPortlet in Liferay3.6 running on JBoss 4.0.2,
>but I'm experiencing some problem.
>
>I just copied the code of OPSPortlet, copied it into MyOPSPortlet,
>wrote the portlet.xml file, put the ops.jar into the lib folder of
>JBoss and deployed the portlet to Liferay. The deployment completes
>fine, but when load the portlet I get some exceptions (see below for
>trace). It seems to me the portlet is not finding the processors.
>
>This is my portlet.xml file
>
><?xml version="1.0" ?>
><portlet-app xmlns:oxf="http://www.orbeon.com/oxf/processors"
>xmlns:xi="http://www.w3.org/2003/XInclude">
>   <portlet>
>      <portlet-name>MyOPSPortlet</portlet-name>
>      <portlet-class>com.portlets.MyOPSPortlet</portlet-class>
>      
><!--<portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>-->
>
>      <init-param>
>            <name>oxf.main-processor.uri</name>
>            <!-- <value>{http://www.orbeon.com/oxf/processors}page-
>flow</value> -->
>            <value>oxf:/page-flow</value>
>      </init-param>
>      <init-param>
>       <name>oxf.main-processor.input.controller</name>
>       <value>oxf:/config/page-flow.xml</value>
>      </init-param>
>      <!--  <init-param>
>            <name>oxf.main-processor.input.controller</name>
>            <value>oxf:/portlet/simple/config/page-flow.xml</value>
>        </init-param> -->
>        <init-param>
>            <name>oxf.error-processor.uri</name>
>            <!--
><value>{http://www.orbeon.com/oxf/processors}pipelinew</value> -->
>            <value>oxf:/pipeline</value>
>        </init-param>
>        <init-param>
>            <name>oxf.error-processor.input.config</name>
>            <value>oxf:/config/error.xpl</value>
>        </init-param>
>      <supports>
>         <mime-type>text/html</mime-type>
>      </supports>
>      <portlet-info>
>         <title>My Orbeon Presentation Server Portlet</title>
>         <short-title>My OPS Portlet</short-title>
>      </portlet-info>
>   </portlet>
></portlet-app>
>
>and this is the stack trace i get when loading the portlet
>
>2006-04-13 09:33:51,743 INFO  [STDOUT] javax.portlet.PortletException
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:74)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portlet.CachePortlet.init(CachePortlet.java:131)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portal.model.Portlet.init(Portlet.java:1062)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFacto
>ry.j
>ava:96)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFactor
>y.ja
>va:50)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(org.apach
>e.js
>p.html.portal.render_005fportlet_jsp:410)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
>322)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
)

>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:252)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>cher
>.java:672)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis
>patc
>her.java:574)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
>tche
>r.java:499)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(org.apac
>he.j
>sp.html.portal.layout.view.portlet_jsp:932)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
>322)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
)

>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:252)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>cher
>.java:672)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis
>patc
>her.java:574)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
>tche
>r.java:499)
>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jsp.html.portal.layout_jsp._jspService(org.apache.jsp.html.p
>orta
>l.layout_jsp:382)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
>322)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
)

>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:252)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>cher
>.java:672)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis
>patc
>her.java:574)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
>tche
>r.java:499)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jsp
>Serv
>ice(org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp:
>1316
>)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
>322)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
)

>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:252)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>cher
>.java:672)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis
>patc
>her.java:574)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
>tche
>r.java:499)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include_0
>(org
>.apache.jsp.html.common.themes.portal_jsp:410)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jsp.html.common.themes.portal_jsp._jspService(org.apache.jsp
>.htm
>l.common.themes.portal_jsp:359)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
>322)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
)

>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:252)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>cher
>.java:672)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicati
>onDi
>spatcher.java:463)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis
>patc
>her.java:398)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa
>tche
>r.java:301)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalReques
>tPro
>cessor.java:184)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Ti
>lesR
>equestProcessor.java:239)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tile
>sReq
>uestProcessor.java:302)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java
>:229
>)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestP
>roce
>ssor.java:159)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.ja
>va:3
>55)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:252)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:202)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:136)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:202)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>com.liferay.filters.compression.CompressionFilter.doFilter(CompressionF
>ilte
>r.java:117)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:202)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilt
>er.j
>ava:81)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>atio
>nFilterChain.java:202)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>terC
>hain.java:173)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
>ve.j
>ava:213)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>ve.j
>ava:178)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincip
>alVa
>lve.java:39)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityA
>ssoc
>iationValve.java:153)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato
>rBas
>e.java:407)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.
>java
>:59)
>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
>a:12
>6)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
>a:10
>5)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
>.jav
>a:107)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
148)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:8
56)

>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
>Conn
>ection(Http11Protocol.java:744)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin
>t.ja
>va:527)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorke
>rThr
>ead.java:112)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>java.lang.Thread.run(Thread.java:595)
>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>javax.portlet.PortletException
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:
109)

>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:68)
>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 114 more
>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>java.lang.NullPointerException
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceMa
>nage
>rWrapper.java:91)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManage
>rWra
>pper.java:63)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.pipeline.api.PipelineContext.<init>(PipelineContext.java
>:110
>)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:132)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:
107)
>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 116 more
>
>Any idea?
>
>thanks





This message has been scanned for viruses by MailControl - (see
http://bluepages.wsatkins.co.uk/?4318150)


This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: OPSPortlet in Liferay&JBoss

Ryan Puddephatt
What is at line 74 of that class?

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Stroppa, Daniele [mailto:[hidden email]]
>Sent: 13 April 2006 10:12
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>I just changed the portlet class to my class, com.portlets.MyOPSPortlet.
>
>
>
>Daniele Stroppa
>Graduate Software Engineer
>Intelligent Transport Systems
>Atkins Highways and Transportation
>
>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>Tel: +44 (0)1372 756252
>Mob: +44 (0)7981 670012
>E-mail: [hidden email]
>www.atkinsglobal.com/its
>
>-----Original Message-----
>From: Ryan Puddephatt [mailto:[hidden email]]
>Sent: 13 April 2006 10:04
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>Daniele
> I think its because you have commented out the portlet-class it
>can't find the ops.jar
>
>Ryan
>
>Ryan Puddephatt
>Software Engineer
>TFX Group - IT UK
>1 Michaelson Square
>Livingston
>West Lothian
>Scotand
>EH54 7DP
>
>* [hidden email]
>( 01506 407 110
>7  01506 407 108
>
>
>>-----Original Message-----
>>From: [hidden email]
>>[mailto:[hidden email]]
>>Sent: 13 April 2006 09:55
>>To: [hidden email]
>>Subject: [ops-users] OPSPortlet in Liferay&JBoss
>>
>>'Morning everybody,
>>
>>I'm trying to run the OPSPortlet in Liferay3.6 running on JBoss 4.0.2,
>>but I'm experiencing some problem.
>>
>>I just copied the code of OPSPortlet, copied it into MyOPSPortlet,
>>wrote the portlet.xml file, put the ops.jar into the lib folder of
>>JBoss and deployed the portlet to Liferay. The deployment completes
>>fine, but when load the portlet I get some exceptions (see below for
>>trace). It seems to me the portlet is not finding the processors.
>>
>>This is my portlet.xml file
>>
>><?xml version="1.0" ?>
>><portlet-app xmlns:oxf="http://www.orbeon.com/oxf/processors"
>>xmlns:xi="http://www.w3.org/2003/XInclude">
>>   <portlet>
>>      <portlet-name>MyOPSPortlet</portlet-name>
>>      <portlet-class>com.portlets.MyOPSPortlet</portlet-class>
>>
>><!--<portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>>-->
>>
>>      <init-param>
>>            <name>oxf.main-processor.uri</name>
>>            <!-- <value>{http://www.orbeon.com/oxf/processors}page-
>>flow</value> -->
>>            <value>oxf:/page-flow</value>
>>      </init-param>
>>      <init-param>
>>       <name>oxf.main-processor.input.controller</name>
>>       <value>oxf:/config/page-flow.xml</value>
>>      </init-param>
>>      <!--  <init-param>
>>            <name>oxf.main-processor.input.controller</name>
>>            <value>oxf:/portlet/simple/config/page-flow.xml</value>
>>        </init-param> -->
>>        <init-param>
>>            <name>oxf.error-processor.uri</name>
>>            <!--
>><value>{http://www.orbeon.com/oxf/processors}pipelinew</value> -->
>>            <value>oxf:/pipeline</value>
>>        </init-param>
>>        <init-param>
>>            <name>oxf.error-processor.input.config</name>
>>            <value>oxf:/config/error.xpl</value>
>>        </init-param>
>>      <supports>
>>         <mime-type>text/html</mime-type>
>>      </supports>
>>      <portlet-info>
>>         <title>My Orbeon Presentation Server Portlet</title>
>>         <short-title>My OPS Portlet</short-title>
>>      </portlet-info>
>>   </portlet>
>></portlet-app>
>>
>>and this is the stack trace i get when loading the portlet
>>
>>2006-04-13 09:33:51,743 INFO  [STDOUT] javax.portlet.PortletException
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:74)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portlet.CachePortlet.init(CachePortlet.java:131)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portal.model.Portlet.init(Portlet.java:1062)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFacto
>>ry.j
>>ava:96)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFactor
>>y.ja
>>va:50)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(org.apach
>>e.js
>>p.html.portal.render_005fportlet_jsp:410)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
>ava:
>>322)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
>)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>>cher
>>.java:672)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis
>>patc
>>her.java:574)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
>>tche
>>r.java:499)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(org.apac
>>he.j
>>sp.html.portal.layout.view.portlet_jsp:932)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
>ava:
>>322)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
>)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>>cher
>>.java:672)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis
>>patc
>>her.java:574)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
>>tche
>>r.java:499)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jsp.html.portal.layout_jsp._jspService(org.apache.jsp.html.p
>>orta
>>l.layout_jsp:382)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
>ava:
>>322)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
>)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>>cher
>>.java:672)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis
>>patc
>>her.java:574)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
>>tche
>>r.java:499)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jsp
>>Serv
>>ice(org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp:
>>1316
>>)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
>ava:
>>322)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
>)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>>cher
>>.java:672)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDis
>>patc
>>her.java:574)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispa
>>tche
>>r.java:499)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include_0
>>(org
>>.apache.jsp.html.common.themes.portal_jsp:410)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jsp.html.common.themes.portal_jsp._jspService(org.apache.jsp
>>.htm
>>l.common.themes.portal_jsp:359)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
>ava:
>>322)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314
>)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat
>>cher
>>.java:672)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicati
>>onDi
>>spatcher.java:463)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis
>>patc
>>her.java:398)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa
>>tche
>>r.java:301)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalReques
>>tPro
>>cessor.java:184)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(Ti
>>lesR
>>equestProcessor.java:239)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tile
>>sReq
>>uestProcessor.java:302)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.action.RequestProcessor.process(RequestProcessor.java
>>:229
>>)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestP
>>roce
>>ssor.java:159)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.ja
>>va:3
>>55)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:202)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:136)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:202)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.filters.compression.CompressionFilter.doFilter(CompressionF
>>ilte
>>r.java:117)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:202)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilt
>>er.j
>>ava:81)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
>>atio
>>nFilterChain.java:202)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
>>ve.j
>>ava:213)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>>ve.j
>>ava:178)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincip
>>alVa
>>lve.java:39)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityA
>>ssoc
>>iationValve.java:153)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato
>>rBas
>>e.java:407)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.
>>java
>>:59)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
>>a:12
>>6)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
>>a:10
>>5)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
>>.jav
>>a:107)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
>148)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:8
>56)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
>>Conn
>>ection(Http11Protocol.java:744)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin
>>t.ja
>>va:527)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorke
>>rThr
>>ead.java:112)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>java.lang.Thread.run(Thread.java:595)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>javax.portlet.PortletException
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:
>109)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:68)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 114 more
>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>java.lang.NullPointerException
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceMa
>>nage
>>rWrapper.java:91)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManage
>>rWra
>>pper.java:63)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.pipeline.api.PipelineContext.<init>(PipelineContext.java
>>:110
>>)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:132)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java:
>107)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 116 more
>>
>>Any idea?
>>
>>thanks
>
>
>
>
>
>This message has been scanned for viruses by MailControl - (see
>http://bluepages.wsatkins.co.uk/?4318150)
>
>
>This email and any attached files are confidential and copyright protected.
>If you are not the addressee, any dissemination of this communication is
>strictly prohibited. Unless otherwise expressly agreed in writing, nothing
>stated in this communication shall be legally binding.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: OPSPortlet in Liferay&JBoss

daniele.stroppa
In reply to this post by daniele.stroppa
The PortletException is thrown when MyOPSPortlet s calling the init
method on the OPSDelegate class, passing the portlet configuration

delegatePortlet.init(getPortletConfig());

And in the OPSDelegate a NullPointerException is thrown when
initializing the processors

processorService.init(mainProcessorDefinition,
errorProcessorDefinition);

So I believe that the MyOPSPortlet is not finding the processors I
specified in the potlet.xml file. Am I right?

Daniele Stroppa
Graduate Software Engineer
Intelligent Transport Systems
Atkins Highways and Transportation

Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
Tel: +44 (0)1372 756252
Mob: +44 (0)7981 670012
E-mail: [hidden email]
www.atkinsglobal.com/its

-----Original Message-----
From: Ryan Puddephatt [mailto:[hidden email]]
Sent: 13 April 2006 10:20
To: [hidden email]
Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss

What is at line 74 of that class?

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Stroppa, Daniele [mailto:[hidden email]]
>Sent: 13 April 2006 10:12
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>I just changed the portlet class to my class,
com.portlets.MyOPSPortlet.

>
>
>
>Daniele Stroppa
>Graduate Software Engineer
>Intelligent Transport Systems
>Atkins Highways and Transportation
>
>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>Tel: +44 (0)1372 756252
>Mob: +44 (0)7981 670012
>E-mail: [hidden email] www.atkinsglobal.com/its
>
>-----Original Message-----
>From: Ryan Puddephatt [mailto:[hidden email]]
>Sent: 13 April 2006 10:04
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>Daniele
> I think its because you have commented out the portlet-class it
can't

>find the ops.jar
>
>Ryan
>
>Ryan Puddephatt
>Software Engineer
>TFX Group - IT UK
>1 Michaelson Square
>Livingston
>West Lothian
>Scotand
>EH54 7DP
>
>* [hidden email]
>( 01506 407 110
>7  01506 407 108
>
>
>>-----Original Message-----
>>From: [hidden email]
>>[mailto:[hidden email]]
>>Sent: 13 April 2006 09:55
>>To: [hidden email]
>>Subject: [ops-users] OPSPortlet in Liferay&JBoss
>>
>>'Morning everybody,
>>
>>I'm trying to run the OPSPortlet in Liferay3.6 running on JBoss 4.0.2,

>>but I'm experiencing some problem.
>>
>>I just copied the code of OPSPortlet, copied it into MyOPSPortlet,
>>wrote the portlet.xml file, put the ops.jar into the lib folder of
>>JBoss and deployed the portlet to Liferay. The deployment completes
>>fine, but when load the portlet I get some exceptions (see below for
>>trace). It seems to me the portlet is not finding the processors.
>>
>>This is my portlet.xml file
>>
>><?xml version="1.0" ?>
>><portlet-app xmlns:oxf="http://www.orbeon.com/oxf/processors"
>>xmlns:xi="http://www.w3.org/2003/XInclude">
>>   <portlet>
>>      <portlet-name>MyOPSPortlet</portlet-name>
>>      <portlet-class>com.portlets.MyOPSPortlet</portlet-class>
>>
>><!--<portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>>-->
>>
>>      <init-param>
>>            <name>oxf.main-processor.uri</name>
>>            <!-- <value>{http://www.orbeon.com/oxf/processors}page-
>>flow</value> -->
>>            <value>oxf:/page-flow</value>
>>      </init-param>
>>      <init-param>
>>       <name>oxf.main-processor.input.controller</name>
>>       <value>oxf:/config/page-flow.xml</value>
>>      </init-param>
>>      <!--  <init-param>
>>            <name>oxf.main-processor.input.controller</name>
>>            <value>oxf:/portlet/simple/config/page-flow.xml</value>
>>        </init-param> -->
>>        <init-param>
>>            <name>oxf.error-processor.uri</name>
>>            <!--
>><value>{http://www.orbeon.com/oxf/processors}pipelinew</value> -->
>>            <value>oxf:/pipeline</value>
>>        </init-param>
>>        <init-param>
>>            <name>oxf.error-processor.input.config</name>
>>            <value>oxf:/config/error.xpl</value>
>>        </init-param>
>>      <supports>
>>         <mime-type>text/html</mime-type>
>>      </supports>
>>      <portlet-info>
>>         <title>My Orbeon Presentation Server Portlet</title>
>>         <short-title>My OPS Portlet</short-title>
>>      </portlet-info>
>>   </portlet>
>></portlet-app>
>>
>>and this is the stack trace i get when loading the portlet
>>
>>2006-04-13 09:33:51,743 INFO  [STDOUT] javax.portlet.PortletException
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:74)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portlet.CachePortlet.init(CachePortlet.java:131)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portal.model.Portlet.init(Portlet.java:1062)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFact
>>o
>>ry.j
>>ava:96)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFacto
>>r
>>y.ja
>>va:50)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(org.apac
>>h
>>e.js
>>p.html.portal.render_005fportlet_jsp:410)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>j
>ava:
>>322)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>4
>)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>t
>>cher
>>.java:672)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>s
>>patc
>>her.java:574)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>a
>>tche
>>r.java:499)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(org.apa
>>c
>>he.j
>>sp.html.portal.layout.view.portlet_jsp:932)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>j
>ava:
>>322)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>4
>)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>t
>>cher
>>.java:672)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>s
>>patc
>>her.java:574)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>a
>>tche
>>r.java:499)
>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jsp.html.portal.layout_jsp._jspService(org.apache.jsp.html.
>>p
>>orta
>>l.layout_jsp:382)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>j
>ava:
>>322)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>4
>)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>t
>>cher
>>.java:672)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>s
>>patc
>>her.java:574)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>a
>>tche
>>r.java:499)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._js
>>p
>>Serv
>>ice(org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp
:

>>1316
>>)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>j
>ava:
>>322)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>4
>)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>t
>>cher
>>.java:672)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>s
>>patc
>>her.java:574)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>a
>>tche
>>r.java:499)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139
)

>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include_
>>0
>>(org
>>.apache.jsp.html.common.themes.portal_jsp:410)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jsp.html.common.themes.portal_jsp._jspService(org.apache.js
>>p
>>.htm
>>l.common.themes.portal_jsp:359)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>j
>ava:
>>322)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>4
>)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>t
>>cher
>>.java:672)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicat
>>i
>>onDi
>>spatcher.java:463)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDi
>>s
>>patc
>>her.java:398)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDisp
>>a
>>tche
>>r.java:301)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalReque
>>s
>>tPro
>>cessor.java:184)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(T
>>i
>>lesR
>>equestProcessor.java:239)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Til
>>e
>>sReq
>>uestProcessor.java:302)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.action.RequestProcessor.process(RequestProcessor.jav
>>a
>>:229
>>)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequest
>>P
>>roce
>>ssor.java:159)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194
)

>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.j
>>a
>>va:3
>>55)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:252)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:202)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:136
)

>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:202)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>com.liferay.filters.compression.CompressionFilter.doFilter(Compression
>>F
>>ilte
>>r.java:117)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:202)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil
>>t
>>er.j
>>ava:81)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>c
>>atio
>>nFilterChain.java:202)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>l
>>terC
>>hain.java:173)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>>l
>>ve.j
>>ava:213)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>>l
>>ve.j
>>ava:178)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinci
>>p
>>alVa
>>lve.java:39)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
>>A
>>ssoc
>>iationValve.java:153)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticat
>>o
>>rBas
>>e.java:407)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve
.

>>java
>>:59)
>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>>v
>>a:12
>>6)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>>v
>>a:10
>>5)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>>e
>>.jav
>>a:107)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
:

>148)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>>8
>56)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>>s
>>Conn
>>ection(Http11Protocol.java:744)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
>>n
>>t.ja
>>va:527)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWork
>>e
>>rThr
>>ead.java:112)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>java.lang.Thread.run(Thread.java:595)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>javax.portlet.PortletException
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java
:

>109)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:68)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 114 more
>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>java.lang.NullPointerException
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceM
>>a
>>nage
>>rWrapper.java:91)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManag
>>e
>>rWra
>>pper.java:63)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.pipeline.api.PipelineContext.<init>(PipelineContext.jav
>>a
>>:110
>>)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:132)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java
:

>107)
>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 116 more
>>
>>Any idea?
>>
>>thanks
>
>
>
>
>
>This message has been scanned for viruses by MailControl - (see
>http://bluepages.wsatkins.co.uk/?4318150)
>
>
>This email and any attached files are confidential and copyright
protected.
>If you are not the addressee, any dissemination of this communication
>is strictly prohibited. Unless otherwise expressly agreed in writing,
>nothing stated in this communication shall be legally binding.






--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: OPSPortlet in Liferay&JBoss

Ryan Puddephatt
Certainly sounds that way! I take it you have the error.xpl and
page-flow.xml in your portlet?

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Stroppa, Daniele [mailto:[hidden email]]
>Sent: 13 April 2006 10:27
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>The PortletException is thrown when MyOPSPortlet s calling the init
>method on the OPSDelegate class, passing the portlet configuration
>
>delegatePortlet.init(getPortletConfig());
>
>And in the OPSDelegate a NullPointerException is thrown when
>initializing the processors
>
>processorService.init(mainProcessorDefinition,
>errorProcessorDefinition);
>
>So I believe that the MyOPSPortlet is not finding the processors I
>specified in the potlet.xml file. Am I right?
>
>Daniele Stroppa
>Graduate Software Engineer
>Intelligent Transport Systems
>Atkins Highways and Transportation
>
>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>Tel: +44 (0)1372 756252
>Mob: +44 (0)7981 670012
>E-mail: [hidden email]
>www.atkinsglobal.com/its
>
>-----Original Message-----
>From: Ryan Puddephatt [mailto:[hidden email]]
>Sent: 13 April 2006 10:20
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>What is at line 74 of that class?
>
>Ryan Puddephatt
>Software Engineer
>TFX Group - IT UK
>1 Michaelson Square
>Livingston
>West Lothian
>Scotand
>EH54 7DP
>
>* [hidden email]
>( 01506 407 110
>7  01506 407 108
>
>
>>-----Original Message-----
>>From: Stroppa, Daniele [mailto:[hidden email]]
>>Sent: 13 April 2006 10:12
>>To: [hidden email]
>>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>>
>>I just changed the portlet class to my class,
>com.portlets.MyOPSPortlet.
>>
>>
>>
>>Daniele Stroppa
>>Graduate Software Engineer
>>Intelligent Transport Systems
>>Atkins Highways and Transportation
>>
>>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>>Tel: +44 (0)1372 756252
>>Mob: +44 (0)7981 670012
>>E-mail: [hidden email] www.atkinsglobal.com/its
>>
>>-----Original Message-----
>>From: Ryan Puddephatt [mailto:[hidden email]]
>>Sent: 13 April 2006 10:04
>>To: [hidden email]
>>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>>
>>Daniele
>> I think its because you have commented out the portlet-class it
>can't
>>find the ops.jar
>>
>>Ryan
>>
>>Ryan Puddephatt
>>Software Engineer
>>TFX Group - IT UK
>>1 Michaelson Square
>>Livingston
>>West Lothian
>>Scotand
>>EH54 7DP
>>
>>* [hidden email]
>>( 01506 407 110
>>7  01506 407 108
>>
>>
>>>-----Original Message-----
>>>From: [hidden email]
>>>[mailto:[hidden email]]
>>>Sent: 13 April 2006 09:55
>>>To: [hidden email]
>>>Subject: [ops-users] OPSPortlet in Liferay&JBoss
>>>
>>>'Morning everybody,
>>>
>>>I'm trying to run the OPSPortlet in Liferay3.6 running on JBoss 4.0.2,
>
>>>but I'm experiencing some problem.
>>>
>>>I just copied the code of OPSPortlet, copied it into MyOPSPortlet,
>>>wrote the portlet.xml file, put the ops.jar into the lib folder of
>>>JBoss and deployed the portlet to Liferay. The deployment completes
>>>fine, but when load the portlet I get some exceptions (see below for
>>>trace). It seems to me the portlet is not finding the processors.
>>>
>>>This is my portlet.xml file
>>>
>>><?xml version="1.0" ?>
>>><portlet-app xmlns:oxf="http://www.orbeon.com/oxf/processors"
>>>xmlns:xi="http://www.w3.org/2003/XInclude">
>>>   <portlet>
>>>      <portlet-name>MyOPSPortlet</portlet-name>
>>>      <portlet-class>com.portlets.MyOPSPortlet</portlet-class>
>>>
>>><!--<portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>>>-->
>>>
>>>      <init-param>
>>>            <name>oxf.main-processor.uri</name>
>>>            <!-- <value>{http://www.orbeon.com/oxf/processors}page-
>>>flow</value> -->
>>>            <value>oxf:/page-flow</value>
>>>      </init-param>
>>>      <init-param>
>>>       <name>oxf.main-processor.input.controller</name>
>>>       <value>oxf:/config/page-flow.xml</value>
>>>      </init-param>
>>>      <!--  <init-param>
>>>            <name>oxf.main-processor.input.controller</name>
>>>            <value>oxf:/portlet/simple/config/page-flow.xml</value>
>>>        </init-param> -->
>>>        <init-param>
>>>            <name>oxf.error-processor.uri</name>
>>>            <!--
>>><value>{http://www.orbeon.com/oxf/processors}pipelinew</value> -->
>>>            <value>oxf:/pipeline</value>
>>>        </init-param>
>>>        <init-param>
>>>            <name>oxf.error-processor.input.config</name>
>>>            <value>oxf:/config/error.xpl</value>
>>>        </init-param>
>>>      <supports>
>>>         <mime-type>text/html</mime-type>
>>>      </supports>
>>>      <portlet-info>
>>>         <title>My Orbeon Presentation Server Portlet</title>
>>>         <short-title>My OPS Portlet</short-title>
>>>      </portlet-info>
>>>   </portlet>
>>></portlet-app>
>>>
>>>and this is the stack trace i get when loading the portlet
>>>
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] javax.portlet.PortletException
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:74)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portlet.CachePortlet.init(CachePortlet.java:131)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portal.model.Portlet.init(Portlet.java:1062)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFact
>>>o
>>>ry.j
>>>ava:96)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFacto
>>>r
>>>y.ja
>>>va:50)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(org.apac
>>>h
>>>e.js
>>>p.html.portal.render_005fportlet_jsp:410)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>>4
>>)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>>s
>>>patc
>>>her.java:574)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>>a
>>>tche
>>>r.java:499)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(org.apa
>>>c
>>>he.j
>>>sp.html.portal.layout.view.portlet_jsp:932)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>>4
>>)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>>s
>>>patc
>>>her.java:574)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>>a
>>>tche
>>>r.java:499)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jsp.html.portal.layout_jsp._jspService(org.apache.jsp.html.
>>>p
>>>orta
>>>l.layout_jsp:382)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>>4
>>)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>>s
>>>patc
>>>her.java:574)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>>a
>>>tche
>>>r.java:499)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._js
>>>p
>>>Serv
>>>ice(org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp
>:
>>>1316
>>>)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>>4
>>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>>s
>>>patc
>>>her.java:574)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>>a
>>>tche
>>>r.java:499)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139
>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include_
>>>0
>>>(org
>>>.apache.jsp.html.common.themes.portal_jsp:410)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jsp.html.common.themes.portal_jsp._jspService(org.apache.js
>>>p
>>>.htm
>>>l.common.themes.portal_jsp:359)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:31
>>>4
>>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicat
>>>i
>>>onDi
>>>spatcher.java:463)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDi
>>>s
>>>patc
>>>her.java:398)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDisp
>>>a
>>>tche
>>>r.java:301)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalReque
>>>s
>>>tPro
>>>cessor.java:184)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(T
>>>i
>>>lesR
>>>equestProcessor.java:239)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Til
>>>e
>>>sReq
>>>uestProcessor.java:302)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.action.RequestProcessor.process(RequestProcessor.jav
>>>a
>>>:229
>>>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequest
>>>P
>>>roce
>>>ssor.java:159)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194
>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.j
>>>a
>>>va:3
>>>55)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:202)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:136
>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:202)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.filters.compression.CompressionFilter.doFilter(Compression
>>>F
>>>ilte
>>>r.java:117)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:202)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFil
>>>t
>>>er.j
>>>ava:81)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>>c
>>>atio
>>>nFilterChain.java:202)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>>>l
>>>ve.j
>>>ava:213)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>>>l
>>>ve.j
>>>ava:178)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinci
>>>p
>>>alVa
>>>lve.java:39)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Security
>>>A
>>>ssoc
>>>iationValve.java:153)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticat
>>>o
>>>rBas
>>>e.java:407)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve
>.
>>>java
>>>:59)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>>>v
>>>a:12
>>>6)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>>>v
>>>a:10
>>>5)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>>>e
>>>.jav
>>>a:107)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>:
>>148)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>>>8
>>56)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>>>s
>>>Conn
>>>ection(Http11Protocol.java:744)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
>>>n
>>>t.ja
>>>va:527)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWork
>>>e
>>>rThr
>>>ead.java:112)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>java.lang.Thread.run(Thread.java:595)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>>javax.portlet.PortletException
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java
>:
>>109)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:68)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 114 more
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>>java.lang.NullPointerException
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(ResourceM
>>>a
>>>nage
>>>rWrapper.java:91)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceManag
>>>e
>>>rWra
>>>pper.java:63)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.pipeline.api.PipelineContext.<init>(PipelineContext.jav
>>>a
>>>:110
>>>)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:132)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.java
>:
>>107)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 116 more
>>>
>>>Any idea?
>>>
>>>thanks
>>
>>
>>
>>
>>
>>This message has been scanned for viruses by MailControl - (see
>>http://bluepages.wsatkins.co.uk/?4318150)
>>
>>
>>This email and any attached files are confidential and copyright
>protected.
>>If you are not the addressee, any dissemination of this communication
>>is strictly prohibited. Unless otherwise expressly agreed in writing,
>>nothing stated in this communication shall be legally binding.
>
>
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: OPSPortlet in Liferay&JBoss

daniele.stroppa
In reply to this post by daniele.stroppa
I was missing that, tought the portlet was looking for those two files
in http://www.orbeon.com/oxf/processors, as specified in the
portlet.xml. Isn't it like this?

Anyway, I added the two files, packaged with my portlet and redeployed
it, but still same exceptions, same lines..


Daniele Stroppa
Graduate Software Engineer
Intelligent Transport Systems
Atkins Highways and Transportation

Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
Tel: +44 (0)1372 756252
Mob: +44 (0)7981 670012
E-mail: [hidden email]
www.atkinsglobal.com/its

-----Original Message-----
From: Ryan Puddephatt [mailto:[hidden email]]
Sent: 13 April 2006 10:32
To: [hidden email]
Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss

Certainly sounds that way! I take it you have the error.xpl and
page-flow.xml in your portlet?

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Stroppa, Daniele [mailto:[hidden email]]
>Sent: 13 April 2006 10:27
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>The PortletException is thrown when MyOPSPortlet s calling the init
>method on the OPSDelegate class, passing the portlet configuration
>
>delegatePortlet.init(getPortletConfig());
>
>And in the OPSDelegate a NullPointerException is thrown when
>initializing the processors
>
>processorService.init(mainProcessorDefinition,
>errorProcessorDefinition);
>
>So I believe that the MyOPSPortlet is not finding the processors I
>specified in the potlet.xml file. Am I right?
>
>Daniele Stroppa
>Graduate Software Engineer
>Intelligent Transport Systems
>Atkins Highways and Transportation
>
>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>Tel: +44 (0)1372 756252
>Mob: +44 (0)7981 670012
>E-mail: [hidden email] www.atkinsglobal.com/its
>
>-----Original Message-----
>From: Ryan Puddephatt [mailto:[hidden email]]
>Sent: 13 April 2006 10:20
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>What is at line 74 of that class?
>
>Ryan Puddephatt
>Software Engineer
>TFX Group - IT UK
>1 Michaelson Square
>Livingston
>West Lothian
>Scotand
>EH54 7DP
>
>* [hidden email]
>( 01506 407 110
>7  01506 407 108
>
>
>>-----Original Message-----
>>From: Stroppa, Daniele [mailto:[hidden email]]
>>Sent: 13 April 2006 10:12
>>To: [hidden email]
>>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>>
>>I just changed the portlet class to my class,
>com.portlets.MyOPSPortlet.
>>
>>
>>
>>Daniele Stroppa
>>Graduate Software Engineer
>>Intelligent Transport Systems
>>Atkins Highways and Transportation
>>
>>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>>Tel: +44 (0)1372 756252
>>Mob: +44 (0)7981 670012
>>E-mail: [hidden email] www.atkinsglobal.com/its
>>
>>-----Original Message-----
>>From: Ryan Puddephatt [mailto:[hidden email]]
>>Sent: 13 April 2006 10:04
>>To: [hidden email]
>>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>>
>>Daniele
>> I think its because you have commented out the portlet-class it
>can't
>>find the ops.jar
>>
>>Ryan
>>
>>Ryan Puddephatt
>>Software Engineer
>>TFX Group - IT UK
>>1 Michaelson Square
>>Livingston
>>West Lothian
>>Scotand
>>EH54 7DP
>>
>>* [hidden email]
>>( 01506 407 110
>>7  01506 407 108
>>
>>
>>>-----Original Message-----
>>>From: [hidden email]
>>>[mailto:[hidden email]]
>>>Sent: 13 April 2006 09:55
>>>To: [hidden email]
>>>Subject: [ops-users] OPSPortlet in Liferay&JBoss
>>>
>>>'Morning everybody,
>>>
>>>I'm trying to run the OPSPortlet in Liferay3.6 running on JBoss
>>>4.0.2,
>
>>>but I'm experiencing some problem.
>>>
>>>I just copied the code of OPSPortlet, copied it into MyOPSPortlet,
>>>wrote the portlet.xml file, put the ops.jar into the lib folder of
>>>JBoss and deployed the portlet to Liferay. The deployment completes
>>>fine, but when load the portlet I get some exceptions (see below for
>>>trace). It seems to me the portlet is not finding the processors.
>>>
>>>This is my portlet.xml file
>>>
>>><?xml version="1.0" ?>
>>><portlet-app xmlns:oxf="http://www.orbeon.com/oxf/processors"
>>>xmlns:xi="http://www.w3.org/2003/XInclude">
>>>   <portlet>
>>>      <portlet-name>MyOPSPortlet</portlet-name>
>>>      <portlet-class>com.portlets.MyOPSPortlet</portlet-class>
>>>
>>><!--<portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>>>-->
>>>
>>>      <init-param>
>>>            <name>oxf.main-processor.uri</name>
>>>            <!-- <value>{http://www.orbeon.com/oxf/processors}page-
>>>flow</value> -->
>>>            <value>oxf:/page-flow</value>
>>>      </init-param>
>>>      <init-param>
>>>       <name>oxf.main-processor.input.controller</name>
>>>       <value>oxf:/config/page-flow.xml</value>
>>>      </init-param>
>>>      <!--  <init-param>
>>>            <name>oxf.main-processor.input.controller</name>
>>>            <value>oxf:/portlet/simple/config/page-flow.xml</value>
>>>        </init-param> -->
>>>        <init-param>
>>>            <name>oxf.error-processor.uri</name>
>>>            <!--
>>><value>{http://www.orbeon.com/oxf/processors}pipelinew</value> -->
>>>            <value>oxf:/pipeline</value>
>>>        </init-param>
>>>        <init-param>
>>>            <name>oxf.error-processor.input.config</name>
>>>            <value>oxf:/config/error.xpl</value>
>>>        </init-param>
>>>      <supports>
>>>         <mime-type>text/html</mime-type>
>>>      </supports>
>>>      <portlet-info>
>>>         <title>My Orbeon Presentation Server Portlet</title>
>>>         <short-title>My OPS Portlet</short-title>
>>>      </portlet-info>
>>>   </portlet>
>>></portlet-app>
>>>
>>>and this is the stack trace i get when loading the portlet
>>>
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] javax.portlet.PortletException
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:74)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portlet.CachePortlet.init(CachePortlet.java:131)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portal.model.Portlet.init(Portlet.java:1062)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFac
>>>t
>>>o
>>>ry.j
>>>ava:96)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFact
>>>o
>>>r
>>>y.ja
>>>va:50)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(org.apa
>>>c
>>>h
>>>e.js
>>>p.html.portal.render_005fportlet_jsp:410)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.

>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>1
>>>4
>>)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>a
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>>>i
>>>s
>>>patc
>>>her.java:574)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>>>p
>>>a
>>>tche
>>>r.java:499)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(org.ap
>>>a
>>>c
>>>he.j
>>>sp.html.portal.layout.view.portlet_jsp:932)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.

>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>1
>>>4
>>)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>a
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>>>i
>>>s
>>>patc
>>>her.java:574)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>>>p
>>>a
>>>tche
>>>r.java:499)
>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jsp.html.portal.layout_jsp._jspService(org.apache.jsp.html
.
>>>p
>>>orta
>>>l.layout_jsp:382)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.

>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>1
>>>4
>>)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>a
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>>>i
>>>s
>>>patc
>>>her.java:574)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>>>p
>>>a
>>>tche
>>>r.java:499)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._j
>>>s
>>>p
>>>Serv
>>>ice(org.apache.jsp.html.themes.classic.templates.portal_005fnormal_js
>>>p
>:
>>>1316
>>>)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.

>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>1
>>>4
>>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>a
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>>>i
>>>s
>>>patc
>>>her.java:574)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>>>p
>>>a
>>>tche
>>>r.java:499)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:13
>>>9
>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include
>>>_
>>>0
>>>(org
>>>.apache.jsp.html.common.themes.portal_jsp:410)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jsp.html.common.themes.portal_jsp._jspService(org.apache.j
>>>s
>>>p
>>>.htm
>>>l.common.themes.portal_jsp:359)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.

>>>j
>>ava:
>>>322)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>1
>>>4
>>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>a
>>>t
>>>cher
>>>.java:672)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
>>>t
>>>i
>>>onDi
>>>spatcher.java:463)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
>>>i
>>>s
>>>patc
>>>her.java:398)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
>>>p
>>>a
>>>tche
>>>r.java:301)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequ
>>>e
>>>s
>>>tPro
>>>cessor.java:184)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
>>>T
>>>i
>>>lesR
>>>equestProcessor.java:239)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
>>>l
>>>e
>>>sReq
>>>uestProcessor.java:302)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
>>>v
>>>a
>>>:229
>>>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.struts.PortalRequestProcessor.process(PortalReques
>>>t
>>>P
>>>roce
>>>ssor.java:159)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
>>>4
>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.
>>>j
>>>a
>>>va:3
>>>55)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:252)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:202)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:13
>>>6
>)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:202)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>com.liferay.filters.compression.CompressionFilter.doFilter(Compressio
>>>n
>>>F
>>>ilte
>>>r.java:117)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:202)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
>>>l
>>>t
>>>er.j
>>>ava:81)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>i
>>>c
>>>atio
>>>nFilterChain.java:202)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>i
>>>l
>>>terC
>>>hain.java:173)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>>>a
>>>l
>>>ve.j
>>>ava:213)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>>>a
>>>l
>>>ve.j
>>>ava:178)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
>>>i
>>>p
>>>alVa
>>>lve.java:39)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
>>>y
>>>A
>>>ssoc
>>>iationValve.java:153)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
>>>t
>>>o
>>>rBas
>>>e.java:407)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
>>>e
>.
>>>java
>>>:59)
>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>>>a
>>>v
>>>a:12
>>>6)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>>>a
>>>v
>>>a:10
>>>5)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>>>v
>>>e
>>>.jav
>>>a:107)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>>>a
>:
>>148)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:

>>>8
>>56)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>>>s
>>>s
>>>Conn
>>>ection(Http11Protocol.java:744)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
>>>i
>>>n
>>>t.ja
>>>va:527)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
>>>k
>>>e
>>>rThr
>>>ead.java:112)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>java.lang.Thread.run(Thread.java:595)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>>javax.portlet.PortletException
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.jav
>>>a
>:
>>109)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:68)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 114 more
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>>java.lang.NullPointerException
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(Resource
>>>M
>>>a
>>>nage
>>>rWrapper.java:91)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceMana
>>>g
>>>e
>>>rWra
>>>pper.java:63)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49
)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61
)

>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.pipeline.api.PipelineContext.<init>(PipelineContext.ja
>>>v
>>>a
>>>:110
>>>)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:132)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.jav
>>>a
>:
>>107)
>>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 116 more
>>>
>>>Any idea?
>>>
>>>thanks
>>
>>
>>
>>
>>
>>This message has been scanned for viruses by MailControl - (see
>>http://bluepages.wsatkins.co.uk/?4318150)
>>
>>
>>This email and any attached files are confidential and copyright
>protected.
>>If you are not the addressee, any dissemination of this communication
>>is strictly prohibited. Unless otherwise expressly agreed in writing,
>>nothing stated in this communication shall be legally binding.
>
>
>





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: OPSPortlet in Liferay&JBoss

Ryan Puddephatt
Hmmm, not too sure then. With all the files there it should work!

Perhaps someone else in the list has had similar problems?

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: Stroppa, Daniele [mailto:[hidden email]]
>Sent: 13 April 2006 10:47
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>I was missing that, tought the portlet was looking for those two files
>in http://www.orbeon.com/oxf/processors, as specified in the
>portlet.xml. Isn't it like this?
>
>Anyway, I added the two files, packaged with my portlet and redeployed
>it, but still same exceptions, same lines..
>
>
>Daniele Stroppa
>Graduate Software Engineer
>Intelligent Transport Systems
>Atkins Highways and Transportation
>
>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>Tel: +44 (0)1372 756252
>Mob: +44 (0)7981 670012
>E-mail: [hidden email]
>www.atkinsglobal.com/its
>
>-----Original Message-----
>From: Ryan Puddephatt [mailto:[hidden email]]
>Sent: 13 April 2006 10:32
>To: [hidden email]
>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>
>Certainly sounds that way! I take it you have the error.xpl and
>page-flow.xml in your portlet?
>
>Ryan Puddephatt
>Software Engineer
>TFX Group - IT UK
>1 Michaelson Square
>Livingston
>West Lothian
>Scotand
>EH54 7DP
>
>* [hidden email]
>( 01506 407 110
>7  01506 407 108
>
>
>>-----Original Message-----
>>From: Stroppa, Daniele [mailto:[hidden email]]
>>Sent: 13 April 2006 10:27
>>To: [hidden email]
>>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>>
>>The PortletException is thrown when MyOPSPortlet s calling the init
>>method on the OPSDelegate class, passing the portlet configuration
>>
>>delegatePortlet.init(getPortletConfig());
>>
>>And in the OPSDelegate a NullPointerException is thrown when
>>initializing the processors
>>
>>processorService.init(mainProcessorDefinition,
>>errorProcessorDefinition);
>>
>>So I believe that the MyOPSPortlet is not finding the processors I
>>specified in the potlet.xml file. Am I right?
>>
>>Daniele Stroppa
>>Graduate Software Engineer
>>Intelligent Transport Systems
>>Atkins Highways and Transportation
>>
>>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>>Tel: +44 (0)1372 756252
>>Mob: +44 (0)7981 670012
>>E-mail: [hidden email] www.atkinsglobal.com/its
>>
>>-----Original Message-----
>>From: Ryan Puddephatt [mailto:[hidden email]]
>>Sent: 13 April 2006 10:20
>>To: [hidden email]
>>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>>
>>What is at line 74 of that class?
>>
>>Ryan Puddephatt
>>Software Engineer
>>TFX Group - IT UK
>>1 Michaelson Square
>>Livingston
>>West Lothian
>>Scotand
>>EH54 7DP
>>
>>* [hidden email]
>>( 01506 407 110
>>7  01506 407 108
>>
>>
>>>-----Original Message-----
>>>From: Stroppa, Daniele [mailto:[hidden email]]
>>>Sent: 13 April 2006 10:12
>>>To: [hidden email]
>>>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>>>
>>>I just changed the portlet class to my class,
>>com.portlets.MyOPSPortlet.
>>>
>>>
>>>
>>>Daniele Stroppa
>>>Graduate Software Engineer
>>>Intelligent Transport Systems
>>>Atkins Highways and Transportation
>>>
>>>Woodcote Grove, Ashley Road, Espom, Surrey, KT18 5BW
>>>Tel: +44 (0)1372 756252
>>>Mob: +44 (0)7981 670012
>>>E-mail: [hidden email] www.atkinsglobal.com/its
>>>
>>>-----Original Message-----
>>>From: Ryan Puddephatt [mailto:[hidden email]]
>>>Sent: 13 April 2006 10:04
>>>To: [hidden email]
>>>Subject: RE: [ops-users] OPSPortlet in Liferay&JBoss
>>>
>>>Daniele
>>> I think its because you have commented out the portlet-class it
>>can't
>>>find the ops.jar
>>>
>>>Ryan
>>>
>>>Ryan Puddephatt
>>>Software Engineer
>>>TFX Group - IT UK
>>>1 Michaelson Square
>>>Livingston
>>>West Lothian
>>>Scotand
>>>EH54 7DP
>>>
>>>* [hidden email]
>>>( 01506 407 110
>>>7  01506 407 108
>>>
>>>
>>>>-----Original Message-----
>>>>From: [hidden email]
>>>>[mailto:[hidden email]]
>>>>Sent: 13 April 2006 09:55
>>>>To: [hidden email]
>>>>Subject: [ops-users] OPSPortlet in Liferay&JBoss
>>>>
>>>>'Morning everybody,
>>>>
>>>>I'm trying to run the OPSPortlet in Liferay3.6 running on JBoss
>>>>4.0.2,
>>
>>>>but I'm experiencing some problem.
>>>>
>>>>I just copied the code of OPSPortlet, copied it into MyOPSPortlet,
>>>>wrote the portlet.xml file, put the ops.jar into the lib folder of
>>>>JBoss and deployed the portlet to Liferay. The deployment completes
>>>>fine, but when load the portlet I get some exceptions (see below for
>>>>trace). It seems to me the portlet is not finding the processors.
>>>>
>>>>This is my portlet.xml file
>>>>
>>>><?xml version="1.0" ?>
>>>><portlet-app xmlns:oxf="http://www.orbeon.com/oxf/processors"
>>>>xmlns:xi="http://www.w3.org/2003/XInclude">
>>>>   <portlet>
>>>>      <portlet-name>MyOPSPortlet</portlet-name>
>>>>      <portlet-class>com.portlets.MyOPSPortlet</portlet-class>
>>>>
>>>><!--<portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>>>>-->
>>>>
>>>>      <init-param>
>>>>            <name>oxf.main-processor.uri</name>
>>>>            <!-- <value>{http://www.orbeon.com/oxf/processors}page-
>>>>flow</value> -->
>>>>            <value>oxf:/page-flow</value>
>>>>      </init-param>
>>>>      <init-param>
>>>>       <name>oxf.main-processor.input.controller</name>
>>>>       <value>oxf:/config/page-flow.xml</value>
>>>>      </init-param>
>>>>      <!--  <init-param>
>>>>            <name>oxf.main-processor.input.controller</name>
>>>>            <value>oxf:/portlet/simple/config/page-flow.xml</value>
>>>>        </init-param> -->
>>>>        <init-param>
>>>>            <name>oxf.error-processor.uri</name>
>>>>            <!--
>>>><value>{http://www.orbeon.com/oxf/processors}pipelinew</value> -->
>>>>            <value>oxf:/pipeline</value>
>>>>        </init-param>
>>>>        <init-param>
>>>>            <name>oxf.error-processor.input.config</name>
>>>>            <value>oxf:/config/error.xpl</value>
>>>>        </init-param>
>>>>      <supports>
>>>>         <mime-type>text/html</mime-type>
>>>>      </supports>
>>>>      <portlet-info>
>>>>         <title>My Orbeon Presentation Server Portlet</title>
>>>>         <short-title>My OPS Portlet</short-title>
>>>>      </portlet-info>
>>>>   </portlet>
>>>></portlet-app>
>>>>
>>>>and this is the stack trace i get when loading the portlet
>>>>
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] javax.portlet.PortletException
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:74)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>com.liferay.portlet.CachePortlet.init(CachePortlet.java:131)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>com.liferay.portal.model.Portlet.init(Portlet.java:1062)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>com.liferay.portlet.PortletInstanceFactory._create(PortletInstanceFac
>>>>t
>>>>o
>>>>ry.j
>>>>ava:96)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>com.liferay.portlet.PortletInstanceFactory.create(PortletInstanceFact
>>>>o
>>>>r
>>>>y.ja
>>>>va:50)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(org.apa
>>>>c
>>>>h
>>>>e.js
>>>>p.html.portal.render_005fportlet_jsp:410)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
>.
>>>>j
>>>ava:
>>>>322)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>>1
>>>>4
>>>)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:252)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>>a
>>>>t
>>>>cher
>>>>.java:672)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>>>>i
>>>>s
>>>>patc
>>>>her.java:574)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>>>>p
>>>>a
>>>>tche
>>>>r.java:499)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(org.ap
>>>>a
>>>>c
>>>>he.j
>>>>sp.html.portal.layout.view.portlet_jsp:932)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
>.
>>>>j
>>>ava:
>>>>322)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>>1
>>>>4
>>>)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:252)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>>a
>>>>t
>>>>cher
>>>>.java:672)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>>>>i
>>>>s
>>>>patc
>>>>her.java:574)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>>>>p
>>>>a
>>>>tche
>>>>r.java:499)
>>>>2006-04-13 09:33:51,743 INFO  [STDOUT] at
>>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.jsp.html.portal.layout_jsp._jspService(org.apache.jsp.html
>.
>>>>p
>>>>orta
>>>>l.layout_jsp:382)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
>.
>>>>j
>>>ava:
>>>>322)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>>1
>>>>4
>>>)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:252)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>>a
>>>>t
>>>>cher
>>>>.java:672)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>>>>i
>>>>s
>>>>patc
>>>>her.java:574)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>>>>p
>>>>a
>>>>tche
>>>>r.java:499)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._j
>>>>s
>>>>p
>>>>Serv
>>>>ice(org.apache.jsp.html.themes.classic.templates.portal_005fnormal_js
>>>>p
>>:
>>>>1316
>>>>)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,759 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
>.
>>>>j
>>>ava:
>>>>322)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>>1
>>>>4
>>>)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:252)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>>a
>>>>t
>>>>cher
>>>>.java:672)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
>>>>i
>>>>s
>>>>patc
>>>>her.java:574)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
>>>>p
>>>>a
>>>>tche
>>>>r.java:499)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:13
>>>>9
>>)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include
>>>>_
>>>>0
>>>>(org
>>>>.apache.jsp.html.common.themes.portal_jsp:410)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.jsp.html.common.themes.portal_jsp._jspService(org.apache.j
>>>>s
>>>>p
>>>>.htm
>>>>l.common.themes.portal_jsp:359)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
>.
>>>>j
>>>ava:
>>>>322)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
>>>>1
>>>>4
>>>)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:252)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
>>>>a
>>>>t
>>>>cher
>>>>.java:672)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
>>>>t
>>>>i
>>>>onDi
>>>>spatcher.java:463)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
>>>>i
>>>>s
>>>>patc
>>>>her.java:398)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
>>>>p
>>>>a
>>>>tche
>>>>r.java:301)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequ
>>>>e
>>>>s
>>>>tPro
>>>>cessor.java:184)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
>>>>T
>>>>i
>>>>lesR
>>>>equestProcessor.java:239)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
>>>>l
>>>>e
>>>>sReq
>>>>uestProcessor.java:302)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
>>>>v
>>>>a
>>>>:229
>>>>)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.portal.struts.PortalRequestProcessor.process(PortalReques
>>>>t
>>>>P
>>>>roce
>>>>ssor.java:159)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
>>>>4
>>)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.
>>>>j
>>>>a
>>>>va:3
>>>>55)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:252)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:202)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:13
>>>>6
>>)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:202)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>com.liferay.filters.compression.CompressionFilter.doFilter(Compressio
>>>>n
>>>>F
>>>>ilte
>>>>r.java:117)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:202)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
>>>>l
>>>>t
>>>>er.j
>>>>ava:81)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>>i
>>>>c
>>>>atio
>>>>nFilterChain.java:202)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>>i
>>>>l
>>>>terC
>>>>hain.java:173)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>>>>a
>>>>l
>>>>ve.j
>>>>ava:213)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>>>>a
>>>>l
>>>>ve.j
>>>>ava:178)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
>>>>i
>>>>p
>>>>alVa
>>>>lve.java:39)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
>>>>y
>>>>A
>>>>ssoc
>>>>iationValve.java:153)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
>>>>t
>>>>o
>>>>rBas
>>>>e.java:407)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
>>>>e
>>.
>>>>java
>>>>:59)
>>>>2006-04-13 09:33:51,775 INFO  [STDOUT] at
>>>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>>>>a
>>>>v
>>>>a:12
>>>>6)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>>>>a
>>>>v
>>>>a:10
>>>>5)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>>>>v
>>>>e
>>>>.jav
>>>>a:107)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>>>>a
>>:
>>>148)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>:
>>>>8
>>>56)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>>>>s
>>>>s
>>>>Conn
>>>>ection(Http11Protocol.java:744)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
>>>>i
>>>>n
>>>>t.ja
>>>>va:527)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
>>>>k
>>>>e
>>>>rThr
>>>>ead.java:112)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>java.lang.Thread.run(Thread.java:595)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>>>javax.portlet.PortletException
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.jav
>>>>a
>>:
>>>109)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>javax.portlet.GenericPortlet.init(GenericPortlet.java:85)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>com.portlets.MyOPSPortlet.init(MyOPSPortlet.java:68)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 114 more
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] Caused by:
>>>>java.lang.NullPointerException
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.resources.ResourceManagerWrapper.makeInstance(Resource
>>>>M
>>>>a
>>>>nage
>>>>rWrapper.java:91)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.resources.ResourceManagerWrapper.instance(ResourceMana
>>>>g
>>>>e
>>>>rWra
>>>>pper.java:63)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.resources.oxf.Handler$1.getInputStream(Handler.java:49
>)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.resources.OXFProperties.update(OXFProperties.java:83)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.resources.OXFProperties.<init>(OXFProperties.java:48)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.resources.OXFProperties.instance(OXFProperties.java:61
>)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.pipeline.api.PipelineContext.<init>(PipelineContext.ja
>>>>v
>>>>a
>>>>:110
>>>>)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.pipeline.InitUtils.createProcessor(InitUtils.java:132)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.webapp.ProcessorService.init(ProcessorService.java:76)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] at
>>>>org.orbeon.oxf.portlet.OPSPortletDelegate.init(OPSPortletDelegate.jav
>>>>a
>>:
>>>107)
>>>>2006-04-13 09:33:51,790 INFO  [STDOUT] ... 116 more
>>>>
>>>>Any idea?
>>>>
>>>>thanks
>>>
>>>
>>>
>>>
>>>
>>>This message has been scanned for viruses by MailControl - (see
>>>http://bluepages.wsatkins.co.uk/?4318150)
>>>
>>>
>>>This email and any attached files are confidential and copyright
>>protected.
>>>If you are not the addressee, any dissemination of this communication
>>>is strictly prohibited. Unless otherwise expressly agreed in writing,
>>>nothing stated in this communication shall be legally binding.
>>
>>
>>
>
>
>




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws