Blazeds server push and multiple flex instances

I am working on a project to push data from a server to a
flex chart drawing application. However each chart needs to run as
its own page. Up til now I've been using messaging and creating a
single flex app to consume the data when it comes and to draw the
chart. But I need this to be done separately for multiple charts.
So my question has two parts:
1) How do I get the server to spawn a new instance of my
chart app for each chart dynamically (because over time, the java
app will be defining new charts)
2) How do I send the chart data only to the specific
application that is dedicated to drawing that chart? (right now,
I've been defining the message channel in the xml config files and
I obviously can't create a new channel definition for each separate
chart dynamically as new charts definitions are created and
requested by users)
I hope that makes sense. I'd really appreciate help on this
since I am really uncertain how to proceed with this from
here.

I still have not found anyone who knows how to do this. I
need to spawn a separate instance of my application for each java
thread. Right now, when it launch flex, it always launches in the
same window so whichever thread happens to be the last to spawn is
the one that ends up getting written.

Similar Messages

  • Is it possible to deploy SharePoint or its Service Applications on: multiple DB-Servers and multiple SQL Instances?

    Hello Forum,
    We have a SharePoint 2013 farm (Enterprise edition) that uses one single SQL Server 2012 (Standard edition). That statement means: All my SharePoint DBs e.g. (Config, Admin, Content, and Service Apps) DBs are hosted and running onto one single instance e.g.
    Server1\SQLInstance1.
    We have some new requirements to install and configure BI tools such as: PerformancePoint services and PowerPivot. BI tools require either SQL Server 2012 Enterprise or BI editions, and we do NOT want to upgrade our current SQL Server1\SQLInstance1
    Instead, We have other separate SQL Server instance which is enterprise edition let's name it (ServerX\InstanceX) that is running standalone, and we are thinking or using it, and my 2 questions are:
    1) Can we use this other separate
    SQL Server instance which is enterprise edition to host the create and hosts the DBs of PerformancePoint services and PowerPivot ?
    2) My second question is the same: Can I create PerformancePoint services application in my SharePoint farm, But in the Database Server field, I fill up
    the details of the other DB server ServerX\InstanceX  which is the one that is SQL
    enterprise edition ? Will this work ?
    Any official Microsoft resources/links tell that it is possible to deploy SharePoint or its service applications on multiple DB-Servers and multiple SQL Instances?

    Thank you Alex and Anil,
    What are the ramifications of that?
    I mean, Assuming that I have created such a farm where most of SarePoint DBs in Standard SQL instance while the PerformancePoint service application and others e.g. PowerPivot and reporting service are deployed and configured onto other Enterprise SQL instance.
    Are there any recommendations or concerns that you would like to draw my attention to ?

  • Single DB Engine and multiple DB Instances approach

    Hi Tech Arch gurus,
    Need some advice from all of you. We are currently planning to install SAP  training systems to latest versions.
    We are getting recommendations to goahead with Dedicated host for Oracle Installation where we have Single DB Engine and multiple DB Instances for all different 7 SAP Servers (ECC6, CRM7, BI/NW7.3, SOLMAN7.01, SRM7, EP/NW7.3, PI7.1).
    Certain things that need to be clarified before we go ahead with this:
    1.     How complex/simple is this approach ?
    2.     If there are some issues noticed in the future (Performance issues etc) in this landscape , how much effort will be required to migrate out a DB instance for an SAP product to another machine. We would be having both ABAP and Java stack for our systems.
    3.     We would later plan for adding some more systems into the landscape like SAP MDM, SAP CE, SAP BPC etc. If we add all these systems with a single DB engine, would there be performance issues etc. (We are operating under assumption that underlying hardware of the DB engine will be powerful enough)
    Can you please provide some expert guidance on this approach?
    Your response would be much appreciated.
    Thanks,
    MD

    As a consultant I never dared to do different from what SAP says in guides or notes, at least when it comes to PRD systems.
    For QA and Test Systems, discussions might be needed with the customer, depending on how important these systems are,
    and for sandboxes I already did some stuff, that will even scare some Oracle guys
    As Stefan says, the technical setup is not that complicate at all.
    But I never had to fight for a support call in a non-supported Environment, so I can't say.
    I always decided to be on the safe side.
    If you have your Oracle License directly from Oracle you might disscuss such special support issues with these guys.
    The problem is: If you get a call, and the first level support guy from SAP spots the non-supported environment, it MIGHT be possible that you need to escalate and may be pay for the support, but I suppose they will not let your system die
    May be some of the SAP moderator guys can throw a comment in on this.
    Volker

  • One Oracle Application Server and multiple OC4J Instances

    While we are getting new server (for development) we have to set-up a Development and Production enviroment for our project (dont have previous OAS installation) but on the same machine.
    So, is a good option to have One OAS INstallation (Ora Home) and then create multiple OC4J instances, one for each environment (Development, QA and Production)?, is it possible? How to manage deployments between OC4J instances, simulating different contexts if they are in the same server and under the same HTTP Server? Will be there conflicts?

    Hi,
    you can do this and OracleAs will manage the different instances. The deployment can be done with Enterprise Manager in which case you select the OC4J instance first before deploying. If deploying from JDeveloper, you can specify the OC4J instance when creating the named connection
    Frank

  • One JAVA and multiple ABAP Instances

    Hello All,
    Till now i have done configurations for  Billerdirect on one Java instance  and one ABAP instance.
    Now my situation  in production we have multiple ABAP  (1 CI + 4 Dialog) and only one production Java instance.
    So in XCM configuration  using method  group_connect i have  created XCM configuration this is working fine.
    so here is our problem after doing this .
    For self user Registration  we have created JCO_RFC_Server in XCM   this configuration is working only in one situation.
    Since JCO_RFC_SERVER can be created only for one instance when ever self user registration  goes to other instance it fails , which is happening frequently
    Can anyone  please help me understand in creating XCM configuration for multiple ABAP instances so that i  can create multiple JCo_RFC servers.
    Over View:
    From one Java instance i want to establish multiple connection to ABAP (CI + DI) so that  i can create one JCO_RFC server for each connection.
    When i want to access system i will access using  XCM connection name at the end.
    eg some thing like this.
    http://myserver:53000/bd/public/frameset_top_html.jsp?SYS=MYSYS1
    http://myserver:53000/bd/public/frameset_top_html.jsp?SYS=MYSYS2
    Please help in moving forward.
    Thanks in advance.
    Regards,
    Vardhan.

    Hello All,
    Could you please help me in getting to an logical solution on this approach .
    Thanks,
    Vardhan.

  • Sync (push) and multiple email accounts

    Does anyone know if it ispossible to have some email accounts automatically sync (push) while others are not? 

    Unfortunately at this time the only option is one or the other. if you choose to PUSH all will be pushed and the same is true for the non PUSH. However if you search in the market there may be an application that allows this. Keep in mind that all applications are from third party users and are download at your own risk.

  • High availability without RAC DB on windows cluster and multiple DB instanc

    Is it possible to achieve High Availability on 2 Oracle DB in windows 2003 cluster servers and shared SAN server. without installing and configuring RAC DB and ASM.
    Can we use Veritas or Symantec or anyother tool to get it done.
    What are the options available to achive this?
    Appreciate response.
    Thanks
    Noor

    Please no double postings, this will not give you answers faster...
    For answer see here:
    HA Oracle DB Clustering requirement without RAC DB on shared SAN Server?

  • Using the new Data/Services generation with server push

    Have moved my Flex/BlazeDS app (which uses Blaze AMFChannel for request/response messages and StreamingAMFChannel for server push messaging) from Flex Builder 3 to Flash Builder 4. The new Data/Services works fine to generate service classes and value objects for the request/response messages, question is can it provide any help setting up a messaging consumer and value objects for the pushed data?
    rick holland

    I am so sorry - I meant AirPort Express - not extreme - but it's moot since I missed the point of your post - you want two outputs - and one to not be digital.
    For what it's worth - I still think the express might be your best bet.
    http://www.apple.com/airportexpress/airtunes.html
    It has combined digital/analog out - you plug in one and it switches the output depending on which connection is inserted. I would expect a very short wait until everything accepts digital input - expecially for people who want good sound quality. If you have to go digital to analog outside of the receiver/amp (where it really belongs) - why not let it be the express sitting right next to where you want the second "receiver" to be...

  • Server-Push

    I read somewhere that Flex Data Services provides Server-Push
    functionality. That is, the server starts a conversation with the
    client. It's obvious that, In order to such thing ocurr, there has
    to be a persistent connection between server and client.
    I've being reading about Data Management Service to learn how
    to implement this Server-Push and all I see is about a method
    called Fill() that is thriggered from the client and syncronizes
    it's data with the server. But it's not server-push
    Does it really exist?

    Hi,
    When you create a DataService and fill your collection. The
    collection becomes managed. You don't have to call fill again if
    there is any change in the data. Server pushs updates to clients
    when the client's dataservice is using rtmp channel. It is a live
    connection between the server and the client. For example,
    you fill(collection, "hqsql", from products where price <
    100). If one of the product's price increases, server push a
    message to your collection to remove it. If a product's product's
    price decrease, it will be added to the collection. The push is
    happened based on your fill method.
    William Chan

  • Multiple ASM Instances on single node

    Hi All,
    After going through some threads it seems to me that multiple ASM instances on a node is not supported and recommended by ORACLE but i coudn't find any ORACLE document or support matrix mentioning this. Can any one give me a pointer to this. Please correct me if i am wrong and Multiple ASM instances are fully supported by ORACLE.
    Thanks,

    Multiple ASM instances on a single node are supported but not recommended due to several issues you could encounter during that kind of configuration.
    Possible interraction between those instances for identification of each disk area usage,each disk area permissions , database instance to asm instance mapping and so on, could result in unwanted behaviour, as ASM is in some way just oracle's representation of LVM.
    Intention is that any kind of distinction/separation of oracle related data under the ASM should be done through the disk groups.
    So it seems it would be better to apply this kind of logic rather than doing suspiciously magical and rare configurations that could bring you similiary strange and unexpected problems.

  • Server push / Client pull

    Hi,
    Please let me know about Server push and Client pull . When this has to be needed. please explain.
    Thanks in advance.

    google ...

  • Multiple Database Instances on Single Server and effect of NLS_LANG

    What is the effect of the NLS_LANG registry setting on a Windows server that is to host multiple database instance each created with a different database character set ? The server needs to support data in the following languages : Thai, Chinese Traditional, Chinese Simplified, Vietnamese and Korean. Selecting the Unicode character set(AL32UTF8) is not an option since the application is not Unicode complaint.
    My understanding is that as long as NLS_LANG is set correctly on the client connecting to the particular database instance then the data will be stored correctly - is this correct ?
    What should NLS_LANG be set to on the server if there are multiple oracle instances with different character sets ?

    My question is not in relation to connecting to the database on the server itself but with regards to client connections. What I need to know is what is the effect of the NLS_LANG setting in the registry on a server that has multiple databases each created with a different character set ?
    Say for instance, the server has two databases - one created with the character set ZHS16GBK and the other created with the character set JA16SJIS and NLS_LANG is set to SIMPLIFIED CHINESE_CHINA.ZHS16GBK in the registry on the server. Will Japanese data that is inserted into the database that has character set JA16SJIS be stored correctly when it is inserted from a client with NLS_LANG set to JAPANESE_JAPAN.JA16SJIS even though NLS_LANG is set to SIMPLIFIED CHINESE_CHINA.ZHS16GBK on the server ?

  • BlazeDS, multiple Module instances with Consumers issue

    I have an application that can load multiple instances of a module. The module has a consumer that connects to a destination and listens for messages pushed from a JMS topic. In order for me to be able to load and unload multiple instances of the module I'm appending a uid to the url of the swf. When the first instance of the module is loaded everything works as expected and the consumer successfully subscribes to the destination. However, if a second instance of the module is loaded the consumer fails to subscribe and I see the following error in the server log:
    [#|2010-10-28T15:05:33.666+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1;|
    [BlazeDS]10/28/2010 [INFO] [Endpoint.General] Channel endpoint channel-streaming-amf received request.|#]
    [#|2010-10-28T15:05:33.671+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1-in-streaming-mode;|
    [BlazeDS]10/28/2010 [WARN] [Endpoint.StreamingAMF] Endpoint with id 'channel-streaming-amf' received a duplicate streaming connection request from, FlexClient with id '4CA3967A-071C-AB24-D5B9-CAB9D20F14B5'. Faulting request.|#]
    [#|2010-10-28T15:05:33.671+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1;|
    [BlazeDS]10/28/2010 [INFO] [Endpoint.FlexSession] Number of streaming clients for FlexSession with id '3275dcec0f5dc0c30a7381fa6044' is 0.|#]
    [#|2010-10-28T15:05:33.672+0100|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1;|
    [BlazeDS]10/28/2010 [DEBUG] [Endpoint.StreamingAMF] Number of streaming clients for endpoint with id 'channel-streaming-amf' is 0.|#]
    [#|2010-10-28T15:05:33.673+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.container. web|_ThreadID=17;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=96f36b13-0da4-49ad-b788 -bc6d1413da3b;|StandardWrapperValve[MessageBrokerServlet]: PWC1406: Servlet.service() for servlet MessageBrokerServlet threw exception
    java.lang.IllegalStateException
    at org.apache.coyote.tomcat5.CoyoteResponseFacade.sendError(CoyoteResponseFacade.java:449)
    at flex.messaging.endpoints.BaseStreamingHTTPEndpoint.handleFlexClientStreamingOpenRequest(B aseStreamingHTTPEndpoint.java:732)
    at flex.messaging.endpoints.BaseStreamingHTTPEndpoint.serviceStreamingRequest(BaseStreamingH TTPEndpoint.java:1022)
    at flex.messaging.endpoints.BaseStreamingHTTPEndpoint.service(BaseStreamingHTTPEndpoint.java :430)
    at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.jav a:427)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:333)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncoding Filter.java:88)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76 )
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:28 7)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProces sorTask.java:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorT ask.java:597)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTas k.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultRead Task.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106 )
    |#]
    Can anyone explain to me what is happening here and suggest a solution please? I'm not sure if it's a BlazeDS issue or a Flex Module issue but I can't seem to find any references to this issue and the last 2 days have been spent trying to resolve this without any success.
    Any help appreciated.
    If I don't append the uid to the module url then the consumers subscribe as expected but then I'm unable to unload individual instances of the module as they all share the same url property.
    Thanks in advance.

    I have similar problem, but I don't understand your solution.
    Hypothetically, let’s say I use 2 separate sets of Consumer/Producer components in my flex app.
    There is no problem with connecting first set of Consumer/Producer to a particular channel.
    For second set of Consumer/Producer I create new ChannelSet  and new StreamingAMFChannel instances (but the channel has the same URL as the one used in first set, because I want to use the same channel).
    When I try to connect another set of Consumer/Producer to the same channel I get the error on BlazeDS: "... Endpoint with id 'streaming-amf' received a duplicate streaming connection request from, FlexClient with id ..."
    There is no such problem when I define additional channel in BlazeDS configuration an use this new channel with second set of Consumer/Producer components. This solution requires this additional channel so it’s not fully satisfying for me.
    Could you post some code samples of your solution or describe it in more detail?
    I will be grateful for any useful tips.

  • Using a Single HTTP Server for Multiple APEX Instances

    Our company's DBA Manager has asked if it would be possible to externalize the HTTP server portion of APEX from the DB Servers. In other words, he would strongly prefer that the DB Servers *only* run Oracle Database software.
    We know that we can install the HTTP server on another box but, in thinking about how to do this, we were wondering if it is really necessary to create a separate HTTP server installation for each APEX instance. What we'd really like to do is have one HTTP server for all our our Dev boxes and several (but, not one to one) for each of our upper environments; staging, qa, prod, etc.
    Right now, each instance have a single dads.conf file on each DB box. So, if we we're to attempt to consolidate them, we'd need some way to embed multiple dads files and to associate each instance with the correct one.
    Has anyone ever done this or (preferably) have some examples?
    Thanks,
    -Joe

    Joe,
    I don´t know a specific reference for it, I remembered it because when I was looking the documentation on the site, I saw the reference "Support for multiple database connections" in the URL: APEX Listener New Features 2.0&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;APEX Listener New Features 2.0…
    I´ve tried to use APEX listener some time ago, but in a earlier version together with glassfish. So, since for me was only one database, I created the necessary amount of DAD´s on my database, each one for a specific port.
    Check the link and you´ll see the same information I saw.
    Thanks.
    José Valdézio
    "Neo, everything that Oracle told me, became true, except extinguish bugs in a first release."

  • Multiple AIA instances on same server?

    Hi,
    Does anyone know how to install multiple AIA instances on the same SOA server? The installer hints that this might be possible, although I have not seen how this is done because the installer expects an empty oracle home path. The only information I have found so far is for an earlier 2.x release of AIA and that suggested:
    "Each SOA installation must be in his own ORACLE_HOME directory.
    Each AIA installation must be in his own ORACLE_HOME directory.
    You must point to different databases. You can not have mulitple SOA schema's in one sinlge database."
    Is this true?
    Thanks,
    Kev.

    957354 wrote:
    Hi Laxman,
    If its a testing purpose its ok to have a one oracle_home and single listener for multiple DB. One problem when applying oracle patches for one of the instances running in a multiple DB running then you need to bring all the DB running in that host since the oracle_home is sharing between all db instances.
    Thanks
    Sunil Rajesh K.C.Starting with 11g, patchset updates are full installs and done into a new home. This makes it possible to migrate one instance at a time. However, your point would be a consideration for one-off patches like CPUs.
    However, please note ... OP --- PLEASE NOTE even with multiple oracle homes, you still only need a single listener.

Maybe you are looking for

  • Error while running Webdynpro Application

    Hi, I have configured the J2EE engine details correctly in my NWDS. Now i'm trying to run Webdynpro Applications. When I click on Run, it is asking SDM password. I'm entering it. Then I'm getting an error like "Deployment Aborted". The error details

  • Geforce 6800GT won't install properly

    I apologize if this is not the relavent section for this topic, but all I seem to read is that my problem just be due to the motherboard or the BIOS. I have tried to install both a BFG and an XFX Geforce 6800GT card, and both of them have given me is

  • IW32 - ERROR_READING_LST_BY_INDEX

    Hi there,                We are on ECC6, i have noticed that there is SAP note 424437 to fix the issue  in IW32 when you ERROR_READING_LST_BY_INDEX. According to the solution, they say; The program correction of this note is not required and is remov

  • Exception on simple app - weblogic 8.1 SP4

    Hi, I am using Eclipse 3.1 with MyEclipse 4.0 and I created a new web project (JDK 1.4.2_03 and J2EE 1.4) and added just one html file and one jsp page with just the text "This is a test page". When deployed on Weblogic 8.1 SP4 server, the html page

  • SQL Developer does not attach the selected glossary

    I am trying to use a glossary to control abbreviations when generating the Relational Model from the LDM. I go to Tools > Preferences, then select Naming Standards, click on the + to add the glossary, select my glossary, then OK. When I follow that s