Command-line SSL test in WLS6.1

With Weblogic 6.0, I used to be able to test if SSL
was working on the command-line by using this
command:
java –Dssl.debug weblogic.Admin -username name -password pw -url
https://localhost:7002 PING
This used to work fine.
But now with WLS 6.1, the weblogic.Admin command
refuses the protocol https and the port 7002. There's
probably a bug. It's giving me an error:
Failed to connect to http://localhost:7001 due to:
[java.net.ConnectException: No server found at HTTP://localhost:7001]
These commands work fine though:
java weblogic.Admin -username name -password pw -url t3://localhost:7001
PING
java weblogic.Admin -username name -password pw -url localhost PING
How else would you test SSL on the command-line?
Don't tell me "write a utility", cuz none of my clients
will want to do that. I have to find something
that is ready to use out-of-the-box.
Thanks a lot!
Emmanuel

This works perfectly!
java -Dssl.debug=true
-Dweblogic.security.SSL.ignoreHostnameVerification=true weblogic.Admin
-username name -password pwd -url t3s://localhost:7002 PING
BTW, I forgot to turn on the tunneling, so that's why
accessing with http didn't work. (By default tunneling
is off, so only t3 works for weblogic.Admin.)
Thanks a lot, I'll be using this.
Emmanuel
Bernhard Hollunder wrote:
Emmanuel Proulx wrote:
With Weblogic 6.0, I used to be able to test if SSL
was working on the command-line by using this
command:
java –Dssl.debug weblogic.Admin -username name -password pw -url
https://localhost:7002 PING
This used to work fine.
But now with WLS 6.1, the weblogic.Admin command
refuses the protocol https and the port 7002. There's
probably a bug. It's giving me an error:
Failed to connect to http://localhost:7001 due to:
[java.net.ConnectException: No server found at HTTP://localhost:7001]
The solution to your problem is rather simple:
Just use -Dweblogic.security.SSL.ignoreHostnameVerification=true
Best regards
Bernhard
ArcStyler - award-winning J2EE/EJB development
-> CyberOne Award 2001
-> Crossroads A-List Excellence Award 2001
-> IBM Solution Excellence Award
-> European Information Society Technologies Prize 2001
-> Free trial-version at http://www.ArcStyler.com
------ < iO > ---------------------------------------------------
Interactive Objects Software GmbH
Dr. Bernhard Hollunder
Basler Str. 65
79100 Freiburg, Germany
Tel: [+49]-761-40073-41, Fax: [+49]-761-40073-73
mailto:[email protected]
http://www.io-software.com

Similar Messages

  • Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    If I understand correctly, you want to do the following:
    1. Create one or more tab-delimited files that specify a series of query strings (that LabVIEW will send to your products) and expected reply strings (that LabVIEW will look for in response to each query)
    2. Run your LabVIEW program (the test engine) and have it execute one or more test scripts from file using either TCP/IP or serial communication to your units under test
    3. Track how many of the queries are met with the expected response, and output an indication of whether each step passed or failed
    If this is close to correct, then I've attached a sample test file and LabVIEW VI as an example; I chose the TCP/telnet method because it allowed me to use the ni.com Web site to simulate my tes
    t hardware. If you happen to own the LabVIEW Internet Toolkit, there's a VI called "Telnet Play Script" in the Telnet palette that does something fairly similar using TCP. The same general model would also work for Serial communications.
    Hope it helps,
    John Lum
    Attachments:
    test_engine.zip ‏24 KB

  • Advice on constructi​ng a test engine and formatting a spreadshee​t test file to perform command line interface testing on a product through telnet or serial interface

    Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.

    Hello j. smith,
    TestStand gives you the ability to create "sequence files" which are lists of tests to be run sequentially or in parallel. These tests can be written in any language: LabVIEW VIs, C/C++ DLLs, EXEs, ActiveX objects, .NET Assemblies, etc.
    You can run your TestStand sequence files from a command-line prompt using the following syntax:
    \bin\SeqEdit.exe" /quit -run
    This will launch the TestStand Sequence Editor (and optionally prompt you for TestStand login information if you have this configured), run your sequence file, then exit.
    If you're using the TestStand process model, it can output your results to a report file or database if you configure this. To use a TestStand process mo
    del to execute your sequence file, use the following syntax:
    \bin\SeqEdit.exe" /quit -runEntryPoint
    Here's an example:
    C:\>"C:\Program Files\National Instruments\TestStand 3.0\bin\SeqEdit.exe" /quit -runEntryPoint "Single Pass" "C:\Program Files\National Instruments\TestStand 3.0\Examples\Demo\C\computer.seq"
    Note that multiple sequences and sequence files can be specified on the command line.
    TestStand supports remote sequence execution using DCOM (Distributed COM), which is an east way to remotely execute tests. But as for running tests or commands through a telnet or serial interface, you would have need to check Windows documentation on how to execute command-line remotely like this.
    David Mc.
    NI Applications Engineer

  • Command-line Regression Tester

    Hello:
    I am using the command-line regression testing tool in OPM 10.2 and have a need to parse the resulting XML output file. However, I have noticed that the verbose option does not work when using the XML format of the test reports.  Where might I file a feature request for this tool?  I am currently having to run the tests twice when an error is detected in our Continuous Integration environment: once to detect test failures using the XML output (parsing the text version just seems like it would become much too brittle), and if failures are detected, another run simply to see the output of the failures.  Can anyone point me to someone who may be open to hearing about these types of issues?  Please see below examples of the outputs both with the verbose argument...
    Thanks in advance!
    -Ryan Connolly
    XML:
    <testsuite failures="0" errors="6" tests="12" skipped="0" time="0" name="ReferenceApp_Eligibility.xprj">
    <testcase time="0" name="citizenship - citizen condition A">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="citizenship - qualified alien condition A">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="citizenship - alien barred for 5 years Condition B">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="citizenship - person meets citizenship criteria" />
    <testcase time="0" name="citizenship - meets E and not D" />
    <testcase time="0" name="citizenship - condition C Emergency Services">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="eligibleFamilyMembers - ANFCcategoricalRequirementUnder21" />
    <testcase time="0" name="residence - resTest">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="MedicaidChoiceOfCategory - SSI-AABD Requirement-PASS" />
    <testcase time="0" name="MedicaidChoiceOfCategory - SSI-AABD Requirement-FAIL">
    <failure>error</failure>
    </testcase>
    <testcase time="0" name="MedicaidChoiceOfCategory - Person satisfies categorical requirement for ANFC" />
    <testcase time="0" name="HouseholdComp - New Test Case" />
    </testsuite>
    Default:
    RULEBASE: output\ReferenceApp_Eligibility.zip
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\citizenship.tsc
    citizen condition A - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b9@4170_citizenship' in entity 'person'. Test case data belonging to this attribu
    te has been discarded
    qualified alien condition A - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b9@4170_citizenship' in entity 'person'. Test case data belonging to this attribu
    te has been discarded
    alien barred for 5 years Condition B - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b9@4170_citizenship' in entity 'person'. Test case data belonging to this attribu
    te has been discarded
    * Rulebase does not contain attribute 'b26@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    * Rulebase does not contain attribute 'b11@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    * Rulebase does not contain attribute 'b10@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    person meets citizenship criteria - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 4)
    Match (exact match) - Entity: person[person 1], Attribute: b2@4170_citizenship, Expected Value: true, Actual Value: true
    meets E and not D - PASSED (Failed: 0, Matched: 2 exact, 0 threshold, Ignored: 8)
    Match (exact match) - Entity: person[person 1], Attribute: b2@4170_citizenship, Expected Value: true, Actual Value: true
    Match (exact match) - Entity: person[person 2], Attribute: b2@4170_citizenship, Expected Value: true, Actual Value: true
    condition C Emergency Services - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b12@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    * Rulebase does not contain attribute 'b13@4170_citizenship' in entity 'person'. Test case data belonging to this attrib
    ute has been discarded
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\eligibleFamilyMembers.tsc
    ANFCcategoricalRequirementUnder21 - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 2)
    Match (exact match) - Entity: person[person 1], Attribute: b5@Rules_source_medicaidChoiceOfCategory_doc, Expected Value:
    true, Actual Value: true
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\residence.tsc
    resTest - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b12@Rules_source_residence_doc' in entity 'person'. Test case data belonging to t
    his attribute has been discarded
    * Rulebase does not contain attribute 'b16@Rules_source_residence_doc' in entity 'person'. Test case data belonging to t
    his attribute has been discarded
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\MedicaidChoiceOfCategory.tsc
    SSI-AABD Requirement-PASS - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 1)
    Match (exact match) - Entity: person[person 1], Attribute: b1@Rules_source_medicaidChoiceOfCategory_doc, Expected Value:
    true, Actual Value: true
    SSI-AABD Requirement-FAIL - ERROR
    The results for this test case cannot be determined due to the following errors:
    * Rulebase does not contain attribute 'b3@Rules_source_medicaidChoiceOfCategory_doc' in entity 'person'. Test case data
    belonging to this attribute has been discarded
    * Rulebase does not contain attribute 'b4@Rules_source_medicaidChoiceOfCategory_doc' in entity 'person'. Test case data
    belonging to this attribute has been discarded
    Person satisfies categorical requirement for ANFC - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 1)
    Match (exact match) - Entity: person[person 1], Attribute: b5@Rules_source_medicaidChoiceOfCategory_doc, Expected Value:
    true, Actual Value: true
    TEST SCRIPT: C:\Documents and Settings\ryan.connolly\Desktop\TEMP\OPATEST\opa\Test Scripts\HouseholdComp.tsc
    New Test Case - PASSED (Failed: 0, Matched: 1 exact, 0 threshold, Ignored: 0)
    Match (exact match) - Entity: global[global 1], Attribute: b19@Rules_source_caseEligibility_doc, Expected Value: true, A
    ctual Value: true

    Thanks for taking the time to point this out. We'll put it on the list to fix in a future release. (And apologies for the tardy response.)
    Kind regards,
    Davin.

  • How to run ADF command-line test-client on standalone weblogic host

    I have followed the steps to create a test client for the ADF application. In used the following link:
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b25947/bcquerying007.htm
    The above link does not talk about how to setup the environment where the standalone weblogic is installed to be able to run the test client.
    I can run it in the jdeveloper environment.
    I can also run from the command line on the development host, by cut-paste the command from the jdeveloper output log tab.
    I am trying to run this client on the machine where we have a weblogic installed (standalone) for testing. We can run our ADF application from the browser with no issues. We want to automate and run some testing related to the ADF model (non-viewcontroller part) from the command line on this test stage.
    Which/Where are the ADF libraries?
    How can I add our application jar deployed on the weblogic (ear file) to the CLASSPATH?
    What other libraries ADF/Weblogic do I need for the command line test client?
    What am I missing?
    Thanks for any help.
    Edited by: mmunawar on Jul 2, 2011 1:03 PM
    Edited by: mmunawar on Jul 2, 2011 1:04 PM

    create weblogic application server connection from jdeveloper and then Deploy that application through jdeveloper in the weblogic application server and then run it from jdeveloper and see if its working.

  • Error while running ADF-BC Test Suite from command line

    Hi,
    I have created a separate test project containing the Test Suite for the Model componenet of my ADF-BC  application.
    I need to run this test project separately from jmeter.
    The tests run fine from Jdev, But when I package the test project into a jar and try to run from command line, I get the following error:
    java.lang.NoClassDefFoundError: oracle/jbo/ApplicationModule
            at com.oracle.cs.cap.module.applicationModule.ServiceAMFixture.<init>(ServiceAMFixture.java:36)
            at com.oracle.cs.cap.module.applicationModule.ServiceAMFixture.<clinit>(ServiceAMFixture.java:15)
            at com.oracle.cs.cap.module.view.EntitlementReportDurationViewVO.EntitlementReportDurationViewVOTest.<init>(EntitlementReportDurationViewVOTest.java:11)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.junit.internal.runners.JUnit4ClassRunner.createTest(JUnit4ClassRunner.java:72)
            at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:79)
            at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
            at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
            at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
            at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
            at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
            at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
            at org.junit.runners.Suite.access$000(Suite.java:26)
            at org.junit.runners.Suite$1.run(Suite.java:93)
            at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
            at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
            at org.junit.runners.Suite.run(Suite.java:91)
            at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
            at org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:28)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:130)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
            at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
            at org.junit.runner.JUnitCore.main(JUnitCore.java:44)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.ApplicationModule
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 27 more
    The Test project jar is created as ADF Library JAR File with Model.jpr as the dependent project. This takes care of project class dependencies
    All the adf library dependencies are added to the manifest file of the Test Project jar referring to a location lib/ in the jar file directory.
    I tried creating the ApplicationModule using both Configuration class (Configuration.createRootApplicationModule) as well as using the JDBC Connection String but both fail when I run the test cases independently from jmeter.
    Anybody came across such an error? Please help.
    Thanks,
    Sapna

    Hi Timo,
    Im using JDev version 11.1.1.6.0.
    I checked the class path on the jdev console. All the library references are mentioned in the manifest.mf classpath of the test project like below:
    Manifest-Version: 1.0
    Class-Path: lib/identitystore.jar
    lib/adfm.jar
    lib/groovy-all-1.6.3.jar
    lib/adftransactionsdt.jar
    lib/adf-dt-at-rt.jar
    lib/adfdt_common.jar
    lib/adflibrary.jar
    lib/xmlparserv2.jar
    lib/db-ca.jar
    lib/jdev-cm.jar
    lib/ojmisc.jar
    lib/commons-el.jar
    lib/jsp-el-api.jar
    etc...
    So I expect the library references should be resolved looking at the manifest file.
    Another set of entries that I see in the jdev classpath are related to the Model project which is under test.
    -classpath
    D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\.adf;
    D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\Model\classes;
    How do I put these entries into my class path? Will it be sufficient if I add the Model.jar into my test project classpath?
    Thanks,
    Sapna

  • Running FlexUnit tests from command line

    Sorry if that has been posted before: I searched best I could and nothing came up.
    I am interested in building and running my unit tests from the command line so we can add it to a nightly build process.
    I am *very* new to all this: basically I picked up Adobe Flash Builder 4 a month ago and I have done *everything* inside that IDE: writing code, building, testing, running.
    I looked into at least how to build something from the command line, I found this:
    http://help.adobe.com/en_US/flashbuilder/using/WSbde04e3d3e6474c4-59108b2e1215eb9d5e4-8000 .html
    Can't get past this error:
    Buildfile: /Users/dbanks/build_test.xml
    BUILD FAILED
    Target "FlexUnitApplication" does not exist in the project "null".
    Total time: 0 seconds
    Adobe Flash Builder 4:
    An error has occurred. See the log file
    /Users/dbanks/Documents/Adobe Flash Builder 4/.metadata/.log.
    Plus, even if I got this going, I am just building the swf.  I also want to run it and capture the output in some meaningful way that can be read/evaluated/acted on.
    FWIW, the script/xml I am using to try to build:
    build_test.xml:
    <?xml version="1.0"?>
    <project default="main">
        <target name="main">
            <fb.exportReleaseBuild project="NightclubMogul" />
        </target>
    </project>
    execute_build_test.sh:
    WORKSPACE="$HOME/Documents/AdobeFlashBuilder4"
    # works with either FlashBuilder.app or Eclipse.app
    "/Applications/AdobeFlashBuilder4" \
        --launcher.suppressErrors   \
        -noSplash   \
        -application org.eclipse.ant.core.antRunner   \
        -data "$WORKSPACE"    \
        -file "/Users/dbanks/build_test.xml" FlexUnitApplication
    I am not clear what in here is actually supposed to point to where my project lives: it's off in some directory somewhere.  I see that I am pointing to a workspace (Documents/AdobeFlashBuilder4) but when I poke around in there I don't see anything connecting back to the directories where the code lives.
    Any help would be great: getting the tests to build from command line, then getting them to run.

    C:\>sqlplus @myscript
    That would be the easiest variation
    C:\>sqlplus user/passwd@tns_alias @myscript
    would be an often used variation
    And then there is of course the version with parameter passing:
    C:\>sqlplus user/passwd@tns_alias @myscript param1 ... paramx
    Dunno about MSBuild

  • Testing Java Concurrent Program on the command line in Windows

    I'm using the suggestions in:
    http://blogs.oracle.com/xmlpublisher/2007/05/02
    to test my Java concurrent program on the command line. Our production environment is running on Unix. I've been able to test it successfully on the Unix environment from the command line. However, it fails when I try to test it on the Windows command line with the following stack trace:
    Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps
    .jtf.base.resources.FrameworkException: IAS Cache initialization failed
    at oracle.apps.jtf.cache.IASCacheProvider.init(IASCacheProvider.java:225
    at oracle.apps.jtf.cache.CacheManager.activateCache(CacheManager.java:14
    44)
    at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:752)
    at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
    at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
    at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
    at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
    at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
    at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
    at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileSto
    re.java:498)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileS
    tore.java:119)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContex
    t.java:4312)
    at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:
    1171)
    at oracle.apps.fnd.common.Context.setProfileStore(Context.java:970)
    at oracle.apps.fnd.common.Context.setProfileStore(Context.java:952)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :958)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java
    :918)
    at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:752)
    at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
    at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: null
    null
    CacheDefaultConfig.properties (The system cannot find the file specified)
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(Fr
    ameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(Framew
    orkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkExc
    eption.java:249)
    ... 26 more
    Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache n
    ot initialized
    at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(AT
    GCacheMgrDelegateImpl.java:325)
    at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCac
    heFactoryImpl.java:44)
    at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:116
    9)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
    I've put the appsborg2.zip file in my classpath. I've also copied the entire (1 GB) worth of Java .class files for Oracle apps onto my computer and placed it on my classpath. Is there something that prevents me from testing out my Java concurrent program on my Windows machine from the command line?

    i think if u run the ap in the command line then it has to stay open, you could try writing a .bat file then when that is executed it will only open the command line for the program execution (i think)

  • How can I print the test page with the Arabic type from the command line

    Hi,
    I have been trying to make the tool for printing the test page from the command line on the Arabic OS. I used "rundll32 printui dll printuientry" with "/k /n" options. My tool is to print the test page in all OS when pushing the
    button.
    Normally, in the Arabic Windows, the test page is printed with RTL type when printing the test page in the "Devices and Printers". But in my tool, the test page is printed with LTR type. I'm confused because of this result.
    Is it possilbe to print the test page with RTL type when using the "rundll32 printui dll printuientry"? If it is possible, could anyone give me the hint or information for resolving?
    Please check for me.

    Hello,
    Thank you for your post.
    Your issue is out of support range of Test Tools in Visual Studio 2010 and 2012 forum which discusses Visual Studio Test issues.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Testing for more than one command line argument

    Ok im writing a client to access a given server. What i want to happen is to say that if you enter one argument at the command line do this code- if you enter more than one do something else. I cant seem think of how to do this though-ive tried testing if args > 0 but it wont let me do that . Here is the code so far:
    import java.io.*;
    import java.net.*;
    class Whereis2
       public static void main(String args[]) throws Exception
          int c;
          //whois.geektools.com
          Socket s = new Socket("dante.net.dcs.hull.ac.uk",43);
          InputStream in = s.getInputStream();
          OutputStream out = s.getOutputStream();
            String str = args[0] + "\r\n" ;
             // convert string to bytes, unicode to ASCII
             byte buf[] = str.getBytes();
             // send data to server
             out.write(buf) ;
          while ((c = in.read()) != -1)
         System.out.print ((char) c);
          s.close();
    } Basically i want the code written above to happen is you put in one argument-ie Whereis2 Paul for example. But if i put in Whereis2 Paul "In a meeting" I want it to update the server. Can anyone help me to do this?
    Thanks a lot

    And by the way:
    "Where is Paul" (notice the quotation marks) is a single argument with spaces in it.
    Where is Paul (no quotation marks) is three arguments, no spaces.
    PS. Why are you throwing Exception?

  • How to Create Test Sequence Document in HTML using command line

    How to Create Test Sequence Document  in HTML using command line
    I have lot of sequences and I want to create Test Sequence Documentation in HTML format using Command Line automatically, is there a way to automate this task using .bat file or using   C#  .Net

    If you aren't able to figure out how to call a C++ DLL in .net then there may be another option.  Unfortunately I don't know how to do this off the top of my head and I don't have an example.
    The other option would be to change docgen.seq a little bit to the dialog doesn't display and you just hardcode the options.  Then you can use a command line to call testexec.exe: http://zone.ni.com/reference/en-XX/help/370052K-01/tsfundamentals/infotopics/startup_opt/
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Command Line testing

    I've downloaded and installed the latest Java SE SDK, NetBeans, and Eclipse. I'm using Eclipse for most of my work with Java because it's the IDE that's used for my classes at my school. Things work fine with Eclipse, but now I want to do some testing of Java programs run from the command line rather than from the IDE. I open a Command prompt, and when I try to use javac to compile a java program, the Command interpreter can't find it, so there are obviously things that need to be set up in the environment. Java, on the other hand is found and would likely work if I could compile my .java source code into .class code. I had hoped that installing the SDK would set up the proper environment variables, but that's not the case. Can anyone help me with instructions as to how to ready my computer to be able to compile using javac and run using java?

    Google for a Java FAQ or search the Sun website. There are explicit instructions out there that explain how to set up your PATH environment variable.

  • How  to genearte Unit Test reports  through  ANT/Command  line ?

    Hi,
    I am using sql developer unit test feature to test my database code. I am planning to execute and generate reports by running ant script.
    Is it possible to get the unit test results in any format (text,XML,HTML) after running the tests.
    How to integrate report generation tasks as part of Automated builds?
    Is there any command line utility do through can invoke through ant task?
    Thanks,
    Fernando

    Fernando,
    I, too, am looking to run our PL/SQL unit test suites through our automated ant build scripts. Currently, I've only been able to determine that there is a "UtUtil.bat" and "UtUtil.sh" command line utility for win and linux in /sqldeveloper/sqldeveloper/bin. However, it only take three switches:
    UtUtil -run ?
    UtUtil -imp ?
    and
    UtUtil -exp ?
    While this does provide some limited value to us through automating the importing of our exported test suites and then running them as part of our builds, it doesn't help in running reports on the test runs and exporting the reports to something our build processes can consume (i.e. xml).
    Also, we want to be able to run our full db build on (almost) any of our development machines and we don't want to have to have a unit test repository already preconfigured on each development db. I haven't found a utility to automate the creation of the unit test repository user and the repository, and then whena all the test suite runs have finished and the reports run, delete the repository and repository user.
    We have used Quest's Code Tester product in the past and it had all of these great features that I am really hoping Oracle can either implement or expose to us.
    Regards and best of luck,
    Mike Sanchez

  • How to test ODI Agent - using command line / scripts ?

    We can test ODI scheduler Agent from Topology manager, is there a way to test it using command line options / scripts ?

    Go to <ODI_HOME>/oracledi/bin in command prompt and invoke startscen command with teh below parameters.
    Edited by: Guru Sankar on Feb 28, 2011 4:19 PM

  • Run test case from command line

    Hi  All,
    Working environment : VS 2013 professional 
    Project type : Unit test project for (Windows 8.1 and Windows phone 8.1)
    I have a set of unit test cases and want to run it on command line.I tried MSTest.ext and vstest.console.exe for running test case but not succeed.  
    command :  MSTest.exe /testcontainer:path of project dll
    command :  vstest.console.exe path of project dll
    Type of Error
    Error : Unit test case for windows store and windows phone app can't be run outside appcontainer. 
    Error : No tests to execute
    command :  MSTest.exe /testcontainer:path of appx
    command :  vstest.console.exe path of appx
    Error : root certificate error 
    I just want to run windows 8.1 and windows phone 8.1 run test cases from command line.
    Thanks in advance.

    Hi vicky2468,
    Based on your issue, as far as I know that if we want to run unit test for windows store and windows phone app using mstest.exe or vstest.console.exe in command line, you will need to execute the .appx instead of the dll in command line.
    In addition, I tried to run the appx for unit test in command line,
    but I found that I also get the same issue as yours. I could not execute the appx for unit test in command line successfully.  But if we run it with VS IDE in Test
    Explorer windows, it seems that it works fine.
    So I suggest you can submit a feedback for this issue, to get the issue confirmed and diagnose by product team, would you please create connect report for it? You will get email notification for update.
    http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx
    When you submit the connect, I suggest you can provide your project for product team so that product team will
    be better help you solve this issue.
    If you submit it, please share me the link here, I will help you vote it. I think we could get the latest information
    from the product team experts. Of course, if I get any latest useful information, I will update it here.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Getting an error in business partner

    Hi Can anyone while doing a outbound delivery throuh VL02N getting erooro Business partner 1000 is marked for deletion.

  • Mail for Exchange v2.5.5 out

    Available at usual place: http://businesssoftware.nokia.com/mail_for_exchange_downloads.php

  • About putting conenction object in session

    Hi, iam having an application with jsps.i need to connect databse multiple times.so far iam doing in this way..the first time when i connect to database then iam putting that connetion object in session and using whereve i require..but i have i doubt

  • Catch a JBO-26041 error on insert, but continue processing

    re-post: Does anyone know if this is possible? I'm creating new rows in a ViewObject within a loop. It's possible that the record that I'm trying to create already exists, so I want to catch a JBO-26041 error and basically ignore it (don't insert/cre

  • BI Content: AC Neilsen Integrated Syndicated Data Analysis

    Has anyone used the BI Content for ACNeilsen Syndicated Data?  We are interested in the 2 data targets provided in BC, 0CP_SLSC3 (ACNeilsen Syndicated Data Analysis) and 0CP_SLSC2 (ACNeilsen Syndicated Data Integration).  Can you provide any insight