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!

Similar Messages

  • Help with Flex Ant build.xml error

    So I've started on a new project and I'm new to Flex. A lot of learning curve here. Anyway, I'm trying to deploy a project that uses flex and is built with Ant. We've moving up from a version of Flex 2 to Flex 3. The build file works fine in the Flex 2 app but for some reason does not seem to be working with Flex 3. I'm hoping someone can give me some insight on what might be wrong or where to start.
    The error is Command not found: compc
    The part of the build file it has a problem with is:
    <compc include-classes="${classes}"
         ouput="${flex.dist.dir}/${flex.app.name}.swc"
         keep-generated-actionscript="false"
         headless-server="${headless.server}"
         incremental="true">
    <load_config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
    <source-path path-element="${FLEX_HOME}/frameworks" />
    <source-path path-element="${flex.app.root}" />
    <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
         <include name="libs" />
         <include name="../bundles/{local}" />
    </compiler.library-path>
    <compiler.library-path dir="${flex.app.root}" appent="true">
         <include name="libs" />
    </compiler.library-path>
    </compc>
    Any help at all would be greatly appreciated, thank you.

    Sorry, I meant to address that. Yes, since we've moved up to the Flex 3 sdk, we are pointing at a new directory. The old directory was flex_sdk and the new directory is flex_sdk_340.
    FLEX_HOME is being set in the build.properties file for local building and then overidden in the build.xml file with this code:
    <target name="build">
         <available property="FLEX_HOME" value="/apps/flex_sdk_340" file="/apps/flex_sdk_340" />
         <echo>FLEX_HOME = ${FLEX_HOME}</echo>
         <antcall target="compile" />
    </target>
    I did notice a warning about not using the available property, so I removed it and just changed what FLEX_HOME was set to in the build.properties file to the server directory. Would mess up local building but regardless it didn't matter because it had no effect on the error being generated. I alos looked a little into the file property of the available tag trying to figure out if that was somehow an issue but I wasn't able to come to any conclusion.
    Before the program errors out, it does displayt he echo statement and the value of FLEX_HOME appears to be correct in that it does show /apps/flex_sdk_340.
    Thank you so much for your continued help. This is truly frustrating because nothing but a directory name has really changed and yet it stopped working. I can't find any information anywhere on what could be wrong and this is really my last resort.

  • Help with running Ant

    In a quest to teach myself all about Java Servlets, I'm currently working my way through The Java Web Services Tutorial. However, I have become stuck as I try the command:
    ant build
    I recieve this message:
    Exception in thread 'main' java.lang.NoClassDefFoundError: and
    I don't know what is wrong. I have been throught the setting up steps 3 times and cant find any errors.
    What tests can I do to isolate the error?
    I really need help on this, I can't continue with learning until ant is working.
    Thank-you,
    Paul
    PS. When I'm checking my PATH variables in XP, I find it very annoying. When editing them, I can only use the very small input box provided. Is there any other way to edit them?

    crostar:
    If you run "java" from the command line, it will use the first java.exe found on the %PATH% variable (win os). Double check that the java.exe doesn't exist earlier in the %PATH%. Also, I've made the mistake where my environment variables aren't up to date because I opened a command window and then changing environment variables via the control panel.
    AliaAtreides:
    You'll need to post the full exception in order for others to determine what might be wrong. More specifically, we need to see the exception in order to determine what class can't be found.
    Also, make sure to set the JAVA_HOME and JWSDP_HOME environment variables. please be careful to note that the examples that came with the java web services dev pack have ant build.xml files that depend upon the jswdp.home variable being set. You'll need to set the variable in either the control panel, or in a separate build.properties file.
    Oh, one more thing, veramkovich's example sets JAVA_HOME to point to 1.4.1 whereas i think you're previous posts implied that you had a different path, 1.3.1

  • [svn] 3680: Modifying ant build.xml to allow for a local. properties for individual developer build config.

    Revision: 3680
    Author: [email protected]
    Date: 2008-10-16 07:58:21 -0700 (Thu, 16 Oct 2008)
    Log Message:
    Modifying ant build.xml to allow for a local.properties for individual developer build config. Also moving ja_JP locale to the other.locales target (this is called during build machine packaging and isn't needed by dev by default).
    QE: No
    Doc: No
    Checkintests: Pass
    Reviewer: Discussed with Jim
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/frameworks/projects/airframework/build.xml
    flex/sdk/trunk/frameworks/projects/framework/build.xml
    flex/sdk/trunk/frameworks/projects/rpc/build.xml

    I tried
    ant deployTestSuites
    this works. If i do that with the wrong domain (dep_cotrol vs dep_me) name it fails with
    ORABPEL-02052Cannot lookup BPEL domain.The BPEL domain "dep_cotrol" cannot be found; the domain may not have initialized properly.Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.
    So i think my config is ok. There is a bug in this ant bpelTest which ignores the domain?

  • Help with connection flash builder 4.5 to remote php database

    help with connection flash builder 4.5 to remote php database

    Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\php5\pear;D:/webserver/apache2/htdocs/ZendFramework/library') in D:\webserver\apache2\htdocs\giga\first-debug\gateway.php on line 27

  • I need help with the conditional build tag option RoboHelp 10

    I need help with the conditional build tag option. I want to apply CBT to content in a topic. I looked at the Help topics and believed that I applied the feature correctly. Howver, it is not working as desired. In the 2nd sentence below I want the text highlighted in blue to only appear for the printed output and the text printed in purple to only appear for the .htm /online output. Please help.
    There are common tasks used to manage the folders in the Navigator and the folders
    in the BBS Folders Viewer Grid. For more information on these common tasks see Help
    and Support in Success Enterprise. click the links below.

    Hi there
    Using tagging is a two part process.
    Part One
    You create and apply the tags to the information you wish to control.
    Part Two
    You create a Build Expression that is used when you generate your output. The Build Expression typically reads something like: NOT Tag1 (or whatever your tag name is)
    Then when you generate and use the Build Expression, the information tagged is not included in the build.
    Cheers... Rick

  • Be grateful for your help with Photoshop Elements which I have been using for several years.

    Be grateful for your help with Photoshop Elements which I have been using for several years.  Does Elements need to have access to ‘My Pictures’ on Windows as when I remove Photos from ‘My Pictures’, Elements later, when backing up, gives a message that it is unable to ‘reconnect’ to the same picture on elements.  On other occasions when removing a photo from Elements catalogue I also get a similar message when backing up saying ‘unable to reconnect’.  1. Is there a relationship between Elements and My Pictures and is Elements dependant on    the Windows ‘My Pictures’? 2. Why does some photos in Elements in some cases cause them to multiply e.g. double; triple; quadruple; and on occasions even more?  Is there something I need to do to stop this or an easy way I can remove the multiples without spending hours doing it manually one by one?  Am I doing something wrong? My O/S is Windows XP SP2 and windows Vista on my Laptop.  I have been using Elements 5 and have just purchased Photoshop Elements 8.0. (Upgrade) and about to install it. Be grateful for any advice as I do enjoy using the program if only I can resolve this issue.  I am not a PC wiz and mainly use Elements to catalogue photos from which I compile collections and from them slide shows with music.  Any advice appreciated Sonny.t PS Have tried to post this previously but without success so hoping to see message appear and a +response

    The organizer doesn't care where you send your photos when you download them via the downloader or where they happen to be when you first bring them in if you use the Get Photos command, but once your pics are in the Organizer, you *must* move them from within organizer or it can't find them. You don't have to use My Pictures at all if you don't want to, but regardless of the folder where you put your photos, if you want them someplace else, you use organizer to do it.

  • How. Can I get help with illegal iTunes charges on my credit card,for things I did not order. Chuck

    How can I get help with illegal iTunes charges on my credit card for things I did not order. chuck

    Same answer as last times you asked the same question:
    iTunes adding charges to my credit card fog things I did not order. What can I do about it. Chuck

  • Installing Solaris 7 - timeout waiting for ARP/RARP packet

    I'm attempting to install Solaris 7 on and E250. I'm using HyperTerminal connection via a null modem cable. I boot up the server and I see various harware init processes echoed to the terminal and then I receive this error: Timeout waiting for ARP/RARP packet
    I have connected the nic card to a network connection.
    any help would be appreciated.
    Steve

    This is because you HAVE a network connection. You can resolve this with 1 of the following 2 methods:
    A:
    disconnect the network cable and reconnect when the installation process gets to the prompt for hostname.
    B:
    1. Get to the OK prompt
    2. setenv diag-device disk
    3. reset

  • Timeout waiting for Oracle WebLogic Server v10.3 at localhost to start

    I am trying to run .portal file using "Run on server" option in Workshop for weblogic.
    After doing this, its trying to start the server Oracle weblogic server v10.3 at localhost and then publish my module.
    Server view status shows as "State" as "Starting" and "Status" as "Synchronizing". When status reaches 82% it gets stopped there for a long time, and when 83% comes up, I can see the "State" as "Stopped" and "Status" as "Republish". And then an error window with title as "Problem Occured" and contents saying, Starting server- Oracle weblogic server v10.3 at localhost (Time of error: ...) Details >> Timeout waiting for Oracle WebLogic Server v10.3 at localhost to start. Server did not start after 480s.
    But the console tab (when I give the startup & Deployment option as "Launch Weblogic server in eclipse console) shows,
    <Sep 8, 2011 6:15:03 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    e changed to STARTING> (final step alone I pasted)
    Before this I can see, WLS Start mode = Development, setting Classpath ,
    <Sep 8, 2011 5:56:36 PM IST> <Notice> <Log Management> <BEA-170019> <The server
    log file C:\bea\user_projects\domains\myPortalDomain\servers\AdminServer\logs\Ad
    minServer.log is opened. All server side log events will be written to this file
    .>
    When I checked Adminserver file its having,
    <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1315487671986> <BEA-160151> <Registered library Extension-Name: wlp-groupspace-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0.1 (EAR).>
    And many more similar entries...
    Also there is Adminserver.logxxx file which is having,
    ####<Sep 8, 2011 5:33:58 PM IST> <Warning> <JDBC> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1315483438048> <BEA-001129> <Received exception while creating connection for pool "portalDataSourceNeverXA": SQL-server rejected establishment of SQL-connection. Pointbase Server may not be running on localhost at port 9093.>
    ####<Sep 8, 2011 5:33:58 PM IST> <Info> <JDBC> <CINTNCHEOLY0GX7> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1315483438267> <BEA-001156> <Stack trace associated with message 001129 follows:
    java.sql.SQLException: SQL-server rejected establishment of SQL-connection. Pointbase Server may not be running on localhost at port 9093.
         at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown Source)
         at com.pointbase.net.netJDBCConnection.a(Unknown Source)
         at com.pointbase.net.netJDBCConnection.<init>(Unknown Source)
         at com.pointbase.net.netJDBCDriver.getConnection(DashoA10*..:170)
         at com.pointbase.net.netJDBCDriver.connect(DashoA10*..:94)
         at com.pointbase.jdbc.jdbcUniversalDriver.getConnection(Unknown Source)
         at com.pointbase.jdbc.jdbcUniversalDriver.connect(Unknown Source)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:316)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:217)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
         at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2282)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    And many more entries like the above...
    I even tried startup & Deployment option as "Start weblogic server in Expressmode" and still same error I am getting and this time instead of in eclipse console, I can see command prompt and here also showing "Server state changed to STARTING"
    FYI, I created domain with runtime JRocket 1.6.0_05.
    I even tried to clean build the portal project and publish using clean option. Still same problem coming :(
    FYI, my system is having 1 GB RAM only and bit slow. Could this be a problem or something else? Please suggest.
    Thanks in advance.
    Edited by: gopikrish on Sep 8, 2011 6:20 AM

    Hi Gopikrish
    The root cause for your error is, it is not able to start the Pointbase database. Looks like you configured a domain with default pointbase database. In the domain\bin\ one of the starup scripts like startWeblogic.cmd, you should see some lines that start the pointbase database.
    java.sql.SQLException: SQL-server rejected establishment of SQL-connection. Pointbase Server may not be running on localhost at port 9093
    Instead of starting from Workshop, go to the domain root folder and start the weblogic using the command like startWeblogic.cmd (or .sh on unix). This should start the pointbase and then start the portal domain. Portal domain does need this backend pointbase database to store all the portal meta data and has datasources configured for this.
    Do you have a Clustered Portal domain, with one of the managed servers located in the remote machine. If yes, and if you use default Pointbase database, you need to change something like pointbase db should not be localhost but the name of the machine where you have the admin server running.
    Either way, the issue is not able to stat the pointbase db and thus serve not starting.
    Thanks
    Ravi Jegga

  • Timeout waiting for ARP/RARP packet

    Does anyone know how to get to the ok prompt when the message, Timeout waiting for ARP/RARP packet is repeating over and over on the screen. I tried hitting stop + a but there was no response. Could this be a problem with my keyboard. Are there any other ways to to stop the message, Timeout waiting for ARP/RARP packet and get to the ok prompt? Thank you.

    Hi
    You have not indicated if you are using a Framebuffer
    card/Monitor and Sun keyboard as the console or a Serial port for the same.
    If using Sun keyboard, switch off the system, hold the
    stop and N keys together and poweron the system. Hold
    the keys down till you get the display. A stop + A then surely should take you to OK prompt since Stop and N reset the OK prompt to factory default.
    If using a serial port as console, try " Cntrl + Break". That should do it...
    HTH
    Shridhar

  • 451 4.7.0 Timeout waiting for client input

    My organization is running Small Business Server 2008 with Exchange.  After installing Exchange users reported not reciveing emails from Comcast and a few other domains.  Looking at the logs, domains including gmail and comcast are unable to deliver email to our Exchange mailboxes.  They receive an error message like the following.
    Technical details of temporary failure:
    Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 451 451 4.7.0 Timeout waiting for client input (state 18).
    Other domains send just fine. Any ideas what is causing the 451 4.7.0 connection timeout error message?  The following is an example SMTPReceive log.
    2009-06-08T23:15:11.964Z,,+,,
    2009-06-08T23:15:11.964Z,,SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions
    2009-06-08T23:15:11.964Z,,"220 remote.domain.com Microsoft ESMTP MAIL Service ready at Mon, 8 Jun 2009 16:15:11 -0700",
    2009-06-08T23:15:12.027Z,,<,EHLO smtp3.mail.com,
    2009-06-08T23:15:12.027Z,,250-remote.domain.com Hello [123.12.123.123],
    2009-06-08T23:15:12.027Z,,250-SIZE 10485760,
    2009-06-08T23:15:12.027Z,,250-PIPELINING,
    2009-06-08T23:15:12.027Z,,>,250-DSN,
    2009-06-08T23:15:12.027Z,,>,250-ENHANCEDSTATUSCODES,
    2009-06-08T23:15:12.027Z,,>,250-STARTTLS,
    2009-06-08T23:15:12.027Z,,>,250-AUTH,
    2009-06-08T23:15:12.027Z,,>,250-8BITMIME,
    2009-06-08T23:15:12.027Z,,>,250-BINARYMIME,
    2009-06-08T23:15:12.027Z,,>,250 CHUNKING,
    2009-06-08T23:15:12.105Z,,<,STARTTLS,
    2009-06-08T23:15:12.105Z,,>,220 2.0.0 SMTP server ready,
    2009-06-08T23:15:12.105Z,,*,,Sending certificate
    2009-06-08T23:15:12.105Z,,*,CN=remote.domain.com,Certificate subject
    2009-06-08T23:15:12.105Z,,*,CN=ecf-DOMAINSERVER-CA,Certificate issuer name
    2009-06-08T23:15:12.105Z,,*,,Certificate serial number
    2009-06-08T23:15:12.105Z,DOMAIN\Windows SBS Internet Receive DOMAIN,,20,,*,,Certificate thumbprint
    2009-06-08T23:15:12.105Z,DOMAIN\Windows SBS Internet Receive DOMAIN,,21,,,*,remote.domain.com;domain.com;DOMAIN.local,Certificate alternate names
    2009-06-08T23:15:12.355Z,,EHLO smtp3.mail.com,
    2009-06-08T23:15:12.355Z,,250-remote.domain.com Hello [123.12.123.123],
    2009-06-08T23:15:12.355Z,,250-SIZE 10485760,
    2009-06-08T23:15:12.355Z,,250-PIPELINING,
    2009-06-08T23:15:12.355Z,,250-DSN,
    2009-06-08T23:15:12.355Z,,250-ENHANCEDSTATUSCODES,
    2009-06-08T23:15:12.355Z,,250-AUTH,
    2009-06-08T23:15:12.355Z,,250-8BITMIME,
    2009-06-08T23:15:12.355Z,,>,250-BINARYMIME,
    2009-06-08T23:15:12.355Z,,>,250 CHUNKING,
    2009-06-08T23:15:12.433Z,,<,MAIL From:<[email protected]> SIZE=52018,
    2009-06-08T23:15:12.433Z,DOMAIN\Windows SBS Internet Receive DOMAIN,,,,,,,receiving message
    2009-06-08T23:15:12.433Z,,250 2.1.0 Sender OK,
    2009-06-08T23:15:12.496Z,,RCPT To:<[email protected]>,
    2009-06-08T23:15:12.496Z,,250 2.1.5 Recipient OK,
    2009-06-08T23:15:12.496Z,,DATA,
    2009-06-08T23:15:12.496Z,,354 Start mail input; end with <CRLF>.<CRLF>,
    2009-06-08T23:15:20.277Z,,451 4.7.0 Timeout waiting for client input,
    2009-06-08T23:15:20.277Z,,,Local
    2009-06-08T23:16:03.276Z,,451 4.7.0 Timeout waiting for client input,
    2009-06-08T23:16:03.276Z,,,Local

    I had a similar issue with fortigate firewall. I could not able to resolve this issue with fortigate. Fortunately I had a Cisco PIX firewall in my stock. Eventhough it is not a best practise I have replaced the fortigate firewall with Cisco PIX mail flow
    started perfectly without any issues.
    If any fortigate experts are seeing this forum please suggest what has to be done for solving this issue.
    I have escalated this case to fortigate and they resolved the issue by executing the following commands on the fortigate firewall.
    set tcp-mss-sender1452
    set tcp-mss-receiver1452
    Santhosh Sivaraman MCITP: Microsoft Exchange Server 2007/2010 | MCSE/MCSA

  • Timeout waiting for ARP/RARP packets

    I am installing Solaris 8 for the first time on an Ultra 5. It has a network card and attached to my 10mbps Hub which is connected to Cable Modem. Problem: While the system was rebooting after the install, the system generated the error trying to link up to the Hub (timeout waiting for ARP/RARP packets). During the install I chose "non-networked" because I could not answer the other questions such IP address name Service etc..
    I want to set it up as a server so that I can use 2 other PCs to access the Oracle, mail and other stuff that would eventually run on it.
    What do I do?
    Renald

    Typically the message "waiting for ARP/RARP packet" will only be generated when no other boot device is available or net is set as the primary boot device. First thing to do is check your env settings to ensure that boot-device = disk net. Second, to reenable network support to the system the easiest way is to do a sys-unconfig and enter the requested information. You need to have the following information available. Hostname, IP address, subnet mask, Name service (if any), Name service settings (name and IP address of server). Some of the information may be available from your ISP on what exact address`s you should be using. Since the message came up and if the boot-device setting is correct I would check the connection to the hard disk.
    Lane

  • Cannot get a connection, pool error Timeout waiting for idle object

    my connection pool setting is
      maxActive="3" minIdle="2"                maxWait="10000"              removeAbandoed="true" logAbandoned="true"         removeAbandonedTimeout="30"         autoreconnection="true" 
    we have 7 people hitting the group of search functions ,
    about 3 minutes I get
    I got error like
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object         at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:104)         at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)         at Deferment.showResult.checStudent(showResult.java:135)         at Deferment.showResult.doPost(showResult.java:99)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)         at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I just wonder
    1) Cannot get a connection, pool error Timeout waiting for idle object-> cause by connection pool leaking or other problem.
    2) Setting the maxactive to -1 ( suggestion from Google) , if I set my connection to ulimit , waht should I put on minIdle="2"
    3) How can I test my connection pool have problem or not ? is
    SHOW PROCESSLIST; tolding me someinformation? I use Mysql
    Thank you!

    I try something like ps2 = conn.prepareStatement(target);
                ps2.setString(1, UNumber); // set input parameter
                rs = ps2.executeQuery();
                sendMail = 0;//how many rows we can find.
                while (rs.next()) {
                    sendMail++;
                ps2.close();
                rs.close();
                conn.close();
      if ((count1 == 0) || (count2 == 0)) {
                    conn.rollback();
                } else {
                    conn.commit();
                    conn.setAutoCommit(true);
                ps.close();
                calstat2.close();
                conn.close();
    calstat = (CallableStatement) conn.prepareCall("{call findStudent}");
                calstat.executeQuery();
                calstat.close();
                conn.close();is that enought? what else I should do to make sure I did close all the connection, after I use it ?
    thank you

  • Timeout waiting for ARP/RARP stack underflow

    My U60 running solaris 10 crashed, and all I see on the screen is this:
    Timeout waiting for ARP/RARP stack underflow
    What does it mean?

    Looks like its trying to boot from the network, gets an IP address but then fails loading its kernel from tftp..
    Break it and try "boot disk" from the OBP.
    7/M.

Maybe you are looking for

  • Error in foreign currency valuation.

    POSTING TO G/L ACCOUNTS WITH OPEN ITEM MANAGEMENT ARE NOT PERMITTED AND ACCOUNT 113170 1000 IS BLOCKED FOR POSTING IN DISPLAY LOG I CAN SEE THESE ERRORS , HOW  TO OVERCOME THESE ERRORS ADVICE ME FRIENDS THANKING U

  • How to use bounding theme with jdbc theme

    Hello I'm using oracle maps javascript API to locate geometry with jdbc theme based foi, so how to use bounding theme with jdbc theme? Give me help, thanks.

  • Osx boots up but "hangs" at desktop screen

    I recently upgraded osx to 10.5 about 4 weeks ago without any issues. Until today where I boot up my machine, boot up gets past the apple logo but once the desktop screen is loaded the machine gets stuck. None of my folders are visible on the screen

  • Can I use my Ipod photo 4th gen charger with the 120gb classic?

    My new 120gb classic will arrive shortly, I notice Apple don't include chargers anymore. Will the mains charger I got with my old 60gb ipod photo also work with the new classic or do I have to buy a new one? I notice the charger on sale via the apple

  • Factura electrónica

    Colegas, Alguien de ustedes me podría decir cómo configurar la factura electrónica que trae el parche 17?. Saludos!