How to handle browser or application crash out of our application in java.

I am running my application(testing automation tool) through ANT . when i run the same over the remote the browser is getting crashed. so if i need to handle it , i should handle outside my application. my application is written only in pure core java. Plz provide me the solution for handling browser crashes outside our application. so that when i run my application over the remote the browser should not crash.... if i use javascript to handle , how do i communicate java script code with pure core java code......

this is not directly a security related question, but jars within jars won't be found by the JRE; they won't appear in the classpath.
Some googling:
http://forum.java.sun.com/thread.jspa?threadID=740123&messageID=4245964

Similar Messages

  • How to handle file on application server without coading?

    HI all,
    can anybody tell me How to handle file on application server without coading? Is there any solution?
    Thanks in advance.

    > can anybody tell me How to handle file on application server without coading? Is there any solution?
    what is that you want to handle. what you do if you don't code ...

  • How to call a VB application from Java

    Hi,
    does anybody know how to call a VB application from java.
    Would appreciate if you can provide me with an example.
    thanks

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • How to run a remote application (Non Java) from a Java program

    Could you please tell me how to run a remote application (Non-Java) from a Java program without using RMI. Please tell me know the procedure and classes to be used.
    Cheers
    Ram

    what do you mean remote application.In the other pc or in your pc just apart from you application?
    If the application is in your pc,the method which the upper has mentioned is
    a good one!
    But if the application you want to run is not in your computer,the method can't do. And you can use socket with which you can build an application listening some port in the pc which contains the application you want to run .When you want to run that application ,send the Start_Command to the listening application.Then listening application will run the application with the help of the method the upper mentioned.

  • How to handle returned products originally issued out using Transport Order

    Dear Experts
    I transfer a batch containing 10 cartons from production plant NDE1 to sales plant NDE2 within same company code using a stock transport order.
    Each carton is valued at 1dollar each, that is total value of transfered stock is $10
    After two weeks, 3 cartons went bad and needs to be returned to production plant NDE1.
    How do I capture this return process in SAP?
    If it were an outright sales to a customer, a Return Order with reference to the invoive will be created, return delivery done,PGI done which brings the returned stock into inventory, and a credit memo posted against the original billing.
    How do I handle my 3 cartons of returned stock since it was given out using a transport order?
    What will the accounting entries be in the system? i mean which accounts will be credited and debited by the $3 value of th ereturned three cartons?

    It depends how you handle the stock .Your accounting document generated in NDE2  in plant only.
    The first step you transfered the material through sto from NDE1 to NDE2 ,here there is no impact on accounting entries as you are transffering the stock with in company code.
    After you get return stock from customer NDE2 you can directly scrap or after inspecction of the stock if the stock is good then you can keep in Unresticted use for further sales.
    I dont think so you need again one more sto to get return stock from NDE2 to NDE1 as it is damaged stock and un necessary paying transport costs.
    If you scrap the material then the 3 qty of stock 3 doller price hit to scrap account.

  • HOW TO WRITE A DESKTOP APPLICATION IN JAVA

    Hi guys
    I am new to JAVA.Doing my garduation.
    I want to write a desktop application in java, not browser based applet based.
    I am stuck at some points
    1)like how can i make the application run like the same way we run an .exe file
    2)about the database connection
    "For example, what are the issues in running a
    Java application from a local C: drive on an Intel PC
    that needs to access a local database or Excel file? "
    Please guide me
    Thanks
    Tinu Joseph

    Hi guys
    I am new to JAVA.Doing my garduation.
    I want to write a desktop application in java, not
    browser based applet based.
    I am stuck at some pointsLike how to write Java properly at all?
    1)like how can i make the application run like the
    same way we run an .exe fileWrite a .bat or .cmd file and have it start your Java app. Or Google for tools to create .exe for you.
    2)about the database connection
    "For example, what are the issues in running a
    Java application from a local C: drive on an Intel PC
    that needs to access a local database or Excel file?
    "Better learn JDBC. Google for "JDBC tutorial".
    %

  • How to handle a big number of users on our website

    Hello,
    We are working on UCM 10gR3.
    We made a web site with Site Studio and now we are testing the web
    site with a big number of users : the number of users increase one by
    one each interval of time until 500 users.
    For this test, we first set :
    - NumConnections=100 (number of connections to the database)
    - CachedResultRowCount=40000 (number of rows in the cache)
    With this set up, the server became unreachable with 250 users. We
    noticed that at this time, the number of threads were stuck to 100 and
    the cache was full (we saw these information in the "System Audit
    Information page").
    Then we restarted the tests with :
    - NumConnections=100
    - CachedResultRowCount=40000
    - MaxRequestThreadCount=500
    With this configuration we went until 400 users but then, the server
    was unreachable. With this test, the number of threads was still stuck
    to 100 (even if we set 500) and the cache was full when the server failed.
    Does anyone have any tips, knowledge, clue about at least one of this
    variable or about how to handle a lot of connections to a web site
    made by Site Studio ?
    Any little detail could be very helpful to us.
    It is very urgent because we are running the final tests in 9 hours !
    Thank you in advance.
    Julian

    Thank you for this answer.
    However, I am looking for indications about the UCM configuration only.
    Specially the following variables :
    - NumConnections
    - SearchCacheCleanerInterval
    - MaxSearchConnections
    - CachedResultRowCount
    - MaxRequestThreadCount
    Regards,

  • How to handle stock already physical issued out but not yet PGI from system

    Hello
    I have a scenario which I have a question whether reservation is a solution for my problem below:
    The following is our current process:
    1.   
    First, create a sales order,
    Second, create delivery order, assuming system propose storage location A in the Delivery Order.
    Third, the goods are physical issue out to the customer; HOWEVER, it is not PGI out from the sap system. That means goods are physical not in the warehouse but number still show in MMBE.
    Forth, we create a reservation MB21 for this physical issued quantity just so it becomes visible in MRP (i.e. available stock reduced).
    Fifth, in order to ensure that user is able to distinguish such kind of stock quantity which have been physically sent to customer but still remain in system, we move the stock quantity to another storage location (B).
    Sixth, we change the storage location in the delivery order to the “moved-to” storage location (i.e. B).
    Finally, when come to the correct time to perform PGI, user will perform PGI in the SAP system.
    Questions:
    For the step 7, when I perform PGI, how is the reservation document linked to the Delivery Order?
    For the step 4, what is the movement type to use in MB21 for this kind of sales order process?
    For the step 6, I do not think the storage location is changeable at this stage. If not changeable, it will  become an issue as during PGI, system cannot find the stock quantity?
    Is reservation a good solution for step 7?
    Thanks
    Daniel.

    if you physically goods issue the stock, then you should do it in your system too.
    If the stocks are still owned by you while they are at the customer location, then you are just using the wrong process.
    you should go for customer consignment, create a consignment fill-up order in VA01, then a delivery, then goods issue the delivery, this will remove the quantity from your storage location and put it into customer consignment stock  directly below plant level in your MMBE.
    When the customer consumes the material you create another sales order for consignment withdrawal

  • How do I browse available applications?

    Hi All,
    How do I look for particular applications in pacman/shaman? For example, how do I look for all available kdemod games, or look for all office application is the repository. There doesn't seem to be an easy way to search.
    My daughter wanted to find all "photo" application for touching up images, I had to tell her to do a google search for all linux+photo+editing keywords, the I would see if they are in the repositories,  but surely there must be a application that will allow me to do that on the pacman repositories themselves?:/
    Many Thanks,
    Bernie

    There's also tupac
    http://aur.archlinux.org/packages.php?ID=13322
    you can use it as
    tupac -Ss photo editing
    or
    [~]$ tupac -Ss game rpg
    1 community/freedroidrpg 0.12.1-2
    a mature science fiction role playing game set in the future
    2 aur/eternallands 1.8.0-1 (70 votes)
    A free 3D MMORPG game with thousands of on-line players
    **CUT**
    13 aur/naev 0.3.9-1 (15 votes)
    2D action/rpg space game
    for example

  • How to launch MS Word application using java

    HI:
    I'm developing a project using java, but we need to launch Microsoft Word into java based GUI(like Jpanel, or Frame, things like that), could anyone be so kind that give some hints on how to do it?
    thanks!

    I would be pleasantly shocked to find out this is possible. Well, let me retract that. You might, just very, very maybe, be able to use a combination of Windows API and Word's API (either DDE or OLE or ActiveX) to interact with Word. This will involve using a lot of native methods, javah and pre-compiled DLL's written in C or C++.
    But I think you will be completely stuck trying to get the UI to switch to a JPanel. Microsoft would have to have a version of Word independent of the UI (in effect, have designed Word to have a pluggable user interface). They may have done this, but I have never heard of a project where someone successfully swapped out Word's user interface with a custom Swing one.
    - Saish
    "My karma ran over your dogma." - Anon

  • How to call a Stored Function with OUT parameter of %rowType from Java

    Hi everyone,
    I'm getting crazy trying to make this work.
    I have a function (not developed by me) in Oracle 10g declared in this way:
    type tab_RLSSP is table of TB_RLSSP_STOSTPRPAR_CL%ROWTYPE index by binary_integer;
    FUNCTION DBF_PERL_LISTA_PRATICHE (
    p_id_va IN NUMBER,
    p_seq_partita IN NUMBER,
    p_trattamento IN CHAR,
    lrec_RLSSP OUT tab_RLSSP ) RETURN NUMBER;
    And here is the code snipplet of my java method:
    sql="{? = call "+SCHEMA+PACKAGE+"."+FUNCTION_LIST+"(?,?,?,?)}";
    cs=connection.prepareCall(sql);
    cs.registerOutParameter(1, OracleTypes.NUMBER);
    cs.setLong(2,idVATitolare);
    cs.setLong(3,seqPartita);
    cs.setString(4,trattamento);// Caso Decesso
    cs.registerOutParameter(5, OracleTypes.OTHER);
    cs.executeQuery();
    result = (ResultSet) cs.getObject(5);
    if (result.next())
    listaPratiche.add(readPraticaPartita(result));
    The result (exception thrown at executeQuery with statement generated as
    SQL : {? = call PEDBA.DBK_PERL_RATEI_SUPPLETIVI.DBF_PERL_LISTA_PRATICHE(?,?,?,?)}:
    java.sql.SQLException: ORA-06550: line 1, column 13:
    PLS-00306: wrong number or types of arguments in call to 'DBF_PERL_LISTA_PRATICHE'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Changing to :
    sql="{call ? := "+SCHEMA+PACKAGE+"."+FUNCTION_LISTA+"(?,?,?,?)}";
    leading to
    SQL : {call ? := call PEDBA.DBK_PERL_RATEI_SUPPLETIVI.DBF_PERL_LISTA_PRATICHE(?,?,?,?)}
    don't change anything.
    What's wrong? Any suggestion?
    Edited by: 957158 on 5-set-2012 9.06

    >
    Taking for granted that it works, I wonder what's different, probably the output is defined as Cursor...
    >
    You mean because of this line?
    cs.registerOutParameter(5,OracleTypes.CURSOR);You can either use a cursor or use a function that returns a SQL type instead of the PL/SQL type.
    Here is sample code using a cursor
    CREATE OR REPLACE TYPE SCOTT.local_type IS OBJECT (
        empno   NUMBER(4),
        ename   VARCHAR2(10));
    CREATE OR REPLACE TYPE SCOTT.local_tab_type IS TABLE OF local_type;
    CREATE OR REPLACE PACKAGE SCOTT.test_refcursor_pkg
    AS
        TYPE my_ref_cursor IS REF CURSOR;
         -- add more cursors as OUT parameters
         PROCEDURE   test_proc(p_ref_cur_out OUT test_refcursor_pkg.my_ref_cursor);
    END test_refcursor_pkg;
    CREATE OR REPLACE PACKAGE BODY SCOTT.test_refcursor_pkg
    AS
         PROCEDURE  test_proc(p_ref_cur_out OUT test_refcursor_pkg.my_ref_cursor)
         AS
            l_recs local_tab_type;
         BEGIN
             -- Get the records to modify individually.
             SELECT local_type(empno, ename) BULK COLLECT INTO l_recs
             FROM EMP;
             -- Perform some complex calculation for each row.
             FOR i IN l_recs.FIRST .. l_recs.LAST
             LOOP
                 DBMS_OUTPUT.PUT_LINE(l_recs(i).ename);
             END LOOP;
             -- Put the modified records back into the ref cursor for output.  
             OPEN p_ref_cur_out FOR
             SELECT * from TABLE(l_recs);      
             -- open more ref cursors here before returning
         END test_proc;
    END;
    SET SERVEROUTPUT ON SIZE 1000000
    DECLARE
      l_cursor  test_refcursor_pkg.my_ref_cursor;
      l_ename   emp.ename%TYPE;
      l_empno   emp.empno%TYPE;
    BEGIN
      test_refcursor_pkg.test_proc (l_cursor);
      LOOP
        FETCH l_cursor
        INTO  l_empno, l_ename;
        EXIT WHEN l_cursor%NOTFOUND;
        DBMS_OUTPUT.PUT_LINE(l_ename || ' | ' || l_empno);
      END LOOP;
      CLOSE l_cursor;
    END;
    /

  • How to build a small application using Java API

    Hai expertise,
         I want to retreive MDM repository info using JAVA API, i am following these blogs:
    /people/andreas.seifried/blog/2006/03/26/performing-free-form-searches-with-mdm-java-api
    /people/udi.katz/blog/2005/08/21/retrieving-data-from-mdm-server-using-the-mdm-java-api
    /people/udi.katz/blog/2005/07/17/mdm-connectivity-to-java-application
    <b>where to get the jar and sda files to build the application??
    In Developer Studio.. Windows -> Preferences -> Java -> Classpath variables. Is this the only place where we need to give the jar file path??
    Are there any other configurations to do(except setting container variable to MDM4J jar file) to connect my java application to MDM repository???</b>
    Regards,
    Chand.

    Hi Govada,
    (1)You need to add the MDM4j and other JAR files at:-
    right click on project -> Java Build Path -> Libraries -> Add External JARs
    (2)If the project is Web Dynpro project one
    then right click on project -> Web Dynpro Reference -> Library Reference -> and add sap.com/com.sap.mdm.tech.mdm4j
    Are you using JAVA API 1 or 2???
    Thanking you
    Namrata Dixit

  • How can I invoke JavaFX application in Java project

    I want to set an actionlistener on a button.When I click the button,it will run the JavaFX application.
    Any idea?Thanks in advance.

    A program that launches JavaFX programs? Something like this might work:
         * Launches the given JNLP file.
         * @param jnlpFileURL The url to the JNLP file of the JavaFX application we are launching.
        public void launchFXApplication(String jnlpFileURL) throws Exception {
            //Retrieve the runtime.
            Runtime runtime = Runtime.getRuntime();
            //Create the commands we will be executing.
            String[] commands = new String[] {
                System.getProperty("java.home") + File.separator + "bin" + File.separator + "javaws",
                jnlpFileURL
            //Execute it.
            final Process process = runtime.exec(commands);
            //Need to read the input.
            final BufferedReader errorReader = new BufferedReader(
                new InputStreamReader(process.getErrorStream()));
            final BufferedReader outputReader = new BufferedReader(
                new InputStreamReader(process.getInputStream()));
            //Input MUST be read and should be done in separate threads.
            Thread errorThread = new Thread(new Runnable() {
                public void run() {
                    String line;
                    try {
                        while ((line = errorReader.readLine()) != null) {
                            //Examine it if you like. Optional.
                        errorReader.close();
                    } catch (IOException ex) {
                        ex.printStackTrace();
            Thread outputThread = new Thread(new Runnable() {
                public void run() {
                    String line;
                    try {
                        while ((line = outputReader.readLine()) != null) {
                            //Doing something with the input is optional.
                        errorReader.close();
                    } catch (IOException ex) {
                        ex.printStackTrace();
            //Run the separate threads.
            errorThread.start();
            outputThread.start();
            //Wait until it's done.
            process.waitFor();
        }This code will of course need to be signed if you intend to launch it as an applet or via webstart.
    Edited by: aidreamer on Aug 14, 2011 8:35 PM

  • How to create desktop capturing application in java / JMF

    please any one give idea, suggestion or any help to build desktop capturing in java/JMF ..
    thank in advance..
    please open ur ideas here.

    can u give me code to capture code and store that in an any vedio format file..Nope. And I doubt it's possible to obtain such a thing.
    please send then code. mail : [email protected]
    Posting your email address is a clear sign of cluelessness.
    Go back through the JMF tutorials (I doubt you've truly gone through it) and you will understand JMF's capabilities and limitations.

  • How to handle multiple request in the servlet

    how to handle multiple request in the servlet...
    Example:
    java forum...
    i'm login in the java forum at this time 1000 members make login in this....how happended in servlet?
    if we use thread how to implement in servlet ?

    Serlets are already threaded. The application container instantiates the servlet, then uses this instance in a new thread for every use.
    This is the reason that you should use (almost) no instance variables in a Servlet, but rather that (almost) everything should be local to the method.

Maybe you are looking for

  • Warranty void due to upgrade from WIndow 7 Home Prem to Window 7 Pro

    Did somebody every heard of such a thing??? or had it been done to them? I just called about a Hard Drive going out and the tech state that i voided my warranty by ugrading to Windows 7  Professions from Windows 7 Home Premien that came as a surprise

  • Acrobat 7.0 and Outlook 2010

    I'm currently testing out acrobat 7.0 with Outlook 2010 beta and I noticed that when I try to open a pdf attachment in outlook 2010, the attachment would open but after a few seconds, an error screen would appear "adobe acrobat 7.0 has stopped workin

  • [STATEMENT] XDO Servlet shutdown complete

    Hi, What is the root cause of this error?? [STATEMENT] XDO Servlet shutdown complete [042511_035257283][][STATEMENT] Total time used: 7953ms for processing XSL-FO [042511_035257799][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica

  • Reverse Legacy Asset

    Hi all, I have a case. One of my client uploaded aset legacy using AS91 in january 2009. Since the transaction value only posted in subledger, they posted the GL value using OASV in december 2008 and carryforward the balance to 2009. Now the auditor

  • Reassigning WBS element to a new IM program in the new FY

    We have a scenario, wherein a WBS element is assigned to an Investment Program (IM) in a Financial Year, but the same WBS element needs to be reassigned to another Investment Program in the next Financial Year. But, in reporting the cost booked for t