Form Runner ProxyPortlet on WebLgoic Portal

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

Form Runner ProxyPortlet on WebLgoic Portal

skalaiselvan
Hi,
I am trying to bring the Form Runner into the WebLogic Portal.
I have build the ear file and deploy the application in the WebLogic Portal.
I have modify the property-local.xml while build the ear file.Attached the property-local.xml for reference.
 

Then i have downloaded the orbeon-PE-proxy-portlet.war file and i have added the

orbeon-xforms-filter.jar and scala-library-2.8.1.jar

in the classpath and i have created a JSR 286 portlet using the class, org.orbeon.oxf.portlet.OrbeonProxyPortlet.

Also i have set the preference following the below url,
https://sites.google.com/a/orbeon.com/forms/doc/developer-guide/form-runner/form-runner-proxy-portlet-guide

After done this, i could able to get the bookshelf new page in my portal
But if I enter some values and try to save, it is not responding. In the right top i could see always Loading.

In the Firebug console tab i could able to see the following exception occurred while accessing that proxy portlet.

scala.MatchError: (Content-Type,null)

        at org.orbeon.oxf.portlet.OrbeonProxyPortlet$$anonfun$propagateHeaders$2.apply(OrbeonProxyPortlet.scala:215)

        at org.orbeon.oxf.portlet.OrbeonProxyPortlet$$anonfun$propagateHeaders$2.apply(OrbeonProxyPortlet.scala:215)

        at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)

        at scala.collection.immutable.List.foreach(List.scala:45)

        at org.orbeon.oxf.portlet.OrbeonProxyPortlet.propagateHeaders(OrbeonProxyPortlet.scala:214)

        at org.orbeon.oxf.portlet.OrbeonProxyPortlet.serveResource(OrbeonProxyPortlet.scala:154)

        at com.bea.portlet.container.PortletStub.doResource(PortletStub.java:973)

        at com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:138)

        at com.bea.portlet.container.PortletStub.renderResource(PortletStub.java:719)

        at com.bea.portlet.container.AppContainer.invokeResourceStub(AppContainer.java:1349)

        at com.bea.portlet.container.AppContainer.invokeResource(AppContainer.java:1301)

        at com.bea.netuix.servlets.controls.content.JavaPortletContent.renderResource(JavaPortletContent.java:316)

        at com.bea.netuix.nf.ControlLifecycle$8.visit(ControlLifecycle.java:583)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

        at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)

        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)

        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)

        at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)

        at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)

        at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)

        at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)

        at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:219)

        at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)

        at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)

        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)

        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)

        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)

        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


Can you please let me know any configuration i have missed related to weblogic portal. Any help regarding this would help me a lot.

Note: I am using latest weblogic portal version 10.3.2
Attached : Orbeon.log and property-local.xml

Thanks
Kalaiselvan
orbeon.logproperties-local.xml
Regards,
Kalaiselvan
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner ProxyPortlet on WebLgoic Portal

skalaiselvan
orbeon.log
Regards,
Kalaiselvan
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner ProxyPortlet on WebLgoic Portal

Erik Bruchez
Administrator
In reply to this post by skalaiselvan
Kalaiselvan,

First, there should not be a match error there, so I fixed that:


But it's only a symptom. This seems to indicate that some code down the line does not set a Content-Type header, and there should be one.

I added some code to the portlet to detect and log URLs that do not return a Content-Type header:


Maybe you can give a try to the next automatic build and see if any useful information comes out of this?

-Erik

On Mon, Mar 7, 2011 at 6:09 AM, Kalaiselvan <[hidden email]> wrote:
Hi,
I am trying to bring the Form Runner into the WebLogic Portal.
I have build the ear file and deploy the application in the WebLogic Portal.
I have modify the property-local.xml while build the ear file.Attached the
property-local.xml for reference.


Then i have downloaded the orbeon-PE-proxy-portlet.war file and i have added
the

orbeon-xforms-filter.jar and scala-library-2.8.1.jar

in the classpath and i have created a JSR 286 portlet using the class,
org.orbeon.oxf.portlet.OrbeonProxyPortlet.

Also i have set the preference following the below url,
https://sites.google.com/a/orbeon.com/forms/doc/developer-guide/form-runner/form-runner-proxy-portlet-guide

After done this, i could able to get the bookshelf new page in my portal
But if I enter some values and try to save, it is not responding. In the
right top i could see always Loading.

In the Firebug console tab i could able to see the following exception
occurred while accessing that proxy portlet.

scala.MatchError: (Content-Type,null)

       at
org.orbeon.oxf.portlet.OrbeonProxyPortlet$$anonfun$propagateHeaders$2.apply(OrbeonProxyPortlet.scala:215)

       at
org.orbeon.oxf.portlet.OrbeonProxyPortlet$$anonfun$propagateHeaders$2.apply(OrbeonProxyPortlet.scala:215)

       at
scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)

       at scala.collection.immutable.List.foreach(List.scala:45)

       at
org.orbeon.oxf.portlet.OrbeonProxyPortlet.propagateHeaders(OrbeonProxyPortlet.scala:214)

       at
org.orbeon.oxf.portlet.OrbeonProxyPortlet.serveResource(OrbeonProxyPortlet.scala:154)

       at com.bea.portlet.container.PortletStub.doResource(PortletStub.java:973)

       at
com.bea.portlet.container.FilterChainGenerator.runFilterChain(FilterChainGenerator.java:138)

       at
com.bea.portlet.container.PortletStub.renderResource(PortletStub.java:719)

       at
com.bea.portlet.container.AppContainer.invokeResourceStub(AppContainer.java:1349)

       at
com.bea.portlet.container.AppContainer.invokeResource(AppContainer.java:1301)

       at
com.bea.netuix.servlets.controls.content.JavaPortletContent.renderResource(JavaPortletContent.java:316)

       at com.bea.netuix.nf.ControlLifecycle$8.visit(ControlLifecycle.java:583)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)

       at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)

       at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)

       at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)

       at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)

       at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)

       at
com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)

       at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)

       at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:219)

       at
com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)

       at
com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

       at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

       at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

       at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)

       at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

       at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

       at
com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)

       at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

       at
com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)

       at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

       at
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

       at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

       at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)

       at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

       at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

       at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)

       at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)

       at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)

       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

       at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


Can you please let me know any configuration i have missed related to
weblogic portal. Any help regarding this would help me a lot.

Note: I am using latest weblogic portal version 10.3.2
Attached : Orbeon.log and property-local.xml

Thanks
Kalaiselvan
http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n3339042/orbeon.log
orbeon.log
http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n3339042/properties-local.xml
properties-local.xml

-----
Regards,
Kalaiselvan

--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-Runner-ProxyPortlet-on-WebLgoic-Portal-tp3339042p3339042.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws




--
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
OW2 mailing lists service home page: http://www.ow2.org/wws