FlexUnit ant - running tests that make server calls

Hi,
I am using BlazeDS in my project to connect to a Tomcat server. I have configured my services in the services-config.xml file and passed the location of the file as an argument to the compiler in Flash Builder.
I have a few unit tests that make asynchronous server calls. When I run these tests from within Flash Builder, the tests run fine. But when I run the tests via the flexunit ant task, these tests alone time out while the other tests pass. Also, it does seem like the server is not contacted at all as my log messeges in my server side code are not visible.
I tried passing the path to the services-config.xml file and the context root of the application in the mxmlc ant task that compiles my TestRunner.mxml file:
<mxmlc file="${main.src.loc}/flexUnitTests/TestRunner.mxml" output="${bin.loc}/TestRunner.swf">
<library-path dir="${lib.loc}" append="true">
<include name="*.swc" />
</library-path>
<source-path path-element="${basedir}/src" />
<source-path path-element="${basedir}/locale/{locale}" />
<compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
<compiler.headless-server>true</compiler.headless-server>
<compiler.services>C:\myApp\Source\WebServer\WebContent\WEB-INF\flex\services-config.xml</ compiler.services>
<compiler.context-root>myApp</compiler.context-root>
</mxmlc>
No use. My tests still time out. Here is my flexUnit task:
<target name="test" depends="compile">
<!-- Execute FlexUnit tests and publish reports -->
<flexunit
swf="${bin.loc}/TestRunner.swf"
workingDir="${bin.loc}"
toDir="${report.loc}"
haltonfailure="false"
verbose="true"
localTrusted="true"
headless="${headless}">
  <source dir="${basedir}/locale/{locale}" >
     <include name="*.properties" />
  </source>
<library dir="${lib.loc}" />
</flexunit>
I guess I am missing somthing - a way to tell ant about the location of my server or something like that. Please help!
Thanks in advance.
Manoj

Thanks for the reply Michael. Here is the code that describes my channel in services-config.xml:
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
Should I be passing the server.port and server.name keys somehow?
Thanks.
Manoj

Similar Messages

  • Calling a C# DLL in Labview that makes a call to another DLL

    I have a set of DLLs created with C# that I am calling in Labview.  They all work fine using the .NET functions except for one DLL that makes a call to another DLL created in C. It returns an error.  Any ideas why this wouldn't work?  All DLLs are located in the same Windows directory.

    It should be discernable (by looking at the C# code) whether the C DLL needs to be registered.
    If the DLL is serving COM objects it may need to be registered at a command-prompt with
    regsvr32 <your_DLL_File_path>
    If it's supplying .NET assemblies, I think it needs to be registered with
    regasm <your_DLL_File_path>
    Although I've written a few C DLLs, none were called from a C# DLL and I can't advise what subtle things to watch-out for in this scenario.
    Do you have a way to validate/exercise the C DLL's functionality? Is it possible to through-together a C# application (not a C# DLL) that successfully uses the C DLL?
    Luck/Cheers!
    Message Edited by tbd on 12-03-2008 02:36 AM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

  • Will running games that make the fan run loudly and the computer heat up damage my machine?

    On my Macbook Air running Yosemite 10.10.3, with 4 GB RAM, 251 GB storage (170 GB free), a 1.6 GHz Intel Core i5 processor, and Intel HD 6000 1536 MB graphics card, when I play games such as Batman Arkham City, I experience very smooth gameplay with high fps. The only thing that worries me is when I play, the laptop heats up very much and the fan runs pretty loudly. Even with old, less intensive games like GTA SA, the computer gets pretty hot and the fan runs loudly. Is this damaging the computer, or can I continue to play these games?
    Thanks.

    Yes you can continue to play games but heat is the bane of electronics and in time there will be a cost.  When is hard to say, but I can put it this way, a fan running constantly at high speed is more likely to fail sooner than one at a slower speed.
    Ciao.

  • My iphone 4 was updated to iOS 5, after update it heat up when you run application and when you call and touchscreen is not working well.

    Can someone please help me to trouble shoot my iPhone 4, where I have updated to iOS 5, and after the update, it started to heat when you run an application, make a call and the touch screen really got so crazy especially on the right part of the screen. It really upsets me updating it to iOS 5. Please I need support on this. Thank you.

    in your iTunes go to Store>Sign out ; then go to Store>Log in and log in under your old Apple ID
    Sync while logged on under the old ID, and everything purchased under that ID will sync.
    Cheers!

  • Executable created in LabVIEW 7.1 containing Call Library Function Node runs but creates error when Call Library Function Node is executed

    I have created a simplee application that controls a piece of equipment with all control via a supplied dll.  Hence, there are a number of Call Library Function Nodes within the code and a modicum of other LabVIEW code.  Everything works fine as a LabVIEW application, but when converted to an executable, although the application runs and functions, as soon as any Call Library Function Node is executed, calling from the dll, I get the C++ debug error in the attachment.
    Is this something that I can solve from within LabVIEW, or is the problem likely buried in the dll?
    Damian
    Attachments:
    CLFN error.JPG ‏22 KB

    Hi Wise,
    Try building an executable from a very simple VI that makes one call to the dll. Have you also try using the Call Library Function node on other simple dlls that you know will work?
    Regards,
    Stanley Hu
    National Instruments
    Applications Engineering
    http://www.ni.com/support

  • Error OCCURRED: Failed to connect to LiveCycle server via RMI. Make sure that the server is running

    I have installed LifeCycle trial version .
    and trying to convert pdf to rtf
    using following initialization
    Properties connectionProps = new Properties();
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
    //Create a ServiceClientFactory instance
    ServiceClientFactory factory = ServiceClientFactory.createInstance(connectionProps);
    but i am getting error like following though i have started jboss which is inside lifecycle folder by run.bat
    ERROR IS:Error OCCURRED: Failed to connect to LiveCycle server via RMI. Make sure that the server is running and accessible to this client.

    May be you could use "netstat" or other tools like "ActivePorts" to ensure that ports established are correct.
    Also try if jnp://127.0.0.1:1099 works or not, if ports are correct.

  • Flexunit ant task on CI Server - rundll32.exe causing problems

    My team is using flexunit and a CI server running Hudson. On a development system, everything runs fine, and we get the reports just like we need them. It also works fine on the CI server when just the flexunit task is run, but the build fails when the CI server tries to run a full build - the build tries to run the tests and clean to prepare for the next build, but the clean fails because there is a "rundll32.exe" process using one of the files and it can't be deleted. We tracked this process down to the one run by the flexunit task.
    Our task is:
        <target name="xci-test" depends="set-flex-coverage-home, prepare-domain-metadata-to-war, prepare-sounds-to-war, prepare-domain-metadata-for-testing, compile-unit-test-flex">
            <echo>**** The flexunit target requires that you have the standalone flash player installed and configured to run .swf files automatically! ****</echo>
            <mkdir dir="${dir.flexgui.test.output}"/>
        <!-- Execute TestRunner.swf as FlexUnit tests and publish reports -->
        <!-- Please see http://docs.flexunit.org/index.php?title=Ant_Task -->
        <flexunit workingDir="${dir.flexgui.test.output}"   
                  swf="${dir.flexgui.build.war}/${flex.swf.name}test.swf"
                  toDir="${dir.flexgui.test.output}"
                  haltonfailure="false" verbose="true" localTrusted="true"
                                port="11028" timeout="40000"/>
            <!-- Generate readable JUnit-style reports -->
            <junitreport todir="${dir.flexgui.test.output}">
                <fileset dir="${dir.flexgui.test.output}">
                    <include name="TEST-*.xml"/>
                </fileset>
                <report format="frames" todir="${dir.flexgui.test.output}/"/>
            </junitreport>
            <sleep seconds="10"/>
        </target>
    I can reproduce this behavior on my dev machine by running "ant xci-test clean". We tried putting a sleep in to give the process time to shut down, no change. We attempted to use the 'command' option to the flexunit task to bypass the use of rundll32.exe, but then the flash player just hangs onto the file and the clean still fails. Since "ant xci-test" followed by "ant clean" works, we also tried running ant from within ant in order to force the process to stop, but that also didn't work. Any help on this would be greatly appreciated.
    Thanks for your time,
    Linden

    @Linden - Have not heard of this side effect from anyone as of yet, but good to know.  Sounds like the file lock is coming from the Flash Player and causing the spawning process (rundll32.exe) to hang around as well.  The FlexUnit team runs on Hudson using the FlexUnit Ant task, but we don't seem to encounter the same issue.  What's the longest interval you've tried to use with the sleep task?  Does the FP ever release its handle to the test SWF on your development machines?
    Not sure this is a problem with the FlexUnit Ant task, but in 4.2 we could try to explicitly kill the rundll32 process since we'll have the PID when the task launches it.  Head on over to JIRA and file a feature request for us and I'll see what I can do in the new year.  In the short term though, maybe try upgrading your version of the stand alone debug flash player to see if that helps.  Has anyone else seen this issue?  Could you possible just move the clean target to be called before the xci-test target is run?  Just some suggestions.
    -Brian

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Java.lang.NullPointerException running flexunit ant task in 4.1 Beta 2

    Hello,
    After trying to debug this all day, I thought I would ask the community.
    I am trying out the new FU4.1 Beta 2 (3.5) from the downloads page.  We have a working CI system set up with 4.0, and I thought trying out 4.1 beta 2 would simply be a matter of replacing the binaries in my lib folder and re-running the ant script.  Evidently not, or else I am missing something.
    After updating to the 4.1 Beta 2 binaries, if I re-run a sample project in Eclipse, the build fails with a java NullPointerException when the <flexunit> ant task is invoked. We have an involved setup that uses the groovy AntBuilder and other esoteric constructs, so I thought I would create a very simple test script similar to the sample CI project to see if that would work.  Unfortunately, I am still seeing the NPE.  The worst part is that there is absolutely no debug information provided - no message, no traceback.  I even attached the Ant source and debugged it. I could see the NPE being caught, but it contained a null message and null traceback.
    Here is the simplified ant script:
    <project name="tests" basedir=".">
        <target name="test-init" depends="">
            <mkdir dir="${build.dir}"/>
            <mkdir dir="${reports.dir}"/>
            <mkdir dir="${reports.xml}"/>
            <mkdir dir="${reports.html}"/>
            <!-- Setup Flex and FlexUnit ant tasks -->
            <!-- You can set this directly so mxmlc will work correctly, or set
            <taskdef resource="flexUnitTasks.tasks" classpath="${lib}/flexUnitTasks-4.1.0-beta2.18.jar" />
        </target>
        <target name="run-flex-tests" depends="test-init">
          <sequential>
            <!-- Execute TestRunner.swf as FlexUnit tests and publish reports -->
            <flexunit
                swf="${build.dir}/TestRunner.swf"
                toDir="${reports.xml}"
                haltonfailure="false"
                verbose="true"
                localTrusted="true"
                timeout="60000"/>
            <!-- Generate readable JUnit-style reports -->
            <junitreport todir="${reports.xml}">
                <fileset dir="${reports.xml}">
                    <include name="TEST-*.xml" />
                </fileset>
                <report format="frames" todir="${reports.html}" />
            </junitreport>
          </sequential>   
        </target>
    </project>
    The output is:
    Buildfile: C:\EclipseWorkspace\tests\Source\Flex\build_test.xml
    test-init:
    run-flex-tests:
    [flexunit] Validating task attributes ...
    BUILD FAILED
    C:\EclipseWorkspace\tests\Source\Flex\build_test.xml:23: java.lang.NullPointerException
    Total time: 297 milliseconds
    Is there something obvious I am missing?
    Thanks for any help!
    Trevor

    Brian,
    OK, a colleague worked with me (thanks, John!) to debug the problem a little further, and I think we found the fundamental problem.  I wanted to post that info to save you some time...
    Aside: One thing we did have to do was to rebuild the flexUnitTasks.jar to include debug information, since the binary in the 4.1 beta 2 package did not have debug=true.  I'd suggest that we might want to change the build script to build the binaries with debug moving forward.
    Back to the problem.
    The NullPointerException is thrown in TaskConfiguration::validateSharedProperties(), when equals() is invoked. Here is the code snippet:
       //if we can't find the FLEX_HOME and we're using ADL or compilation
       if((flexHome == null || !flexHome.exists()) && (testRunConfiguration.getPlayer().equals("air") || shouldCompile()))
          throw new BuildException("Please specify, or verify the location for, the FLEX_HOME property.  "
                + "It is required when testing with 'air' as the player or when using the 'testSource' element.  "
                + "It should point to the installation directory for a Flex SDK.");
    In my case, I do not have a FLEX_HOME property set in Ant currently.  I'll bet most folks have this set, so the logic would run differently for them. For my case, the (flexHome == null) check is true.  That means that the testRunConfiguration.getPlayer().equals("air")check will occur next, and here is the problem. The "player" member is not set in the testRunConfiguration yet at this point, so testRunConfiguration.getPlayer() returns null. testRunConfiguration.setPlayer() is called in generateDefaults().  But generateDefaults() is not called until after validateSharedProperties() is called.  So, if properties initialization could be improved here and I think this code will run more robustly.
    I can work-around my issue temporarily by just setting a FLEX_HOME property in Ant.  But I hope you will agree that the initialization issue with "player" still should be addressed. Would you like me to open a bug report, or is this thread enough?
    Thanks,
    Trevor

  • I would like to uninstall or otherwise safely remove any applications that make my MB Pro run slowly.

    I would like to uninstall or otherwise safely remove any applications that make my MB Pro run slowly. I will have to keep a few apps such as CrossWeb and Veraport due to having to use secure banking and government websites in Korea. I also need the LogMeIn app to access a server in the USA, but I realise that some people recommend getting rid of it.
    I tried but apparently have been unsuccessful in removing a McAfee VirusScan application completely. I can still see some files in the HD Library. Any ideas here on how to safely uninstall/remove?
    Also any suggestions on how to get rid of my incompatible virtualbox? I think it's 4.0.4.
    Also, if you see anything else I should uninstall/remove from the EtreCheck below, by all means please make suggestions.
    Thanks so much for your help, suggestions, and advice!
    Hardware Information:
        MacBook Pro (15-inch, Mid 2010)
        MacBook Pro - model: MacBookPro6,2
        1 2.53 GHz Intel Core i5 CPU: 2 cores
        4 GB RAM
    Video Information:
        Intel HD Graphics - VRAM: 288 MB
        NVIDIA GeForce GT 330M - VRAM: 256 MB
    System Software:
        OS X 10.9.2 (13C1021) - Uptime: 0 days 1:55:49
    Disk Information:
        ST9500325ASG disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted>: 209.7 MB
            Macintosh HD (disk0s2) / [Startup]: 499.25 GB (295.55 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        MATSHITADVD-R   UJ-898 
    USB Information:
        Apple Internal Memory Card Reader
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. Built-in iSight
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
    Gatekeeper:
        Anywhere
    Kernel Extensions:
        [not loaded]    com.cisco.cscotun (1.0) Support
        [kext loaded]    com.logmein.hamachi (1.0) Support
        [kext loaded]    org.virtualbox.kext.VBoxDrv (4.0.4) Support
        [not loaded]    org.virtualbox.kext.VBoxNetAdp (4.0.4) Support
        [not loaded]    org.virtualbox.kext.VBoxNetFlt (4.0.4) Support
        [kext loaded]    org.virtualbox.kext.VBoxUSB (4.0.4) Support
    Startup Items:
        KeyAccess: Path: /Library/StartupItems/KeyAccess
        VirtualBox: Path: /Library/StartupItems/VirtualBox
    Launch Daemons:
        [failed]    com.adobe.fpsaud.plist Support
        [loaded]    com.adobe.SwitchBoard.plist Support
        [running]    com.cisco.anyconnect.vpnagentd.plist Support
        [loaded]    com.google.keystone.daemon.plist Support
        [running]    com.logmein.hamachi.plist Support
        [running]    com.sassafras.KeyAccess.plist Support
        [loaded]    com.tunnelbear.mac.tbeard.plist Support
    Launch Agents:
        [not loaded]    com.adobe.AAM.Updater-1.0.plist Support
        [loaded]    com.cisco.anyconnect.gui.plist Support
        [loaded]    com.google.keystone.agent.plist Support
        [running]    com.logmein.hamachimb.plist Support
        [loaded]    com.sassafras.KeyAccess.plist Support
    User Launch Agents:
        [loaded]    com.adobe.AAM.Updater-1.0.plist Support
        [loaded]    com.adobe.ARM.[...].plist Support
        [loaded]    com.adobe.ARM.[...].plist Support
        [running]    com.spotify.webhelper.plist Support
        [not loaded]    org.virtualbox.vboxwebsrv.plist Support
    User Login Items:
        GrowlHelperApp
        GrowlHelperApp
        iTunesHelper
        SuperDrive Update 2.1
        Google Drive
        Dropbox
        DaumLiveAgent
        KeyAccess
    Internet Plug-ins:
        npCrossWebPlugin: Version: 1.0 - SDK 10.5 Support
        o1dbrowserplugin: Version: 5.3.1.18536 Support
        Google Earth Web Plug-in: Version: 6.1 Support
        Default Browser: Version: 537 - SDK 10.9
        Flip4Mac WMV Plugin: Version: 2.4.1.4 Support
        OfficeLiveBrowserPlugin: Version: 12.3.6 Support
        RealPlayer Plugin: Version: (null) Support
        AdobePDFViewerNPAPI: Version: 10.1.10 Support
        FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
        DivXBrowserPlugin: Version: 2.0 Support
        Silverlight: Version: 5.1.20913.0 - SDK 10.6 Support
        Flash Player: Version: 13.0.0.214 - SDK 10.6 Support
        iPhotoPhotocast: Version: 7.0
        googletalkbrowserplugin: Version: 5.3.1.18536 Support
        QuickTime Plugin: Version: 7.7.3
        AdobePDFViewer: Version: 10.1.10 Support
        Veraport: Version: 1.1.0.2 - SDK 10.7 Support
        JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Audio Plug-ins:
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 2.0 - SDK 10.9
        AppleAVBAudio: Version: 203.2 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
        Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes:
        DivX  Support
        Flash Player  Support
        Flip4Mac WMV  Support
        Growl  Support
        KeyAccess  Support
        Symantec\nQuickMenu  Support
    Time Machine:
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
            Macintosh HD: Disk size: 464.96 GB Disk used: 189.71 GB
        Destinations:
            Data [Network] (Last used)
            Total size: 2 
            Total number of backups: 30
            Oldest backup: 2012-08-12 07:49:57 +0000
            Last backup: 2014-05-05 04:48:48 +0000
            Size of backup disk: Excellent
                Backup size 2  > (Disk size 464.96 GB X 3)
        Time Machine details may not be accurate.
        All volumes being backed up may not be listed.
    Top Processes by CPU:
             3%    WindowServer
             0%    fontd
             0%    PluginProcess
             0%    Google Drive
             0%    com.apple.WebKit.Networking
    Top Processes by Memory:
        188 MB    com.apple.IconServicesAgent
        143 MB    Finder
        143 MB    mds_stores
        102 MB    Safari
        98 MB    WindowServer
    Virtual Memory Information:
        53 MB    Free RAM
        1.55 GB    Active RAM
        1.50 GB    Inactive RAM
        787 MB    Wired RAM
        537 MB    Page-ins
        316 KB    Page-outs

    You have so much junk, and I doubt that you know how to uninstall it.
    It's up to you what you do, I know what I would do  (but then I wouldn't stuff my Mac with junk in the first place)
    Good luck.

  • Windows Server 2012 Foundation, in a Workgroup - "The server did not finish checking the license compliance. If the server is joined to a domain, make sure that the server can connect to a domain controller"...

    Every few days we see two dialogs with the following messages:
    Dialog 1, title: Check for Licensing Compliance is Incomplete
    The server did not finish checking the license compliance. If the server is joined to a domain, make sure that the server can connect to a domain controller.
    Dialog 2, title: Check for Licensing Compliance is Incomplete
    The server did not finish checking the license compliance. If the server is joined to a domain, make sure that the server can connect to a domain controller. If the license compliance check cannot be completed, the server will automatically shut
    down in 8 day(s) 23 hour(s) 0 minute(s).
    The server is not (and never has been) joined to a domain or had any DC roles installed. In fact its still connected to the default Workgroup.
    The server was configured in our office and never showed this message until it was installed on site. The main difference from what I can see is that when installed on site it was given a static IP address and does not have any DNS settings in the network
    adapter properties. 
    I have scoured a number of forums on this error but in almost every other instance of this error message the servers are connected to a Domain Controller and the solutions generally are linked to dis-joining and rejoining the domain. Unfortunately this is
    not an option for this scenario.
    I initially thought that adding some relevant DNS server IP address may resolve the issue, however, we have the exact same model server configured exactly the same running at a different site that does not experience this problem. This server also has no
    DNS server configured.
    I have seen a post that suggests turning off the servers "Foundation Checking", but I'm unsure how to do this.

    Thanks for your response Vivian.
    I can confirm that this server is not (and never has been) a member of any active directory, it is configured as a Workgroup server. It was initially configured on a network that does have an active directory, but was never joined to it. During that time it
    never displayed these messages.
    The server was moved into production on a different site and network and setup with a static IP address.The site network does have its own active directory but the server was not joined to it. It is whilst on this new network that these messages began.
    Since my original post DNS servers have been added and the Microsoft activation has been verified, however, the messages are still appearing.
    There are only 2 user accounts configured on this server. The local admin account and another local admin user.
    The remote desktop services roles have been installed but not yet configured. I don't think that has any bearing on this scenario though.
    The description of this error in the above "Introduction to Windows Server 2012 Foundation" link states:
    This error occurs when the server cannot finish checking the requirements for the root domain, forest trust configuration, or both. It usually happens when the server cannot connect to a domain controller. If the situation persists, the server will
    shut down 10 days after the first time the compliance check failed. Each time this error message occurs, it will state the actual time remaining before the server will shut down. If you restart the server after it has shut down because of non-compliance, the
    server will shut itself down again in 3 days.
    The above description leads me to the following question - In a Workgroup environment, does the server still try to contact a domain controller to establish a level of trust? If this is the case could it be that the server can no longer see the initial DC
    on its new network and this is what is triggering the messages?
    Am I clutching at straws here?

  • [svn] 1590: Updating WebService RPC tests that previously used external endpoints at whitemesa . net to now use internal endpoints accessed through Tomcat server on localhost :8400/qa-regress/axis/services/{SERVICE_NAME}?wsdl

    Revision: 1590
    Author: [email protected]
    Date: 2008-05-07 08:49:22 -0700 (Wed, 07 May 2008)
    Log Message:
    Updating WebService RPC tests that previously used external endpoints at whitemesa.net to now use internal endpoints accessed through Tomcat server on localhost:8400/qa-regress/axis/services/{SERVICE_NAME}?wsdl
    Endpoints built from Axis SOAPBuilder tests in Perforce's /depot/axis/xml-axis/java/tests/
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/server-config.wsdd
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/web.xml
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/flexunit/src/tests/flexunit/wscl/int erop/SOAPBuilderRound3Import1_WhiteMesaTest.as
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/flexunit/src/tests/flexunit/wscl/int erop/SOAPBuilderRound3Import3_WhiteMesaTest.as
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/flexunit/src/tests/flexunit/wscl/int erop/SOAPBuilderRound3RPCEncoded.as
    Added Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/lib/
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/lib/javax_mail.jar
    blazeds/branches/3.0.x/qa/apps/qa-regress/WEB-INF/lib/qa-services-wm.jar
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/flexunit/src/tests/flexunit/wscl/int erop/SOAPBuilderRound3Compound1.as

  • Hi can anyone help me im using my iphone to make a call to a number that has been changed two days ago but it automatically says 'called failed' why? please help!

    hi can anyone help me im using my iphone to make a call to a number that has been changed two days ago but it automatically says 'called failed' why? please help!

    Here's a nifty agorithm to fill an array of primes, using a forever loop with a labeled continue statement, from Horton's Beginining Java:public class MorePrimes
      public static void main(String[] args)
        long[] primes = new long[20];    // Array to store primes
        primes[0] = 2;                   // Seed the first prime
        primes[1] = 3;                   // and the second
        int count = 2;                   // Count of primes found - up to now,
                                         // which is also the array index
        long number = 5;                 // Next integer to be tested
        outer:
        for( ; count < primes.length; number += 2)
          // The maximum divisor we need to try is square root of number
          long limit = (long)Math.ceil(Math.sqrt((double)number));
          // Divide by all the primes we have up to limit
          for(int i = 1; i < count && primes[i] <= limit; i++)
            if(number%primes[i] == 0)             // Is it an exact divisor?
              continue outer;              // yes, try the next number
          primes[count++] = number;               // We got one!
        for(int i=0; i < primes.length; i++)
          System.out.println(primes); // Output all the primes

  • My iPhone 4 microphone that handles standard voice/sound cannot pick-up sound unless the speakerphone, or a headset is used to make/receive calls the other end caller cannot hear me. Any Suggestions? This seems to be common on forums.

    My iPhone 4 microphone that handles standard voice/sound cannot pick-up sound unless the speakerphone, or a headset is used to make/receive calls the other end caller cannot hear me. Any Suggestions? This seems to be common on forums. Thank You

    Same issue on my wife's iPhone 4S. I suspect it is related to the recent 6.1.2 iOS update (Note: I have a 3S and the update did not cause any issues).
    I've tested both bottom and top mics on the 4S using video recorder and both mics work fine. Speakerphone and headset during calls also work fine. The issue is only related to the bottom mic while making calls. I can hear the caller but the caller cannot hear me. If I hold the mic very close to my mouth, the caller can hear a very low level signal.
    The problem appears to be software related, not hardware.

  • Run e-tester from a server and have staff remotely update scripts

    Can we run the floating e-tester from a server and have staff remotely access the server to run and update scripts instead of installing the client on everyone's workstation?

    Original Question:
    Can we run the floating e-tester from a server and have staff remotely access the server to run and update scripts instead of installing the client on everyone's workstation?
    There are different alternatives to consider and different ways to answer the question.
    1) You can run e-Tester with a floating license from a server and have people to use remote desktop to run and create scripts.
    Pros:
    * Multiple users can be updating scripts in the server at the same time.
    * There is no need to install e-Tester in any other computer.
    Cons:
    * If the max number of floating licenses is reached no other person can open another instance of e-Tester.
    * Having multiple people running scripts in the Job scheduler will create conflicts therefore is not recommended. Running multiple instances of e-Tester manually shouldn't cause problems, but it is a slow way to do regression testing. The job scheduler can run a script after another without user intervention. Teamwork can be affected if the default settings are changed by different users.
    * Running thru remote desktop(or any other remote tool such as vnc) is slower than having etester in the computer. The refresh rate of the screen tends to be slower.
    * If multiple users are using the server resources at the same time it can slow down the work of others. The server can run out of memory or it will be slow because the CPU running near max capacity.
    2) You can run eTester with a node lock license from a server and have people to use remote desktop to run and create scripts.
    Pros:
    * Multiple users can be updating scripts in the server at the same time.
    * There is no need to install eTester in any other computer.
    * Only one license is required.
    Cons:
    * Having multiple people running scripts in the Job scheduler will create conflicts therefore is not recommended. Running multiple instances of etester manually shouldn't cause problems, but it is a slow way to do regression testing. The job scheduler can run a script after another without user intervention. Teamwork can be affected if the default settings are changed by different users.
    * Running thru remote desktop(or any other remote tool such as vnc) is slower than having etester in the computer. The refresh rate of the screen tends to be slower.
    * If multiple users are using the server resources at the same time it can slow down the work of others. The server can run out of memory or it will be slow because the CPU running near max capacity.
    Notes:
    1) Having eTester installed in each individual's computer will allow the person to run tests with no worries about conflicts of server resources or job schedules trying to start an etester instance. Installing etester is a one time thing that takes in general less than 10 minutes.
    2) Instead of sharing the server resources you can share the place where the scripts reside. You can place the scripts in a central location and and configure etester to read the scripts from there. Instructions on how to do this should be in the knowledge base (if not please let me know)(Don't be lazy Zuriel, paste the link here).
    3) You can consider to have eManager Enterprise if you want to have better organization of the scripts. In eManager Enterprise you can relate your test cases to your scripts, you can run the scripts from a central location, it is less limited for scheduling scripts than the JobScheduler, and it can be accessed from anywhere inside the company with a web browser (for security reasons requires username and password). eManager Enterprise doesn't have the ability to create or update scripts, it uses scripts that were created in eTester already.
    eManager can also create schedules conflicts if multiple runs are attempted. There are ways to deal with this situation by having multiple computers to run the tests. (Please post in another thread if more information is necessary).
    I hope this helps.
    Regards,
    Zuriel

Maybe you are looking for