Coldfusion Websockets server with Angular front-end?

Anyone here have any success with a CF server running WebSockets and an AngularJS front-end?  I'm having some trouble and hoping for help.
Just one channel on the server:
     THIS.wschannels = [{name="test1"}];
As a note, this Application.cfc is in a subdirectory (api/rest) where we're running our taffy rest backend.  Should it be moved to the top lever, or does it matter?
On the front end I've tried a few things along these lines:
    var ws = new WebSocket("ws://localhost:8575/api/rest");
    ws.onopen = function(){ 
        console.log("Socket has been opened!"); 
    ws.onmessage = function(message) {
        listener(JSON.parse(message.data));
    function listener(data) {
      var messageObj = data;
      console.log("Received data from websocket: ", messageObj);
$scope.send = function() {
      ws.send("Hello WebSockets!");
I'm running to local angular clients on different ports and runnign the send from one.  Never see a response anywhere.  Suggestions?
Any leads appreciated.
Jonathan

My situation was somewhat different but running Test-CsAddressBookService would fail with error:
'The remote server returned an error: (404) Not Found.'
All clients were unable to retrieve contact unless the full sip address was entered.
Environment.
Server: Lync2013 STD
Client: Lync2010
Did the following:
Checked replication under the Topology tab in CSCP- mine has a green check.
Reinstalled .net 4.5 via add/remove programs
Registed .net by running the following from an elevated cmd (run from .net folder) : aspnet_regiss.exe -I
uninstalled Lync webcomponents from add/remove programs
From Lync install media- reinstalled webcomponents.msi (browse to \Setup\amd64\Setup)
Checked IIS>Application Pool and ensured all ASP.NET and Lync components are set to v4.0 of the .Net Framework Version
Launched the Lync setup and reran step 2: Stetup or Remove Lync Server Components.
Reran Test-CsAddressBookService: 
successful
Tested Lync client: Successful

Similar Messages

  • Connecting to SQl server ( MS acess front end) and pull the data into BI

    Dear all,
    i need to extract the data from SQl server ( MS acess front end) and pull the data into BI .
    i need to know what are the steps need to follow on this..
    can any one help me on this...!
    Thanks,
    Siva

    Hi,
    1. login to sql server u2013 with ur server credentials  and connect.
    2. select ur sql for ex: sap bw
    3. Right click u2013 sapbw - task - export data  From sql to excel I m exporting So give sql details 
    4. Destination u2013 select excel.. and browse where u want to save the fileu2026
    5. give next
    6. select from which table u want to export
    7. click on  next
    8. click on finish
    9. close
    10. go to desktop and open the xyz.xls file
    11. not make it as csv file and load the data to BI as a flat file
    Hope it will help you.
    Regards,

  • How to implement Oracle user/role security with Access front end?

    Hi,
    We have successfully migrated our Access database tables to Oracle 10g using SQL developer. We've recreated all the users and roles(i.e., access groups) in Oracle and granted rights to tables.
    In the Access front end database, in the Database window we have saved linked Oracle tables which replaced the Access tables. The forms, reports, queries run fine with the linked Oracle tables. All the linked table use one ODBC DSN to the Oracle database with the same Oracle user id.
    We need to be able to authenticate users into the Oracle database and RE-link the tables based on their own unique user id. By during so we can allow users to use the Oracle standard user id/role and system privileges to control select, update, ect. rights to the database.
    I've been able to use the VB code within Access to logon into the database with a unique id, but I have not been able to find out how to RE-link the tables to the unique user id using VB. There should be some way to relink tables dynamically, based on users login into the Access front end.
    I don't know a great deal about Access projects, but I do know with SQL server allows login into your Access project and link tables dynamically.
    Can someone give me some assistance or point me in the right direction?
    Thanks in advance,
    Larry

    We had one of our programmers here come up with a VB code solution for re-linking table within Access. However the relinking takes 3-4 minutes for 100+ tables.
    In an effort to help you understand the situation better, I will attempt to elaborate on the problem:
    We have an Access 2003 application which currently has a front end using Access(forms, reports, queries, & VB code) and a MS Access 2003 backend.
    We have migrated the backend tables to Oracle. However, we still have a need to maintain the front end in Access, since we have over 60 forms, 40 reports, 200+ queries in Access. Its easy to understand, we have a significant investment in the front end(Obviously, the plan is to migrate the front end also at some future date).
    In order to utilized the existing front end, we have to validate and modify the current front end connections to the new Oracle backend. One of the features of Access is that you can "link" tables and save the link for runtime. Each Access table can have its own link which is a separate ODBC/JET connection. As such, each separate link has its own userid/database information.
    The other issue with using the Access front-end is that Access utilizes a workgroup file to implement user and group security. The workgroup file contains all the users and which groups the users belong to in Access. Then within Access, you allow users access to object(tables, queries, ect) by their userid and or group. When users open an Access database with Access security enabled, they are required to log into Access. The login is authenticated by the workgroup file. Once, logged into Access, users have rights to Access objects based on their rights granted to their userid and groups they belong. The problem here is that when you remove the linked Access tables and replace them with linked Oracle tables, Access has knowledge about Oracle table rights granted to users; nor would you expect it to.
    The dilema is the disconnect between Access and the fact Oracle utilizes a similar but much more sophisticated security model. It creates users and roles(which are similar to Access groups), and again this is independent of Access security.
    Our solution was to still use the Access workgroup file security along with the Oracle security model. By using the Access userid and then creating a similar Oracle userid with similar table rights granted in Access, you could apply security within Access and also with the Oracle database.
    For example, a user BOB logs into Access via the workgroup file, using VB code, Access then establishes a Oracle connection logining into Oracle using the same unique userid BOB into Oracle.
    After connecting and validating user BOB into Oracle, then the Access tables are relinked to Oracle using the user BOB userid and table rights.
    This Oracle userid has been granted table rights specific for this userid.This allows the user BOB to use the Access application and still be authenticated into the Oracle database.
    The problem with this solution is that the relinking of the saved Access tables takes 3-7 minutes for about 100+ tables. This is not acceptable for users each time they log into the application.
    Our current alternative is to use one Oracle userid to login each user, and use Access form restrictions/security to allow/prevent users from updating/viewing data. Obviously, this is not the optimal solution in respect to security, but it at least allows us to control access to the data(via the forms) by using one logon required for each user, and quick startup time for the application.
    I understand SQL server does a better job in integration, but we use Oracle which is what I am trying to work with.
    Larry

  • HANA interfacing with Microsoft front end

    Hi,
    We have a requirement where the front end will be developed with SQL server reporting services(SSRS) via ODBC and some UI parts directly connecting to native HANA via .NET web server.
    So the architecture is:
    1. HANA Native - ODBC - SSRS
    2. HANA Native - .NET Web Services - UI
    Connectivity and possible limitations are still a matter of concern.
    If anyone has worked on a similar scenario or has some information/useful links, please share it across.
    Thanks,
    Shyam

    My situation was somewhat different but running Test-CsAddressBookService would fail with error:
    'The remote server returned an error: (404) Not Found.'
    All clients were unable to retrieve contact unless the full sip address was entered.
    Environment.
    Server: Lync2013 STD
    Client: Lync2010
    Did the following:
    Checked replication under the Topology tab in CSCP- mine has a green check.
    Reinstalled .net 4.5 via add/remove programs
    Registed .net by running the following from an elevated cmd (run from .net folder) : aspnet_regiss.exe -I
    uninstalled Lync webcomponents from add/remove programs
    From Lync install media- reinstalled webcomponents.msi (browse to \Setup\amd64\Setup)
    Checked IIS>Application Pool and ensured all ASP.NET and Lync components are set to v4.0 of the .Net Framework Version
    Launched the Lync setup and reran step 2: Stetup or Remove Lync Server Components.
    Reran Test-CsAddressBookService: 
    successful
    Tested Lync client: Successful

  • The Document Conversions Launcher Service status on a SharePoint Server 2013 Web front-end server displays "Starting" but does not start or stop

    I have this strange error showing up from my second Web Front End Server, "The Document Conversions Load Balancer service is stuck in starting, The status showing up "Error Starting". When I lunch the start, it runs then went back to
    the same status "Error Starting" for the "Document Conversions Load Balancer Service". How can I get of rid this issue?

    Hi Mannyabdon,
    Based on your description, I recommend to check the things below:
    1.  Run the PowerShell command below to check the status of the Secure Store Service:
    Get-SPServiceInstance |Where {$_.typename -like "Document Conversions Load Balancer Service"}
    If it is not showing online, please stop the service first and then start it to see if the issue still occurs (the
    <ServiceGUID> can be obtained obtained from the command above).
    Stop the service:
    Stop-SPServiceInstance -Identity <ServiceGUID>
    Start the service:
    Start-SPServiceInstance -Identity <ServiceGUID>
    2.  Check the ULS log for detailed error message.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • ADF 3-tiered with Swing front-end is it possible?

    Hi,
    I'm beginning to use Oracle ADF and JDeveloper 10.1.3.
    My intention is to develop a 3-tiered application. In the persistence tier an Oracle database will be used, in the business tier I would like to use Oracle ADF, and in the front-end Swing with screens for edit and querying data. The Swing front-end will not have direct access to the database, and in the future the business tier could be used by a Web front-end with Servlets and JSPs.
    Which benefits I can get with Oracle ADF for this type of application?
    What ADF components can be used in the business tier?
    How can it deliver and receive data from the Swing front-end (EJB, Web Service, another approach)?
    Somebody knows some tutorial about ADF/Swing applications?
    Thank´s.

    I've been working on a soon-to-go-production 3-tier ADF Swing project for a while.
    I would say it is possible but not easy. A lot of effort in my project has gone into workarounds for various things that do not work as expected (and not as in 2-tier mode), refresh-issues, deployment issues and other. We have found workarounds for most of them and JDev 10.1.3 is a lot better for ADF Swing then earlier releases.
    Scalability is still an unsolved issue for us as a lot of functionality you'd expect in a rich gui is lost when using "batch mode" which probably scales better then "immediate".

  • Working in PI with SAP Front end

    Hi
      Thanks for all the links and documents regarding PI. I'm learning PI through SAP Front End. Needed to know if there is a possibility that I write my own Java code and then convert them to web services or enterprise services. is this possible using SAP front end? or PI? Should I be using CE to do the coding and conversion to web services or PI is enough
    Thanks & Regards
    Vijay

    You require a NWDS for coding and deploying the same into Web AS JAVA engine.
    The architecture of WAS should support if you have to expose your java service as a webservice.
    You might need to implement certain Web AS webservice API so that it will expose that java service as webservice.

  • IES 4.1sp8. We are running out of sessions. What param do I need to change? Can I change it with admin front end? or must I edit a file? which file?

    Error message: "SimpleSessionManager cannot create a new session as the limit on maximum number of sessions has already been reached"

    Hi,
    In order to increase the max session, I would request you to set the following on your
    context.properties.
    context.global.sessionmgr.initArgs=maxSessions=2000,,timeOut=300,reap
    Interval=150
    Also, on the servlets.properties.
    servlets.sessionmgr.initArgs=maxSessions=2000,timeOut=300,reapInterval=150
    Note : Stop/start the server to take the new value.
    For more info. check below link.
    http://docs.iplanet.com/docs/manuals/enterprise/41/servlets/a-sess.htm#17031
    Regards,
    Daks.

  • Coldfusion back-end, AngularJS front-end, and Security

    The company I work for is building an application in which security is of the utmost importance.  We're really hoping to use Angular as the client-side application, and we're exploring how best to create our back-end in ColdFusion (which we've used for a few years now).
    I understand that only so much security can exist in the front-end of the app, and that the bulk of the work needs to happen on the server.  But I'm really unsure about how to move forward in that regard.  From what I've read, it sounds like we'll need some kind of Authentication Token to be created on login and stored on the backend.  This token should come along with every http request, and the server can then decide on the validity of the request.
    Does this sound about right?  And if so, are there best practices for implementing it?
    Any resources that might shed more light on the topic would be HUGELY appreciated.
    Thanks,
    Jonathan

    maheshguruswamy wrote:
    mycoffee wrote:
    maheshguruswamy wrote:
    847102 wrote:
    More and more teams in my company are now mixing technologies. For example they use java for the back end and C# for all the client side code i.e GUI.
    How can you mix these technologies. Ie how can c# code "talk" to java code?
    Not sure if this is the best place to ask, as its a java forum but I though I would give it a try!
    ThanksSimplest way would be to use web services.It is new thing for me to learn...
    How efficient to do it compared to all in one either C# or java? I guess it would be slower.
    Either C# or java can handle the job. Why both? I don't get it.It all depends on how big the teams are and how much "separation of concerns" you are looking for. In enterprise architecture what i aim to do is try to give the development groups freedom to use whatever technology they feel best suits their need...BUT...if they want to talk to other systems and vice versa, they have to follow certain standards (SOAP, REST etc). Architect the lines, not the boxes. If you are not looking for separation of concerns, sure build out everything in one technology..but keep it mind future changes.Thank,
    It is good thing to learn. I used to work with java front end calling Cobol back end (using transactions)
    I know C# and java can talk by SOAP or web services but only wondered about the reason.
    If I am going to design everything new, one technology is the answer.

  • SAP Integration kit for BO XIR2 with Crystal XI for BI 7.0 Front end

    Hello Team,
    We are in a little fix.
    We have BOE XIR2, Crystal XI and working with old version of BI front-end 3.5.
    We are upgrading to BI 7.0 frontend, but I am not able to trace out the SAP Integration kit for combination of BOE XIR2, Crystal XI and BI7.0.
    Is such a thing available, If yes can someone send a link to that.
    Regards
    Lalan Kanade

    Hi,
    Thanks for the quick reply
    I could trace this document.  "BusinessObjects Enterprise XI Release 2 SP3 for Windows"
    I checked in "Supported Data Sources for Crystal Rep" section, extract below
    SAP BW Server 3.0b SAP GUI 620 or 640
    SAP BW Server 3.1c SAP GUI 620 or 640
    SAP BW Server 3.5 SAP GUI 640.
    But we are using BW Server 7.0 with GUI 7.1 and that working fine even with BOXIR2 and Crystal XI with Old Front End for BI 3.X.
    But when we are testing with BOXIR2 and Crystal XI with BI New Front End 7.0 its missing components from the query output.
    So the SAP Integration kIt seems old & we need a new Kit which would work with BI New Front End 7.0.
    Any suggestions on that
    Regards
    Lalan

  • Problems with one of the front-end servers (service wont start)

    Hi,
    Having a pool with two front-end servers (Lync Server 2013 on Windows Server 2012) and I cannot get one of servers to work properly. 
    The Front-End service is not starting.
    Have removed both servers from the topology and installed one at the time. When adding the second server to the pool the service never starts, its in starting state and a bunch of error messages appears:
    - Server startup is being delayed because fabric pool manager is initializing.
    Cause: This is normal when Pool is bootstrapped and indicates that the Front-End is waiting for a quorum of other Front-Ends to be started.
    - Pool Manager failed to connect to Fabric Pool Manager.
    Cause: This could happen because insufficient number of Front-Ends are currently active in the Pool.
    I have tried restarted one at the time, both at the same time...
    Reset-CsPoolRegistrarState -ResetType QuorumLossRecovery
    Reset-CsPoolRegistrarState -ResetType FullReset
    I have also had a look at the kb saying that there could be a certificate issue. So I have ran that script but no certificate is misplaced in any store.
    I have removed the front-end certificates and requested new ones from the internal CA, I have also done the same to the OAuth certificates.
    How to proceed?

    Hi there,
    if you are still receiving, the same error, please try to shutdown the first Front-End Server, and give time for the services to start, however I would like also to add that with Lync server 2013 the Enterprise pool requirements is to have 3 Front-End Servers
    in a pool instead of 2, because  of introducing the brick model  architecture.
    Regards,
    Charbel Hanna
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

  • Front End Server in pool not showing as possible registrar server

    Hi All,
    We have recently another server to our front end pool. At first we had only one server, and now we have added the second server to the pool.
    However doing a get-csuserpoolinfo command we are getting these result
    Get-CsUserPoolInfo sip:testuser2@domain
    Identity                            :
    testuser2@domain
    PrimaryPoolFQDN                     : lyncpool.domain
    BackupPoolFQDN                      :
    UserServicesPoolFQDN                : lyncpool.domain
    PrimaryPoolMachinesInPreferredOrder : {fe01.domain}
    BackupPoolMachinesInPreferredOrder  : {}
    PrimaryPoolPrimaryRegistrar         : fe01.domain
    PrimaryPoolBackupRegistrars         : {}
    PrimaryPoolPrimaryUserService       : fe01.domain
    PrimaryPoolBackupUserServices       : {}
    BackupPoolPrimaryRegistrar          :
    BackupPoolBackupRegistrars          : {}
    BackupPoolPrimaryUserService        :
    BackupPoolReplicaUserServices       : {}
    Now we have fe02 deployed as well however this is not displayed for this testuser or any other user in our deployment. This is also causing the problem that if fe01 is not available the client will not automatically try to connect to fe02.
    Thank you for your support!
    Joseph

    The Replica Instances for Routing Service does not add the second server fe01.domain, however for the other replicas the other server is added.
     Get-CsPoolFabricState -PoolFqdn lyncpool.domain
    Replica Instances for MCUFactory Service
        Address: fe01.domain - Primary: 6 Secondary: 0
        Address: fe02.domain - Primary: 0 Secondary: 6
    Replica Instances for ConferenceDirectory Service
        Address: fe01.domain - Primary: 1 Secondary: 0
        Address: fe02.domain - Primary: 0 Secondary: 1
    Replica Instances for Routing Service
        Address: fe01.domain - Primary: 7 Secondary: 0
            Local Groups: Primary: 7 Secondary: 0
            Remote Groups: Primary: 0 Secondary: 0
    Replica Instances for LYSS Service
        Address: fe01.domain - Primary: 7 Secondary: 0
        Address: fe02.domain - Primary: 0 Secondary: 7
    Global Service Count Summary:
    Fqdn: fe01.domain - Primary: 21 Secondary: 0
    Fqdn: fe02.domain - Primary: 0 Secondary: 14

  • SAPGUI 7.10 New ABAP Front End Editor Problem with CTRL + 5

    Hi Guys,
    I am using SAPGUI 7.10 patch 19 with new front-end editor and I am not able to use CTRL + 5 (on Numeric pad) to select whole program.  As soon as I change the editor to use old front end editor I am able to use CTRL + 5.
    Please help me to incorporate CTRL + 5 in New frond end editor.
    Thanks,

    Try <ctrl>+a
    Regards, Uwe

  • Setting apache as a front end host-proxy web server for weblogic 10.3.3

    Hi ,
    i have installed apache 2.2.21 in the red hat linux 6 environment.Now i am trying to set that apache web server as a front end host ,proxy web server for my weblogic 10.3 application server cluster. My apache is listening to the port 8080.
    What changes i had to made in admin console of my server as well as in the httpd.conf file of apache.
    Can any one guide me how to proceed ?
    Any help is highly appreciated......

    Thanks Ravi,
    i have already gone through http://docs.oracle.com/cd/E12840_01/wls/docs103/plugins/apache.html.
    In my case "mod_wl_22.so" was not available but i downloaded this p10051826_1033_Generic.zip file from where i got that file and make it available in the modules directory, changed the file permissions (using chmod 755 mod_wl_22.so) and also changed the httpd.conf file as below :
    LoadModule weblogic_module modules/mod_wl_22.so
    <IfModule mod_weblogic.c>
    WebLogicCluster wlserv1:7001,wlserv2.com:7001
    MatchExpression *.jsp
    </IfModule>
    By using /bin/ls command i checked the following :
    /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
    Using file mod_wl_22.so i checked the following:
    mod_wl_22.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
    My problem is when i used ./apachectl -t i got the following error :
    httpd: Syntax error on line 112 of /u40/app/apache/conf/httpd.conf:
    Cannot load /u40/app/apache/modules/mod_wl_22.so into server: libstdc++.so.5:
    cannot open shared object file: No such file or directory
    So can u please guide me where my problem is and how to rectify it ? Its urgent. please help me.
    Thanks
    Jyoti Ranjan

  • Using DAC0/DAC1 as I/Q baseband channel to work with zero-IF architectu​re RF front end

        Hi,
         I am using the 5640R FPGA card together with RF front-end to transmit and receive OFDM modulated signal. (something similar to 802.11). I was working with a low-IF architecure RF front-end (NI PXI 1042) and now I need to modify my design to work with a zero-IF(direct downconversion) architecture RF front-end.
       Therefore, I need to generate both I and Q baseband analog signal which I will use as the input to the RF front-end.  Thus, I need to gurantee the I and Q channel (ADC0/ADC1, or DAC0./DAC1) are both synchornized.
       I read Mauricio's post about synchronizing the two DAC and two ADC, in his response to the filtering with IF-RIO. It helps a lot. Yet I still have some questions. Advices would be greatly appreciated.
        If I want to synchornize ADC0 and ADC1, should I put a "ADC reset" vi in the host after I finish the DAC configuration VI? Besides, I could not find anything similar to the "Profile" used in the DAC configuration. Since DAC reset will reset the profile 0 which is undesired as discussed in the previous post, I am wondring if there is anything similar to the ADC.
       Besides, to get the received I/Q based band data, should I just read the ADC_0_Port_I and ADC_0_Port_Q? I will later set the Transmit Frequency and Receive Frequency to both 0M. Is there anything that I should do in addition to what Mauricio kindly listed in his post?
       I attached the picture of what I did to the Host VI and FPGA VI.
       Thanks a lot.
    David
    Attachments:
    zeroiffp.JPG ‏99 KB
    zeroifho.JPG ‏116 KB

    Hi,
       I was not able to run my vi after I clocked the configuration loop with RTSI_Ref_Clk and also did the other step as illustrated in "filtering with..." post.  A error -61046 occured with the following message.
      Error -61046 occurred at ni5640R Template (HOST).vi
       Possible reason(s):
        LabVIEW FPGA:  An error was detected in the communication between the host computer and the FPGA target.
        If you are using any external clocks, make sure they are connected and within the supported specifications. Also, verify that the rate of any external clocks match the specified clock rates. If you are generating your clocks internally, please contact National Instruments Technical Support.
       The attached .zip file is my coded project.
       Advice is greatly appreciated...Thanks.
    David
    Attachments:
    Joing Configuration of WLAN Transmitter and Receiver up to Carrier step_zeroIF.zip ‏4980 KB

Maybe you are looking for