Using WSRP in a clustered consumer and producer environment.

We're currently in the design phase of a remote portlet project where our clustered portal will consume portlets from a different clustered portal. I've read the "Inside WSRP" found on dev2dev:
http://dev2dev.bea.com/pub/a/2005/03/inside_wsrp.html?page=4
Will the portal producer cluster need to be front-ended by something which load-balances the SOAP traffic across the managed servers in the portal producer cluster? We've been doing some testing with the iisproxy and it doesn't seem to work properly. Does this mean that we will need to front-end the portal producer cluster with another mechanism to LB?
Thanks!

Can you also check if the http cookies returned via initCookieResponse
are included in all the subsequent requests to the producer.
Subbu
flat wrote:
Below you can find request and response messages.
Please note that the same portlet works fine when deployed in a single server domain without Clustering.
Request (Wed Mar 01 08:35:23 CET 2006)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:oasis:names:tc:wsrp:v1:types">
<env:Body>
<ns0:initCookie>
<ns0:registrationContext xsi:nil="1"/>
</ns0:initCookie>
</env:Body>
</env:Envelope>
Response (Wed Mar 01 08:35:23 CET 2006)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<urn:initCookieResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"/>
</soapenv:Body>
</soapenv:Envelope>
Request (Wed Mar 01 08:35:23 CET 2006)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:oasis:names:tc:wsrp:v1:types">
<env:Body>
<ns0:getMarkup>
<ns0:registrationContext xsi:nil="1"/>
<ns0:portletContext>
<ns0:portletHandle>portlet_struts_11_bea_base</ns0:portletHandle>
</ns0:portletContext>
<ns0:runtimeContext>
<ns0:userAuthentication>wsrp:none</ns0:userAuthentication>
<ns0:portletInstanceKey>74_14374_74_14186_14218</ns0:portletInstanceKey>
<ns0:namespacePrefix>__ns74_14374_74_14186_14218_</ns0:namespacePrefix>
<ns0:templates>
<ns0:defaultTemplate xsi:nil="1"/>
<ns0:blockingActionTemplate>wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-navigationalState={wsrp-navigationalState}&wsrp-interactionState={wsrp-interactionState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}/wsrp_rewrite</ns0:blockingActionTemplate>
<ns0:renderTemplate>wsrp_rewrite?wsrp-urlType=render&wsrp-navigationalState={wsrp-navigationalState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}/wsrp_rewrite</ns0:renderTemplate>
<ns0:resourceTemplate>wsrp_rewrite?wsrp-urlType=resource&wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}/wsrp_rewrite</ns0:resourceTemplate>
<ns0:secureDefaultTemplate xsi:nil="1"/>
<ns0:secureBlockingActionTemplate><![CDATA[wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-secureURL=true&wsrp-navigationalState={wsrp-navigationalState}&wsrp-interactionState={wsrp-interactionState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}/wsrp_rewrite]]></ns0:secureBlockingActionTemplate>
<ns0:secureRenderTemplate>wsrp_rewrite?wsrp-urlType=render&wsrp-secureURL=true&wsrp-navigationalState={wsrp-navigationalState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}/wsrp_rewrite</ns0:secureRenderTemplate>
<ns0:secureResourceTemplate>wsrp_rewrite?wsrp-urlType=resource&wsrp-secureURL=true&wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}/wsrp_rewrite</ns0:secureResourceTemplate>
</ns0:templates>
</ns0:runtimeContext>
<ns0:userContext>
<ns0:userContextKey>wsrp:minimal</ns0:userContextKey>
</ns0:userContext>
<ns0:markupParams>
<ns0:secureClientCommunication>false</ns0:secureClientCommunication>
<ns0:locales>en-us</ns0:locales>
<ns0:mimeTypes>text/html</ns0:mimeTypes>
<ns0:mimeTypes>text/xml</ns0:mimeTypes>
<ns0:mimeTypes>text/vnd.oracle.mobilexml</ns0:mimeTypes>
<ns0:mode>wsrp:view</ns0:mode>
<ns0:windowState>wsrp:normal</ns0:windowState>
<ns0:clientData>
<ns0:userAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) RPT-HTTPClient/0.3-3</ns0:userAgent>
<ns0:extensions>
<oracle:GenericExtension xmlns:oracle="http://xmlns.oracle.com/portal/wsrp/v1">
<ns0:NamedString name="X-Oracle-Device.MaxDocSize">
<ns0:value>0</ns0:value>
</ns0:NamedString>
<ns0:NamedString name="X-Oracle-Device.Class">
<ns0:value>pcbrowser</ns0:value>
</ns0:NamedString>
<ns0:NamedString name="X-Oracle-Device.Secure">
<ns0:value>false</ns0:value>
</ns0:NamedString>
<ns0:NamedString name="X-Oracle-Device.Orientation">
<ns0:value>landscape</ns0:value>
</ns0:NamedString>
</oracle:GenericExtension>
</ns0:extensions>
</ns0:clientData>
<ns0:markupCharacterSets>utf-8</ns0:markupCharacterSets>
<ns0:validNewModes>wsrp:view</ns0:validNewModes>
<ns0:validNewWindowStates>wsrp:normal</ns0:validNewWindowStates>
<ns0:validNewWindowStates>wsrp:maximized</ns0:validNewWindowStates>
<ns0:validNewWindowStates>wsrp:minimized</ns0:validNewWindowStates>
</ns0:markupParams>
</ns0:getMarkup>
</env:Body>
</env:Envelope>
Response (Wed Mar 01 08:35:23 CET 2006)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<urn:getMarkupResponse xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<urn:markupContext>
<urn:mimeType>text/html; charset=UTF-8</urn:mimeType>
<urn:markupString><![CDATA[<html>
<head>
<title>Ricerca soggetti (esempio)</title>
<base href="http://10.102.98.20:10080/struts11Bea/moduloBase/ricerca.jsp">
</head>
<body>
</body>
</html>]]></urn:markupString>
<urn:locale>en</urn:locale>
<urn:requiresUrlRewriting>false</urn:requiresUrlRewriting>
</urn:markupContext>
<urn:sessionContext>
<urn:sessionID>GFT7LcLT1vmPHDvWTWM28TpWhkG1DW8tsl31Npxvph2mZjg29KNg!-4321636!-1133063828</urn:sessionID>
<urn:expires>3600</urn:expires>
</urn:sessionContext>
</urn:getMarkupResponse>
</soapenv:Body>
</soapenv:Envelope>
Request (Wed Mar 01 08:35:36 CET 2006)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:oasis:names:tc:wsrp:v1:types">
<env:Body>
<ns0:performBlockingInteraction>
<ns0:registrationContext xsi:nil="1"/>
<ns0:portletContext>
<ns0:portletHandle>portlet_struts_11_bea_base</ns0:portletHandle>
</ns0:portletContext>
<ns0:runtimeContext>
<ns0:userAuthentication>wsrp:none</ns0:userAuthentication>
<ns0:portletInstanceKey>74_14374_74_14186_14218</ns0:portletInstanceKey>
<ns0:namespacePrefix>__ns74_14374_74_14186_14218_</ns0:namespacePrefix>
<ns0:sessionID>GFT7LcLT1vmPHDvWTWM28TpWhkG1DW8tsl31Npxvph2mZjg29KNg!-4321636!-1133063828</ns0:sessionID>
</ns0:runtimeContext>
<ns0:userContext>
<ns0:userContextKey>wsrp:minimal</ns0:userContextKey>
</ns0:userContext>
<ns0:markupParams>
<ns0:secureClientCommunication>false</ns0:secureClientCommunication>
<ns0:locales>en-us</ns0:locales>
<ns0:mimeTypes>text/html</ns0:mimeTypes>
<ns0:mimeTypes>text/xml</ns0:mimeTypes>
<ns0:mimeTypes>text/vnd.oracle.mobilexml</ns0:mimeTypes>
<ns0:mode>wsrp:view</ns0:mode>
<ns0:windowState>wsrp:normal</ns0:windowState>
<ns0:clientData>
<ns0:userAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) RPT-HTTPClient/0.3-3</ns0:userAgent>
<ns0:extensions>
<oracle:GenericExtension xmlns:oracle="http://xmlns.oracle.com/portal/wsrp/v1">
<ns0:NamedString name="X-Oracle-Device.MaxDocSize">
<ns0:value>0</ns0:value>
</ns0:NamedString>
<ns0:NamedString name="X-Oracle-Device.Class">
<ns0:value>pcbrowser</ns0:value>
</ns0:NamedString>
<ns0:NamedString name="X-Oracle-Device.Secure">
<ns0:value>false</ns0:value>
</ns0:NamedString>
<ns0:NamedString name="X-Oracle-Device.Orientation">
<ns0:value>landscape</ns0:value>
</ns0:NamedString>
</oracle:GenericExtension>
</ns0:extensions>
</ns0:clientData>
<ns0:navigationalState/>
<ns0:markupCharacterSets>utf-8</ns0:markupCharacterSets>
<ns0:validNewModes>wsrp:view</ns0:validNewModes>
<ns0:validNewWindowStates>wsrp:normal</ns0:validNewWindowStates>
<ns0:validNewWindowStates>wsrp:maximized</ns0:validNewWindowStates>
<ns0:validNewWindowStates>wsrp:minimized</ns0:validNewWindowStates>
</ns0:markupParams>
<ns0:interactionParams>
<ns0:portletStateChange>readOnly</ns0:portletStateChange>
<ns0:interactionState>action=%2FmoduloBase%2Fabout%26module=%2FmoduloBase</ns0:interactionState>
</ns0:interactionParams>
</ns0:performBlockingInteraction>
</env:Body>
</env:Envelope>
Response (Wed Mar 01 08:35:36 CET 2006)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
<faultcode>urn:InvalidSession</faultcode>
<faultstring>The given session ID [GFT7LcLT1vmPHDvWTWM28TpWhkG1DW8tsl31Npxvph2mZjg29KNg!-4321636!-1133063828] is invalid or the session corresponding to this ID has expired.</faultstring>
<detail>
<urn:InvalidSession/>
<urn1:FaultDetail xmlns:urn1="urn:bea:wsrp:ext:v1:types">
<urn1:created>2006-03-01T08:35:36.558+01:00</urn1:created>
<urn1:trace>com.bea.wsrp.faults.InvalidSessionException: The given session ID [GFT7LcLT1vmPHDvWTWM28TpWhkG1DW8tsl31Npxvph2mZjg29KNg!-4321636!-1133063828] is invalid or the session corresponding to this ID has expired.
     at com.bea.wsrp.producer.handlers.markup.SessionIdFilter.validateSession(SessionIdFilter.java:106)
     at com.bea.wsrp.producer.handlers.markup.SessionIdFilter.doFilter(SessionIdFilter.java:72)
     at com.bea.wsrp.producer.handlers.AbstractServiceHandler.preprocess(AbstractServiceHandler.java:139)
     at com.bea.wsrp.producer.handlers.AbstractServiceHandler.service(AbstractServiceHandler.java:73)
     at com.bea.wsrp.producer.handlers.markup.MarkupServiceHandler.service(MarkupServiceHandler.java:262)
     at com.bea.wsrp.producer.WsrpServer.processServiceRequest(WsrpServer.java:299)
     at com.bea.wsrp.producer.WsrpServer.service(WsrpServer.java:198)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
     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:3764)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)</urn1:trace>
</urn1:FaultDetail>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Similar Messages

  • WSRP - Pass Custom Data between Consumer and Producer

    Hello All,
    I am having a couple of queries with respect to Custom Data Transfer. Consider I have a Map of values which I need to transfer between both Consumer and Producer.
    For eg: the map that Consumer sends would contain "firstName", "lastName", etc... On the other hand Producer needs to do some business function based on the data and add more values to the map like "rewardPoint" etc....
    On Consumer Side:
    I have choice to use Backing File or IGetMarkupInterceptor to implement the preInvoke to pass the data using SimpleStateHolder.
    Question: I am not able to send a simple Serializable POJO Object... I can only send primitive / default java objects like Strings, Maps of String etc. Is my understanding correct?
    On Producer side:
    I am able to receive the Custom Data from request. No problems. Now how to send more data from Producer to consumer. I need to add the "rewardPoints" into the map and send back.
    My understanding is that if the Producer puts any values into StateHolder objects, Consumer will receive it in IGetMarkupResponseContext object in the Interceptor's postInvoke method.
    Question: How do I get a handle to the IGetMarkupResponseContext object @ Producer end???
    Question: Do I need to write some interceptors on Producer end? If so which file I need to use?
    Any help / pointers would be greatly appreciated.
    Thanks,
    Paz

    Hi All,
    I tried to set the data in the producer using the following command
    SimpleStateHolder stateSimpleOuterReq = (SimpleStateHolder)request.getAttribute(MarkupRequestState.KEY);;
              if (stateSimpleOuterReq == null) {
                   SimpleStateHolder state = new SimpleStateHolder();
                   state.addParameter("name", "data1");
                   request.setAttribute(MarkupResponseState.KEY, state);
    I am not able to retrieve the same in consumer.
    The above is a WSRP struts request.
    I also tried setting the data by unwrapping the request in producer and still value is null in consumer :-(
              HttpServletRequest requestq = (HttpServletRequest)((HttpServletRequestWrapper) request).getRequest();
              SimpleStateHolder stateSimpleReq1 = (SimpleStateHolder)requestq.getAttribute(MarkupRequestState.KEY);
                   if (stateSimpleReq1 == null) {
                        SimpleStateHolder state = new SimpleStateHolder();
    state.addParameter("name", "data1");
                        requestq.setAttribute(MarkupRequestState.KEY, state);
    Please help me in resolving the issue. Correct me if i am doing anything wrong.
    Thanks
    T. Deena
    Edited by: user11261911 on 12/06/2009 19:49

  • Jms Adapter Consume and produce

    Hai guys,
    i don't know anything in soa. i have got a usecase which is to
    1) Read a .csv file
    2) Send it to a bpel (in bpel do nothing to payload). Again i have to send the payload to jms adapter( which i dnt knw how )
    3) From the same jms adapter passing the payload to mediator
    4) Pass the input to another jms( jms2 ). from jms2 pass the payload to another bpel
    5) from bpel to db adapter
    am using
    Oracle jDevloper 11.1.13
    Weblogic server is a 10.3.6
    my problem is how to create the same jms in two ways like consuming and producing
    Thanks in advance
    Edited by: Beckyard on Sep 26, 2012 9:49 PM

    Hi,
    Why do you need 2 JMS queues? Can't you consider following pattern?
    Read .csv --> BPEL --> JMS Q
    JMS Q --> Mediator --> BPEL (only if some payload processing required) --> Db Adapter
    Assuming the above pattern, you'll have to develop 2 processes (in your pattern 3 processes).
    - One that will enqueue the data in JMS in which the JMS Adapter will be placed in the External references and will be invoked with Produce operation.
    - Another process in which Mediator will consume the message using Consume operation from JMS and pass it to BPEL for inserting into database. In this case, JMS Adapter will be placed in Exposed Service swim-lane.
    Let us know how you proceed.
    Regards,
    Neeraj Sehgal

  • How to build a stable, reliable application with consumer and producer

    Hi all,
    As a frontend solution, Flex is really powerful and fascinate. On the other hand, it inevitiably needs to exchange data. And I am trying to find a good way to build a stable and reliable application.
    Here's the workaround. On server side, blazeDS or LCDS is involved and on frontend component Consumer and Producer are used to interact. A group of users cooperates on the whole processing. Everybody will send an update once he finished current job.
    Of course each frontend need to subscribe first. But if one frontend is disconnect temporarily and other frontends send message to backend during that time, how can the disconnect one get message it missed? How can I fix the inconsistent status?
    Thanks and regards,

    Hello meshgraphics,
    Your reply is useful, but feasible I have to say. Creating DB tables, updating entries and synchronizing contents involve a lot of work. As we can use blazeDS and LCDS, that'll be good option. From online help, it doesn't explain what will happen if consumer disconnects temporarily which is very important to me. If some messages are missed, the whole process can't move on smoothly.
    Simply speaking, I hope below issues can be solved with blazeDS or LCDS:
    1) how to ensure messages are delivered to subscribed consumers if they are temporarily disconnected?
    2) how to recover work if consumers are thoroughly disconnect?
    Thanks and regards,
    Felix

  • How dev, QA and producation environment would be organized in InfoView

    Hi,
    Please let me know about following things
    1. How Dev, QA and Producation environment would be organized in InfoView
    2. How to navigate among  Dev, QA and Producation environment in InfoView
    3. While login , can we only login for production environment
    Regards,
    Manjunath

    You can definitely have three different data sources (DEV, QA, Prod) leveraged by your single environment. This would be just for reporting data sources though, and not the CMS database itself.
    Reports would be associated with the different data sources depending on the stage of development, and would be accordingly stored in one of three folder trees set up in your single environment. Then access to the trees would be controlled by security set in the CMC.
    Development would take place in the /DEV folder tree, and it would then be moved to the /QA tree for testing, and ultimately the production tree for consumption. Just keep in mind that when you are updating content in the different trees (vs. creating new content) that you will need to overwrite existing content in the trees if you wish to preserve the instance history and CUID (which may be referenced in openDocument links, for example).

  • Why is iTunes so difficult to use?  It is time consuming and not at all intuitive.  I will me complaining as much as possible until this is fixed.  We should be able to drag songs to a playlist...surely technology has come this far has it not??

    So discourraged with iTunes that I'm debating getting myself and my kids different phones... shouldn't be this difficult... I end up with my sons music and he with mine... both of us are disgusted...had enough.

    Until 3 months ago (when I bought a $10 no-contract phone for emergency use only) if somebody lent me their cellphone to make a call I had no idea how to do so.  I would get them to dial a number, talk, then I would hand it back to them to hang up.  Even now if my wife gives me her iPhone to make a call I have to ask her to do it because I have no devices of any kind that have touchscreens.  The timer went off the other day when she was out of the house and I somehow managed to get the thing quiet.
    In comparison I have answered several thousand questions about many computer systems and applications on the ASC forums.  It's all a matter of familiarity and need.

  • WSRP - InvalidCookieFault: The Producer environment has timed out.

    class com.bea.wsrp.faults.TransportException
    oasis.names.tc.wsrp.v2.types.InvalidCookieFault: EJPWC1104E: The Producer environment has timed out. The Consumer needs to invoke initCookie() again.
    Consumer: Weblogic Portal 10.2
    Producer: Websphere Portal 6.1
    Would really appreciate if some one can provide some info on this problem. Occuring almost randomly. Thanks in advance
    Sid

    Hello Sid,
    This error message is generated when the producer's session has timed out. The consumer (WLP) should automatically create a new session by calling initCookie(), but this error message will still get sent to the console.
    If the session timeout on the producer is causing problems, such as lost navigational or portlet state, try increasing the session timeout settings on the producer.
    Kevin

  • Getting Error when consuming portlet using WSRP at remote loacation

    Hi,
    I have created a producer portlet on a weblogic(10) domain installed at one machine.
    When i am trying to consume that portlet using WSRP ,on that machine , its working perfectly fine.
    But if am trying to consume this portlet from some other remote location, its giving me the following error.
    Although i am able to get the WSDL of the remote portlet through IE.
    Exception Stack trce :
    com.bea.wsrp.faults.TransportException: Server returned HTTP response code: 503 for URL: http://152.64.32.92:7001/producerWebProject/producer?wsdl; nested exception is:
         java.io.IOException: Server returned HTTP response code: 503 for URL: http://152.64.32.92:7001/producerWebProject/producer?wsdl
         at com.bea.wsrp.proxy.ProxyBase.isVersionSupported(ProxyBase.java:1069)
         at com.bea.wsrp.proxy.ProxyBase.getMaxNSforOperation(ProxyBase.java:1044)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.bea.wsrp.proxy.ProxyBase.invoke(ProxyBase.java:422)
         at $Proxy0.getMaxNSforOperation(Unknown Source)
         at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:97)
         at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:72)
         at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:61)
         at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.getServiceDescription(ProducerAgent.java:99)
         at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.<init>(ProducerAgent.java:57)
         at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.<init>(ProducerAgent.java:45)
         at com.bea.wlp.eclipse.wsrp.portletbuilder.wizard.wsrp.SelectProducerPanel$ProducerInfoRunner.run(SelectProducerPanel.java:628)
    Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://152.64.32.92:7001/producerWebProject/producer?wsdl
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1149)
         at com.bea.wsrp.util.CompatWsdlParser.getWsdlDocument(CompatWsdlParser.java:310)
         at com.bea.wsrp.util.CompatWsdlParser.getWsrpPortUrls(CompatWsdlParser.java:64)
         at com.bea.wsrp.wsdl.FixupWsdlParser.tryFixup(FixupWsdlParser.java:74)
         at com.bea.wsrp.wsdl.FixupWsdlParser.parse(FixupWsdlParser.java:63)
         at com.bea.wsrp.wsdl.WsdlInfoImpl.<init>(WsdlInfoImpl.java:169)
         at com.bea.wsrp.wsdl.GlobalWsdlPool.getWsdlInfo(GlobalWsdlPool.java:55)
         at com.bea.wsrp.proxy.ProxyBase.getWsdlInfo(ProxyBase.java:512)
         at com.bea.wsrp.proxy.ProxyBase.isVersionSupported(ProxyBase.java:1065)
         ... 14 more
    Edited by help_eachother at 08/20/2007 6:40 AM

    The remote producer is returning an error code 503. You may be getting the same response code when you hit the producer web app. Could you verify this, and also the server logs on the producer side. I suspect that the app did not deploy correctly.

  • AJAX producer/consumer and JAVA producer/consumer  in same project

    I've already successfully integrated and customized the code for both an AJAX and JAVA producer/consumer client in JMS (using ActiveMQ as the JMS broker and Tomcat as the webapp container). While both have been working well in separate projects, unfortunately, I'm having a bit of trouble trying to integrate them for the purpose of running an AJAX message listener and JAVA message listener in the same project.
    What I'm trying to do is have JAVA act as the failover for when the AJAX JMS consumer is not listening (i.e. when the browser is closed). When a browser client opens, the (constantly running) JAVA client can ignore the messages... but... when no browser client is initialized, the JAVA client should respond to the messages on behalf of the AJAX client.
    I've tried using a ServletContextListener pattern, which I was hoping would "automagically" launch the JAVA listener via its main method, whenever the Servlet gets initialized (i.e. it would auto-start when Tomcat gets restarted, or, anytime the Servlet gets redeployed) but it seems Tomcat is not thread-safe and this might be causing some problems.
    In any case, I can't seem to get the JAVA client to reliably start running and stay running for the lifetime of my AJAX client (webapp .war), and without including them in the same project and same J2EE container sharing the same ServletContext, I don't know how its possible to ensure they are running and starting and stopping at the same time.
    Is there perhaps a better way to accomplish this?
    Edited by: bcmoney on May 17, 2010 1:25 PM

    I've already successfully integrated and customized the code for both an AJAX and JAVA producer/consumer client in JMS (using ActiveMQ as the JMS broker and Tomcat as the webapp container). While both have been working well in separate projects, unfortunately, I'm having a bit of trouble trying to integrate them for the purpose of running an AJAX message listener and JAVA message listener in the same project.
    What I'm trying to do is have JAVA act as the failover for when the AJAX JMS consumer is not listening (i.e. when the browser is closed). When a browser client opens, the (constantly running) JAVA client can ignore the messages... but... when no browser client is initialized, the JAVA client should respond to the messages on behalf of the AJAX client.
    I've tried using a ServletContextListener pattern, which I was hoping would "automagically" launch the JAVA listener via its main method, whenever the Servlet gets initialized (i.e. it would auto-start when Tomcat gets restarted, or, anytime the Servlet gets redeployed) but it seems Tomcat is not thread-safe and this might be causing some problems.
    In any case, I can't seem to get the JAVA client to reliably start running and stay running for the lifetime of my AJAX client (webapp .war), and without including them in the same project and same J2EE container sharing the same ServletContext, I don't know how its possible to ensure they are running and starting and stopping at the same time.
    Is there perhaps a better way to accomplish this?
    Edited by: bcmoney on May 17, 2010 1:25 PM

  • State Machine and producer consumer design patterns

    Hi!
    In my application I am using state machine(for top level VI) and producer consumer(for subVIs) design patterns throught out.
    If there is no activity on the front panel for 1min then the ideal state is invoked. Following are the situation of the ideal state:
    1. It checks for any hardware present on the network . If no hardware is found on the network within 1 min then the application and LabVIEW exits.
    2. While the ideal state checks for the hardware, and user clicks on any front panel button then it should exit the ideal state. The control
    should be in the respective button state.
    I am able to achive the point#1 mentioned above but could not get the point #2 to work. I am including the snap shot of
    the state machine(default case) and prouducer consumer(deafualt state).
    Each screen has the concept of the ideal state. The only additional step in the subVIs is that when the ideal state is reached and the time has expired then it will close the subVIfront panel.It will go to the exit state of the Main(top level) VI. Thus closing the application and quitting LabVIEW.
    Any ideas or suggestions. Will multithreading and notifiers help?
    TIA
    Rachana
    Attachments:
    Sanpshot_Of_Design.zip ‏75 KB

    Hi Rachana,
    I was thinking about using event structures wherein there would an event case that would handle any value change event for any of the buttons on the front panel. But before suggesting that, I would need to know more about the Ideal State subvi( more specifically, how is it checking for any hardware present on the network and where is the one minute wait coming from?).
    Please feel free to respond to this post with your questions/comments.
    Regards,
    Ankita A.

  • What is RID in non clustered index and its use

    Hi All,
    I need help regarding following articles on sql server
    1) what is RID in non clustered index and its use.
    2) What is Physical and virtual address space. Difference in 32 bit vs 64 bit Virtual address space
    Regards
    Rahul

    Next time Please ask single question in a thread you will get better response.
    1. RID is location of heap. When you create Non clustered index on heap and
    lookup happens to get extra records RID is used to locate the records. RID is basically Row ID. This is basic definition for you. Please read
    this Thread for more details
    2. I have not heard of Physical address space. I Know Virtual address space( VAS)
    VAS is simple terms is amount of memory( virtual )  'visible' to a process, a process can be SQL Server process or windows process. It theoretically depends on architecture of Operating System. 32 bit OS will have maximum range of 4 G VAS, it's calculated
    like a process ruining on 32 bit system can address max up to 2^32 locations ( which is equivalent to 4 G). Similarly for 64 bit max VAS will be 2^64 which is theoretically infinite. To make things feasible maximum VAS for 64 bit system is kept to 8 TB. Now
    VAS acts as layer of abstraction an intermediate .Instead of all request directly mapping to physical memory it first maps to VAS and then mapped to physical memory so that it can manage request for memory in more coordinated fashion than allowing process
    to do it ,if not it will  soon cause memory crunch.Any process when created on windows will see virtual memory according to its VAS limit.
    Please read
    This Article for detailed information
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • [svn] 4290: Bug: BLZ-288 - Consumer is only receiving first pushed message when Consumer and RemoteObject that is used to push the messages use different channel sets but same channel .

    Revision: 4290
    Author: [email protected]
    Date: 2008-12-11 14:24:37 -0800 (Thu, 11 Dec 2008)
    Log Message:
    Bug: BLZ-288 - Consumer is only receiving first pushed message when Consumer and RemoteObject that is used to push the messages use different channel sets but same channel.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Details:
    * The bug app was arguably generating bogus test data (messages with duplicate ids), and 99.9% of applications won't be configured this way (using multiple ChannelSets with overlapping Channels, pointing at the same server) but it's still worth making this work just right anyways.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-288
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ConsumerMessageDispatcher.as

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Every tune in my library is marked with an explanation mark and produces a report " The song ..... could not be used because the original file could not be found. Would you like to locate it?"  Probably yes - but how ?

    Every song in my library, both purchased or downloaded from a CD, is marked with an exclamation mark and produces a report " The song ......... could not be used because the original file could not be found.  Would you like to locate it ?"     Well, probably yes - but how ? and why necessary ?  HELP !

    It would help to have more background about your iTunes collection such as if you keep it on an external drive, or if you have moved or renamed anything recently.  iTunes is very sensitive to you renaming or moving files or folders involved with your media.  iTunes only keeps a reference to where a media file is located  and then goes to look for it when you try to play it. If you have changed things since it was added to itunes then it's like me sending you to look for a friend in my addressbook but that friend has moved.
    The other possibility is your computer is starting to lose files.  Again, the computer uses a reference database to tell it where on the drive to look for a file. If that database gets corrupt then it starts losing files.  Use Dsk Utility's first aid to verify your hard drive.

  • Why my iphone produces a bug after it renew for OS5.1.1. The bug is when I use message, type a Chinese word, and then using a releveant word, then the program automately closes. Every time I try the same procedure, it definitely closes.

    Why my iphone produces a bug after it renew for OS5.1.1. The bug is when I use message, type a Chinese word, and then using a releveant word, then the program automately closes. Every time I try the same procedure, it definitely closes.

    Nobody knows? Not even administrators?
    Please it would be really nice to have help on that to take all the benefit of the remote app.
    Thank you very much in advance.

  • IPC problem when using WSRP

    Hello all,
    I have a problem with IPC when using WSRP. The setting: I have two Portlets, an EchoPortlet which echoes back what was typed into a textfield and a MessagePortlet, which receives the typed in text form the EchoPortlet via a custom event (PortletMessageEvent) in a custom backing file and displays it. The portlets are Weblogic JSF portlets. I am using WLP 9.2.3.
    In local mode everything just works fine; when I consume the two portlets as remote portlets, the event does not seem to get handled:
    These are my .portlet files:
    EchoPortlet:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root
    xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:portlet
    definitionLabel="echo_1"
    title="Echo Portlet">
    <netuix:titlebar>
    </netuix:titlebar>
    <netuix:content>
    <netuix:facesContent contentUri="/portlets/echo/jsp/messageentry.faces"/>
    </netuix:content>
    </netuix:portlet>
    </portal:root>
    MessagePortlet:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:portlet backingFile="de.awd.vertriebsportal.common.EventListenerBacking"
    definitionLabel="message_1" title="Message Portlet">
    <netuix:handleCustomEvent event="PortletMessageEvent" eventLabel="handleCustomEvent1"
    fromSelfInstanceOnly="false" onlyIfDisplayed="true" sourceDefinitionWildcard="any">
    <netuix:invokeBackingFileMethod method="handleEvent"/>
    </netuix:handleCustomEvent>
    <netuix:titlebar/>
    <netuix:content>
    <netuix:facesContent contentUri="/portlets/message/jsp/messagedisplay.faces"/>
    </netuix:content>
    </netuix:portlet>
    </portal:root>
    Here are the WSRP requests from the performBlockingInteraction request on that sends the event:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header />
    <soapenv:Body>
    <urn:performBlockingInteraction xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
    <urn:registrationContext>
    <urn:registrationHandle>4001</urn:registrationHandle>
    </urn:registrationContext>
    <urn:portletContext>
    <urn:portletHandle>echo_1</urn:portletHandle>
    </urn:portletContext>
    <urn:runtimeContext>
    <urn:userAuthentication>wsrp:none</urn:userAuthentication>
    <urn:portletInstanceKey>wsrpjsftestremote
    main_T1800382711259255957802</urn:portletInstanceKey>
    <urn:namespacePrefix>
    T1800382711259255957802</urn:namespacePrefix>
    <urn:sessionID>
    LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID>
    <urn:extensions>
    <urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types">
    <urn1:skeletonId>text</urn1:skeletonId>
    <urn1:skeletonPath>
    /framework/skeletons/</urn1:skeletonPath>
    <urn1:skinId>text</urn1:skinId>
    <urn1:skinPath>/framework/skins/</urn1:skinPath>
    </urn1:LookAndFeelDescriptor>
    </urn:extensions>
    </urn:runtimeContext>
    <urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:nil="true" />
    <urn:markupParams>
    <urn:secureClientCommunication>
    false</urn:secureClientCommunication>
    <urn:locales>de</urn:locales>
    <urn:mimeTypes>text/html</urn:mimeTypes>
    <urn:mimeTypes>image/gif</urn:mimeTypes>
    <urn:mimeTypes>image/x-xbitmap</urn:mimeTypes>
    <urn:mimeTypes>image/jpeg</urn:mimeTypes>
    <urn:mimeTypes>image/pjpeg</urn:mimeTypes>
    <urn:mimeTypes>
    application/x-shockwave-flash</urn:mimeTypes>
    <urn:mimeTypes>application/x-ms-application</urn:mimeTypes>
    <urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes>
    <urn:mimeTypes>
    application/vnd.ms-xpsdocument</urn:mimeTypes>
    <urn:mimeTypes>application/xaml+xml</urn:mimeTypes>
    <urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes>
    <urn:mimeTypes>
    application/vnd.ms-powerpoint</urn:mimeTypes>
    <urn:mimeTypes>application/msword</urn:mimeTypes>
    <urn:mimeTypes>*/*</urn:mimeTypes>
    <urn:mode>wsrp:view</urn:mode>
    <urn:windowState>wsrp:normal</urn:windowState>
    <urn:clientData>
    <urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows
    NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
    3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM
    8)</urn:userAgent>
    </urn:clientData>
    <urn:navigationalState>
    /wsrpjsftestWeb/portlets/echo/jsp/messageentry.faces</urn:navigationalState>
    <urn:markupCharacterSets>UTF-8</urn:markupCharacterSets>
    <urn:markupCharacterSets>*</urn:markupCharacterSets>
    </urn:markupParams>
    <urn:interactionParams>
    <urn:portletStateChange>readOnly</urn:portletStateChange>
    <urn:formParameters name="T1800382711259255957802:MessageEntryForm:messageSubmit">
    <urn:value>
    <![CDATA[Abschicken]]>
    </urn:value>
    </urn:formParameters>
    <urn:formParameters name="T1800382711259255957802:MessageEntryForm:message">
    <urn:value>
    <![CDATA[asdadasd]]>
    </urn:value>
    </urn:formParameters>
    <urn:formParameters name="T1800382711259255957802:MessageEntryForm">
    <urn:value>
    <![CDATA[T1800382711259255957802:MessageEntryForm]]>
    </urn:value>
    </urn:formParameters>
    </urn:interactionParams>
    </urn:performBlockingInteraction>
    </soapenv:Body>
    </soapenv:Envelope>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header />
    <soapenv:Body>
    <performBlockingInteractionResponse xmlns="urn:oasis:names:tc:wsrp:v1:types">
    <updateResponse>
    <navigationalState>
    /portlets/echo/jsp/messageentry.faces</navigationalState>
    </updateResponse>
    <extensions>
    <Event xmlns="urn:bea:wsrp:ext:v1:types">
    <eventName xmlns:urn="urn:bea:wsrp:wlp:v2:events:name">
    urn:PortletMessageEvent</eventName>
    <eventType xmlns:urn="urn:bea:wsrp:wlp:v2:events:type">
    urn:custom</eventType>
    <eventPayload>
    <binary>rO0ABXQACGFzZGFkYXNk</binary>
    </eventPayload>
    <sourceDefinitionLabel>echo_1</sourceDefinitionLabel>
    <sourceInstanceLabel>
    T1800382711259255957802</sourceInstanceLabel>
    </Event>
    </extensions>
    </performBlockingInteractionResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    The following getMarkup requests for the EchoPortlet and the MessagePortlet:
    Echo:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><urn:getMarkup xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"><urn:registrationContext><urn:registrationHandle>4001</urn:registrationHandle></urn:registrationContext><urn:portletContext><urn:portletHandle>echo_1</urn:portletHandle></urn:portletContext><urn:runtimeContext><urn:userAuthentication>wsrp:none</urn:userAuthentication><urn:portletInstanceKey>wsrpjsftestremote     main_T1800382711259255957802</urn:portletInstanceKey><urn:namespacePrefix>T1800382711259255957802</urn:namespacePrefix><urn:sessionID>LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID><urn:extensions><urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types"><urn1:skeletonId>text</urn1:skeletonId><urn1:skeletonPath>/framework/skeletons/</urn1:skeletonPath><urn1:skinId>text</urn1:skinId><urn1:skinPath>/framework/skins/</urn1:skinPath></urn1:LookAndFeelDescriptor></urn:extensions></urn:runtimeContext><urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><urn:markupParams><urn:secureClientCommunication>false</urn:secureClientCommunication><urn:locales>de</urn:locales><urn:mimeTypes>text/html</urn:mimeTypes><urn:mimeTypes>image/gif</urn:mimeTypes><urn:mimeTypes>image/x-xbitmap</urn:mimeTypes><urn:mimeTypes>image/jpeg</urn:mimeTypes><urn:mimeTypes>image/pjpeg</urn:mimeTypes><urn:mimeTypes>application/x-shockwave-flash</urn:mimeTypes><urn:mimeTypes>application/x-ms-application</urn:mimeTypes><urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-xpsdocument</urn:mimeTypes><urn:mimeTypes>application/xaml+xml</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-powerpoint</urn:mimeTypes><urn:mimeTypes>application/msword</urn:mimeTypes><urn:mimeTypes>*/*</urn:mimeTypes><urn:mode>wsrp:view</urn:mode><urn:windowState>wsrp:normal</urn:windowState><urn:clientData><urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM 8)</urn:userAgent></urn:clientData><urn:navigationalState>/portlets/echo/jsp/messageentry.faces</urn:navigationalState><urn:markupCharacterSets>UTF-8</urn:markupCharacterSets><urn:markupCharacterSets>*</urn:markupCharacterSets></urn:markupParams></urn:getMarkup></soapenv:Body></soapenv:Envelope>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header />
    <soapenv:Body>
    <getMarkupResponse xmlns="urn:oasis:names:tc:wsrp:v1:types">
    <markupContext>
    <mimeType>text/html; charset=UTF-8</mimeType>
    <markupString>
    <![CDATA[
    <form id="T1800382711259255957802:MessageDisplayForm" method="post" action="http://localhost:7001/wsrpjsftestWeb/appmanager/wsrpjsftestremote/main?_nfpb=true&amp;_windowLabel=T1800382711259255957802&amp;wsrp-urlType=blockingAction&amp;wsrp-url=&amp;wsrp-requiresRewrite=false&amp;wsrp-navigationalState=%2FwsrpjsftestWeb%2Fportlets%2Fecho%2Fjsp%2Fmessagedisplay.faces&amp;wsrp-interactionState=&amp;wsrp-mode=wsrp%3Aview&amp;wsrp-windowState=wsrp%3Anormal" enctype="application/x-www-form-urlencoded">
    <table cellpadding="0" cellspacing="5" border="0" width="100%" >
    <tr>
    <td valign="top">
    <label for="T1800382711259255957802:MessageDisplayForm:message">
    <span id="T1800382711259255957802:MessageDisplayForm:messageLabel">Nachricht:</span>
    </label>
    </td>
    <td valign="top">
    <span id="T1800382711259255957802:MessageDisplayForm:message">asdadasd</span>
    </td>
    </tr>
    <tr>
    <td valign="top" colspan="2">
    <input type="submit" name="T1800382711259255957802:MessageDisplayForm:_id1" value="Zur&uuml;ck" />
    </td>
    </tr>
    </table>
    <input type="hidden" name="T1800382711259255957802:MessageDisplayForm" value="T1800382711259255957802:MessageDisplayForm" /></form>
    ]]>
    </markupString>
    <locale>de-DE</locale>
    <requiresUrlRewriting>false</requiresUrlRewriting>
    </markupContext>
    </getMarkupResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    Message:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><urn:getMarkup xmlns:urn="urn:oasis:names:tc:wsrp:v1:types"><urn:registrationContext><urn:registrationHandle>4001</urn:registrationHandle></urn:registrationContext><urn:portletContext><urn:portletHandle>message_1</urn:portletHandle></urn:portletContext><urn:runtimeContext><urn:userAuthentication>wsrp:none</urn:userAuthentication><urn:portletInstanceKey>wsrpjsftestremote     main_T1800482711259255957849</urn:portletInstanceKey><urn:namespacePrefix>T1800482711259255957849</urn:namespacePrefix><urn:sessionID>LG1JLTdVBQjGnZPJm685DwXkJPMpM122Gny8jRNSsyqwyBCgGBXR!-117247815</urn:sessionID><urn:extensions><urn1:LookAndFeelDescriptor xmlns:urn1="urn:bea:wsrp:ext:v1:types"><urn1:skeletonId>text</urn1:skeletonId><urn1:skeletonPath>/framework/skeletons/</urn1:skeletonPath><urn1:skinId>text</urn1:skinId><urn1:skinPath>/framework/skins/</urn1:skinPath></urn1:LookAndFeelDescriptor></urn:extensions></urn:runtimeContext><urn:userContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><urn:markupParams><urn:secureClientCommunication>false</urn:secureClientCommunication><urn:locales>de</urn:locales><urn:mimeTypes>text/html</urn:mimeTypes><urn:mimeTypes>image/gif</urn:mimeTypes><urn:mimeTypes>image/x-xbitmap</urn:mimeTypes><urn:mimeTypes>image/jpeg</urn:mimeTypes><urn:mimeTypes>image/pjpeg</urn:mimeTypes><urn:mimeTypes>application/x-shockwave-flash</urn:mimeTypes><urn:mimeTypes>application/x-ms-application</urn:mimeTypes><urn:mimeTypes>application/x-ms-xbap</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-xpsdocument</urn:mimeTypes><urn:mimeTypes>application/xaml+xml</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-excel</urn:mimeTypes><urn:mimeTypes>application/vnd.ms-powerpoint</urn:mimeTypes><urn:mimeTypes>application/msword</urn:mimeTypes><urn:mimeTypes>*/*</urn:mimeTypes><urn:mode>wsrp:view</urn:mode><urn:windowState>wsrp:normal</urn:windowState><urn:clientData><urn:userAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; MS-RTC LM 8)</urn:userAgent></urn:clientData><urn:markupCharacterSets>UTF-8</urn:markupCharacterSets><urn:markupCharacterSets>*</urn:markupCharacterSets></urn:markupParams></urn:getMarkup></soapenv:Body></soapenv:Envelope>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body><getMarkupResponse xmlns="urn:oasis:names:tc:wsrp:v1:types"><markupContext><mimeType>text/html; charset=UTF-8</mimeType><markupString><![CDATA[
              <form id="T1800482711259255957849:MessageDisplayForm" method="post" action="http://localhost:7001/wsrpjsftestWeb/appmanager/wsrpjsftestremote/main?_nfpb=true&amp;_windowLabel=T1800482711259255957849&amp;wsrp-urlType=blockingAction&amp;wsrp-url=&amp;wsrp-requiresRewrite=false&amp;wsrp-navigationalState=%2FwsrpjsftestWeb%2Fportlets%2Fmessage%2Fjsp%2Fmessagedisplay.faces&amp;wsrp-interactionState=&amp;wsrp-mode=wsrp%3Aview&amp;wsrp-windowState=wsrp%3Anormal" enctype="application/x-www-form-urlencoded">
                   <table cellpadding="0" cellspacing="5" border="0" width="100%" >
                   <tr>
                   <td valign="top">
                        <label for="T1800482711259255957849:MessageDisplayForm:message">
                                  <span id="T1800482711259255957849:MessageDisplayForm:messageLabel">Nachricht:</span>
                        </label>
                             </td>
                   <td valign="top">
                             <span id="T1800482711259255957849:MessageDisplayForm:message"></span>
                             </td>
                   </tr>
                   </table>
              <input type="hidden" name="T1800482711259255957849:MessageDisplayForm" value="T1800482711259255957849:MessageDisplayForm" /></form>
    ]]></markupString><locale>de-DE</locale><requiresUrlRewriting>false</requiresUrlRewriting></markupContext></getMarkupResponse></soapenv:Body></soapenv:Envelope>
    Finally, the code of the handleEvent method in the backing file (works fine locally):
         public void handleEvent(HttpServletRequest request,
                   HttpServletResponse response,
                   Event event) {
              System.out.println("EventListenerBacking - Receiving custom event...");
              CustomEvent customEvent = (CustomEvent) event;
              Serializable payload = customEvent.getPayload();
              System.out.println("EventListenerBacking - payload: " + payload);
         BackingPortletUtil portletUtil = PortletUtilFactory.getInstance().getBackingPortletUtil();
              portletUtil.storeSharedState(request, payload);
              request.setAttribute("customPayload", payload);
    And the code to fire the event:
         public void sendMessage(HttpServletRequest request, Serializable payload) {
              PortletBackingContext context = getPortletBackingContext(request);
              if (context != null) {
                   System.out.println("Sending portlet message with event " + PORTLET_EVENT);
                   context.fireCustomEvent(PORTLET_EVENT, payload);
    PORTLET_EVENT is a static constant:
    public static final String PORTLET_EVENT = "PortletMessageEvent";
    Any idea, why the event is not handled when using WSRP?
    Kind regards,
    Stefan

    Hello Stefan,
    The event handling information is added to the proxy portlet only when the proxy portlet is created- not when it is added to a page. So if you already have the remote portlet added to a page when you add an event to the portlet on the producer side, you would need to remove the proxy portlet from the page on the consumer side, remove the proxy portlet from the consumer entirely, and re-add it from the producer.
    It is also possible to create the proxy portlets from the IDE, but in WLP 9.2, it isn't possible to change the IP of a producer after a streaming portal has been created in most cases. If your producer does not require registration and your streaming portal does not contain any customized remote portlets (portlets whose preference values were changed), it may be possible in WLP 9.2 to use the propagation tool to move the streaming portal to a new consumer, and once it is on the new consumer I think you can use the the Admin Tools to change the WSDL URL of the producer to point to your new producer. If registration is required or any of the producer portlets are customized, this won't work. It is worth noting that WLP 10.2 and higher versions support moving streaming portals across producers even when registration is required or portlets have been customized, so upgrading WLP versions is another possibility.
    Kevin

Maybe you are looking for