Flex profiler: giving socket timeout error

Hi,
I am using Flex 3 Builder. With Flex 3 SDK and overlayed AIR 2 sdk. When I try profile my AIR app, I get "Socket Exception" in the console.
I tried editing the mm.cfg manually but it seems not working. (Followed various posts in forums/blogs). But no Luck.
I observed the mm.cfg file, keeping it blank, Flex Builder does write the PreloadSwf argument in it. For a while, and then it goes blank after throwing the socket error.
I don't have Firewall on as well. I tried with both direct connection to internet and with Proxy.
Any ideas on what's going on ?
Thanks,
Brijehs

Tried all above, still getting the same exception

Similar Messages

  • Open socket timeout error

    Sometime I can write to the local shared variable through data socket. But sometime cannot. Even though, I still can read/write through shared variable monitor.
    The error is in the open socket, said connect to peer timeout. I set timeout to 10s or left blank both not work.
    I am using 8.2.1 on vista. The computer has 2 lan ports.
    I met almost same case long time ago. I solved it by diable NETBIOS and one of the lan port.
    This time, I disabled netbios already. But in vista, seems not able to disable the other lan port.
    Any suggestion?

    hi turbot,
    I had same problem of timeout error.just check if system Firewall is on or off if it is on then make it off and then run the program.i don't know how much this will help you,it helped me.
    GAK
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

  • Request giving Socket communication error at call=recv: error.

    Hi All,
    My requirement goes like this for OBIEE 11G :
    I have two requests(analysis) and I want to show either of them at a given time based on a Dashboard prompt. I have set a Presentation variable {PV} for this Prompt whcih always hays two values A and B.
    My first request is like this :
    Dim 1 Measure 1 ( this should be shown when I select Dashboard Prompt A.
    My second request is:
    Dim 2 Measure 2 ( this should be shown when I select Dashboard Prompt B.
    I have to use the Guided Navigation ( Sectional Condition in 11g)
    When Dashboard Prompt A is selected Section 1 i.e. Request 1 should be shown when Dashboard Prompt B is selected then it should show request 2.
    To achieve this in request 1 I have added a extra filter '@{PV}' is equal to/is in 'A' and in request 2 I have added a extra filter '@{PV}' is equal to/is in 'B' so as when we select B in Prompt the first request should 'No Results' so as I can achieve my Guided Navigation.
    But to my surprise when I select B in the Dashboard Prompt the first request throws an error.
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12002] Socket communication error at call=recv: (Number=10038) An operation was attempted on something that is not a socket. (HY000)
    Please help me out with this regards as I was able to achieve this functionality easily in 10G OBIEE.
    Regards,
    Bhavik

    Hi,
    Mistakenly my machine got restarted and after that when I tried to start OPMN services,its showing all the processes alive but after that ,while restarting BI services from windows
    its throwing an error of unexpectedly shutting down of services.
    My NQS log says:
    [nQSError: 12010] Communication error connecting to remote end point: address = 192.168.10.209; port = 80.
    [nQSError: 46119] Failed to open HTTP connection to server 192.168.10.209 at port 80.
    I have checked that IP is still same. What is the issue behind it?
    This is very urgent.I have already posted this issues many times but didn't get any response So please help.

  • MDM_TECH 554_700 ABAP API giving socket connection error

    Hi,
    I have recently installed the MDM_TECH 554_700 on a 64Bit R/3 system and configured the ABAP API thru customization for a 32Bit MDM Server. Currently I am facing a problem with 'NiRaw2ConnectError: Connection refused' error and when I checked the detailed log it shows that "ERROR => mdeKernelError, NiRawToConnectError: The attempt to establish a socket connection caused an error (rc=-10) [mdm_mdeClien 265]". I have checked the necessary kernel files ( dw_mdm.dll) to make the socket connection between the MDM system, the OSS note 965209 & 950245 and not able to trace the problem. Is it possible to make the connection between 64Bit R/3 and 32Bit MDM server? Help on this issue is highly appreciated.
    Regards,
    Velu

    Alejandro,
    The MDM ABAP API & MDM Server Versions are same. Both of them are in SP04. Here is the details on the versions:
    MDM ABAP API - MDM SP04 provider, Server build  5.5.32.48  -  5.5.32.x
    MDM Server 5.5 - SP04  ( 5.5.32.65)
    Regards,
    Velu

  • Socket timeouts while downloading huge amount of mails..................

    Problem Statement:
    I have created a utility(using JavaMail API) which downloads mails from the Exchange Server 2003(MS Windows server 2003) using IMAP service.
    The utility uses 5 different threads(each creating it's own separate IMAP session) to download the mails from the same user mailbox account. A separate main controlling thread has been used, which feeds these 5 threads with the start-end message counts with a batching of 100 messages. The 5 threads also set the message delete flag after downloading/processing the messages. And finally the main controlling thread expunges the mail box account after a certain amount of time(1 hour). (The service also takes care of expunging the messages at the startup as well.)
    The utility runs fine for a long time(say 8 to 10 hours) but then it suddenly starts giving socket timeout exceptions and then it continues giving the exceptions. I even introduced a delay of 15 min. and increased the socket timeout period but to no avail. All i had to do was to restart the exchange server and after some time, i again started the utility and it worked finely.
    Exception stack trace:
    * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out;
    nested exception is:
    com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:477)
    at javax.mail.Service.connect(Service.java:275)
    at com.newgen.omni.mail.mswrapper.MailServerWrapper.connect(MailServerWrapper.java:102)
    at com.newgen.omni.mail.mswrapper.MailServerWrapper.<init>(MailServerWrapper.java:33)
    at com.newgen.omni.mail.scheduler.Scheduler.Process(Scheduler.java:352)
    at com.newgen.omni.mail.scheduler.Scheduler.run(Scheduler.java:293)
    at com.newgen.omni.mail.scheduler.Scheduler.execute(Scheduler.java:1026)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    Caused by: com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    at com.sun.mail.iap.Protocol.handleResult(Protocol.java:299)
    at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:316)
    at com.sun.mail.imap.protocol.IMAPProtocol.login(IMAPProtocol.java:290)
    at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:517)
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:458)
    ... 8 more
    The code snippet to make the IMAP connection (all the 6 threads call it separately to create separate sessions):
    Properties prop = new Properties();
    logger.debugMsg("mailCapture :: Process :: Initializing IMAP context...");
    prop.put("mail.imap.appendbuffersize","-1");
    prop.put("mail.imap.allowreadonlyselect","true");
    prop.put("mail.imap.separatestoreconnection","true");
    prop.put("mail.imap.partialfetch","false");
    prop.put("mail.imap.connectiontimeout", "1200000");
    prop.put("mail.imap.timeout", "1200000");
    session = Session.getInstance(prop);
    //session.setDebug(true);
    logger.debugMsg("mailCapture :: Process :: Get Store...");
    store = session.getStore("imap");
    try
    store.connect(mailServerInfo.strServerIP, Integer.parseInt(mailServerInfo.strServerPort), mailServerInfo.strUsername, mailServerInfo.strPassword);
    catch(MessagingException ex)
    logger.logException(ex.getMessage(), ex);
    Thread.sleep(900000);
    throw ex;
    I have tried with session debugging as well when the exceptions started coming(restart the service with session debugging true) but it doesnt give me any information worthwhile, either the utility stucks on the store.connect or otherwise if it connects then it stucks while opening the folder while using (sourceMailAccountFolder.open(Folder.READ_WRITE);) and doesn't move any further.
    NOTE: While the IMAP service is throwing socket time out exceptions, at the same time I am able to access my account using the http://<ip>/exchange/administrator and the server machine cpu and memory usages are very low as well. I am also having a separte utility which uploads mails using smtp and it is also working fine and uploading the mails whilest the imap utility is throwing the socket timeout exceptions.......
    Please help on this as i am not able to resolve it myself.....................

    Can simultaneously uploading the mails through smtp affect the imap performance(and hence the javamail).
    Note: The mailbox size is over 200000 mails when it started giving exceptions.
    When the socket timeout exceptions came(i have experienced them for the last three days), i was still able to send mails using smtp and the telnet also working fine and even without any delays, infact as i said, the utility sometimes connects but then fails, while using sourceMailAccountFolder.open(Folder.READ_WRITE); giving socket timeout errors and then dnt go any further.
    Right now i have stopped the smtp uploading the mails(for the first time) but still the javamail takes a long time(variable) to connect to the server and the mail body and attachment accessing speed is also a little slow, will see and post back, if the socket timeout exceptions come again.
    Note: My aim is to download more than some 250000 mails within a day through javamail, whilest i am simultaneously uploading them using SMTP.
    My other survice, using SMTP pumps in messages within a loop.

  • Getting an VISANS timeout error even though VISA Status is 0

    I have an application that runs well on my development system but consistently fails at the user site giving out timeout errors even though the user experiences no time outs. Indeed, VISA returns a success status. Yet, it raises timeout exceptions such as in this segment from my trace log:
    DefaultSource, Verbose, 8, Setting timeout to 30000, "CONNECT", 2008-08-12 00:47:21Z, 2077539389311920
    DefaultSource, Information, 0, GPIB0::26::INSTR termination character set to 10, "CONNECT", 2008-08-12 00:47:21Z, 2077539630487436
    DefaultSource, Verbose, 8, Checking GPIB0::26::INSTR message available, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539636730532
    DefaultSource, Verbose, 8, Flushing read GPIB0::26::INSTR buffer, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539673800216
    DefaultSource, Error, 2, Flushing read GPIB0::26::INSTR buffer failed: NationalInstruments.VisaNS.VisaException: Timeout expired before operation completed.  VISA error code -1073807339 (0xBFFF0015), ErrorTimeout
       at NationalInstruments.VisaNS.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, VisaHandle visaObject)
       at NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status)
       at NationalInstruments.VisaNS.Session.BufferedReaderService.NationalInstruments.VisaNS.Internal.IBufferedReader.Scan(String scanSpecifier, Int32& count, StringBuilder receiver)
       at NationalInstruments.VisaNS.MessageBasedSessionReader.CommonReadString(String scanString, Int32 count)
       at NationalInstruments.VisaNS.MessageBasedSessionReader.ReadLine()
       at isr.Visa.MessageBasedReader.ReadLine()
       at isr.Visa.GpibSession.ReadLine()
       at isr.Visa.Ieee4882.Instrument.ReadString()
       at isr.Visa.Ieee4882.Instrument._flushRead(). VISA status=Success, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539717184364
    DefaultSource, Verbose, 8, Flushing GPIB0::26::INSTR write buffers, "FW, CONNECT", 2008-08-12 00:47:21Z, 2077539723797900
    DefaultSource, Verbose, 8, , "WRITE, FW, CONNECT", 2008-08-12 00:47:21Z, 2077539731761192
    DefaultSource, Error, 2, Flushing GPIB0::26::INSTR write buffers failed: NationalInstruments.VisaNS.VisaException: Timeout expired before operation completed.  VISA error code -1073807339 (0xBFFF0015), ErrorTimeout
       at NationalInstruments.VisaNS.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, VisaHandle visaObject)
       at NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status)
       at NationalInstruments.VisaNS.Session.BufferedWriterService.NationalInstruments.VisaNS.Internal.IBufferedWriter.WriteLine()
       at NationalInstruments.VisaNS.MessageBasedSessionWriter.WriteLine()
       at isr.Visa.MessageBasedWriter.WriteLine(String queryCommand)
       at isr.Visa.GpibSession.WriteLine(String queryCommand)
       at isr.Visa.Ieee4882.Instrument.WriteLine(String value)
       at isr.Tsp.TspVisaIO.WriteLine(String value)
       at isr.Visa.Ieee4882.Instrument._flushWrite(). VISA status=Success, "WRITE, FW, CONNECT", 2008-08-12 00:47:21Z, 2077539742753448
    The first exception above is raised on the session Message Based Reader ReadLine() command.
    Note that I check for message available before issuing read. 
    Note also that VISA NS returns a status code of success:   VISA status=Success (this is what I log above)
    The second exception is raised after I try to clear the write buffers using the Message Based Writer command: WriteLine()
    Here too VISA reports success.
    Note also that the above segment executes in less than one second whereas the time out is set to 30 seconds. 
    The user runs VISA 4.3 runtime.  I am using NationaInstruments.VisaNS 8.1.20.222.
    I would be most grateful for some clues as to how to further explore this issue.  We have been at it for a few days already and are not seeing any light at the end of this tunnel.
    David

    Hello David,
    It looks like you are not passing any valid handlers in your viUninstallHandler command.  Calling viUninstallHandler removes the specified handler from the list of
    active handlers on the given session.  You can see the exact error information for your error in the picture below.
    Useful information can be found in the manual:  VISA Programmers Reference Manual Pages 5-146 & 7
    Have a great day!
    Meghan R
    Applications Engineer
    National Instruments
    Message Edited by Meghan R on 08-15-2008 11:39 AM
    Attachments:
    ScreenHunter_01 Aug. 15 11.33.gif ‏9 KB

  • IVIEW Server Timeout Error

    Hi ,
    Where can I set the server time out for the iviews. I am getting server timeout error for one iview(which is taking nearly one minute to process the request). After completing the 50 seconds(approximatly) it is giving server timeout error.  At the same time  other iviews which are deployed in the same environment are running properly even they are taking more time(2 min) to process the request. There is no timeout setting in load property of the iview configuration for individual iview. we couldn't find the problem why the server timeout coming for only one iview. I am using EP5. Help me to resolve this
    Thanks
    Tatayya

    Hi Sunil Nair,
    Exactly it is the part of the business package. In that iview i am connecting to the SAP R/3 and executing the function module to get the data. Actullay it is taking time to get the data is nearly one and half minute. Even if get the server timeout problem for the iview at frontend the background process(getting data from R/3 and setting to the JSP tableview) is completed. This I could confirm through the Logger.
    what will be the problem for this iview only when there is no problem for other iviews which are taking 2 to 3 mins time to get the data.
    Thanks
    Tatayya M

  • FlexBuilder 3 - Profiling - Socket Timeout

    I'm working on a desktop AIR application and it's time to do
    some profiling. However, I cannot get the profiler to work and I
    feel like I've tried
    everything. I've seen evidence of others having this
    problem, but have yet to find a solution that works for me.
    When I launch the application with the profiler, the
    application launches and works ok. But in the FlexBuilder console,
    I see a "Socket timeout." message repeat on occasion. I never see
    the extra popup window that's supposed to allow me to configure the
    profiling session.
    I use Windows Vista and have no firewalls or anti-virus
    running. Here are things I tried:
    Uninstalling the Flash Player and FlexBuilder. This upgraded me
    from 3.0 to 3.0.1. No change.
    Changing the port from 9999 to a few different port numbers.
    Installing a fresh copy of FB3 on a Windows XP laptop I have.
    It shows the same messasge!
    Thinking it may be something in my project, I created a new
    very simple project and still got the error.
    So, no firewalls and a brand spankin' new installation of
    FlexBuilder (with the Flash player that comes with it) in two
    totally different environments. I'm running out of ideas to try,
    but the app really needs some profiling.
    Can anyone give me some ideas?

    Adobe Newsbot hopes that the following resources help you:
    Broadcast and media:
    In Flex Builder, you add the compatibility-version compiler
    option to the Additional ..... Applications are not compatible with
    signed framework RSLs.
    Link:
    http://www.adobe.com/go/gntray_ind_broadcast_media
    mikemo » What to do if Flex Builder says,
    “Installed Flash Player:
    If you have installed Flex Builder, and when try to debug you
    get an error message that says “Installed Flash
    Player is not a debugger,” or if the Flex
    Link:
    http://www.morearty.com/blog/2006/06/30/what-to-do-if-flex-builder-says-installed-flash-pl ayer-is-not-a-debugger/
    Flex 3:Feature Introductions:Flex 3 RSLs - Adobe Labs:
    The signed RSL may have been put into the Flash Player Cache
    by visiting ... To use RSLs in Flex Builder, modify the project
    properties by adding RSL
    Link:
    http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:Flex_3_RSLs
    Flex developer, Campbell Anderson, from New Zealand - xsive
    blog:
    Mar 25, 2008 ... Right click the flash player instance in the
    browser… yep its the latest player ... Is anyone
    out there using RSLs yet? or the profiler?
    Link:
    http://blog.xsive.co.nz/archives/269
    Flex 3:Release Notes - Adobe Labs:
    3.4.1 Uninstalling Flex Builder 3.4.2 Uninstalling Flash
    Player ..... SDK-12685 There is an issue where the line number of
    an error is completely wrong,
    Link:
    http://labs.adobe.com/wiki/index.php/Flex_3:Release_Notes
    Disclaimer: This is an automated post from Adobe Newsbot.
    Newsbot tries to help forum users by analyzing their post and
    suggesting helpful links.

  • Strange Error using Flex Profiler

    Hi,
    I am trying to use the Flex Profiler to figure out where to put my time when optimizing the code of a .swf file generated in Flash CS4. In Flex, I select "Profile External Application" for the "Profile" menu item. Then I select "Launch the application manually from Ooutside Flex Builder" and set the timeout to 60000 milliseconds. I then go over to Flash CS4 and start a debug session of the application I want to profile. This should make the profiler pick up the session and give me the stats I need. But I get a couple of weird errors in the Flex Builder.
    The first error is a message box the pops up and says: "Profiling can only be performed on the debug version of an application."  I am definitely running the Flash application in debug mode... The only thing that I can think may be a problem is that I am using the Flash Facebook API and linking to the external .swc file for that API. Could that cause a problem?
    The second error is an exception that gets thrown in Flex Builder and is displayed in the Console. The exception is this:
    flash.swf.SwfFormatException: unrecognized fill style type: 202
        at flash.swf.TagDecoder.decodeMorphFillStyle(TagDecoder.java:982)
        at flash.swf.TagDecoder.decodeMorphLinestyles(TagDecoder.java:914)
        at flash.swf.TagDecoder.decodeDefineMorphShape(TagDecoder.java:868)
        at flash.swf.TagDecoder.decodeDefineMorphShape2(TagDecoder.java:849)
        at flash.swf.TagDecoder.decodeTag(TagDecoder.java:310)
        at flash.swf.TagDecoder.decodeTags(TagDecoder.java:170)
        at flash.swf.TagDecoder.parse(TagDecoder.java:119)
        at com.adobe.flash.profiler.internal.PlayerSession.swf(PlayerSession.java:570)
        at com.adobe.flash.profiler.internal.ProtocolHandler.readSwf(ProtocolHandler.java:353)
        at com.adobe.flash.profiler.internal.ProtocolHandler.process(ProtocolHandler.java:114)
        at com.adobe.flash.profiler.internal.PlayerSession.run(PlayerSession.java:383)
        at java.lang.Thread.run(Unknown Source)
    It looks like it has something to do with a fill style, but I am just doing standard Flash stuff... No version of Flash Player has had any problems with the .swf file, but somehow the profiler is not liking something.
    Does anyone have any idea about what is going on here? Apparently the profiler is a great tool to use to optimize ones code, and I would really love to use it.
    Thanks!!!

    I would not start a debug session in CS4.  I would just find the SWF generated by the last debug session and launch the standalone player with that SWF.  There might be some contention in having both CS4 and the FB profiler trying to hook up to the same SWF.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Error BEA-101083 Socket Timeout

    Hello, we have a WebLogic Server 8.1 SP2 and we found the following error:
    <Dec 12, 2005 3:33:32 AM CET> <Error> <HTTP> <BEA-101083> <Connection failure.
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1cc2438 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
    at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    Any idea?
    Thanks

    As lot fo people we have the same problem.
    But I have still not found a concreate solution.
    ####<08-May-2006 10:02:36 o'clock CEST> <Error> <HTTP> <quatro> <WlsAdm> <ExecuteThread: '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-101083> <Connection failure.
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@8db03f0 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
         at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(Lweblogic/time/common/Schedulable;)V(SocketMuxer.java:799)
         at weblogic.time.common.internal.ScheduledTrigger.run()Ljava/lang/Object;(ScheduledTrigger.java:243)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Optimized Method)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally()V(ScheduledTrigger.java:229)
         at weblogic.time.common.internal.ScheduledTrigger.execute(Lweblogic/kernel/ExecuteThread;)V(ScheduledTrigger.java:223)
         at weblogic.time.server.ScheduledTrigger.execute(Lweblogic/kernel/ExecuteThread;)V(ScheduledTrigger.java:50)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(Optimized Method)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
    >

  • Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report

    I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
    Info:
    Running on XP/Cygwin.
    All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
    I've placed the flexunit4 task in my ant/libs folder.
    I'm getting two errors...
    I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
    [flexunit] Waiting for client connection ...
    (about a minute later)
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    Plus this is the error I get from the flash player:
    ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
    I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
    Any help appreciated. I think I'm just setting it up all wrong.
    Screencap of errors:
    http://twitpic.com/l7ay8
    build.xml:
    http://gist.github.com/20804

    Finally got everything working using the files from the CI Example which what i probably should have done in the first place.
    So a rough guide for anyone just starting out with this:
    Download the Flex 4 'workspace' from the digital primates hudson server . This appears to contain flexunit library and examples in various stages of development.
    I used Flex Builder 4 Beta 2 to set up my Test Suite and Test Cases.
    I then loaded the libs folder from:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject
    into my flex project's libs folder:
    this includes:
    FlexUnit4.swc
    FlexUnit4CIListener.swc
    flexUnit4UIRunner.swc
    flexTasks.jar
    flexUnitTasks.jar
    I didn't need to remove the FlexUnit4 stuff that is 'referenced' automatically by flash builder when you start adding flexunit4 tests/suites.
    Then I used a modified version of the TestRunner.mxml found in:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject\src\test\flex
    The lines to pay attention to are the ones that look like:
    static public function currentRunTestSuite():Array {
        var testsToRun:Array = new Array();
        testsToRun.push(packagename.TestSuiteName);
        testsToRun.push(packagename.TestClassName);
        return testsToRun;
    Just make sure you update this list to include all of the test suites &/or individual tests you want to run.
    I made this a static function and modified the code in the "FlexUnitApplication.mxml" file to use this function so i'd only need to update one list of suites/tests.
    FlexUnitApplication.mxml is generated automatically when you run FlexUnit4 tests in the Flash Builder 4 Beta 2 IDE.
    This is the build.xml file I'm using in the project:
    http://gist.github.com/208211
    Change the name of the project from "Flare" to whatever and adjust the other path settings where required (though you might want to write this from scratch at least once so you understand roughly what is going on).
    The Debug Flash Player must be installed on the server otherwise you'll get a:
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    ...while it waits for the non-existant debugger to attach. (This is obvious but I did forget and was a bit bewildered for a moment)
    Need to also ensure the environment variable:FLEX_HOME is set to the location you installed the flex sdk...by editing your .bashrc setting the environment variable the in the Hudson Configuration.
    You'll need to point Hudson at your ant installation and your jdk installation. If you downloaded he sdk, be aware you might need to point it to the jdk folder inside the place you installed the sdk.
    And I think that's all the problems I had. Hope it's useful to someone... if anyone who actually knows what they are doing can point out any potential issues/better ways of doing things, feel free to comment.
    Thanks to Brian (legrosb) and Mike (mlabriola) for their assistance!

  • "endpoint" encountered a socket write error.

    Blazesds: 3.0.0.544
    Flex:flex sdk 3
    Sever-side: 1. managing the accepted MessageClient.
    2. broadcasting the received message to every client.
    3. all the communication via streaming channel.
    After several about 20 clients connected to the server, a warning message popped out.
    'Endpoint with id'my-streaming-amf' is closing the streaming connection to FlexClient with id'xxxx' because endpoint encountered a socket write error, possibly due to an unreponsive FlexClient.
    Actually, nobody closed the client.
    My question is when the session was destroyed.
    a. no session timeout, caused the channel was lasted for about 2 seconds before it was interrupted.
    b. all the test was done in the inner network(LAN).
    c. this issue can be reproduced all the time.

    This is the warning that is at a point being given:
    Endpoint with id 'xxx-streaming-amf' is closing the streaming connection to FlexClient with id '3CFBFCA1-DC1D-FEDF-A70D-A08A520892CF' because endpoint encountered a socket write error, possibly due to an unresponsive FlexClient.
    Tried debugging things, but it seems as certain clients fail to completely subscribe to messages from the server and the Login remote call also seems to never even get to the server. Because of this, the loading dialog that is displayed during the authentication process, never gets removed ( since no reseponse from the server ever comes back ). This is really frustrating and there is no information anywhere that could shed some light on this problem.

  • Socket read error: connection reset by peer

    Hi.
    Has anybody experienced the error message �Socket read error: connection reset by peer�
    Please see below for detailed information.
    Appreciate your help
    Regards
    RT
    Enviroment specification
    Server: HP/UX 11.00 64-bit, Oracle RDBMS 8.1.6.0.0 64-bit
    2 firewalls between client and db.
    Client:
    Win 2000,
    SP3,
    Oracle Client 8.1.7.0.0 ,JDBC OCI (thin JDBC driver,class12.zip)
    JDK 1.3
    JRUN3.0
    The TCP protocol is being used in the communication
    Error messages
    Web Users receive:           Socket read error: connection reset by peer
    Trace files on the sever:      Read unexpected EOF ERROR on 18.
    Explanation: The error in the server sqlnet trace file, suggests that a client connection has terminated abnormally, i.e. client machine powered off, a cable removed or a network connection aborted without warning. No user has complained of such a problem and there is no client trace with an error.
    The problem
    The users of the java web application, experiencing an exception almost once or twice a day.
    The JRUN web-server reports broken connections to the db and client are receiving "connection reset by peer".
    At the moment when the errors occurs the users just have to wait a while(2-10 min) and then they can use the web application again.(no action is taken)
    This problem can not be reproduced. The problem happens only occasionally when the network is under heavy load and new DB connection is being created.
    The application
    The java web-application uses a customized connection pooling against the database. This pool is shared among all the users of the website. whenever a user process needs to fetch data from the database, a free connection from this pool is allocated. The application is testing if the connection is valid before making a transaction (select '1' from dual). When the error occurs a ORA-3113 end-of-file on communication channel is returned to the application.
    The path between the client and db involves at least two firewalls. The firewalls are opened for sql*net traffic. The network group can tell that enquiries from the app.server is not getting feedback from the db. They have not however, identified if the enquiries are reaching the db-srever, or if they are stopped earlier in the network.
    Around 1000 users, are using other applications which uses dedicated sqlnet connections against the db and they have not experienced any problems.
    Issues considered
    Connection pooling
    It is a customized connection pooling, developed by Lindorff developers.
    I have read through the source code for the connection pooling and it does the job as it should, and in case of bad connection, it tries to create a new connection.
    The log file shows that the call to the method DriverManager.getConnection() hangs until the server goes down, which is probably because of the fact that the method DriverManager.setLoginTimeout(), does not take effect and timeout value is Zero. ( According to oracle , Oracle JDBC does not support login timeouts and calling the static DriverManager.setLoginTimeout() method will have no effect).
    Firewall
    One thing to consider is when the firewall may decide to shut down the socket due to long inactivity of a connection. This will cause problems to JDBC Connection Pool because the pool is not aware of this disconnection at the TCP/IP level; until someone checks out the connection from the pool and tries to use it. The user will get a Socket read error: connection reset by peer.
    Jrun timeout paramter is less than the firewall�s timeout so the firewall will not close a connection before Jrun does.
    Number of processes the DB can handle
    Processes parameter is 1300, , they have not experienced the Oracle error msg �max # of processes reached�.
    Port redirection through a firewall:
    Since the firewall has a sql net proxy Port redirection through a firewall is not a problem. Problems with port redirection only appear at connect time, but in this situation the connections fail long after the connection is established.
    The network group
    The network people who investigaged the problem at Lindorff report that there are a significant amount of "dropped packages" between the database server and the jdbc client (web-application) 24 hrs. The reason for this is "unknown established TCP packet" which means that the firewall does not consider these packages to be part of an already established session. The network group believes this happen because one of the hosts send a RESET or FIN signal which the firewall have noticed but are not received by the other host.
    It seems like the firewall are dropping packages bacause of "Unknown
    established TCP packet" from both the JDBC client and the TNSLISTENER on the database server. The dropped packages are SQL*Net v2 traffic so clearly Oracle products are involved

    Presumably something is working.
    Thus the problem is not with your code. At least not the database part that you have control over.
    That error occurs when the other side closes the socket. Presumably you are catching lost connection exceptions and trying to restore it.

  • Why do i keep getting the "internet connection timeout" error message?

    i have been upgrading a few standard itunes albums to itunes plus versions through my 3g mobile broadband connection, while not exactly a fast process, it was working fine until i started to get a backlog of 3 or 4 albums which were waiting in a queue to be downloaded, now every time i do the "check for downloads" option i get the "internet connection timed out" error message...this has been going on for 2 days! am i right in suspecting the backlog of albums is too much for my 3g mobile broadband connection? this is really doing my head in, if any of you techies could help me, it'd be much appreciated...?

    yes i have recently updated to itunes 8.2.1, but i am starting to think its apple's servers (i tried to download at my brothers house...different computer and connection...same connection timeout error), because it will still let me download an album, but not necessarily all of the tracks. when i questioned itunes customer services about the seemingly hit and miss state of affairs with downloading, they told me to wait 3 weeks before trying to download the tracks that were giving me the grief (2 tracks from an arctic monkeys album)...which kinda indicates they know there is a problem and are trying to fix it, why else would they say wait 3 wks??? they gave me 5 free music tracks too, which is handy.

  • Getting timeout error while executing my report

    Hi experts,
    I need to get data from a Ztable which is having more than 64 millions of records. That query itself is taking more than 20 min to execute. I have used package size while retrieving tha data but still taking same time to execute, Giving me the TIMEOUT error .
    Provide some suggetions to use different types of SELECT quries that can be used to improve the performance.
    Thanks & Regards,
    Bhanu

    Hi ,
    I am working as an abaper for Service Management module.
    I need to show the prmise details inthe output of alv. Before that i need to get the meter reading details and need to do some calculations, by which i need to show idle one (Here only i need to hit a ZTABLE which is having more than 64 million records). For that idle premise user can select multiple pemises by using check boxes and can create notification by pressing a pushbutton 'CREATE IS NOTIFICATION' which exist on the application toolbar . So i can not run this report in background.
    Thanks & regards,
    Bhanu.

Maybe you are looking for

  • Windows 7 Clean installation

    Hello all, Just got my new (and first) laptop. An X200 Tablet. It came with windows Vista - 32BIT. Since I'm using 4GB RAM, I want to upgrade to windows 7 64BIT. There are many "Lenovo" applications, features and capabilities I want to keep on the ta

  • Best practice for credentials over the net?

    I'm developing an AIR app which requests information about a user's account from a webserver. Currently in the air app, I get the user to input the same username and password they use on the website. I md5 the password and send it to my server where

  • Hyperlink weirdness in iWeb 1.1.2

    I'm having a strange issue (well, at least I think it is) and am hoping someone might know what I'm doing wrong or why it won't work. On my main/home page, my background image is one jpeg consisting of 9 squares of art (3 across x 3 rows). Before, I

  • Weblogic.security.SecurityInitializationException: Authentication for user

    Folks, I've newly installed Weblogic server on my home laptop. I can't startup the weblogic server. Errors are Now, I know the location of the boot.properties file the server accesses, because if I delete and restart the server it asks for userid/pas

  • AME in Purchasing

    Hello I wanted to know is it possible to define the approval flow in the Purchasing using AME. Actually we have a scenario when an PO notification is sent to an approver and if that approver is terminated or on a long vacation system should automatic