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.

Similar Messages

  • How to run a command line argument

    i want to run a command line argument, say for eg......i want to execute the "dir" command on the dos prompt and capture the output.
    how can i do this.
    actually i want to capture the output of the ping command and write it to a file. can any body plsssssss help

    This command runs a ping to "address" and writes the output back to the command line. To capture it, just put strings into an array or do whatever you want with it. If you want to wait until the program completes before reading its input, use p.waitFor().
    Process p = Runtime.getRuntime().exec("ping " + address);
    BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String currLine = null;
    while((currLine = in.readLine()) != null)
      System.out.println("ping: " + currLine);
    [/code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to run a command line window from code?

    In an application I need to run a dll file with a few arguements. These arguements can be given in the command line window. The execution of the dll file will return a string that i need to get (for the parsing etc).
    1. How can I open a command line window from the Java code?
    2. How to run commands on it?
    3. How to get the results of the commands from the command line into my program?

    In an application I need to run a dll file with a few
    arguements. These arguements can be given in the
    command line window. The execution of the dll file
    will return a string that i need to get (for the
    parsing etc).
    A dll is used by other programs. It is not possible to run it from the command line.

  • How to run zonecfg command-line to add device in postinstall script?

    I want to assign a tape drive in non-global zone in postinstall script. I can run zonecfg with a command-file, but don't know how to run zonecfg to add device in a whole command-line.
    The command-line fails to run:
    # zonecfg -z sun1 add device set match=/dev/rmt/173b
    syntax error at 'set'
    Commands:
    add <resource-type>
    (global scope)
    add <property-name> <property-value>
    (resource scope)
    cancel
    commit
    create [-F] [ -b | -t <template> ]
    delete [-F]
    end
    exit [-F]
    export [-f output-file]
    help [commands] [syntax] [usage] [<command-name>]
    info [<resource-type> [property-name=property-value]*]
    remove <resource-type> { <property-name>=<property-value> }
    (global scope)
    remove <property-name>=<property-value>
    (resource scope)
    revert [-F]
    select <resource-type> { <property-name>=<property-value> }
    set <property-name>=<property-value>
    verify
    Thanks for your help!

    Quote the parameters and embed the newlines:
    zonecfg -z sun1 'add device
    set match=/dev/rmt/0
    end'

  • How to run using command line in oracle9i

    Hi there...I would like to know how do you a program using the command line in oracle9i JDeveloper...coz my program is processing the input typed from the user.How do you run in oracle9i Jdeveloper.

    errr Typed input would be done by typing in the console window...provided your java is waiting for keyboard input.
    If you mean as commandline parameter, then you need to modify your runtime configuration for the project.

  • How to run a command line for every folder in a share

    I'm trying to use Robocopy to merge two user home directories shares from two different servers to a new server, but the only problem is that I can't use the /purge to mirror deletes because it will delete the other servers stuff (since one server's stuff
    doesn't exist on the other one currently).
    But I'm thinking if someone I could enumerate the folder names from the users$ share on each server, and add it to both path statements in the commands below, i could add purge since then it would be running individually per user folder, rather than at the
    user level below.
    robocopy "\\CurrentServer1\users$" "F:\Users" /E /B /COPY:DATSOU /R:1 /W:1 /MT /LOG:"C:\RobocopyLogs\MirrorUsers1.txt"
    robocopy "\\CurrentServer2\users$" "F:\Users" /E /B /COPY:DATSOU /R:1 /W:1 /MT /LOG:"C:\RobocopyLogs\MirrorUsers2.txt
    What I'm hoping is that there's some scripting genius out there who could tell me how to use a batch or vbscript to save a LOT of time.  If not, I'm doing this all by hand for hundreds of users :(
    Thanks in advance for any help you can provide.

    Mike and Bill are right on with your approach however, to show you why your code is not working I removed all "Smart Quotes" in favor of the following.
    Refrain from commenting every line.  It makes the script impossible to follow.
    $hostname='hostname'
    $migrationdata='c:\migrate\IPDATA.txt'
    $ip=Select-String -Path C:\migrate\IPDATA.txt -Pattern $hostname
    $ip = $ip.Substring(35)
    $ip = $ip.Trim()
    $dns='10.10.1.10','10.10.1.11'
    $gateway='10.10.4.1'
    $netmask='255.255.252.0'
    $dnsdomain='new.domain.local'
    $msg='We will be using the following information for the new IP stack Hostname:{0}, IP address {1} Default Gateway: {2} DNS Servers: {4} DNS Suffix: {5}'
    Write-Output ($msg -f $hostname,$Ip,$Gateway,$DNS,$DNSdomain)
    $Config=Read-Host 'Please press enter if this is correct, and we will apply this configuration. or CTRL-C to exit'
    #configure the Ip stack
    $Interface = Get-WmiObject win32_networkadapterconfiguration -filter 'IPEnabled=True'
    $Interface.EnableStatic($ip, $netmask)
    $Interface.SetGateways($Gateway, 1)
    $Interface.SetDNSServerSearchOrder($dns)
    $Interface.SetDNSDomain($dnsdomain)
    $Interface.SetDynamicDNSRegistration($true)
    #Show the user the new IP configuration
    ipconfig /allcompartments /all
    $Config = Read-Host 'We have reconfigured the NIC. Does the IP configuration for the "Local Area Connection" look right? Press enter to continue to join the domain, or CTRL-C to exit'
    Use sample white space to make code readable.
    Much of this code does not make sense.  You should be using DHCP to set all workstations and most servers with the exception of Domain Controllers.
    It will be faster to do this with PowerShell since you do not know batch.  Your attempt is not even close.
    ¯\_(ツ)_/¯

  • How to create command line java client

    I have a java servlet FileClient.java and am invoking it thru POST method from the html file. How can I create command line java client so that I can execute this class file from windows command prompt.
    e.g. java FileClient <argument>
    TIA

    > .. there's also a "won't work".
    I could post a sample...I know that you can instantiate and call aservlet,
    or even write your own servlet container - butit's
    still a local instance. He can't invoke his remote
    servlet by calling its class on the client like he
    suggested.HttpURLConnection in main.Only if his Servlet has a main method. Which wouldn't really make it a servlet anymore.
    OP said he wants to invoke it from command-line using
    java -cp . TheServletClass
    He said he has a servlet called FileClient. And he can't invoke a servlet directly that way, without building a wrapper that starts it, making it more than a servlet, and it definitely won't execute on the server. That's my whole point. I never wanted to say you can't write a command-line program that invokes a servlet on a remote server. I do it myself after all.
    I guess I should have expressed myself more clearly.

  • How To Parse The Command Line?

    Hello,dear. When I writing a C/S mode application,which performing download and upload files between the FTP server and the clients, I encountered the problem of parsing the command line.
    I intend to download file from the server side ,using this following format ,which is composed by four arguments:
    ftp>receive server's IPaddress portnumber filename
    The problem is I don't know how to parse the command line and store them to some objects and using it.
    I'm right here waiting for the nice problem-shooter.
    Thanks for reading my poor expression.

    In your console application main class
    public static void main(String[] args)
    // code
    args is a sting array with the command
    line itemsI think you missed the point or forgot the ":-)". This is the "Socket", not the "New to Java" forum.

  • Unable to get command line from client!

    Does anyone know what this means? My G5 shuts itself down and I don't know what is causing it.
    Mac OS X Version 10.4.11 (Build 8S165)
    2009-02-12 11:01:19 -0800
    2009-02-12 11:01:21.760 SystemUIServer[199] lang is:en
    Feb 12 11:01:33 mDNSResponder: NAT Port Mapping (LLQ event port.): timeout
    Feb 12 11:01:37 cups-lpd[221]: Unable to get command line from client!
    Feb 12 11:10:48 Zelle-Olson cups-lpd[233]: Unable to get command line from client!
    Feb 12 11:17:37 cups-lpd[235]: Unable to get command line from client!

    Hello golferky,
    CUPS stands for Common Unix Printing System and is just one of the many background processes that is running on your system and is of no harm. What you are seeing in your message console is your Mac attempting to talk to a printer you have may have had or still have it connected to.
    Here is more information if you want to look into it.
    http://www.cups.org/
    B-rock

  • Error while running the SAP JCO java program running via command line

    Hi,
        We are facing an issue while using SAP JCO. When i try to run the sample program using RAD 8.0 ( IBM IDE tool For Java Development) its working fine.
    The same sample program if i try to run using command line, Then its giving below exception message.
    Exception in thread "main" java.lang.NoClassDefFoundError: Integration
    NOTE: I have configured proper sapjco jar & Dll files path in class path settings in my batch file.

    Hi,
    class loader can't find class definition during runtime but it could find it during compilation. So the problem is with your classpath. Does your classpath point to file with class Integration? Check this [blog|http://javarevisited.blogspot.com.au/2011/06/noclassdeffounderror-exception-in.html].
    Cheers
    Added reference to blog.

  • How to execute unix command line from cocoa?

    how to execute unix command line from cocoa?
    for example, if I want to call "ping" from cocoa, how should I do it? and how can I obtain the return value?
    thank you.
    Power G5 Quad Mac OS X (10.4.3)

    The following article may also help:
    http://cocoadevcentral.com/articles/000025.php
    Mihalis.
    Dual G5 @ 2GHz   Mac OS X (10.4.6)  

  • Running a command line in Java

    Dear all,
    I have a question, I need to run a command line in a Java program. The commands line is the next:
    cas.exe -i file1
    I have been seeing in internet and I have tried:
    Process ls_proc = Runtime.getRuntime().exec("cmd /c start D:\\cas>cas.exe -i file1");
    it start the window where the cas folder is... but it dont run the commands line : cass.exe -i file1 :(
    Somebody can help me, please??
    Andrea

    try running it like this.
    Process ls_proc = Runtime.getRuntime().exec("cmd /c start D:\\cas>cas.exe -i file1" +"\n");
    if that does not work put this underneath the original.
    ls_proc.newLine();
    or look into the ProcessBuilder class in java.lang.

  • How can hide the command line of a t.code in the portal

    Dear Experts.
    I have the following doubt:
    How can hide the Command Line of a Report that is called with a T.Code in the portal?
    Attach Image:
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line  using
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
    But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
    The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
    In this moment I have used the two options:
    1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
    RESULT:
    SAP Web Application Server
             500 Connection timed out
            Error: -5
           Version: 7000
           Component: ICM
           Date/Time: Sat Jun 12 20:26:39 2010 
           Module: icxxthr_mt.c
           Line: 2698
           Server: xyxab...
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    2)  created an Iview Transaction  in the portal and  call my transaction.
    RESULT.
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    But not can hide the field Command Line and other buttons.
    I think that the command :
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    Only can be used if I create a service using the T.Code SICF .
    Best Regards
    Carmen.

    Hi Carmen,
    The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
    You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
    ~okcode=/nSU01
    And you can pass parameters in the same way:
    ~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
    By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
    Regards, Rory

  • How to break the command line in SAP scripts

    Hi,
      Can any one Please guide me how to continue the command line( /: ) of SAP SCPRIPT into multiple lines.
    Regards
    Kiran

    Hi Kiran,
    U can continue in the same line itself by pressing SHIFT+F8
    If u want it in the next line then u can give space in the tag column.
    Thanks,
    Vinod.

  • Clear screen in "Run SQL Command Line" causes the utility to dump in Window

    Just for your notice... I have not checked if i can reproduce this on Linux platform or on second node running Windows XP Pro.
    But if I use "Run SQL Command Line" utility and do
    clear screen
    The utility dumps, (not the database though only the utlility)
    Maybe some other people could confirm if this findings is a bug or not and if it is a port specific issue with Windows XP only.
    Kindly Rgds
    /Ulf, Kentor IT Sweden

    Tracking info is in
    Re: SQL*Plus generated Program Error
    -- cj

Maybe you are looking for

  • Simplifyin​g Large Amount of Checkboxes or Radio Buttons

    Hey everyone, I am having an issue with handling a problem. I think part of is that I don't know how to approach the problem. Let me explain the problem and my idea for the solution(you'll see why it's difficult or tedious) Problem: Our software reco

  • Windows 8.1 64bit. Webcam works with "Camera" app ...

    I've spent a few hours googling and trying out various things - all listed below. I give up - any ideas??? OS: Windows 8.1 64bit Memory: 32GB WebCam: Microsoft VX-7000. As per subject - the webcam works with the "Camera" app but not with Skype for de

  • Error logfile in r12

    dear all,               i m a newbie i need your help,my r12 application server suddenly shutdown and i want to check the reason why it is shutdown suddenly but i dnt know where i should check  in which logfile and where it is located? .your help app

  • How would I unauthorise DE from a computer?

    I've just purchased by first e-books and have read the six max computers authorised rule. I've loaded digital editions onto the first one, and done the authorising thing. But if at some stage in the future I want to deauthorise that computer, how wou

  • Mac Mail and SSL

    Hi, I'm sure this may have been answered before, but I can't find what I'm looking for. I use Mail.app to view my Gmail inbox and to send email from my Gmail account. I'm not sure about the SSL part, though. Does anyone know for sure that the moment