How make setting Java Application Webservice can Test?

Hi all,
I want to ask everyone, i have trouble when after record my java application using e tester where is i can't playback until the application end. The problem is caused in our application should be input data and when playback the data i was input can't display when playback.
the message in result summary is "Timed out after last event played"

hi,
there is a possibility of creating executables from java classes: Microsoft Visual J++
However, you'll always need a virtual machine, even the executables created with MSVJ++ require the Microsoft Virtual Machine - either bundled with the exe file or installed on the user's system.
best regards, Michael

Similar Messages

  • How to make a Java application that will change the client box's IP address

    HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )

    If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.

  • How to set an Application Item from PL/SQL

    I am attempting to set an Application Item
    After login to my app, I want to retrieve a row from my SETTINGS table and populate some Application Items with the settings information so that I can
    display some of that settings information on every page.
    Just to start, I created one Application Item named F106_YEAR
    I then created a Shared Components Application Process which executes on New Session: After Authentication
    I created this process as an Anynomous PL/SQL block.
    declare
    aucyr varchar(4);
    begin
    select year into auctyr
    from settings;
    :F106_YEAR := aucyr;
    end;
    I've tried a couple of other Syntax tricks attempting to reference the Application Item F106_YEAR from within PL/SQL (like V('F106_YEAR') but nothing seems to be working.
    I'm sure that I am missing something simple. Can someone tell me how to set an Application Item from PL/SQL?
    Thanks in advance.

    I'm still doing something wrong because this is not working for me.
    I've tried both of the following versions as an Application Process set to run on New Session after Authentication:
    declare
    auction_year varchar(4);
    begin
    select year into auction_year
    from PBUUC.SETTINGS where rownum < 2;
    :F106_AUCTION_YEAR:=auction_year;
    end;
    and I also tried:
    declare
    auction_year varchar(4);
    begin
    select year into auction_year
    from PBUUC.SETTINGS where rownum < 2;
    APEX_UTIL.SET_SESSION_STATE (p_name, p_value);
    end;
    F106_YEAR is a global Item (shared components).
    The select statement works just fine in SQL*PLUS so I know that it is correct.
    If I run the debugger and log into the application, here is the output. Shouldn't I see my Application Process get called if it is set to run on New Session after Validation?
    My Application process is named RETRIEVE_AUCTION_SETTINGS
    0.01: A C C E P T: Request="P101_PASSWORD"
    0.01: Metadata: Fetch application definition and shortcuts
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -04:00
    0.01: NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en-us
    0.01: Fetch session state from database
    0.02: ...Check session 695371898690095 owner
    0.02: ...Check for session expiration:
    0.02: ...Metadata: Fetch Page, Computation, Process, and Branch
    0.02: Session: Fetch session header information
    0.02: ...Metadata: Fetch page attributes for application 106, page 101
    0.03: ...Validate item page affinity.
    0.03: ...Validate hidden_protected items.
    0.03: ...Check authorization security schemes
    0.03: Session State: Save form items and p_arg_values
    0.03: ...Session State: Save "P101_USERNAME" - saving same value: "jps"
    0.03: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
    0.03: Branch point: BEFORE_COMPUTATION
    0.03: Computation point: AFTER_SUBMIT
    0.03: Tabs: Perform Branching for Tab Requests
    0.03: Branch point: BEFORE_VALIDATION
    0.03: Perform validations:
    0.03: Branch point: BEFORE_PROCESSING
    0.03: Processing point: AFTER_SUBMIT
    0.03: ...Process "Set Username Cookie": PLSQL (AFTER_SUBMIT) begin owa_util.mime_header('text/html', FALSE); owa_cookie.send( name=>'LOGIN_USERNAME_COOKIE', value=>lower(:P101_USERNAME)); exception when others then null; end;
    0.04: ...Process "Login": PLSQL (AFTER_SUBMIT) wwv_flow_custom_auth_std.login( P_UNAME => :P101_USERNAME, P_PASSWORD => :P101_PASSWORD, P_SESSION_ID => v('APP_SESSION'), P_FLOW_PAGE => :APP_ID||':1' );
    0.06: ...Process "Clear Page(s) Cache": CLEAR_CACHE_FOR_PAGES (AFTER_SUBMIT) 101
    0.06: Nulling cache for application "106" page: 101
    0.00:
    0.00: S H O W: application="106" page="1" workspace="" request="" session="695371898690095"
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.01: ...NLS: Set date format="DD-MON-RR"
    0.01: ...Setting session time_zone to -04:00
    0.01: NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en-us
    0.01: Application 106, Authentication: CUSTOM2, Page Template: 2904114531488186
    0.01: ...Session ID 695371898690095 can be used
    0.01: ...Application session: 695371898690095, user=JPS
    0.01: ...Determine if user "JPS" workspace "1040027630222986" can develop application "106" in workspace "1040027630222986"
    0.01: ...Check for session expiration:
    0.01: Session: Fetch session header information
    0.01: ...Metadata: Fetch page attributes for application 106, page 1
    0.01: Fetch session state from database
    0.02: Branch point: BEFORE_HEADER
    0.02: Fetch application meta data
    0.02: Computation point: BEFORE_HEADER
    0.02: Processing point: BEFORE_HEADER
    0.03: Show page template header
    0.03: Computation point: AFTER_HEADER
    0.03: Processing point: AFTER_HEADER     
    0.04: Computation point: BEFORE_BOX_BODY
    0.04: Processing point: BEFORE_BOX_BODY
    0.04: Region: Auction_Title F106_AUCTION_YEAR

  • How many sets of wireless headphones can I connect to my iPad at one time?

    How many sets of wireless headphones can I connect to my iPad at one time?

    Did you mean Bluetooth? One. Did you mean FM or infrared, driven from the 3.5mm output jack? Any number of them, assuming you use the same frequency to receive the stream.

  • How to invoke java application from ABAP

    How to invoke java application from ABAP  ? Suppose I needto execute a EJB wihic is running on my SAP J2EE Enigne from an ABAP Program .
    Thanks,
    Manish

    Hi Manish,
    did you get some further documents concerning "abap program calls ejb"?
    If yes, could you please send me some informations.
    Thank you for your help.
    Kind regards, Patrick.

  • How to put Java application in the MS. Windows System tray

    dear all,
    Is it possible to make a Java application communicate with the MS. Explorer and to put a Java application in the MS. Windows System tray
    Regards

    http://www.esus.com/docs/GetQuestionPage.jsp?uid=624
    or look for madcap on sourceforge

  • How to make a java program, that can be used by c++ application

    I'm developing a Java web application (WEBapp), but I have also a c++ program.
    C++ program must use WEBapp method to communicate on the web.
    How to make a Java public function that accept value, elaborate, then return the resul to c++ application?

    jschell wrote:
    You have C code.
    You have Java code.
    The two must communicate.I have a c++ program, and a Java program.
    C++ program wants to communicate on the web (send text), and I'm trying to add this functionality to it creating a Java program.
    NOW THE PROBLEM? How c++ program can use java-program (in local) to send data on the web?
    You can just JNI to communicate either from java to C++ or from C++ to java. That is direct communication in that there is a single process involved. Thus you will no longer have a java application and a C++ application but rather a single application.I don't know JNI, i found http://java.sun.com/docs/books/jni/ and I think is too difficult to implement?
    You can use files or sockets to communicate. Using sockets allows for any number of additional protocols including the previously mentioned web services. Those methodologies would allow more than one application to exist.I developed yesterday a java-side-interface using socket (in local host 127.0.0.1). So the c++ program must write or read to/from the socket to comunicate to java (then the java program send data on the web).
    Finally it might be the case that you have a C++ application which you cannot modify. In that case then you MUST use whatever input/output mechanism that it supports. There is no choice. And until you have fully determined what those mechanisms are it is pointless to discuss a solution.I can modify the application, but I don't have developed it. The c++ application use a third-part dll (taken from SKYPE) to comunicate on the web: I have to remove the dipendence from this dll, and add the java program: java program must substitute the dll. It must be non-invasive to the c++ program. DLL calls can be "send(data)" or "receive(data)" or similar.
    For this do you think that JNI is a must, or I can use soket on local host?

  • How to connect Java Application to ORACLE8i over SSL connection

    Hi,
    I would like to know how to make an existent Java application connect to an ORACLE8i database over a secure SSL connection?
    can I user ResultSets?
    Could you please tell me what parameters to set on the database and, especially, what new code must be added for the Java Application so send data over an SSL connection.
    Your advice/hints will be greatly appreciated.
    Vani

    Use usual Oracle' encryption. SSL configuration is a nightmare.
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Properties props = new Properties();
    try {
    props.put("user", "scott");
    props.put("password","tiger");
    props.put("oracle.net.encryption_client", "REQUIRED");
    props.put("oracle.net.encryption_server", "REQUIRED");
    props.put("oracle.net.encryption_types_client", "( RC4_56 )");
    props.put("oracle.net.encryption_types_server", "( RC4_56 )");
    props.put("oracle.net.crypto_checksum_client", "REQUIRED");
    props.put("oracle.net.crypto_checksum_server", "REQUIRED");
    props.put("oracle.net.crypto_checksum_types_client", "( MD5 )");
    props.put("oracle.net.crypto_checksum_types_server", "( MD5 )");
    props.put("sqlnet.crypto_seed", "769764576979045769576907");
    } catch (Exception e) { e.printStackTrace(); }
    Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=orcl)(PORT =1521)))(SDU=32767)(CONNECT_DATA=(SERVICE_NAME=orcl)(SID=orcl))", props);
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
    while (rset.next ())
    System.out.println (rset.getString (1));
    rset.close();
    stmt.close();
    conn.close();

  • How to deploy Java application securely

    hi everybody,
    I hope u can help me. Because this is my last resort.
    My problem is describing below.
    I have created a java application(Stand alone). Now I have to install that into a machine. When I am installing any how i have to copy all .class files to the system. When I am copying, how will I secure those files. Means if a person knows where the class files is copied, he can declompile the class fiels, that will gives the original source code, and he can make changes into that and recopy. This will spoil the application. So how I secure the class files from the external access.
    thanks for ur time.

    I would have to say that your best bet is to use an obfuscator.
    http://directory.google.com/Top/Computers/Programming/Languages/Java/Development_Tools/Obfuscators/
    The only other thing you can do, if you can, is to set permissions on the directory, and things like that...

  • How to set up Application specific custom ogoff (sign-off) page.

    Hi,
    I'm using OracleAS 10.1.2.2
    Note 333638.1 shows us how do make a custom SSO login page to be application specific. This works.
    Now, I want to do a custom SSO logout (sign-out) page. Using the redirect method described does not seem to work. Please note that in our version 10.1.2.2, there is no default logout.jsp page in the /sso/jsp directory. To deploy a custom logout page, I would need to update the WWSS_LS_CONFIGURATION_INFO$ view.
    I was able to test a custom SSO logout.jsp page sucessfully. However, when I tried using a redirect_logout.jsp to make it application, it no longer works.
    Does anyone know or have any idea on how to deploy an application specific logout page? (i.e. only specific applications uses the custom logout page, otherwise go to the default one).
    Thanks.
    - Kevin

    Well,
    There are 5 choices to choose from on the page. In the description of the choices at the bottom of the page there are 7, and the two additional choices talk about having to first have registered the site with SSO. So...I'm interpreting that as meaning that other 2 possible choices would be displayed if the site is registered with SSO. That, plus the fact that the page which describes how to add the site to SSO seems to think that the SSO choices are displayed in the wizard.
    So, no, there's no "exact launguage" that says what the reason is for the choices not being displayed. Can you point me to some exact language that tells me how to get those choices displayed?

  • How to set Java 64-bit as the default?

    Hey everyone, I need to use Java 64-bit in Mac OS X Lion and I thought it defaulted to using the 64-bit JDK until I ran Minecraft which stated I was running the 32-bit JDK and if I deselect the 32-bit entry in Java Preferences it deselects the 64-bit entry as well. Does anyone know of a way to make OS X default to the 64-bit version, I also make use of the 64-bit JDK on Windows to ensure my Java applications in NetBeans run correctly on either flavour.
    I did try using the OpenJDK 7 and downloaded the 64-bit runtime and installed it correctly and confirmed it was running but when running the Minecraft.app I was greeted with a message saying no compatible JDK 1.5+ was installed and when using the Terminal, it was failing to logon correctly, but was working fine in the standard JDK but like I said, I'm stuck with 32-bit in that case.
    Regards, Wobby.

    Does minecraft support 64-bit Java? 
    There isn't really a default java, but you can set the order for your preferred java.  Go to the Java Preferences (/Applications/Utilities/Java Preferences) and on the General tab just make sure the 64-bit java is first (you can click and drag them to change the order).
    You might also try disabling the 32-bit java by unchecking the "ON" check box next to it and see if Minecraft will run and with which Java (if shouldn't be able to launch the 32-bit one if it is off).
    Good luck!

  • Java application -- webservice ---   XI  ( RFC )  ?

    Hi friends ,
                <b>        My scenario is like I want  via web service  I need to pass request to RFC and get the response back . This calling webservice is external java application .</b>
                       Can u please tell me What steps i  have to do in XI  ?
                       I have to do synchronous Interface between RFC and webservice right ?
                       <b>First I have done  this scenario  by  designing IR  and in Configuration I have used SOAP Sender and RFC Receiver adapter .  Using Synchronous Interface</b>
                       Using Tools -- > Define WebService . I have Defined that   as WebService . I has creatd the WSDL File for me.
                       I have  given the SWDL file and the URL like the following
      http://xidev:8021/XISOAPAdapter/MessageServlet?channel=:BS_DISTANCE_CHECK_SOAP:CC_DistanceCheck_SOAP_Sender
                            If i copy and paste this URL in my pc .It is showing the Message Servlet  Status OK . and some informations also it is giving .
                      But the java guys try to use this URL in their web service calling module it is not working .
            <b>          The way what i have done is corret ?</b>  or something i have to do ? 
                   <b>   What input i have to give to Java Guys to call the webservice ?</b>
                           Can you please give your suggestions asap
    Best Regards .,.
    V.Rangarajan

    Hi Bhavesh  ,
                      Thanks for your reply.
                   Then  that URL and WSDL File  Which i have given to the Java guys is  enough ?
                    I  have one doubt .I don't know  much about  the webservices .
                    Don't we need SOAP Receiver Adapter for this ?
                    How the external application will get back the result ?
    Best Regards .,
    V.Rangarajan

  • How to embed java application into flash player

    By using SWT flash, I able to embed flash player into java
    UI. But then now I want to embed the java application in flash
    player... Do it possible ?? or any export can help me or advice me
    on this? Thanks
    Regards,
    Sosseres

    Hi,
    In this case, you need to setup Single Sign-On (SSO) between your SAP Portal and Websphere.
    Please refer to the following URL:
    IBM WebSphere
    Here, you will find all the guides that explain how this SSO can be established. Under the General Section, you will find documentation that describe the SSO cases. Under the section of interoperability, you can find the guides like "How to Set Up SSO Between SAP NetWeaver Portal and IBM WebSphere Portal Using TAI".
    Use these guides to setup SSO.
    Regards,
    Shitij

  • How to set java.naming.provider.url when multiple oc4j instances in iAS

    Hi Folks,
    I have problems engaging a connection to a deployed application in a 9.0.3 iAS instance. I created 2 oc4j instance within the iAs instance.
    I wonder how to set up the JNDI provider url?!?
    According http://download-west.oracle.com/docs/cd/A97329_01/web.902/a95879/jndi.htm
    the provider url contains of ormi://host:port/application.
    Unfortunatly I get a connection refused Naming Exception.
    What's wrong?
    Where can I look up the
    java.naming.security.principal
    java.naming.security.credentials
    Are they set by default?
    I tried the following scenario:
    java.naming.provider.url=ormi://host/oc4j-instance/application/
    and a user/password from principals.xml in the application/config directory, but don't have any success.
    So please help me ;-).
    Bye & Thx
    Toby

    This is correct as far as aI remember
    1) java.naming.provider.url = t3://server1:port1,server2:port2
    see
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/jndi/jndi.html -- Using WebLogic JNDI from a Client in a Clustered Environment

  • How to protect java application

    Hello all,
    Could you give me some clues on how to protect a java application?
    By license keys ? how to protect application by license keys? I am not sure about Signing JAR Files, is it what I need?
    Any better way than using license keys to protect a java application?
    Thanks.

    >
    Could you give me some clues on how to protect a java application?
    >
    You might want to look into obfuscators. They won't stop decompiling but they can make it hard to understand the decompiled code.
    Proguard has a good reputation
    http://proguard.sourceforge.net/
    >
    ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. Finally, it preverifies the processed code for Java 6 or for Java Micro Edition.

Maybe you are looking for