Samples Problem (Channel disconnected)

I am running Tomcat 6 and JRE 1.5, with FDS. Running the
Dashboard sample is not a problem (except for a lack of heapspace
in the JRE sometimes). However, the CRM sample is not working. I
get the error "Channel disconnected" on the client side, and on the
server side I am seeing a JRE error ... specifically a
javax/transaction/SystemException throwable. The last entry in the
stack trace is: java.lang.NoClassDefFoundError:
javax/transaction/SystemException at
flex.data.DataService.serviceMessage(DataService.java:305). I have
installed JOTM JARs in the Tomcat common\lib directory, and created
a "samples.xml" file in the conf\Catalina\localhost directory.
I am new to Flex2 (and FDS), and I am also new to Tomcat. But
I am really not trying to get too sophisticated right now. I am
frustrated, and I appreciate any help that anyone can give me!
All I really want to do is to create a simple application
that communicates using RTMP to transport POJOs on the server side
to AS classes on the client side. I have run the
tutorial
that Christophe Coenraets provided, and it works just fine. But
when I try to build a test from scratch by installing Tomcat, FDS,
JOTM (do I really need that piece?), and then creating the mxml,
as, and class files I have problems. Which caused me to try the
samples that come with FDS.
As a side note ... there is a statement that memory for the
JRE should be increased, but no specific instructions for
increasing it. That's not my immediate problem with the CRM sample,
and so I'll figure it out later.

Just an update ... although I am not sure that anyone will
ever see any of this:
I reinstalled Tomcat, FDS, and JOTM. I actually put the JOTM
JARs into the tomcat/lib directory, since I wasn't certain where
Tomcat will look. I added the TransactionFactory element to
tomcat/conf/context.xml. This entry specifies to Tomcat that the
default transaction factory is JOTM. I also changed the heap size
for the JVM, which I realized can be changed using the Tomcat
configuration program shown in the Tomcat menu under the Windows
Start Menu.
I am still getting a "Channel disconnected" error when I
attempt to update a value in the CRM sample application. The
exception in the Tomcat window is:
java.lang.ExceptionInInitializerError. This appears to be thrown in
the constructor of the jotm Current class.
Does anyone have any ideas? Or at least a similar problem?
Thanks!

Similar Messages

  • Channel Disconnected; Argument 1 passed to ___ must be an instance of...

    I'm working thru the samples / tutorials from the Flex Developer Center and cannot seem to get things working for me.  Specifcally, trying to implement the example from this page: http://www.adobe.com/devnet/flex/articles/crud_flex_php_zend.html.  (PHP files I'm using are all linked from that page.)
    When I run the program, I can retrieve the data from my server, but I get a "Channel Disconnected" error message whenever I try to write something back to the server.
    The error message I find in the log files is:
    PHP Catchable fatal error:  Argument 1 passed to ForestService::updateForest() must be an instance of NationalForest, instance of stdClass given in /var/www/myCRUD-debug/ForestService.php on line 71, referer: http://vs1/myCRUD-debug/anotherCRUD.swf/[[DYNAMIC]]/5
    This is consistent with the result I get when attempting to test the updateForest() function in Flash Builder.  Screenshots of the test are per below:
    leads to:
    I've tried various different syntaxes for the established: field (date(), current_date, "19990101", all UPPER, all lower, etc.) as I wasn't positive I could rule that out.  (That said, I've noted that there is an error message at the bottom the input pane if things don't match what it believes the input to be.)
    I've looked at the php files and can find no obvious syntax errors, no "echo" and no "print" statements.  Also saw another post somewhere that suggested that it could be the port number I'm using, so have changed the ForestService.php file to point at localhost:3306.  All this is leading me to think that there must be something fundamentally wrong with my setup, but not sure what that is.  I can successfully pull data from the mySQL server, so I know the connection works.  (Data loads to the datagrid.)
    Issue occurs regardless of whether I use the canned example project (after updating the connection info in ForestService.php) or whether I build a new application from scratch.
    Development environment is:
    Flash Builder 4 Premium (trial version) running on Windows 7
    Apache 2.2, mySQL 5.1.49 and  PHP 5.3.3 all running on Ubuntu 10.1 as a VirtualBox guest on the Windows 7 machine.
    libzend-framework-php was installed using apt-get, rather than letting Flash Builder automatically install things... I won't rule this out as an issue, as I was having trouble when Flash Builder did things automagically for me.  (Couldn't see the "Zend Amf Endpoint" statement as outlined in the tutorial.)
    All of the .php and application files are held in /var/www/myCRUD-debug; I have the same results if the three .php files are in /var/www.
    I'm at a total loss...  Does anyone have a suggestion?  Thanks in advance!
    Corey

    Finally some success...  Went and had a coffee, got my mind off things and then tried again.
    I started from scratch one more time using the canned examples.  Seems the issue was related to the services-config.xml file.  I'd updated this to point to the index.php file on the server, but for some reason, the updated value was not being passed to the application when it compiles. Figured it out when I got an error message in the fresh start that pointed at the wrong location.
    Closed Flash Builder and restarted after verifying that the location was set correctly in services-config.xml.  This time when I ran the update script, it worked.  Validated that the changes were passed to the DB via an independent query and all is good!
    Now I just have to figure out how to make that work consistently and things should be good...
    Cheers,
    Corey

  • Multiple channels acquisition and Number of samples per channel

    Hi,
    I'm a new labview user and I need some help in trasposing an old traditional NI-DAQ acquisition software in a NI-DAQ-mx one.
    I followed the tutorial (#4342) but I found a problem with Analogue 2D DBL Multiple Channels Multiple Samples DAQmx Read Vi.
    I'm trying to acquire 8 voltage signals from a NI-USB-6341 device. When the Number Of Samples Per Channel I set is below the number of channels (8), the software acquires only a number of channels equal to the number of samples per channel I set.
    Is that a normal behaviour?
    Thank you
    Daniele

    This is my code. The problem is the same with or without the code for the scan backlog indexing.
    Tomorrow I will try with the code from the example.
    Thank you
    Daniele
    Attachments:
    acq code.jpg ‏119 KB

  • Deploying Flex 4 application and Channel Disconnected Error

    Hi,
    After deploying my application I keep having this error when I want to insert into Database.
    Channel disconnected before an acknowledgement was received
    The problem is that everything works as a cham localy.
    Thank's.

    This is a Flex question. Please try posting it to the Flex forums here http://forums.adobe.com/community/flex/flex_general_discussion

  • Flex 4 Trial - MAMP Channel Disconnected - help!

    I am doing some simple testing with the Flash Builder 4 Trial
    I am running MAMP on my mac and am trying to use PHP to to talk to the mySQL database.
    In Flex 3 this was pretty easy. I am following basically the same procedures (they have change)
    I am simply using the Bind to data...  and going throught the wizard. Everything seems find
    when I bind it to a datagrid - the grid sizes to accomodate all of the fields and puts the correct names in the header.
    But, when I run the application I get the error "Channel disconnected Channel Disconnected before an acknowledement was received"
    I can't find any way around this or much information on the error.
    Would appreciate any help.

    Hi,
    The first thing you need to do is ensure you have a recent version of mamp, as the zendframework requires the latest stable build of php, it will also help to download the latest zendAMF and replace the one that Flashbuilder installed (you just over write the folder with the new code)
    http://framework.zend.com/download/amf     version 1.10.3
    Some people have had issues on macs where the zend pathing wasn't working /recognised, there is info on this spread through  http://forums.adobe.com/community/flex/flex4beta , searching on 'zend' in the forum will yield several thoughts if you have problems after trying the above.
    David

  • What values do you suggest for SCAN_Start in Delphi to make a 6052 card sample 6 channels at 50000 s/s/ch

    I need to sample 6 channels @ 50000 s/s/ch on a PCI-6052E card. I use Delphi function SCAN_Start with params 4, 5, 6 & 7 set to -1, 50, 1 and 20 respectively. Params 6 & 7 are derived using the DAQ_Rate function. But I get a -10092 error. This suggest param 7 is incorrect. Can you suggest values to get the card going?

    Hi Mike,
    I have a couple of links which offer a bit of advice on this. I'm not sure of the exact values that you should use but I would suggest you start aiming low (probably get one channel working at first and then you can work your way up from there).
    Please look at these links:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=50650000000800000070570000&ECategory=Measurement+Hardware.Multifunction+DAQ
    http://digital.ni.com/public.nsf/websearch/4F80AACDFB3B0B8586256E2300750D9A?OpenDocument
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000F4510000&ECategory=Measurement+Hardware.Multifunction+DAQ
    These links look at different areas of your problem. The middle
    link looks specifically at the error 10092 and why it is happening, as well as how to prevent it.
    Best regards,
    Peter H
    Applications Engineer
    National Instruments

  • Channel Disconnected... Please no!

    Hi
    I'm having a problem that's driving me insane because I just can't find a answer for it...
    I generated a service on Flash Builder to connect to my database, which was working fine until I uploaded the application to my web server.
    The thing is that it wasn't even working locally and I was getting the same error, which was fixed by setting the port variable on my service php file to 3306 (it was empty before). Alright, then when it was working locally I uploaded everything, changed the amf_config paths (it gave me a different error before the paths were correct so I doubt this is the cause), but then the same error I was having before reapeared:
    Channel disconnected
    Channel disconnected before an acknowledgement was received
    I've checked everything on the php file and it should be connecting to the database, so can this port variable be the issue here or something? 3306 won't work, leaving it blank won't work...always the same error!
    I have searched everywhere for an answer and can't find anything that helps me with this.
    If you can help, please let me know! Thanks!

    Fixed!
    I used firebug and I finally managed to find out what was going on.
    gateway.php was returning an error like this:
    Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes)...
    mysqli_stmt_bind_result was requesting a lot of information, most unecessary, so I modified my query and mysqli_stmt_bind_result to only get the right database fields.
    Hope this helps anyone who ever comes across the same problem!

  • I have the iPad 2 16GB, bought it in August 2011, I worked perfectly but in mid-August 2012 I took her to the store because the microphone did not work reviewed and changed me, but to my surprise that the new iPad had the problem is disconnected WIFI sign

    I have the iPad 2 16GB, bought it in August 2011, I worked perfectly but in mid-August 2012 I took her to the store because the microphone did not work reviewed and changed me, but to my surprise that the new iPad had the problem is disconnected WIFI signal I have to be glued to the router, and I did everything he says is supported by the Apple and all other pages and forums regarding this problem is not solved and always disconnects when connected always disconnects again!! passing will be settled as no longer factory warranty although it has neither the three months I renewed new, please help because the investment has been great and I can not use only as "a mirror" I'm waiting a true solution, thanks ....
    Sincerely,
    Catlos

    This does help me because I am pondering on wether to buy an airport extreme to solve my ipad 2 connection woes.  I have an extremely old router dLink 524....but I have NEVER had any problems with it at all ever.  My xbox connected great to it and netflix ran flawless through my xbox.....now I have an ipad2 and an apple tv and they are BOTH having horrible connection problems.  I have read most of the forums on how to fix it by changing the settings on my router but since mine is so old I couldn't do some of the suggested solutions.  So here I am debating on whether to spend all this $ on an airport extreme?  I am just hoping that if I go and purchase this, my connectivity issues problems will go away like yours did.  Just wondering if you have ATV as well and if the AE solved its problems?  I have read about AE solving ipad2 wifi problems, I'm just hoping it will solve my ATV as well.
    **Glad they didn't "moderate into extinction" your post yet, lol, Thank

  • Sample clock vs sample per channel per second

    Referring to this link http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/dbe7ac32661bcf9b86256ac000682154?OpenDocument
    What's the difference between sample clock and sample per channel per second? Looks the same to me.

    The sample clock is the clock that sets the timebase for channel operations on the board.  The samples per channel per second is the actual rate at which data can be transferred on a particular channel.
    Alex A.
    Applications Engineer

  • NetConnection.Call.BadVersion - Channel disconnected

    I am facing NetConnection.Call.BadVersion error when I run flex based application with BlazeDS on S64 with Weblogic application server.
    At application start up, it makes 4 calls to server and get appropriate data. However once the application is up and hence forth I make any calls cause the error. I observed that the mid-tier java code (Remote Object) is not invoked by later flex calls. The faultDetails of FaultEvent says that “Channel disconnected before an acknowledgement was received”.
    I am not using HTTPS secured protocal.
    Has anybody face this kind of issues? Any input, suggestion or solution would be greatly appreciated.
    Other details are
    OS  : S64
    BlazdDS : Community Edition: 4.0.0.10620
    App. Server        : Weblogic 10.3.3
    The snippet of flashlog
    [DEBUG] mx.messaging.Channel 'my-amf' channel got status. (Object)#0
      code = "NetConnection.Call.BadVersion"
      description = ""
      details = ""
      level = "error"
    FaultEvent.faultString :- Channel disconnected
    FaultEvent.faultDetail :- Channel disconnected before an acknowledgement was received
    Thanks
    --sachin

    I don't know what "S64" is, but it seems like someone is messing with the bytes of the AMF response so that the AMF deserializer in the Flash Player doesn't like the version header.  I assume you are running the latest player.  Probably need to check any network infrastructure and/or servlet filters.

  • View Channel disconnected error

    Hi Everyone,
    I received a Channel disconnected error, how can I view where the error is occuring?  Is that possible?
    Wesley

    I finally figured out what I was doing wrong. I was following davidflex's insturction at http://forums.adobe.com/thread/875709 and did not realize that I ahve to set host = "localhost:8889" in my php that connects to my remote mysql server. It's tricky because sicen it's remote server, you should set host = your domain, but that's not right. As davidflex said you need to set host = "local:8889" since your gateway.php is also running on the remote server.
    I stumbled for several weeks and hope someone else won't get stuck like I did for serveral weeks.

  • Flex app calling CF cfc to download file gets "Channel disconnected" fault

    I am a newbie with ColdFusion and Flex. I am trying to implement file download/streaming functionality in my Flex 4.5 application and I am running ColdFusion 9 as my back end. More specifically, I have a component in my Flex app that displays a list of files - some of these files can be available for opening (or "previewing") via the client. I want the client to be able to click a button and download the file from the ColdFusion server, after the appropriate security checks are performed (also in ColdFusion). Right now I am just trying to get the basic download functionality to work with a very simple cfc. Here is the cfc code:
    <cfcomponent displayname="Preview Document"
         output="false">
         <cffunction name="streamFile" access="remote" returntype="any">
              <cfargument name="filename" displayName="Filename" type="string" required="true" />
              <cfheader name="Content-Disposition" value="attachment;filename=#filename#" >
              <cfcontent type="application/unknown" file="c:\myserverpath\#filename#">
         </cffunction>
    </cfcomponent>
    When I try this via a cfm, it works fine (I get a File Download window where I can choose to either open or save the file). But when I try to use this in my Flex app, I get an error.
    In my Flex app, I have a RemoteObject to access my cfc and a CallResponder:
    <s:RemoteObject id="PreviewDocument"
       source="PreviewDocument"
       destination="ColdFusion"
       showBusyCursor="true"/>
      <s:CallResponder id="PreviewDocumentResult"
        fault="Alert.show('CallResponder PreviewDocumentResult: ' +
        event.fault.faultString + '\n' + event.fault.faultDetail)"
        result="PreviewDocumentResult_resultHandler(event)"/>
    Then I created a button whose click even executes the following line:
    PreviewDocumentResult.token = PreviewDocument.streamFile("myfile.pdf");
    When I run my app, I get the following fault:
    faultCode = "Client.Error.DeliveryInDoubt"
    faultString = "Channel disconnected"
    faultDetail = "Channel disconnected before an acknowledgement was received"
    I have tried many different approaches and searched online for help with this fault, but I could not find any helpful clue to where I can start investigating this.
    Can anyone help with why I am getting this fault?
    Thanks in advance.

    @sir_teddy, thanks for your reply again.
    Yes I have created a simple cfc that returns a string successfully (in fact I had used the same cfc and basically just commented out the cfcontent and cfheader tags, and returned the name of the file being requested in the cfreturn tag). When I un-comment the cfcontent tag from the code, the error comes back.
    So I am really at a loss here...

  • How to use ni-6008 and build a four channel data acquisition at a rate of 250 samples per channel and display all the data in a waveform chart

    how to use ni-6008 and build a four channel data acquisition at a rate of 250 samples per channel and display all the data in a waveform chart 

    Hi kdm,
    please stick in one thread for the same topic!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Sample per channel and sample to read

    Hello everybody
    I am new in LABVIEW and I have some difficulties with something.
    I don t know exactly what is the difference between the sample per channel et the sample to read. I believe knowing that the sample per channel is the size of the buffer which is more big than the sample rate but I don t know what is the sample to read.
    I ve tested with different sample per channel and sample to read. Sometimes I have an error and sometimes know and I would like to know why. If you have any example for I understand better, it will be great.
    I really need to understand this part for my project
    Thank for your help
    Romaric GIBERT
    Solved!
    Go to Solution.

    Hi Roro,
    As you mentioned, when acquiring continuous samples you can specify the sample buffer size by placing a value at the input "samples per channel" on the timing vi. The "number of samples per channel" input on the read vi which automatically names a control/constant with "samples to read" specifies the number of samples you wish to pull out of the buffer in one go when reading multiple (N) samples. This link may provide a bit more clarification. I have also attached a good example from the NI example finder which you may find useful to explore. I'm assuming you are using the DAQmx driver set so please let me know if this is not the case, but the same principles should apply either way.  
    This therefore means when sampling at a given rate, you need to ensure you are pulling data out in big enough 'chunks' to prevent the buffer from overflowing (which may well be causing the error you are seeing). Conversely if your sampling rate is slow and your read vi is having to wait for the number of samples to read you specified to be available, it may throw a timeout error. You can avoid this by either increasing your sampling rate, reducing your samples to read or increasing the timeout specified at the read vi input (-1 means it will wait indefinitely).
    Let me know if this helps and how you get on.
    All the best.
    Paul
    http://www.paulharris.engineering
    Attachments:
    Cont Acq&Graph Voltage-Int Clk.vi ‏27 KB

  • Samples Per Channel Matter when Taking Continous Samples?

    So noob question of the day. I have been playing around with the lightbulb feature. Anyways, I notice my array size is greater than my samples per channel input. Does the DAQmx sample clock even look at the samples per channel input when set to continous?

    Did you check the help file for the DAQmx sample clock function?
    "samples per channel specifies the number of samples to acquire or generate for each channel in the task if sample mode is Finite Samples. If sample mode is Continuous Samples, NI-DAQmx uses this value to determine the buffer size."

Maybe you are looking for

  • Web Dynpro for ABAP iView can't work

    Hi guys, I've developed an application in web dynpro for abap, it can be accessed from this url: http://pekax110.aaa.com:8001/sap/bc/webdynpro/sap/zsfa_test But when I created an Web Dynpro iview, set the parameters as follows: System: SAP_CRM namesp

  • How do enter my wifi password when IPad has the old saved password on it?

    How do I change my wireless password when the old password is stored for the wireless connection?

  • Image Slider Question

    So this is my HTML. I am using a JS image slider. I am trying to get the image slider to be full screen and scale to 100% in the window. Weither it is full screen or smaller. The width works perfectly, but when i make the height 100% it doesnt work..

  • G3 iMac SEDV (Graphite) .... intermittent power

    Hi guys. We've a G3 iMac (SEDV) that we've had since '99. Love this machine. Anyway, about a month ago, the mouse control strarted getting intermittent and there was the need to unplug and plug the mouse back in to get the machine to recognize it. An

  • FAQ: I'm having trouble installing Flash Catalyst CS5, how do I clean up beta installations?

    The majority of users have trouble installing Flash Catalyst CS5 when they have not properly run the uninstaller on a previous version (typically a beta version). If this is the case, the first thing you should try is running the Adobe CS5 cleanup sc