Hx_5 is undefined - WSRP: Consumer: WLP 10.2 Producer: Websphere 6

WSRP Version - 2
Consumer: WLP 10.2
Producer: Websphere 6
In the consumer end, the portlets are getting rendered, but when any action is performed it is not redirecting to the new page. A js error: hx_5 is undefined is thrown.
This is not occuring in producer stand alone and in consumer local envs. The consumer uses Clear Trust for authentication.
Anyone has faced this issue? Please let me know if you have any inputs on this.
Thanks,
Sid

Hello Sid,
I assume by "A js error" you mean a JavaScript error in the browser? If so, is the JavaScript actually trying to redirect the page to a URL that it is generating?
WSRP modifies the URLs put out by portlets, and this often causes issues with JavaScript libraries.
Kevin

Similar Messages

  • WSRP Consumer Security Service

    folks
    We are testing WSRP, Here is the basic configuration we did,
    1) Register Producer Handle in Consumer
    2) configured new remote porlets to point to the producer
    3) Have a Session Filter in Producer which was set by Consumer(for all the login)
    4) used xxx.jks(default) which came with weblogic
    5) Added WSRPIdentity asserter in Producer
    But we are not seeing WSRP Consumer Security Service in Consumer admin(some times we see this)
    Any ideas what could be the issue

    Hi,
    Just to clarify, what is the Security Service that you are expecting in the Admin Console? Just want to make sure we are talking about the same thing.
    Next, if you are doing any security related work, be sure to visit:
    http://edocs.bea.com/wlp/docs81/wsrp/security.html
    Regards,
    --alex                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • WSRP in WLP 8.1.5 : portletStateChange and PortletStateChangeRequiredExcept

    Hello BEA Experts,
    I am currently working in a project for a main Telecom company in Greece and we are going to use WSRP technology in the End User Portal. We are using Weblogic portal 8.1.5 and we want to make our solution as cross-platformed as it can be. We are trying to create a demo using BEA portal as the consumer and Pluto with WSRP4J as the producer. We managed to fetch the welcome page of the remote portlet but in this page we want to have an http form with a submit button. When the user presses this button a new page will be displayed in the portlet.
    You can imagine it like the following fragment.
    <form action="hello.jsp" method="post">
    <button type="submit" value="CLICK ME"/>
    </form>
    When we consume the portlet from Pluto everything works fine but with BEA Weblogic Portal we get the following exception
    Error invoking portlet "WSRP4J Test1 Portlet"
    The source of this error is:
    com.bea.wsrp.faults.PortletStateChangeRequiredException: A portlet needs to modify its persistent state, but has been prevented from doing so.
         at com.bea.wsrp.proxy.ProxyBase.getFaultInstance(ProxyBase.java:591)
         at com.bea.wsrp.proxy.ProxyBase.raiseFault(ProxyBase.java:632)
         at com.bea.wsrp.proxy.ProxyBase.invoke(ProxyBase.java:439)
         at $Proxy12.performBlockingInteraction(Unknown Source)
         at com.bea.wsrp.consumer.controls.ProxyPortlet.invokePerformBlockingInteraction(ProxyPortlet.java:897)
         at com.bea.wsrp.consumer.controls.ProxyPortlet.handleEvent(ProxyPortlet.java:566)
         at com.bea.wsrp.consumer.controls.BlockingActionEvent$Manager.fireEvent(BlockingActionEvent.java:122)
         at com.bea.wsrp.consumer.controls.ProxyPortlet.raiseChangeEvents(ProxyPortlet.java:490)
         at com.bea.netuix.nf.ControlLifecycle$4.postVisitRoot(ControlLifecycle.java:298)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:372)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:126)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105)
         at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:173)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:137)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:333)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:196)
         at com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:772)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:150)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    After investigate it further I found that there is a difference in the performBlockingInteraction WSRP command sent from WSRP4J consumer and BEA Weblogic Portal consumer. In WSRP4J case the flag portletStateChange is readWrite and in the WLP case it is readOnly. Who can I manage this value in WLP? Could this value be the answer to my problem?
    Thanks in Advance,
    Kostas

    You probably need to stream your portal to the database (create a
    desktop) in the admin tools. This will allow the portlet to be modified.
    Nate
    Kostas Chaidos wrote:
    Hello BEA Experts,
    I am currently working in a project for a main Telecom company in Greece and we are going to use WSRP technology in the End User Portal. We are using Weblogic portal 8.1.5 and we want to make our solution as cross-platformed as it can be. We are trying to create a demo using BEA portal as the consumer and Pluto with WSRP4J as the producer. We managed to fetch the welcome page of the remote portlet but in this page we want to have an http form with a submit button. When the user presses this button a new page will be displayed in the portlet.
    You can imagine it like the following fragment.
    <form action="hello.jsp" method="post">
    <button type="submit" value="CLICK ME"/>
    </form>
    When we consume the portlet from Pluto everything works fine but with BEA Weblogic Portal we get the following exception
    Error invoking portlet "WSRP4J Test1 Portlet"
    The source of this error is:
    com.bea.wsrp.faults.PortletStateChangeRequiredException: A portlet needs to modify its persistent state, but has been prevented from doing so.
         at com.bea.wsrp.proxy.ProxyBase.getFaultInstance(ProxyBase.java:591)
         at com.bea.wsrp.proxy.ProxyBase.raiseFault(ProxyBase.java:632)
         at com.bea.wsrp.proxy.ProxyBase.invoke(ProxyBase.java:439)
         at $Proxy12.performBlockingInteraction(Unknown Source)
         at com.bea.wsrp.consumer.controls.ProxyPortlet.invokePerformBlockingInteraction(ProxyPortlet.java:897)
         at com.bea.wsrp.consumer.controls.ProxyPortlet.handleEvent(ProxyPortlet.java:566)
         at com.bea.wsrp.consumer.controls.BlockingActionEvent$Manager.fireEvent(BlockingActionEvent.java:122)
         at com.bea.wsrp.consumer.controls.ProxyPortlet.raiseChangeEvents(ProxyPortlet.java:490)
         at com.bea.netuix.nf.ControlLifecycle$4.postVisitRoot(ControlLifecycle.java:298)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:372)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:126)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:105)
         at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:173)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:137)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:333)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:196)
         at com.bea.netuix.servlets.manager.PortalServlet.doPost(PortalServlet.java:772)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:150)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    After investigate it further I found that there is a difference in the performBlockingInteraction WSRP command sent from WSRP4J consumer and BEA Weblogic Portal consumer. In WSRP4J case the flag portletStateChange is readWrite and in the WLP case it is readOnly. Who can I manage this value in WLP? Could this value be the answer to my problem?
    Thanks in Advance,
    Kostas

  • Getting producer resource URLs in a WSRP consumer

    I have 2 WebLogic 8.1 portal domains, a producer (ProducerDomain) and a consumer (ConsumerDomain). The producer domain has a portlet that displays an image that is local to the producer (i.e. http://localhost:7001/ProducerDomain/images/image.jpg). The consumer portal then creates a remote portlet of this producer portlet, and the end result should be that the consumer application should see the image that is local to the producer in its remote portlet.
    The problem is, I can't figure out how to create the URL to the image on the producer side in such a way that the consumer can see the image. I have tried the following in my producer portlet:
    <render:resourceUrl var="theURL" path="/images/Sunset.jpg" />
    img1 = <img src="<%=theURL%>">
    img2 = <img src="<%=request.getScheme()%>://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/images/Sunset.jpg">
    The img2 URL works fine, because it simply gets the producer URL and hard codes that into the img tag. However, this doesn't seem like the right way to be URL writing in WSRP. The resulting values in the consumer remote portlet are the following:
    img1 = <img src="http://localhost:7011/ConsumerApp/resource;jsessionid=GRVL8lVvxvlY8Wj1JGzXSkJ6hJGRM0WhjnkKh5HZLT0wJbygZGYQ!1580368832?_windowLabel=portlet_1_1_1&wsrp-urlType=resource&wsrp-url=http%3A%2F%2Flocalhost%3A7001%2Fimages%2Fimage.jpg&wsrp-requiresRewrite=false">
    img2 = <img src="http://localhost:7001/ProducerApp/images/image.jpg">
    img2 works fine, but img1 does not. I think I'm missing something in the way I should be creating this URL. If anyone has any ideas, they would be greatly appreciated!
    Thanks.

    Anyone have any ideas on how to get this working correctly? I've already read through the following document:
    http://dev2dev.bea.com/pub/a/2005/02/urls_in_portal.html
    But I can't seem to see any concrete examples on how to get this case to work.

  • Error in SAP WSRP Consumer XML

    Hello,
    the SAP EP WSRP Consumer sends the following request with a wrong xml:lang code. It uses java locales instead. It sends 'en_US' instead of 'en-US'. My producer sends as a response no portlet title, because it has no title for this unknow language code and as a consequence, SAP consumer throws an error saying ' No content defined for this user '. Any ideas?
    <SOAP-ENV:Body><prt0:getServiceDescription xmlns:prt0="urn:oasis:names:tc:wsrp:v1:types">
        <prt0:registrationContext>
            <prt0:registrationHandle>GNF5FRAAAAAAHKP4DGAQAAA</prt0:registrationHandle>
        </prt0:registrationContext>
        <prt0:desiredLocales>en_US</prt0:desiredLocales>
        <prt0:desiredLocales>fr_FR</prt0:desiredLocales>
        </prt0:getServiceDescription>
    </SOAP-ENV:Body></SOAP-ENV:Envelope>
    Regards,
    Andreas.

    Hi Andreas,
    we got kind of the same problem with WSRP and different portal languages. Did you find any kind of solution?
    Kind regards and THX,
    Christoph

  • WSRP consumer for Webcenter Interaction

    Hi ,
    I have registered a Hello world Portlet(aspx Page Developed on .Net) on WSRP Producer and I am able to consume the portlet in Oracle Weblogic Portal 10.3.2.
    I am doing a POC on "Oracle Webcenter Interaction" .
    Now I want to consume the Helloworld portlet in Webcenter Interaction Portal.
    Do I need to have Oracle WSRP Consumer to consume the Portlet on Webcenter Interaction Portal?
    Is there any way to Add the Helloworld Portlet to Webcenter interaction Portal Page?
    Thanks In Advance
    Srinivas Kootikanti
    Edited by: cnukvd100 on Oct 5, 2012 2:06 AM

    Schema Spy is an amazing tool. I haven't used it for the WebCenter apps yet, but this will map everything out for you, providing the relationships you seek.
    http://schemaspy.sourceforge.net/

  • WSRP Consumer - producer registration error : (100)continue return code

    I am trying to get an ALI WSRP Consumer working with the ALI WSRP Producer. Whenever I try to register the producer wsdl, the consumer fails with the error :
    Failed to get a service description from WSRP provider!
    Error message from WSRP provider: (100)Continue
    Any clues? I can successfully register this producer with a different portal's consumer. Is there a configuration property that needs to be set to allow the (100) response code? Or perhaps my Producer should avoid that response code in the first place? Has anybody run into this?
    Below is the stack trace generated by my consumer on the back-end (from ALI Logging Spy) :
    Failed to get service description from WSRP provider: http://scollins.sd.defenseweb.net:80/wsrpproducer1.1/1.0/WSRPBaseService.asmx
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (100)Continue
    faultActor:
    faultNode:
    faultDetail:
         {}string: return code: 100
    HTTP/1.1 200 OK
    Server: Microsoft-IIS/5.1
    Date: Wed, 22 Apr 2009 23:31:53 GMT
    X-Powered-By: ASP.NET
    Connection: close
    X-AspNet-Version: 2.0.50727
    Cache-Control: private, max-age=0
    Content-Type: text/xml; charset=utf-8
    Content-Length: 3084
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:wsa=&quot;http://schemas.xmlsoap.org/ws/2004/03/addressing&quot; xmlns:wsse=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&quot; xmlns:wsu=&quot;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&quot;&gt;&lt;soap:Header&gt;&lt;wsa:Action&gt;urn:oasis:names:tc:wsrp:v1:getServiceDescriptionResponse&lt;/wsa:Action&gt;&lt;wsa:MessageID&gt;uuid:dc3a3069-320a-4a6d-a997-45313098bc00&lt;/wsa:MessageID&gt;&lt;wsa:RelatesTo&gt;uuid:c827c145-c82d-4958-a201-30e7a86c053b&lt;/wsa:RelatesTo&gt;&lt;wsa:To&gt;http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous&lt;/wsa:To&gt;&lt;wsse:Security&gt;&lt;wsu:Timestamp wsu:Id=&quot;Timestamp-18d05f2a-c5dd-4519-8d1d-24b68f27b9e5&quot;&gt;&lt;wsu:Created&gt;2009-04-22T23:31:54Z&lt;/wsu:Created&gt;&lt;wsu:Expires&gt;2009-04-22T23:36:54Z&lt;/wsu:Expires&gt;&lt;/wsu:Timestamp&gt;&lt;/wsse:Security&gt;&lt;/soap:Header&gt;&lt;soap:Body&gt;&lt;getServiceDescriptionResponse xmlns=&quot;urn:oasis:names:tc:wsrp:v1:types&quot;&gt;&lt;requiresRegistration&gt;false&lt;/requiresRegistration&gt;&lt;offeredPortlets&gt;&lt;portletHandle&gt;simple&lt;/portletHandle&gt;&lt;markupTypes&gt;&lt;mimeType&gt;text/html&lt;/mimeType&gt;&lt;modes&gt;wsrp:edit&lt;/modes&gt;&lt;modes&gt;wsrp:help&lt;/modes&gt;&lt;modes&gt;wsrp:view&lt;/modes&gt;&lt;windowStates&gt;wsrp:maximized&lt;/windowStates&gt;&lt;windowStates&gt;wsrp:minimized&lt;/windowStates&gt;&lt;windowStates&gt;wsrp:normal&lt;/windowStates&gt;&lt;windowStates&gt;wsrp:solo&lt;/windowStates&gt;&lt;locales&gt;en&lt;/locales&gt;&lt;/markupTypes&gt;&lt;description xml:lang=&quot;en&quot;&gt;&lt;value&gt;Simple view portlet to test WSRP viewing&lt;/value&gt;&lt;/description&gt;&lt;shortTitle xml:lang=&quot;en&quot;&gt;&lt;value&gt;View&lt;/value&gt;&lt;/shortTitle&gt;&lt;title xml:lang=&quot;en&quot;&gt;&lt;value&gt;View Portlet&lt;/value&gt;&lt;/title&gt;&lt;displayName xml:lang=&quot;en&quot;&gt;&lt;value&gt;SimpleView&lt;/value&gt;&lt;/displayName&gt;&lt;userProfileItems&gt;UserProfileName/PropertyName&lt;/userProfileItems&gt;&lt;templatesStoredInSession&gt;true&lt;/templatesStoredInSession&gt;&lt;doesUrlTemplateProcessing&gt;true&lt;/doesUrlTemplateProcessing&gt;&lt;/offeredPortlets&gt;&lt;offeredPortlets&gt;&lt;portletHandle&gt;helloworld&lt;/portletHandle&gt;&lt;markupTypes&gt;&lt;mimeType&gt;text/html&lt;/mimeType&gt;&lt;modes&gt;wsrp:edit&lt;/modes&gt;&lt;modes&gt;wsrp:help&lt;/modes&gt;&lt;modes&gt;wsrp:view&lt;/modes&gt;&lt;windowStates&gt;wsrp:maximized&lt;/windowStates&gt;&lt;windowStates&gt;wsrp:minimized&lt;/windowStates&gt;&lt;windowStates&gt;wsrp:normal&lt;/windowStates&gt;&lt;windowStates&gt;wsrp:solo&lt;/windowStates&gt;&lt;locales&gt;en&lt;/locales&gt;&lt;/markupTypes&gt;&lt;description xml:lang=&quot;en&quot;&gt;&lt;value&gt;Hello world portlet to test WSRP viewing&lt;/value&gt;&lt;/description&gt;&lt;shortTitle xml:lang=&quot;en&quot;&gt;&lt;value&gt;View&lt;/value&gt;&lt;/shortTitle&gt;&lt;title xml:lang=&quot;en&quot;&gt;&lt;value&gt;Hello World Portlet&lt;/value&gt;&lt;/title&gt;&lt;displayName xml:lang=&quot;en&quot;&gt;&lt;value&gt;HelloWorld99&lt;/value&gt;&lt;/displayName&gt;&lt;userProfileItems&gt;UserProfileName/PropertyName&lt;/userProfileItems&gt;&lt;templatesStoredInSession&gt;true&lt;/templatesStoredInSession&gt;&lt;doesUrlTemplateProcessing&gt;true&lt;/doesUrlTemplateProcessing&gt;&lt;/offeredPortlets&gt;&lt;registrationPropertyDescription&gt;&lt;propertyDescriptions name=&quot;ConsumerName&quot; type=&quot;xsd:string&quot; /&gt;&lt;propertyDescriptions name=&quot;BuildDate&quot; type=&quot;xsd:dateTime&quot; /&gt;&lt;/registrationPropertyDescription&gt;&lt;/getServiceDescriptionResponse&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
    (100)Continue
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:695)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:129)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2575)
         at org.apache.axis.client.Call.invoke(Call.java:2564)
         at org.apache.axis.client.Call.invoke(Call.java:2259)
         at org.apache.axis.client.Call.invoke(Call.java:2182)
         at org.apache.axis.client.Call.invoke(Call.java:1702)
         at com.plumtree.wsrp.base.WSRP_v1_ServiceDescription_Binding_SOAPStub.getServiceDescription(WSRP_v1_ServiceDescription_Binding_SOAPStub.java:857)
         at com.plumtree.wsrp.consumer.impl.ServiceDescriptionManager.getServiceDescription(ServiceDescriptionManager.java:118)
         at com.plumtree.wsrp.consumer.servlet.AdminPreference.renderSetRegistrationPage(AdminPreference.java:992)
         at com.plumtree.wsrp.consumer.servlet.AdminPreference.service(AdminPreference.java:117)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)

    This seemed promising, but the proposed solution (adding 'servicePointManager expect100Continue="false"' to Web.config) had no effect.
    My consumer request actually does not include the "Expect: 100-continue" header and receives the 100 response anyways. My understanding now is that this is okay (thought I'm not sure why) and that the client should be expected to handle that response code in any case.
    I am wondering if there is an issue with the combination of products in my environment that is not supported by this product?? I am using
    IIS 5.1,
    .Net 2.0
    AquaLogic WSRP Producer 1.1/WebCenter WSRP Producer 10.3.0 (tried both)
    I am testing this producer in two environments -
    - AquaLogic Consumer running on AL Portal 6.5. When the WSRPConsumer is configured with the producer wsdl, it fails with message "Failed to get service description from WSRP Provider: .... faultString: (100) Continue".
    - Liferay - AFTER successful registration, attempts to deploy my registered .Net portlet (simple hello-world) result in an internal exception thrown in the Producer [Bea.Portlet.Management.PortletManager.LoadPortlet(PortletManager.cs:line 114)] Error loading PortletContainer: Bad PortletState. No request is made to my .Net application.
    It appears from both of these tests that both my producer and consumer are having fundamental problems that do not seem overly exotic (although I have successfully registered other WSRP portlets with the AL Consumer). However, I have not come across much information on these sorts of problems.

  • WSRP Consumer Implementation

    I am trying to setup and install the WSRP Implementation version 1.0.1, but having difficulty. I have been able to install the application on Tomcat 4.1.30 LE using J2EE 1.4.1_05 on windows.
    I have created a simple consumer porlet using the consumer webservice, but when I go to edit the portlet I get the error. The error I get it is HTTP Status 500. I dont' know what might have been setup incorrectly, but I also don't know of any way to test this. Anyone have any ideas?
    ThanksJoe Armendariz

    I would like to add the error message I get when I look at the Tomcat log files.. Any help in understanding the errors would be greatly appreciated.
    FILE: stdout.log
    Bootstrap: Create Catalina serverBootstrap: Starting serviceStarting service Tomcat-StandaloneApache Tomcat/4.1.30-LE-jdk14Bootstrap: Service started2005-07-29 00:20:56,017 ERROR [http8080-Processor5] java.lang.NullPointerException at com.plumtree.wsrp.consumer.util.DataManager.createKey(DataManager.java:155) at com.plumtree.wsrp.consumer.servlet.BaseServlet.getRegistrationContext(BaseServlet.java:1049) at com.plumtree.wsrp.consumer.servlet.BaseServlet.getMarkupArgs(BaseServlet.java:446) at com.plumtree.wsrp.consumer.servlet.ConsumerServlet.service(ConsumerServlet.java:144) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:711) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:687) at java.lang.Thread.run(Thread.java:536)
    FILE: localhost_log.2005-07-29.txt
    2005-07-29 00:24:15 StandardWrapperValve[AdminPreference]: Servlet.service() for servlet AdminPreference threw exceptioncom.plumtree.openfoundation.extension.XPMalformedURLException: no protocol: /portal/imageserver/plumtree/common/public/css/mainstyle-en.css at com.plumtree.openfoundation.extension.XPURL.<init>(XPURL.java:24) at com.plumtree.remote.portlet.xp.XPPortletRequest.getGatewaySpecificConfigURL(XPPortletRequest.java:296) at com.plumtree.remote.portlet.xp.XPPortletRequest.getStylesheetURI(XPPortletRequest.java:235) at com.plumtree.remote.portlet.PortletRequestWrapper.getStylesheetURI(PortletRequestWrapper.java:231) at com.plumtree.wsrp.consumer.servlet.AdminPreference.renderHtmlBegin(AdminPreference.java:693) at com.plumtree.wsrp.consumer.servlet.AdminPreference.renderSetServicesPage(AdminPreference.java:950) at com.plumtree.wsrp.consumer.servlet.AdminPreference.service(AdminPreference.java:169) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:711) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:687) at java.lang.Thread.run(Thread.java:536)

  • How do I map the portlet consumer user to the producer's user?

    How do I map the portlet consumer user to the producer's user? what is the idea behind this mapping? do I need to have the same user name for both consumer and producer? or, all of consumer's user mapped to one of producer's user?
    Thanks

    It should answer your question:
    http://download.oracle.com/docs/cd/E15523_01/webcenter.1111/e10148/jpsdg_security.htm#JPSDG763

  • WSRP and WLP 8.1 sp4

    I would like to put data in the SOAP message so it can be extracted by our XML gateway. I am using the preRender() method in a backing file to do this but need to get a handle for the SOAPMessageContext. How can I do this in wlp 8.1sp4?

    I would like to put data in the SOAP message so it can be extracted by our XML gateway. I am using the preRender() method in a backing file to do this but need to get a handle for the SOAPMessageContext. How can I do this in wlp 8.1sp4?

  • Producer consumer "clean up diagram" puts consumer on top of producer

    I do File > New... > VI > From Template > Frameworks > Design Patterns > Producer/Consumer Design Pattern (Events)
    Then without doing anything to the block diagram or front panel, I click on the "clean up diagram" which does the auto block diagram cleanup.  Bam! Consumer loop is put on top of Producer. 
    I tried a bunch of combinations of the Block Diagram options settings (wire spacing, move controls left, etc.) , but the "clean up diagram" always wants to put consumer loop on top of the producer loop.  How can I get labview to maintain the original loop positions?

    There is a reason a lot of use do not like to use the Block Diagram Cleanup.  It generally works for simple VIs.  But I would not use it on my top level architecture.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Consumer loop slowing down producer loop

    Hi All,
    I'm currently using a PXI to send commands to a chip, then retrieve the results with a DAQ. This process loops to populate a 256x50 array of values.
    Each time the loop is fully populated, I want to display the result onto a 3D plot, using 3d plot lvclass and plot helper. I noticed through the profiler and using timing functions in the loop that the 3D plot would take ~200 ms to update. The array would fully populate in about 100ms, so tripling the time to update was kind of nasty.
    I put the 3d plot into a consumer loop and everything else in a producer loop. It works fine, I don't mind about dropped frames, but it was running at the same speed. Apparently whenever the consumer loop executed, it would freeze completely the producer loop.
    Why is this? It seems like this fellow had the same problem:
    http://forums.ni.com/t5/LabVIEW/Producer-Consumer-Loops-not-independent/td-p/1115665
    But he "solved" it by removing the graph altogether. As showing the graph updating in real time is critically important, I can't just chuck it.

    No, an action engine is sometimes called a LabVIEW 2 Style global. They are basically a VI with a while loop and an unitialized shift register. They are useful when passing large amounts of data since it does not get copied. Also if you have transformations that are made on the data it is a single self contained VI that has data and actions which can be performed on it. Today a LVOOP implementation would be prefered. At any rate, this is a non-reentrant VI which will cause blocking to occur if called from two or more loops at the same time.
    Out of curiosity, what type of graphics card do you have in the PC? Would a better graphics card help?
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • WSRP - Changing the css of remote portlets

    Hi,
    Consumer: WLP 10.2
    Producer: Websphere Portal 6
    I need to apply css files of the consumer to the remote portlets (not the shell, but to the content inside the actual portlets). Is there any way to override the producer portlet stylesheets before rendering at consumer side?
    I thought of creating same stylesheets at consumer side with same class names and with different attributes (according to requirements) inside the classes.While rendering, in the interceptor class I am planning to read markup data using response and try to change the css name to consumer side css name and again writing the markupdata. Is it possible or is there any other best solution for this. Please help me.
    Thanks,
    Sid

    Hi George,
    We tried to apply "!important" declaration for each rule in css file.Its not picking from local CSS (Consumer) file.But What i feel like remote portlet is not picking up the local css file when get the viewsource on remote portlet the css file path is producers.as below.
    &lt;link rel="stylesheet" type="text/css"
    href='http://localhost:7001/WsrpConsumerWeb/resource;SSPXYYSESSIONID=gDQ5JH9V2TYtzph1XhpgsC301Qbbp516f0nCTFxmgQnqsgM0Qtl6!30602842?_pageLabel=voipTrunk_portal_page_10&_portlet.portalUrl=%2FWsrpConsumerWeb%2FvoipTrunk.portal&_windowLabel=portlet_6_1&_nfpb=true&_portlet.renderResource=true&wsrp-urlType=resource&wsrp-url=http%3a%2f%2faiomt991.dev.qintra.com%3a1080%2foneflex%2fPA_SIPInventory%2ftheme%2fstylesheet.css&wsrp-requiresRewrite=false&wsrp-resourceID=&wsrp-preferOperation=&wsrp-resourceState=&wsrp-resourceCacheability='
    title="Style"&gt;
    wsrp-url=http%3a%2f%2faiomt991.dev.qintra.com%3a1080%2foneflex%2fPA_SIPInventory%2ftheme%2fstylesheet.css
    should be replaced with local css file path right.Which we are trying to do in interceptor file.But we are unable to replace existing path to local path If you any other way to do this please let us know.
    Thanks
    Kalpana,Sid & Anu.

  • WSRP Error Handling through Consumer Entitlement

    Hi
    Is there are way to do entitlements in the Consumer side based on the Availablity of the Producer. Say If the producer is down then a particular book or page in consumer portal needs to be hidden. We can use interceptor for catching the error and displaying a error message on the screen, but how we can hide the page itself through entitlement.
    Thanks
    Rajesh A.r

    Hello Rajesh and Emmanuel,
    Emmanuel is correct that you can't usually do what you want in an interceptor- at least not a GetMarkupInterceptor. The problem is the way the portal lifecycle is run in WLP-- a tree of controls is built up, then pruned by entitlements, then the remaining controls are asked to render onto a page. The WSRP getMarkup operation is performed during the last stage of this lifecycle-- during render, when it is already too late to not have a portlet show up. Indeed, when the getMarkup operations are run, it is already too late to issue a redirect, so you wouldn't even be able to set entitlements and then redirect back to the same page.
    So the first page view that recognizes that the producer is down is too late to simply not have the portlets appear on the page, but you can make the interceptor take steps so that the next person that tries to view any page with remote portlets on it from that producer just won't see them. In addition, you can make the interceptor provide the markup for the portlet that failed to be retrieved from the remote producer, or some sort of message in its place.
    You may want to take a look at the producer disabling functionality built in to WLP:
    http://edocs.bea.com/wlp/docs102/javadoc/com/bea/wsrp/consumer/management/producer/ProducerManager.html#disableProducer(java.lang.String,%20java.lang.String,%20javax.servlet.http.HttpServletRequest)
    If you used the disableProducer() method in your interceptor when you notice that the producer is not responding, you can tell all portlets coming from a remote producer to not be rendered-- but only for future page renders; again, it is already "too late" for the page that notices the producer is down, at least if the producer being down gets noticed during getMarkup.
    If you detect the producer being down during the InitCookie, BlockingInteraction or HandleEvents WSRP operations, these all occur before render, so you would be able to disable the producer, or set entitlements, or even do a page redirect at that point in time. But during the GetMarkup operation, the page is already "committed" and there is no way around the problem at that time.
    Kevin

  • Wsrp - url rewrite at consumer?

    Hello,
    how to force consumer-side rewriting of urls?
    In wsrp-producer-config.xml, I have rewrite-urls="true", but when calling
       renderResponse.createActionURL().toString() in a portlet JSP, I get a url that is already rewritten.
    As a test, I also tried to place a link of the form
       a=binto the JSP, but in the browser I got it unreplaced.
    What am I doing wrong?
    Thanks,
    Martin.

    After looking through this it appears to be a problem with the producer.
    Is the producer also WLP 10.0MP1? Also can you use the monitor
    (http://<host>:<port>/<web-app>/monitor) to capture the request and
    response.
    Thanks,
    Nate
    Martin Plet wrote:
    Nathan,
    I changed rewrite-urls to "false", but the remote portlet stopped working completely. I reduced it to the minimum, re-created the remote portlet, but I'm still getting a "re-write" exception that I don't understand. I verified in the debuger, that the producing portlet is processed completely, so the problem will be probably at the consumer side.
    For completeness, the producing portlet is a simplest java portlet that in the doView method includes a JSP page producing just <div></div>. The exception I get in the portlet window is bellow.
    Thank you,
    Martin.
    Error invoking portlet "abcd"
    The source of this error is:
    java.lang.NullPointerException: charsetName at java.io.InputStreamReader.<init>(InputStreamReader.java:82) at com.bea.wsrp.consumer.markup.WsrpRewritingReader.<init>(WsrpRewritingReader.java:137) at com.bea.wsrp.consumer.markup.RewritingReaderFactory.getWsrpRewriter(RewritingReaderFactory.java:90) at com.bea.wsrp.consumer.markup.RewritingReaderFactory.getGetFormAndWsrpRewriter(RewritingReaderFactory.java:57) at com.bea.wsrp.consumer.markup.MarkupServicesFacade.rewriteUrls(MarkupServicesFacade.java:220) at com.bea.wsrp.consumer.controls.ProxyPortletContent.writeMarkup(ProxyPortletContent.java:424) at com.bea.wsrp.consumer.controls.ProxyPortletContent.beginRender(ProxyPortletContent.java:326) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306) at com.bea.netuix.nf.UIControl.render(UIControl.java:578) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146) at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:71) at jsp_servlet._framework._skeletons._bighorn.__flowlayout._jspService(__flowlayout.java:192) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226) at weblogic.servlet.internal.StubSecurityHelper.in
    vokeServlet(StubSecurityHelper.java:124) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.Contr
    olTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:188) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.ja
    va:142) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253) at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:206) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:191) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266) at

Maybe you are looking for