Complex Gateway

I will try to describe the business logic first.
There are three parallel workflows in my business process as the picture in the attachment shows. Every time, the process will flow through one or more of the three workflows.
One of them contains serveral human tasks to be performed by different roles and the other two contain synchronous process calls.
Ideally, workflows in the circuit joins at the complex gateway and the process goes on. Under some circumstance, when the first human task flow reaches the complex gateway with a fail flag, the process should come out of the circuit and the sychronous processes invoked in other workflows should be canceled if they are in process.
You can see the picture of the process I uploaded in the attachment. That picture describes the business process.
I try to achieve this business logic by using inclusive gateway and complex gateway.
Before I apply the patch "One-off Patch for Bug: 10082478", the complex gateway will not end the subprocesses.
Then, I apply the One-off Patch for Bug: 10082478. The readme file of the patch claims that the patch fixs the bug "INSTANCE COPIES ARE NOT ABORTED AFTER COMPLEX GATEWAY ACTIVITY". However the processes invoked in the circuit are still not aborted.
Also, according the article "Instance Copies Are Not Aborted After Complex Gateway Activity [ID 1253215.1]" in My Support, I should put the complex gateway circuit in a Ssubprocess. In that case, the human tasks in the complex gateway circuit cannot belong to different roles, since a subprocess cannot contain swimlane to indicate roles.
Am I wrong? Any suggestion is welcome!
Thank you for your time.
process image link:
[http://img855.ph.126.net/_9E_rs4Ue0V7llgcGS4iNA==/2768306395950753282.jpg]
Edited by: SMEC_Matt on 2010-12-13 下午9:32

Thank you for your reply, MPF.
I know we can assign the human task to a group or to a specific user in the human task editor.
But can I assign the human task explicitly to a application role?
Can you tell me how to write the expression?
I cannot find a function to get a role.

Similar Messages

  • How can I have parallel flows but only the first outcome will be used ?

    A Parallel Gateway split can end with a Complex Gateway merge. You would generally use this when you want to execute all the outgoing paths in parallel but want to terminate active paths if certain conditions are met example: if 2 out of 3 paths have been completed, you might want to end the parallel scope and move forward.

    I believe you are using 11g!
    If so please use under Complex-merge bpmn:getGatewayInstanceAttribute('activationCount') =2 this .... this should work.
    if 10g, then the available response should work out.
    Thanks,
    Biltu

  • How to configure modem connection with GW (H323) and ATA 187

    Hello Community,
    i stock in configuration and need assistance.
    My callflow: Telco – PRI – GW – H323– CUCM – SIP – ATA187 – Modem
    Voicegateway (Version 15.3(2)T) + CUCM (Version= 8.6) + ATA187 (Version= 9.2.3.1)
    The modem connection is still not working.
    What is still to configure on the voicegateway? modem passthrough?
    Regards Michael
    ATA 187 Configuration:
    Fax Mode= T.38 Fax Relay
    Fax Error Correction Mode Override= Off
    Maximum Fax Rate= 14000bps
    Impedance= 900Ohms complex
    Gateway Configuration:
    voice service voip
     ip address trusted list
      ipv4 172.30.50.1
      ipv4 172.30.50.2
      ipv4 172.30.50.3
      ipv4 172.30.50.4
      ipv4 172.30.50.5
     allow-connections h323 to h323
     allow-connections h323 to sip
     allow-connections sip to h323
     allow-connections sip to sip
     no supplementary-service h225-notify cid-update
     fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
     sip
      bind control source-interface GigabitEthernet0/0
      bind media source-interface GigabitEthernet0/0
      registrar server expires max 600 min 60
    dial-peer voice 1 pots
     translation-profile incoming INCOMING_PSTN
     incoming called-number .
     direct-inward-dial
    dial-peer voice 30 voip
     description OUTGOING_CUCM
     destination-pattern [1-9]..
     session target ipv4:172.20.60.12
     voice-class codec 1
     dtmf-relay h245-alphanumeric
     fax-relay ecm disable
     fax-relay sg3-to-g3
     fax nsf 000000
     no vad

    It is possible T38 isn't playing well with the PRI.  You could try modem pass-through on the gateway and ATA187 if T38 isn't necessary.
    Also, sometimes these commands are needed, but not always, so I would consider whether these fax commands under the dial-peer are necessary:
    fax-relay ecm disable
     fax-relay sg3-to-g3
     fax nsf 000000

  • Number of participant after activity completion is determined at run time.

    I have a scenario
    1. Let there be 5 roles A,B,C,D,E
    2. Role A initiates a process, and it goes to B and C(in different roles) simultaneously.
    3. When both B and C approves this, it will go to next participant D and E. However if only one of them approves, then the process instance must not go forward.
    4. Also the number of groups to whom the process, flows is determined at run time.
    Please let me know, how to achieve this task. Any suggestions will be welcomed and appreciated.
    Regards.

    You'd use a parallel gateway with complex gateway at the join. In the complex gateway you'd have an expression to continue when first flow completes (activationCount == 1) and select "Abort pending flows". That would have the scope end when the first flow completes. Docs are at:
    http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15176/model_bus_procs_bpmpd.htm#CJABIBCB
    Section 6.7.5

  • Remote Desktop Connection Client 9.3.9600 unable to connect to Server 2012 RDS via Gateway

    Hi,
    I have a Windows Sever 2012 R2 RDS environment with two Gateways servers configured in high availability mode (RD Web Access, RD Gateway, RD Connection Broker roles installed) and four Windows Server 2012 R2 RDS Session Hosts. The servers are all running
    the most recent public server updates. With this configuration I when connecting externally using a Windows 7 computer with the older Remote Desktop Connection client (6.1.7601) I am able to connect without any problems however when I try connecting with a
    newer client from a computer running Windows 8.1 and the 9.3.9600 client I am unable to connect. 
    At the moment a NAT rule is configured to pass 80/443 traffic to only one of the RDS gateway servers, I've removed our load balancer from the configuration for the moment to reduce the complexity. 
    No error is generated by the client when it tries to connect it just stops trying to connect after a while.
    On the Gateways servers event logs for 
    Things I have looked into so far.
    - I've double and triple checked the RDS configuration and checked it against one of my other clients configurations that is working and they are identical. 
    - Connecting from an older client version works fine.
    I'm not sure what else can be checked does anyone have any ideas?

    Hi,
    1. What entries are you seeing in the RD Gateway's log?  Event Viewer\ Applications and Services Logs\ Microsoft\ Windows\ TerminalServices-Gateway
    2. How come you are not forwarding UDP port 3391 in addition to TCP port 443?  It should work without UDP, but you will not have UDP support which is one of the benefits of RDP 8.0/8.1.
    3. Are there any non-default group policy settings being applied to the servers and/or client PCs?  To be clear, I'm asking if any changes have been made to the default local and domain security policies, group policy objects, new GPOs that may have
    been added, etc., that are applicable to the servers and or client PCs.
    -TP

  • Gateway computer not able to activate opengl in after effects?

    i got a gateway computer (bad, bad idea..) and it came with an "ATI Radion HD 4650" with 1GB of VRAM, an AMD Phenom quad 9750, 8GB of DDR2 RAM, yet after effects won't let me use my card to render in opengl, i have the latest opengl drivers, and the latest drivers gateway has published (the normal drivers can't finish installing because of something im sure gateway is behind), on PS it wouldnt allow it either, but i did the registry hack, and it runs fine on there now, but i kinda want it for after effects so i can do a faster render than 10 minutes for 10 seconds of preview

    but it should be a one-time render, then just composites, right?
    Sure, AE will only read the frame from the source file once, but if the comp is used 30 times, 30 individual comp buffers need to be calculated, possibly involving complex blending operations with other layers or the footage itself if used as nested comp. Furthermore, since you mention 100fps, there may be temporal operations involved when time-stretching/ time-remapping, resulting in look-up of multiple source frames per any single comp frame which for all intents and purposes can take a while, especially with compressed sources that require to decode larger parts since they are GOP based. Could be perfectly normal, if you ask me, but there may be room to improve performance by checking your comps and optimizing things here and there.
    Mylenium

  • Creating a Web Service to handle flow between BPEL process and XML Gateway

    I am new to Web Services. I have never created one, yet I have the task of designing the following for a project.
    Any help as to what steps I need to take would be very very helpful. There is a lot of information on XML, SOA and WSDL out there that it can get very confusing, and sometimes you just need someone to point the way
    What I need to do is create a Custom Send and a Custom Receive Program (both web services) handle the message flow between an Enterprise BPEL processes and a Deployed XML Gateway.
    BPEL compresses this XML business object document (for faster transmission), and sends remotely to this Custom Receive web service, which in turn calls a decompress java program and then send the document to the XML gateway inbound web service.
    The Custom Send web service does just the opposite. It needs to take the business object document from XML gateway, call the compress java program and then send to the Enterprise BPEL.
    In a nutshell...these Custom Send/Receive Web services handle the message flow between the Enterprise BPEL process and the Deployed XML Gateway.
    What I need help on...
    -Creating this in JDeveloper- where do I get started?
    -How does a web service receive a compressed file sent to me via BPEL? Does it just sit there waiting for it?
    -Is this a synchronous or asynchronous design?
    -Will this be 2 web services (Send and Receive) or do I make 1 with 2 functionalities
    -How do I call the java compress/decompress program within the web service? (this java function is already created and ready to be called)
    -Is this decompressed business object file an XML schema and an XML message? Or just a message?
    -I need to send this to the XML Gateway Web Service to load. How does that work?
    -I have a Generic XML Gateway WSDL file...I assume I need to take all the info I get and map it to this template? Is this true? How do I do that?
    Like I said, any help would be appreciated. Links answers to my many questions would be fabulous.
    -Jason

    If you are talking about simple XML transformation of the SOAP payload between the client calling your service and the final destination of the message you are routing, the ESB approach may be a better fit.
    If you have more complex transformation in mind, with major processing and rework of the message in the intermediary, you may be better of with using the POJO approach. Write your service and embed a callout to the other service in your implementation. If the two services share the same Java Model, you may even be able to re-use the same Java Bean.
    To get SOAP Element instead of Java bean, you just need to use the noDataBinding option with either genProxy and topDownAssemble (or assemble). See the WS-Guide [1] for details. Chapter 18 will give you all the details about the different WSA command line parameters.
    Hope this helps,
    -Eric
    [1] http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28974/toc.htm

  • ERROR USING INCLUSIVE GATEWAY -EXIT_TOKEN_METADATA

    Hi All,
    I am using the oralce vm soabpm-vm 11.1.1.6-ps5.
    I have a process where i use a lo of complex gaway, inclusive and parallel.
    I can provide the image on demand, as i have no possibility to share.
    When the workflow reach the final inlcusive gateway where all the paths "collapse" i retrieve the following , error:
    <May 24, 2013 7:19:25 PM CEST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-000000> <failed to handle message
    ORABPEL-02118
    Variant not found.
    The variable "EXIT_TOKEN_METADATA" is not declared in the current scope. All variables must be declared in the scope before being accessed.
    This was an internal error. The flow was not generated correctly by the BPMN compiler.
    Contact Oracle Support Services. Provide the error message, the composite source, and the exception stack trace in the log files (with the logging level set to debug mode).
         at com.collaxa.cube.engine.core.Scope.getVariantRV(Scope.java:585)
         at com.collaxa.cube.engine.core.Scope.getAsObjectRV(Scope.java:575)
         at com.collaxa.cube.engine.core.Scope.getAsObject(Scope.java:881)
         at oracle.bpm.bpmn.engine.model.blocks.BaseBPMNActivityBlock.getExitTokenMetadata(BaseBPMNActivityBlock.java:142)
         at oracle.bpm.bpmn.engine.model.blocks.BaseBPMNActivityBlock.generateExitTokens(BaseBPMNActivityBlock.java:126)
         at com.collaxa.cube.engine.ext.bpel.common.BaseBPELCubeBlock.until(BaseBPELCubeBlock.java:563)
         at oracle.bpm.bpmn.engine.model.blocks.BaseBPMNActivityBlock.until(BaseBPMNActivityBlock.java:94)
         at com.collaxa.cube.engine.CubeEngine.checkUntil(CubeEngine.java:3854)
         at com.collaxa.cube.engine.CubeEngine.finalizeActivity(CubeEngine.java:3126)
         at com.collaxa.cube.engine.CubeEngine.checkBlockConditions(CubeEngine.java:3811)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2712)
         at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1190)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1093)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:78)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:218)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:297)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4609)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4541)
         at com.collaxa.cube.engine.CubeEngine._callbackPerformer(CubeEngine.java:1392)
         at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:1321)
         at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:396)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:926)
         at com.collaxa.cube.engine.delivery.DeliveryService.resolveCallback(DeliveryService.java:805)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.resolveCallback(CubeDeliveryBean.java:266)
         at sun.reflect.GeneratedMethodAccessor20240.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy331.resolveCallback(Unknown Source)
         at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDeliveryLocalBeanImpl.resolveCallback(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessageHandler.handle(ResolveCallbackMessageHandler.java:41)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:65)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:887)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
         at com.collaxa.cube.engine.dispatch.Dispatcher$ContextCapturingThreadFactory$2.run(Dispatcher.java:850)
         at java.lang.Thread.run(Thread.java:662)
    >
    <May 24, 2013 7:19:25 PM CEST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-000000> <Failed to handle dispatch message ... exception ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessage"; the reported exception is: Variant not found.
    The variable "EXIT_TOKEN_METADATA" is not declared in the current scope. All variables must be declared in the scope before being accessed.
    This was an internal error. The flow was not generated correctly by the BPMN compiler.
    Contact Oracle Support Services. Provide the error message, the composite source, and the exception stack trace in the log files (with the logging level set to debug mode).
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessage"; the reported exception is: Variant not found.
    The variable "EXIT_TOKEN_METADATA" is not declared in the current scope. All variables must be declared in the scope before being accessed.
    This was an internal error. The flow was not generated correctly by the BPMN compiler.
    Contact Oracle Support Services. Provide the error message, the composite source, and the exception stack trace in the log files (with the logging level set to debug mode).
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:205)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:65)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:887)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
         at com.collaxa.cube.engine.dispatch.Dispatcher$ContextCapturingThreadFactory$2.run(Dispatcher.java:850)
         at java.lang.Thread.run(Thread.java:662)
    >
    Can sameone provide some lights?
    Regards Piero

    Hi,
    Can u please post the exception trace..
    Regards,
    Tanveer.
    Message was edited by: Tanveer Shaikh

  • Sharing an IP Gateway on multiple Subnets

    Hi
    I'm flamboozled with something that doesn't seem like it should be so hard on a Solaris 10 11/06 webserver with sparse zones...
    I have 4 different subnets:
    A.B.C.0/29, D.E.F.0/29, G.H.I.0/29 etc.
    Only one of them currently has a gateway address, and I put the global's IP there leaving 4 address that indeed work fine for with sparse zones...
    I have some ideas, but I'm hoping someone can help point me in the right direction.
    1.) Setup NAT, as per http://blogs.sun.com/edp/entry/using_branded_zones_on_a if that works on Solaris 10.
    2.) Try some adaptation of:
    http://meljr.com/~meljr/Solaris10LocalZoneDefaultRoute.html
    Where you boot into global without the local zone running. Setup a network interface complete with a default route, remove the network interface in question, and boot the zone that then uses that network interface.
    It uses:
    server-a# ifconfig qfe1 addif XXX.YYY.ZZZ.34/24 up
    server-a# route add default XXX.YYY.ZZZ.1
    server-a# ifconfig qfe1 removeif XXX.YYY.ZZZ.34
    It seems like this should work, but nothing I've tried routes the packets correctly.
    A problem here is I'm not trying to separate the networks, so the default already exists (and route tells me so) but the default is not "passed" into my local zone since it's on a different subnet.
    4.) arp
    I've statically rewired the A.B.C.1 address to use the single gateway's 6 byte hex address, but that doesn't work.
    5.) Zone permissions
    I understand that I may be able to give my zone special permissions... I have yet to try this in detail.
    6.) Rework the network to get 4 gateway address, and probably 4 IP address for the global account.
    I have to think that this isn't that unusual of a situation. Can anyone share their setup or ideas on how I could do this?
    Thanks
    newbiep

    It's not that it's necessarily unusual, it's that the design requirements of zones don't make this easy.
    The TCP layer was an easy point for zones to hook into. So much of the TCP layer is separated, but the IP layer is not. Zones do not have their own routing and cannot affect the routing of the global zone. So complex routing issues are just hard to deal with.
    Your #2 should work, but I don't have specific suggestions or anything.
    "IP instances" is part of the crossbow project that will create separate IP stacks for zones (if you want), so things like this are much simpler if you're dedicating an adapater or VLAN to a zone. It's not yet available though.
    Darren

  • Gateway Service Create with Multiple Line Items

    Hello,
    I observed that you can create an entity in gateway with only a Flat structure, no nested structure or a structure with an internal table is not supported. As i have a requirement of creating a purchase order with multiple items through a create call in gateway service.how do i achieve this.Can any one provide me some direction.
    regards
    Kaushik

    Kaushik,
    In your case Purchase Order header will be an Entity and Purchase Order Line item another entity. You define relationship between them using Associations and Referential Constraints.
    For fetching both at a time, you need to use a '$expand'. For creating both at a time, you use 'Deep Insert'.
    I would suggest you to go through odata.org and search these concepts.
    Also you can read more here.
    Similar Discussion.
    Data model design, Do I need a complex entity?
    About deep Insert
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0d92637-3d0d-2f10-ebb2-efc1f40a85e8?QuickLink=index&…
    About $expand
    Basic and Generic Expand - SAP NetWeaver Gateway - SAP Library

  • Gateway service with multiple entity sets

    Hi,
    I have designed a Gateway service with 3 entities, and 3 entity sets.Entity sets are not related one to another. This entity sets correspond to static data stored in 3 different custom table in SAP. The aim of this service is to provide static data (but customizable on the backend) for drop down lists on a SAP UI5 application consuming Gateway services.
    I am wondering if it is possible through a single read operation, to retrieve all entity sets. Since the service URL to get data related to one entity set is /sap/opu/odata/sap/ZTEST_SERVICE_SRV/EntitySet, how should I process if I want to retrieve all 3 entity sets ? Is it something possible or do we have to call each entity set at once ?
    Thanks in advance for your help.
    Thibault

    Hi Krishna,
    I'd try and avoid a construct like this because I don't think it's very compliant or discoverable - you have to know how to access it. That's maybe acceptable for "internal" services, but really, we should try and use the protocol instead of introducing so many workarounds.
    It seems that the simplicity of OData on some levels makes people think they have got the wrong answer. It can get complex but something like a value list is pretty basic and shouldn't be subject to loads of different interpretations.   
    Batching GET's on the entities or using a grouping entity as per Andre's suggestion is what I'd be thinking of doing. I know that the former is used by some Fiori applications.
    Regards
    Ron.

  • Gateway failing to stream large binary content

    I've written a portlet that allows users to browse network filesystems as a portlet within their ALUI page.
    The portlet code runs on a remote (WebLogic) server, and allows users to add any network shares (along with login credentials) they need.
    I want to allow users to download files. This works fine for small files, but larger files fail (currently failing at around 1MB).
    The code streams the file out in 1KB chunks - browsing to the portlet directly gives an immediate response, and the file download works at a good speed.
    I need the portlet to be Gatewayed - users do not have direct access to the underlying portlet server.
    It looks to me like the Gateway is waiting for the ENTIRE file to be downloaded before it's sent to the client, so the portlet timeout kicks in and causes the download to fail (it never even prompts the user to download - the portlet just shows the timeout error).
    So is there any way to get the download to be Gatewayed, and force it to offer the download prompt to the user immediately rather than waiting for the end of file? I'm thinking either a config setting, or something that I can add to the script that streams the file out to tell the Gateway that this content doesn't need to be scanned or cached at all (i.e. just act as a plain proxy).
    The code is specifically sending all downloads down with a content type of "application/octet-stream".

    Hi,
    I've used Bea's reverse proxy with Apache httpd and iPlanet web server without any issues many many times, sometimes in configurations way more complex that the one you are describing.
    Regards,
    LG
    Edited by lgalfaso at 06/01/2007 7:38 PM
    Edited by lgalfaso at 06/01/2007 7:39 PM

  • E4200 default gateway help

    Hey all.... I'm really hoping someone can help me.
    I have a network setup between two houses, but only one internet connection. Each house has a router acting as a DHCP server handing out a limited range of addresses. It was done this way so that if the connection between the two houses fails, each individual network will still be running. (all addresses are 192.168.2.XYZ).
    At the house that does not have internet, I set the router to hand out a default gateway of the router at the house that does have internet. After replacing my old router with the new E4200, I realised that the new router does not allow me to specify which default gateway to hand out to DHCP clients (I dont see why it would hurt allowing users to do this, but anyways).
    I'm not entirely sure how to set this up now, from what I can tell after some reading up, I would have to have each house on a different network (192.168.2.xyz and 192.168.3.xyz) and set up static routes at each house to route traffic between the two networks.
    The house that does not have internet has the E4200, could I plug the connection from the house that does have internet into the wan port and still allow that house to see my network shares and such?
    I know this is quite complex, so any help would really be appreciated.
    Thanks
    Craig
    EDIT: Just to add to this, the two houses are connected via two Ubiquiti Nanostation loco M5's

    Are both routers connected to each other?
    Follow this link to connect Linksys router to another router.
    Try LAN to LAN connection type and see if that works.

  • Netweaver Gateway Architecture

    Hello All,
    I am looking for architecture of Netweaver Gateway. We are planning to implement Netweaver Gateway 2.0 in Standalone mode. The main objective to implement Netweaver Gateway is to consume apps based on UI5/HTML5 and probably Fiori Apps in future.
    I have following question around this requirement:
    1) Do we need to place Netweaver Gateway in DMZ zone?
    2) Is it possible to design architecture in such a way that all mobile applications should connect to Netweaver Gateway system via Web Dispatcher? Obviously, we don't want to expose Netweaver Gateway to internet.
    3) If we route all communications via Web Dispatcher to Netweaver Gateway which I think should be possible, what will be the complexity or disadvantages?
    I found couple of documents but none of them clearly explains architecture in this area. Please provide your valuable suggestions.
    Thanks,
    Sunny

    Hi Neeta,
    You would need to consider additional factors to make that decision. Primary of which is what is the landscape being used by your customer. You have to consider things like how the users will access the app? What would be the security and authentication mechanism? Would you need reverse proxies or load balancing? Does the customer already have an existing infrastructure for web based applications which you should plug into?
    First off, I will assume you have a NW Gateway system in place for the services that are being used by the SAPUI5 app. If that is the case, then you can certainly deploy the UI app on the same server. The process described in the blog above would end up creating a BSP application, which can then be captured in a transport and moved to QA/Production.
    On the other hand, if your customer has already has an existing infrastructure for hosting and serving up Web based applications, you may want to leverage that existing infrastructure instead.
    You can get in touch with me if you would like to discuss further.
    thanks,
    Nitin

  • Problems returning complex objects from a php data service

    either the data services tool is buggy or i am doing something wrong. here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/halo"
         minWidth="1024" minHeight="768"
         xmlns:personservice="services.personservice.*"
         initialize="init()">
         <fx:Script>
              <![CDATA[
                   import mx.rpc.events.ResultEvent;
                   import mx.controls.Alert;
                   import mx.collections.ArrayCollection;
                   public var people:ArrayCollection;
                   private function init():void {
                        getPeopleInMyWorldResult.token = personService.getPeopleInMyWorld();
                   protected function getPeopleInMyWorldResult_resultHandler(event:ResultEvent):void {
                        people = new ArrayCollection(event.result as Array);
              ]]>
         </fx:Script>
         <fx:Declarations>
              <s:CallResponder id="getPeopleInMyWorldResult" result="getPeopleInMyWorldResult_resultHandler(event)"/>
              <personservice:PersonService id="personService"
                   destination="PersonService"
                   endpoint="http://localhost/photoapp/Test3-debug/gateway.php"
                   fault="Alert.show(event.fault.faultString)"
                   showBusyCursor="true"
                   source="PersonService"/>
         </fx:Declarations>
    </s:Application>
    <?php
    class Person {
         public $name;
         public $cars;
    class Car {
         public $year;
         public $make;
         public $model;
    class PersonService {
         public function getPeopleInMyWorld() {
              $person1 = new Person();
              $person1->name = "John Doe";
              $car1 = new Car();
              $car1->year = 2005;
              $car1->make = 'audi';
              $car1->model = 'A6 Quattro';
              $car2 = new Car();
              $car2->year = 1970;
              $car2->make = 'datsun';
              $car2->model = '510';
              $person1->cars = array($car1, $car2);
              $person2 = new Person();
              $person2->name = "Jane Doe";
              return array($person1, $person2);
    create a new "flex" project in FB Beta1 with a php server. Setup the application and php script as normal, then configure the return type for the getPeopleInMyWorld function. I created a new return type called "Person" and was quite please to see that FB automagically created a "Cars" class with the all the right properties.
    Unfortunately, if you run the code (try debug mode and put a breakpoint on the result handler) you'll notice that "john doe" has lost his cars and that you also get the silent (check console) error:
    TypeError: Error #1034: Type Coercion failed: cannot convert []@1226bc49 to mx.collections.ArrayCollection.
    any ideas??
    i can get this to work by using json, but it's extra work, the com.adobe.serializers.json.JSONDecoder has little documentation, and the method outlined above is just begging to work.
    so, how are the rest of you getting complex data back from your servers? json?? amfphp?? xml (but surely not)??
    also, since i'm here discussing data services, if any adobe ppl are about, please throw one extra voice behind the following feature requests:
    1) support for optional service call arguments (http://bugs.adobe.com/jira/browse/FB-19659)
    2) a button for automatically 'generating service calls' from within the data services panel.
    thanks,
    - e

    Thank you Gaurav for pointing me in the right direction. There was some debate in the blogs as to which data transferring method (amfphp, json, or xml) was best. See
    http://blogs.adobe.com/mikepotter/2006/07/php_and_flex_js.html
    and
    http://www.5etdemi.com/blog/archives/2006/12/clearing-the-fud-on-amfphps-speed-versus-json -and-xml/
    I used json yesterday
    php:  json_encode(array($p1, $p2));   // observation: you only have to encode once as opposed
                                          // to using amf on each array...
    FB:   private var jsonD:JSONDecoder = new JSONDecoder();
          var jsonString:String = {{{return result from service call}}}
          myPeople:ArrayCollection = jsonD.decode(jsonString, services.personservice.Person);
    Note that in FB you can use the services.personservice.Person class as an optional argument in the jsonD.decode function. This class can be automatically generated using FB's built-in data service's panel when you try to configure the return type (as I described above). The json data should unserialize correctly with Cars objects automagically created and everything (a huge time saver!!).
    It worked for me, though I'm not sure how deep the unserialization process is capable of going (objects within objects w/in objects, for example). Also I had some trouble with adobe's jsonDecoder; it had trouble eating (uhm parsing) hollow objects (i.e. objects with null properties), whereas the php_encode / php_decode handled these objects w/o fail.
    Anyway, will be reading up on amf. Tanx again Gaurav,
    - e

Maybe you are looking for

  • Report to display number of items sold by state

    Hello experts, I would need a report with the following paramters: Deliver doc number,posting date,ship to state,item number,item desc,quantity.Is it possible to have the selection for the date range? Thanks

  • Unable to export Primavera P6 xml files

    Hi there, Good day. I have some issues during the import/export process. For some unknown reason, Primavera generates blank xml files during the export process. I chose Primavera P6 - (XML) as export file format. Here are the steps that I have follow

  • ExternalInterface problem in IE

    I cannot get ExternalInterface to work in either IE 6 or 7 – either from Flash to the HTML page or vice versa. I have DIVs containing various SWFs that can be opened and closed by the user. Many of them need to be reset when a user closes them, an so

  • Problems with Oracle Web Logic 10.3.6, certificates and proxies

    Good morning. We are trying to establish a SSL connection using Apache Cxf and WebLogic Server 10.3.6. For that, we are passing through a proxy. Using Apache Tomcat, the test is ok, we can connect to the endpoint correctly. But in WebLogic 10.3.6, we

  • Can't install FCP on my new MacBook Pro

    I just realize that I can't install FCP on my brand new Macbook Pro. Does anyone knows of any solution that would let me install FCP. According to the notes FCP will not install on Intel Core Processors.