How to use pub.sap.client:lockSession?

I am calling a bapi that creates an order. I found that in order to commit, I must first issue a lockSession call, followed by BAPI, then commit and then releaseSession.
Where can I find more documentation on pub.sap.client:lockSession?
Thank you.

Hi,
DATA: COMMAND TYPE STRING VALUE 'C:\j2sdk1.4.2_08\bin\java',
DIR TYPE STRING VALUE D:\eclipse\workspace',
PARAMETER TYPE STRING VALUE 'Helloworld'. "here the name of your java program
CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
EXPORTING
APPLICATION = COMMAND
PARAMETER = PARAMETER
DEFAULT_DIRECTORY = DIR
MAXIMIZED =
MINIMIZED = 'X' "If you need the DOS window to be minimized
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
BAD_PARAMETER = 3
FILE_NOT_FOUND = 4
PATH_NOT_FOUND = 5
FILE_EXTENSION_UNKNOWN = 6
ERROR_EXECUTE_FAILED = 7
OTHERS = 8.
check this link
/people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
Regards,
Satish

Similar Messages

  • How to use non sap application in sap.......?

    hi,
            anyone has any idea how to use non sap application  like java class in sap through abap programming. please let me know ...
    thanks in advance.
    saurin shah.

    Hi,
    DATA: COMMAND TYPE STRING VALUE 'C:\j2sdk1.4.2_08\bin\java',
    DIR TYPE STRING VALUE D:\eclipse\workspace',
    PARAMETER TYPE STRING VALUE 'Helloworld'. "here the name of your java program
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
    EXPORTING
    APPLICATION = COMMAND
    PARAMETER = PARAMETER
    DEFAULT_DIRECTORY = DIR
    MAXIMIZED =
    MINIMIZED = 'X' "If you need the DOS window to be minimized
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    BAD_PARAMETER = 3
    FILE_NOT_FOUND = 4
    PATH_NOT_FOUND = 5
    FILE_EXTENSION_UNKNOWN = 6
    ERROR_EXECUTE_FAILED = 7
    OTHERS = 8.
    check this link
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Regards,
    Satish

  • How to use remote desktop client in mountain lion

    How to use remote desktop client in mountain lion.
    I want to connect my other system(ubuntu) using mac remote desktop client, But i could not locate remote desktop client in moutain lion.

    In Ubuntu 12.xx use Dash to find "Desktop Sharing" and set the preferences, including requiring a password.
    Then in Ubu use System Settings > Network to determine your Ubu machine's IP address, such as 192.168.1.13.
    On the Mountain Lion Mac do Finder > Go > Connect to Server   and enter:  vnc://192.168.1.13  or whatever your IP is.  Enter the password that you used in the Ubu Desktop Sharing setup, when asked.
    On the Ubu machine answer the question that pops up asking for permission to connect.  Your Ubu screen will now show up on the Mac, and you can remote control it.   Here I am running "Octave" (a math program) on the Ubu machine, remotely.
    Works great!  BTW, you can do this from an iPad too, using a VNC client such as Mocha VNC Lite.  You can even run both remotes simultaneously.
    Good luck.

  • How to use a SAP table in Validation Look Up

    Hi Experts,
    I my job for every record in the input data set I need to check for the value of the data set column in the SAP table.
    I am using a validation transform and am using the "Exists in Table" option, where I am specifying the column in the SAP table to look up.
    It is giving me an error BODI-1112468 saying that SAP table cannot be used in Validation Look up.
    Please suggest any other way to resolve it.
    Thanks in advance.

    user12088323 wrote:
    How to use a Sybase table in Oracle SQL statement?
    Sybase version : 11.9.2.4
    Oracle version : 10.2.05
    Thanks.Any Oracle client connected to the Oracle database can access Sybase data through the <font style="background-color: #FFFFCC">Database Gateway for Sybase</font> (it requires an additional license) or the <font style="background-color: #FFFFCC">Database gateway for ODBC</font> (it's free).
    The Oracle client and the Oracle database can reside on different machines. The gateway accepts connections only from the Oracle database.
    A connection to the gateway is established through a database link when it is first used in an Oracle session. In this context, a connection refers to the connection between the Oracle database and the gateway. The connection remains established until the Oracle session ends. Another session or user can access the same database link and get a distinct connection to the gateway and Sybase database.
    Database links are active for the duration of a gateway session. If you want to close a database link during a session, you can do so with the ALTER SESSION statement.
    To access the Sybase server, you must create a <font style="background-color: #FFFFCC">database link</font>. A public database link is the most common of database links.
    SQL> CREATE PUBLIC DATABASE LINK dblink CONNECT TO
    2  "user" IDENTIFIED BY "password" USING 'tns_name_entry';
    --dblink is the complete database link name.
    --tns_name_entry specifies the Oracle Net connect descriptor specified in the tnsnames.ora file that identifies the gatewayAfter the database link is created you can verify the connection to the Sybase database, as follows:
    SQL> SELECT * FROM DUAL@dblink;
    Configuring Oracle Database Gateway for Sybase
    <font style="background-color: #FFFFCC">{message:id=10649126}</font>

  • How to use standard SAP stylesheets in WAD

    Hello ,
    I created a new Web template.
    Assigned a data provider, inserted a table.
    In order to view i include a Analaysis box in one of the cell of Table.
    Now i need to change the colours of result rows.
    How to use Standard Stylesheets provided by SAP.
    Where this stylesheets will be located
    Under which properties.
    How to use those.
    How to edit those and save as we wanted.
    An y step by step documents, please send it to [email protected]
    I want to include Information button in Template, so when executing if user click this button he/she should know,
    What are provided variables and if they chosen some specific variable restriction to see the result,
    Also by default this information should get print.
    In standard sap portal, this button is located on upper right corner.
    Please advise.

    Thanks Rusty,
    Thats exactly right,
    I included a naviagtion block and it worked well
    But while printing the query on Web template, It only prints the data that is coming in Analysis block.
    Similarly while running the query thru BEX to Portal,
    Navigation block is on left, but while printing it prints exactly every data in Information tab.
    Information is the button located on upper right corner.
    If you click, it will give you information such as , which restrictions u did, which extra filters you added everything.
    And while printing it prints this information too.
    I want to do the same designing for my custom Web template.
    How can i do that.
    I already added navigation block, so it will be easy for users to drag and drop Chars and KFs in rows and columns as well as filter if they needed.
    I hope you are trying to understand.
    Also for using stylesheets can you suggest.
    So that i can make changes to row and columns.
    I am unable to locate stylesheet in any of the properties.

  • Java mapping how to use com.sap.tc.logging

    Hi I would like to know how to use logging within a java mapping.
    I know i have to use theese classes : Location, Category, ConsoleLog but i dont know how.
    1) How to load the P1, P2, P3 and P4 tags in the Error tag of the SOAP header watched in SXMB_MONI
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">STREAM_TRANSFORMATION_EX</SAP:Code>
      <SAP:P1>SwissMedical/Interfaces/IFI002/LiquidacionMapping~</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Java mapping of application triggered an exception</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    2) How to load and activate log in the DIAGNOSTIC tag of the SOAP Header.
    - <SAP:Diagnostic xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:TraceLevel>Information</SAP:TraceLevel>
      <SAP:Logging>Off</SAP:Logging>
      </SAP:Diagnostic>
    Thanks!!

    As already suggested, you can display custom messages using AbstractTrace.
    trace = (AbstractTrace)param.get( StreamTransformationConstants.MAPPING_TRACE );
                        trace.addInfo("G1-CYCLE is missing");
    For more on coding front refer:
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/StreamTransformation.html
    To get this trace seen in MONI, set parameter TRACE_LEVEL in SXMB_ADM to 2.

  • How to use Http test Client  for Java Client Proxy Scenario

    Hi,
    I build a scenario using Java Client Proxy where JSP as my FrontHand.
    Can I know that whether i can use Http Test Client in place of JSP for sending data and getting response back. If yes than how can i implement this ?
    Regards,
    Abhi

    Hi,
    with Http Test Client you post your messages
    directly to the Integration Engine (not using adapter framework)
    so you can use Http Test Client to simulate any message
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How BPS used for SAP BW

    Hi all,
    How SEM & BPS used for SAP BW.
    please provide som example scenerio's.
    how to create planning applications in BPS.
    How to create Transcational Cubes & how do they differ with Basic Cubes.
    Thanks,
    Cheta.

    Hi,
    Business Planning and Simulation is a part of Strategic Enterprise Management. Business planning enables to produce a group-wide business plan. The business data plan adds an overall plan to the detailed plans that have been put together using the transaction system’s components.
    Business Planning and Simulation – is a product from SAP that uses BW functionality to provide an integrated environment for all our business planning including budgeting and forecasting. Moreover , it is seamlessly linked into the reporting functionality that BW offers, giving a place to report Plan vs. Actuals.  BPS allows us to instantly see the effects of change in the plan in a controlled way.
    BPS started life as  SEM-BPS, but as of BW version 3.5 , it is not included with BW as BW-BPS. All development of BPS functionality will continue within BW – including the evolution of BI-IP(Integrated Planning)
    Difference between Basic Info cube and Transactional Info cube :
    Basic Infocube :
                - Basic info cube is a type of info cube that physically stores data. It is filled with data using BW staging, later it can be used in BEx reporting.
                 - Basic  info cubes are used for actual data.
    Transactional Infocube:
                           -  With a transactional Infocube, you can directly load data to it, without going through the usual transfer rules, update rules .eg. a transactional Infocube can be used to store plan data which is manually entered by the users in the planning layouts (in BPS). When the users save the data, it gets loaded to the cube directly.
                - Planning can only be carried out on Basic transactional info cube.
    check this link and try the Sales analysis scenario:
    http://help.sap.com/saphelp_sem350bw/helpdata/en/05/242537cedf2056e10000009b38f936/frameset.htm

  • How to download the SAP client into text file

    Hi,
    I want to download a SAP client to a text file for backup and then upload it again for restoration when needed. Can this be done?

    Hi,
    Regarding which data you want to export, you have to select the corresponding profiles in SCC8:
    If you want to export transaction data & master data (this is together known as application data), then you have to select the appropriate profile. Alongwith application data, customizing data would also be there, because it cant be transferred alone. ALso, you can choose whether to export user data or not.
    But please note that repository data (programs etc) would not be part of this export.
    The transaction is SCC8 for client export.
    For importing you can import like any other transport request.
    For details you could refer to the below link:
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c24c824ba111d189750000e8322d00/frameset.htm
    Thanks & Regards,
    Kunal.

  • How to use a fixed client localPort in an RMI communication?

    Hi,
    I am trying to use a fixed localPort in RMI communication using CustomSocketFactories. When I use a fixed localPort the client program runs fine with a right lookup and correct stub method invocation for first time, but when I run the same program immediately I am getting an exception "java.net.SocketException: errno: 125, error: Address already in use for fd: 9".
    I also tried to close the socket of ClientRemoteFactory in my client program in a finally block, still I am getting the same exception. If I run the same program after a few minutes it runs fine.
    Bottomline is -- "it is clear that if I use a fixed localPort in my customClientFactory, it will be in use for sometime even after I am done with the stub method".
    Is there anyway or a work around to clean the socket after it's use. I can not use an anonymous client port for security reasons, I must have to use a fixed localPort. If anyone has any other ideas or approach, please share with me. Any help is highly appreciated as this is very urgent.
    Thanks,
    Murthy

    I'm not sure that you really want to do this unless you are trying to resolve some firewall issue which might be better resolved another way. For a start this technique will limit you to one RMI call per host at any one time.
    However, the API you are looking for is java.net.Socket.setReuseAddress(true), which was introduced in JDK 1.4. You have to do this before the socket is connected, i.e.:
    Socket s = new Socket();
    s.setReuseAddress(true);
    s.bind(new InetSocketAddress(localPort));
    s.connect(new InetSocketAddress(remoteHost,remotePort));
    EJP

  • How to use crystal report client?

    Hi all,
    In my java application we are using crystal report for generating report. For certain condition we are not in the position to use crystal report server. So, is that any possibility to generate the report without crystal report server? i heared something we can generate the report through by using crystal report client...is that possible?
    Please help me..
    Thanks,
    Shiva

    I did that and i set up a trace file withing the sql.net and i reviewed the file and everything is looking fine for me, there is no error at all.
    i can see his session created when he build new connection and run any query, but if he modified that query, the connection is dropped, still dont get it.
    he used to use before VPN but now he has direct connection.
    i also put this parameter in his tnsname.ora file (RECV_BUF_SIZE=11784)
    there is only one thing strange, when i try to use sqlplus /nolog, i couldnt run the sqlplus, or tnsping and it keeps telling me any orginized program or something like that, i asked him to install the oracle client again, because looks like some libraries not working fine, however he complian the crystal report works fine, so oracle client must work ok, i explained to him it is totally different thing, but he refused to confess.
    so i dont know what else i should do,

  • Jax-RPC Client side: How to use multiple X509 client certs ?

    hi, (excuse me for my english)
    i'm looking for an answer to this question:
    I'm using the JAX-RPC libraries (JWSDP 2.0) for a web services client application in my app server (tomcat 4 under 1.4 Sun JVM) with HTTPS connection. All works fine when i'm using system.Setproperties for keystore and trustore.
    Buk now, I want to use different client SSL keys for the same app to consume the web service (one SSL client key for a group of users).
    Is it possible ?
    i've tried using custom SSLSocketFactory and custom KeyManager but it won't works: when the SSL connection is well established once, i can connect to the app with an invalide client cert ! (it seems SSL connection is in cache and i dont't know how to disable this cache).
    I have read some threads on this problem without answers ! (http://forum.java.sun.com/thread.jspa?forumID=331&threadID=333010 and http://forum.java.sun.com/thread.jspa?forumID=331&threadID=600372)
    Thanks
    Edited by: Buck007 on May 26, 2008 9:14 AM

    I have the same problem. If you find the solution please post it here :)
    thanks

  • How to use the SAP calendar in Workflow deadline time.

    Hi
    I’m setting a deadline time (LatestEnd, LatestStart) as an expression for some tasks in several workflows, but there’s an issue when this time is reached on holiday or weekend because the deadline for the Workflow have to be moved to the next working day, does anybody knows how can I set it up without ABAP programming, just workflow tools or WF functions?.
    I already made a function to make this calculation but I'd like to know if this can be done directly by SAP (workflow) standard.
    Thanks a lot 
    Regards
    Felipe Uribe

    Try to make use of the following Function module:
    DATE_CONVERT_TO_FACTORYDATE
    FACTORYDATE_CONVERT_TO_DATE
    LAST_FACTORYDATE_GET
    In your attribute determination.
    Thanks
    Arghadip

  • How to use sequence in client web proxy.

    Hi,
    I have created a sequence in database.
    And I am using that in EntityImpl as:
    SequenceImpl sequence=new SequenceImpl("Sequence_name",getDBTransaction);
    setAttribute(sequence.getSequenceNumber)
    I will automatically set the attribute with the sequence val.
    But I want to get the sequence value in client web proxy generated through WSDL.
    There I write the same code and imported the files.
    But it is giving me error that:
    java.lang.nullPointException.
    How to access the sequence in client web proxy generated through WSDL.

    Hi,
    expose a method on the ViewObject and make it available to the service interface. In Web Services it does not make sense to create dependencies between a client and the implementation detail of the service.
    Frank

  • How to use standalone java client with an enterprise bean in J2EE 1.4

    Hi All,
    I am have deployed a stateless session bean in Sun's J2EE 1.4 Application Server. i am trying to call the bean using a standalone java client. but the client cannot access the bean.
    The error coming is:
    Jan 21, 2004 7:48:27 PM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(
    RBUtilSystemException.java:1739)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(
    RBUtilSystemException.java:1757)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.
    init>(SocketFactoryConnectionImpl.java:74)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl
    createConnection(SocketFactoryContactInfoImpl.java:88)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begi
    Request(CorbaClientRequestDispatcherImpl.java:146)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(Corba
    lientDelegateImpl.java:121)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaCli
    ntDelegateImpl.java:212)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.jav
    :69)
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.ja
    a:58)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:12
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at StatelessSessionClient.main(StatelessSessionClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection re
    used: connect
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSoc
    etFactory.java:390)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.
    init>(SocketFactoryConnectionImpl.java:58)
    ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:457)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSoc
    etFactory.java:381)
    ... 11 more
    javax.naming.CommunicationException: Can't find SerialContextProvider
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.ja
    a:66)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:12
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at StatelessSessionClient.main(StatelessSessionClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed
    No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(
    RBUtilSystemException.java:1739)
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(
    RBUtilSystemException.java:1757)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.
    init>(SocketFactoryConnectionImpl.java:74)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl
    createConnection(SocketFactoryContactInfoImpl.java:88)
    at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begi
    Request(CorbaClientRequestDispatcherImpl.java:146)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(Corba
    lientDelegateImpl.java:121)
    at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaCli
    ntDelegateImpl.java:212)
    at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
    at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.jav
    :69)
    at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.ja
    a:58)
    ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection re
    used: connect
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSoc
    etFactory.java:390)
    at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.
    init>(SocketFactoryConnectionImpl.java:58)
    ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
    at sun.nio.ch.Net.connect(Native Method)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:457)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
    at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSoc
    etFactory.java:381)
    ... 11 more
    My java client uses the following code to access the bean:
    Hashtable props = new Hashtable();
    String URL="iiop://localhost:3700";
    props.put("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
    props.put("java.naming.provider.url", URL) ;
    InitialContext ctx = new InitialContext();
    Object ref = ctx.lookup("ejb/StatelessSessionHome");
    StatelessSessionHome home = (StatelessSessionHome)PortableRemoteObject.narrow(ref,StatelessSessionHome.class);
    StatelessSessionRemote statelessSession = home.create();
    plz help me to locate the error.
    Regards,
    Mohit

    Hi Amol,
    thanks for your suggestion.
    i have deployed the converter application in J2EE1.4 tutorial in Sun AppServer J2EE1.4. the deployment process works smoothly. but accessing the deployed converter bean using standalone client as given in the tutorial gives the following error.
    Caught an unexpected exception!
    javax.naming.NoInitialContextException: Need to specify class name in environmen
    t or system property, or as an applet parameter, or in an application resource f
    ile: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    40)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
    a:280)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at ConverterClient.main(ConverterClient.java:14)
    I have set the InitialHost and InitialPort as suggested by you in the client code. the client gets successfully compiled but gives error when executed.
    The client code is:
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    System.setProperty("org.omg.CORBA.ORBInitialHost","localhost");
    System.setProperty("org.omg.CORBA.ORBInitialPort","3700");          
    try {
    Context initial = new InitialContext();
    Object objref = initial.lookup
    ("java:comp/env/ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome)PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal ("100.00");
    BigDecimal amount =
    currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    Please suggest so that i can run the standalone client successfully.
    Regards,
    Mohit Kapoor

Maybe you are looking for

  • Songs in iTunes Matched but Won't Play... Sort Of...

    I signed up for iTunes Match because I wanted to move my library of songs off my computer to save space and I was intrigued by the idea of being able to sync with the library from my iPad or even when I'm overseas. Sometimes it works well enough that

  • Question mark in folder

    I have question mark in a folder when i turn on my computer this morning. It was still fine last night. I tried few of what others people do on website but it doesnt work. Can anyway I van fix that?

  • Crystal 8 link options index list does not exists in Crystal XI Release 2

    Crystal 8.0 Database -- Visual Linking Expert -- Highlight a link line from File A to File B -- right mouse click -- Optionsu2026..you will see multiple indexes listed I was then able to select the index This does not exist in Crystal XI Release 2 Da

  • Invalid Form error

    Dear Experts, I have created one matrix and one button in Purchase Order form. when i click on that button one form(frmopr) will be loaded. that form contains one matrix with data and one button. now i select one or more line in the matrix and click

  • EJB 3.0 InheritanceType JOINED stategy problem

    hi all, i have 3 table into database Root Table : PAYMENT_METHOD_DATA Child Table : BANK_TRNSF_METHOD_INFO Child Table : SCRATCH_METHOD_INFO in java i have inheritance joined strategy, then root class loojks like this : @Entity() @Table(name = "PAYME