API for connection count?

Hi,
Does WLS have an API for querying the number of connections made via EJB/JMS
(JNDI's InitialContext)? How would it work in a cluster (will I get
connections for that box or for the cluster)?
Thanks,
Assaf Pazner

Hi,
We believe instead of using IMPORT_COUNTREQUEST API you can use a Dataload script to key in data in Physical Inventory form.
Basically you need to populate 4 fields in this form, i.e Physical Inventory, Date, Description & Snapshot Complete (checkbox).
Go ahead and write a Dataload script for the same.
Regards,
S.P DASH

Similar Messages

  • API for connecting  to an external database object

    Hi,
    Can anyone provide me with the API for connecting to the external database table and to create , update and delete data with an Oracle external database object.
    Wish you great time.
    Best Regards
    Sid

    Questions like yours are best asked over at the webOS Developer's Forum.  The Palm Support Community here is geared to answering end-user questions about devices, not programming information.
    https://developer.palm.com/
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • IMPORT_COUNTREQUEST API for Physical Count form data load?

    Dear All,
    Please clarify whether I can use the IMPORT_COUNTREQUEST API for physical count form data load...?
    or which other API does the job other than dataload through dataloader..
    Please update...
    many thanks in advance....

    Hi,
    We believe instead of using IMPORT_COUNTREQUEST API you can use a Dataload script to key in data in Physical Inventory form.
    Basically you need to populate 4 fields in this form, i.e Physical Inventory, Date, Description & Snapshot Complete (checkbox).
    Go ahead and write a Dataload script for the same.
    Regards,
    S.P DASH

  • Is there any API for connecting web server and iphone apps

    Hi,
    I have to retrieve data from Web Server and display in my iphone apps. I want to know that is there any API through which i can connect my apps to server and get data.
    One way i know that use NSURLConnection and get XML response and prase it and use it like that.
    So anyone know this?
    Thanks.

    NSURLConnection is straightforward to use. In the mobile world, and especially if you intend to use certain google APIs, I would rather tend to use JSON instead of XML. A great JSON parser for objective-c is here: http://code.google.com/p/json-framework/
    Cheers,
    Marcelo

  • ODI substition API for connected attributes

    Hi,
    Is there an ODI substitution API which tells me which columns in source table are connected to columns of target table ?
    I have a simple interface where in Table A is populated from Table B. I want to find which are the connected columns between Table B and Table A.
    Thanks.

    Hi,
    You can get use odiRef.getSrcColList for that, it takes a couple of parameters and the 3rd one is for the source columns that are mapped:
    getSrcColList( java.lang.String pStart, java.lang.String pUnMappedPattern, java.lang.String pMappedPattern, java.lang.String pSeparator, java.lang.String pEnd)
    Something like *<%=odiRef.getSrcColList("","","[COL_NAME]",", ","")%>* should return a list of all the source column names that are mapped to target columns.
    Thanks,
    Julien

  • API for Physical Inventory Tag Count

    Hi , Please let me know if any Public API available for updating the physical Inventory tag count ? We have requirement like update of physical counts of Inventory tags, the idea is the counts  are stored  in flat file is in same column format of Physical Inventory Tag count form in Inventory , here just we need to update the counts. let me know any public API avaialble

    According to the oracle knowledgebase, there is no Public API.  But there is an enhancement request that you might want to add your company to.
    Bug 3611131 : INTERFACE/API FOR PHYSICAL INVENTORY ADJUSTMENTS / TAGS

  • API for Proxy Server Connection

    Hi,
    can anybody tell me any API for Proxy Server Connection in java EXCLUDING
    httpclient(apache) and setting system setting and making a urlconnection.

    hey thanx for replying
    Firstly i clear my requirement
    I want some other way of connecting to Proxy Server Irrespective of Httpclient and setting system properties and then making url Connection ,these ways are clear to me .
    I found one API HTTPClient (not belonging to apache Httpclient) its different
    u check this at
    http://www.innovation.ch/java/HTTPClient/api/index-all.html#_S_
    But the problem is this API Does't support NTLM
    i tried to found higher version of this API but i did't get .
    API should support :
    1. NTML
    2.JDK 1.4
    3.SOCKS (not necessary)
    4.HTTP protocol (other like FTP ... not necessary)

  • When i try to submit an application with Application Loader, the wizard is blocked on "Send API itunes connect usage, waiting for response". Any idea ?

    When i try to submit an application with Application Loader, the wizard is blocked on "Send API itunes connect usage, waiting for response". Any idea ?

    Thank you, Vincent! It's still down for me, but at least I know someone had the same issue. Hoping it's going to work over here soon
    Best!

  • API: Transport connect failed

    Hello,
    I've a Tacacs server ver. 3.2 running on a Win2000 SRV SP4 for outbound connections and a twin server for validate inbound connections (from Vpn Cli).
    Sometimes service Tacacs seems hang (more often for outbound conns, but sometimes for inbound also), cpu's process CSTacas becomes over 90%, authentication/authorisation are not permitted and I should restart service to let Tacacs to work again.
    Any ideas ? I post TCS.log if useful, thanks in advance
    TCS 21/05/2010 14:50:18 A 0197 5608 API: Transport connect failed
    TCS 21/05/2010 14:50:19 A 0197 5608 API: Transport connect failed
    TCS 21/05/2010 14:50:19 A 0197 5012 API: Transport connect failed
    TCS 21/05/2010 14:50:20 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:25 A 0197 5872 API: Transport connect failed
    TCS 21/05/2010 14:50:25 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:25 E 0963 0524 AuthorizationFailed: failed to write log entry for user4(0)
    TCS 21/05/2010 14:50:26 A 0197 5872 API: Transport connect failed
    TCS 21/05/2010 14:50:26 E 0963 5872 AuthorizationFailed: failed to write log entry for user1(0)
    TCS 21/05/2010 14:50:36 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:36 E 0163 0524 Pix: user 'user2' fails location check for authorisation
    TCS 21/05/2010 14:50:37 A 0197 5012 API: Transport connect failed
    TCS 21/05/2010 14:50:37 E 0163 5012 Pix: user 'user2' fails location check for authorisation
    TCS 21/05/2010 14:50:39 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:39 A 0197 5608 API: Transport connect failed
    TCS 21/05/2010 14:50:39 E 0163 5608 Pix: user 'user3' fails location check for authorisation
    TCS 21/05/2010 14:50:39 A 0197 5872 API: Transport connect failed
    TCS 21/05/2010 14:50:39 A 0197 5880 API: Transport connect failed
    TCS 21/05/2010 14:50:40 A 0197 5892 API: Transport connect failed
    TCS 21/05/2010 14:50:40 A 0197 5868 API: Transport connect failed
    TCS 21/05/2010 14:50:40 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:40 E 0963 0524 AuthorizationFailed: failed to write log entry for user4(0)
    TCS 21/05/2010 14:50:44 A 0197 5868 API: Transport connect failed
    TCS 21/05/2010 14:50:45 A 0197 5868 API: Transport connect failed
    TCS 21/05/2010 14:52:21 A 0197 5880 API: Transport connect failed
    TCS 21/05/2010 14:52:22 A 0197 5880 API: Transport connect failed
    TCS 21/05/2010 14:52:46 A 0197 5012 API: Transport connect failed
    TCS 21/05/2010 14:53:14 A 0197 5892 API: Transport connect failed
    TCS 21/05/2010 14:53:14 A 0197 5880 API: Transport connect failed
    TCS 21/05/2010 14:53:15 A 0197 5892 API: Transport connect failed
    TCS 21/05/2010 14:53:40 A 0651 2096 Server stop requested
    TCS 21/05/2010 14:53:40 A 1256 2624 Release Host Cache
    TCS 21/05/2010 14:53:40 A 1262 2624 Close Proxy Cache
    TCS 21/05/2010 14:53:40 A 1285 2624 Calling CMFini()
    TCS 21/05/2010 14:53:41 A 1287 2624 CMFini() Complete
    TCS 21/05/2010 14:53:41 A 1301 2624 Closing Password Aging
    TCS 21/05/2010 14:53:41 A 1314 2624 Closing Finished
    TCS 21/05/2010 14:53:44 A 5020 6040 CSTacacs server starting ==============================
    TCS 21/05/2010 14:53:44 A 5026 6040 Running as NT service.
    TCS 21/05/2010 14:53:48 E 1051 6040 Doing Stats
    TCS 21/05/2010 14:53:48 A 1092 6040
    **** Registry Setup ****
    TCS 21/05/2010 14:53:48 A 1119 6040 Single TCP connection operation enabled
    TCS 21/05/2010 14:53:48 A 1129 6040 Base Proxy enabled.
    TCS 21/05/2010 14:53:48 A 1196 6040 ************************
    TCS 21/05/2010 14:53:48 E 1083 6040 TACACS+ server started
    TCS 21/05/2010 14:53:50 A 0825 6104 Created new Single Connection session num 0 (count 1/1)
    TCS 21/05/2010 15:08:35 A 0825 6104 Created new Single Connection session num 1 (count 2/2)
    TCS 21/05/2010 15:16:27 A 0825 4840 Created new Single Connection session num 2 (count 3/3)
    TCS 21/05/2010 15:16:27 A 0825 4840 Created new Single Connection session num 3 (count 4/4)
    TCS 21/05/2010 15:49:35 A 0825 5952 Created new Single Connection session num 4 (count 5/5)
    TCS 21/05/2010 15:49:35 A 0825 5952 Created new Single Connection session num 5 (count 6/6)
    TCS 21/05/2010 15:49:35 A 0825 5952 Created new Single Connection session num 6 (count 7/7)
    TCS 21/05/2010 15:49:35 A 0825 5952 Created new Single Connection session num 7 (count 8/8)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 8 (count 9/9)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 9 (count 10/10)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 10 (count 11/11)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 11 (count 12/12)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 12 (count 13/13)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 13 (count 14/14)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 14 (count 15/15)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 15 (count 16/16)

    Hello,
    This can happen due to,
    -Corrupt registry
    -SYN attack which overwhelmed the cstacacs service with half-open tcp connections.
    -Single to single connect, acs getting out of threads, please disable single connect on acs and on aaa-client.
    ACS-->Network configuration-->AAA-client--->Edit--->Single connect.
    Please check this bug,
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?caller=pluginredirector&method=fetchBugDetails&bugId=CSCeh37849
    Regards,
    ~JG
    Do rate helpful posts

  • Resetting a for loop counter and restarting the computation

    I have a while loop nested inside a for loop to do a calculation of a model. 
    Lets say I am on the for loop counter 4. Suppose I wanted to keep track of the number of iterations on one the while loop, and if it exceeded a certain number say 100, exit the while loop.  I am doing this to avoid my model calculation being stuck at a spot due to optimization issues. I now want to restart the calculations of for loop counter 4. 
    Is there a way to do this in labview? 
    Solved!
    Go to Solution.

    Well first of all, if you are going to restart the loop with the same program inside it after it got stuck is it not just going to get stuck again creating a permanent loop in the code? Would you not just want to move on and have some sort of identifier that one of the for-loops got stuck?
    But I would recommend simply nesting your while-loop inside of another while loop, then connect the exit for the out while-loop to some variable from the inner while-loop, so if the optimization did not occur properly then it simply repeats the inner while-loop.
    Although I stick by my thoughts that you will just end up in a permanent loop if the optimization fails the first time.

  • Lack of true Ubuntu 64-bit support for Connect add-in

    Dear Adobe,
    This well-worn conversation seems to have been asked a few times before, and ignored a few times before, so you'll forgive me for re-opening it again.
    I downloaded the 64-bit debian package of your Adobe Connect add-in yesterday from Adobe's website. Here it is sitting on my local disk:
    $ ls ~/.shared/
    total 540108
    drwxrwxrwx 2 root     root          4096 2012-05-31 15:00 ./
    drwxr-xr-x 5 root     root          4096 2012-04-23 22:24 ../
    -rw-r--r-- 1 root     root     540016672 2012-05-27 00:03 temp.tar
    -rw-r--r-- 1 root     root       4026194 2012-05-30 22:51 ConnectAddin64.deb
    I then installed the package. However, when I tried to join my meeting, before the "Connecting..." screen appears with the progress bar, a blank white page flashed very briefly saying "Adobe Connect add-in not installed". Unsurprisingly, I wasn't able to join my meeting, and your online diagnostics site also confirmed that the add-in wasn't installed in my browser (Firefox 11).
    Then, reading other users' tales of woe, I located and analysed the installed binary, and this is what I saw:
    $ readelf -h /usr/local/connectaddin
    ELF Header:
      Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
      Class:                             ELF32
      Data:                              2's complement, little endian
      Version:                           1 (current)
      OS/ABI:                            UNIX - System V
      ABI Version:                       0
      Type:                              EXEC (Executable file)
      Machine:                           Intel 80386
      Version:                           0x1
      Entry point address:               0x8055810
      Start of program headers:          52 (bytes into file)
      Start of section headers:          7629080 (bytes into file)
      Flags:                             0x0
      Size of this header:               52 (bytes)
      Size of program headers:           32 (bytes)
      Number of program headers:         9
      Size of section headers:           40 (bytes)
      Number of section headers:         42
      Section header string table index: 39
    This is a 32-bit binary. There is absolutely no mistake about it. And even though it is a GTK binary,  it fails to work on a 64-bit system with 32-bit dual support due to the fact it appears to have the search paths to its libraries hard-coded into it:
    $ export GTK_PATH=/usr/lib32/gtk-2.0
    $ ./connectaddin
    (connectaddin:5416): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64
    (connectaddin:5416): Gtk-WARNING **: Loading IM context type 'ibus' failed
    You notice how GTK_PATH is ignored. The path in the above message is where the 32-bit binary would be sitting if I were on a 32-bit native system. However, as I'm on a 64-bit system, my 32-bit libraries are in:
    $ ls /usr/lib32/gtk-2.0/2.10.0/immodules
    total 180
    drwxr-xr-x 2 root root  4096 2012-05-31 17:23 ./
    drwxr-xr-x 5 root root  4096 2012-05-31 17:38 ../
    -rw-r--r-- 1 root root 18740 2011-04-15 02:48 im-am-et.so
    -rw-r--r-- 1 root root  5516 2011-04-15 02:48 im-cedilla.so
    -rw-r--r-- 1 root root  7060 2011-04-15 02:48 im-cyrillic-translit.so
    -rw-r--r-- 1 root root 17976 2011-03-04 13:49 im-ibus.so
    -rw-r--r-- 1 root root  7484 2011-04-15 02:48 im-inuktitut.so
    -rw-r--r-- 1 root root  6160 2011-04-15 02:48 im-ipa.so
    -rw-r--r-- 1 root root  9620 2011-04-15 02:48 im-multipress.so
    -rw-r--r-- 1 root root  9540 2011-04-15 02:48 im-thai.so
    -rw-r--r-- 1 root root 18728 2011-04-15 02:48 im-ti-er.so
    -rw-r--r-- 1 root root 18728 2011-04-15 02:48 im-ti-et.so
    -rw-r--r-- 1 root root  7372 2011-04-15 02:48 im-viqr.so
    -rw-r--r-- 1 root root 26284 2011-04-15 02:48 im-xim.so
    Will somebody please let us users know when Adobe will be (or won't be, for that matter) actually providing a true 64-bit linux version of their Adobe Connect add-in, instead of packaging the 32-bit version of the add-in in an archive that says 64-bit?
    Thanks in advance,

    That is the last supported player for Linux using the NPAPI. Chrome's new API, PPAPI, is still going to be supported in Linux, Mac and PC OS's and will have the current version of Flash Player for all those OS's.
    Here is Adobe's statement regarding Flash Player on Linux OS's.
    Adobe wrote:
    Linux:
    Adobe has been working closely with Google to develop a single, modern API for hosting plug-ins within the browser. The PPAPI, code-named "Pepper", aims to provide a layer between the plug-in and browser that abstracts away differences between browser and operating system implementations. You can find more information on the Pepper API at http://code.google.com/p/ppapi/.
    Because of this work, Adobe has been able to partner with Google in providing a "Pepper" implementation of Flash Player for all x86/64 platforms supported by the Google Chrome browser. Google will begin distributing this new Pepper-based Flash Player as part of Chrome on all platforms, including Linux, later this year.
    For Flash Player releases after 11.2, the Flash Player browser plug-in for Linux will only be available via the "Pepper" API as part of the Google Chrome browser distribution and will no longer be available as a direct download from Adobe. Adobe will continue to provide security updates to non-Pepper distributions of Flash Player 11.2 on Linux for five years from its release.
    Flash Player will continue to support browsers using non-"Pepper" plug-in APIs on platforms other than Linux.
    Adobe will be providing a debug player implementation of the Flash Player browser plug-in on Linux, and will update this document once there are more details on how it will be distributed.
    The full release can be seen here: http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

  • Java API for running entire ".sql" files on a remote DB ( mySQL or Oracle)?

    Hi,
    Would anyone happen to know if there's a java API for executing entire ".sql" files (containing several different SQL commands), on a remote database server ?
    It's enough if the API works with MySQL and/or Oracle.
    Just to demonstrate what i'm looking for:
    Suppose you've created sql file "c:/test.sql" with several script lines:
    -- test.sql:
    insert into TABLE1 values(3,3);
    insert into TABLE1 values(5,5);
    create table TABLE2 (name VARCHER) ENGINE innoDB; -- MYSQL specific
    Then the java API should look something like:
    // Dummy java code:
    String driver="com.mysql.jdbc.Driver";
    String url= "jdbc:mysql://localhost:3306/myDb";
    SomeAPI.executeScriptFile( "c:/test.sql", driver, url);
    Thanks.

    No such a API, but it's easy to parse all sqls in a file, then run those command:
    For instance:
    import java.sql.*;
    import java.util.Properties;
    /* A demo show how to load some sql statements. */
    public class testSQL {
    private final static Object[] getSQLStatements(java.util.Vector v) {
    Object[] statements = new Object[v.size()];
    Object temp;
    for (int i = 0; i < v.size(); i++) {
    temp = v.elementAt(i);
    if (temp instanceof java.util.Vector)
    statements[i] = getSQLStatements( (java.util.Vector) temp);
    else
    statements[i] = temp;
    return statements;
    public final static Object[] getSQLStatements(String sqlFile) throws java.
    io.IOException {
    java.util.Vector v = new java.util.Vector(1000);
    try {
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.
    FileReader(sqlFile));
    java.util.Vector batchs = new java.util.Vector(10);
    String temp;
    while ( (temp = br.readLine()) != null) {
    temp = temp.trim();
    if (temp.length() == 0)
    continue;
    switch (temp.charAt(0)) {
    case '*':
    case '"':
    case '\'':
    // System.out.println(temp);
    break; //Ignore any line which begin with the above character
    case '#': //Used to begin a new sql statement
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    case 'S':
    case 's':
    case '?':
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    v.addElement(temp);
    break;
    case '!': //Use it to get a large number of simple update statements
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    String part1 = temp.substring(1);
    String part2 = br.readLine();
    for (int i = -2890; i < 1388; i += 39)
    batchs.addElement(part1 + i + part2);
    for (int i = 1890; i < 2388; i += 53) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 4320; i > 4268; i--) {
    batchs.addElement(part1 + i + part2);
    batchs.addElement(part1 + i + part2);
    for (int i = 9389; i > 7388; i -= 83)
    batchs.addElement(part1 + i + part2);
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    break;
    default:
    batchs.addElement(temp);
    break;
    if (batchs.size() > 0) {
    v.addElement(getSQLStatements(batchs));
    batchs.removeAllElements();
    br.close();
    br = null;
    catch (java.io.FileNotFoundException fnfe) {
    v.addElement(sqlFile); //sqlFile is a sql command, not a file Name
    Object[] statements = new Object[v.size()];
    for (int i = 0; i < v.size(); i++)
    statements[i] = v.elementAt(i);
    return statements;
    public static void main(String argv[]) {
    try {
    String url;
    Object[] statements;
    switch (argv.length) {
    case 0: //Use it for the simplest test
    case 1:
    url = "jdbc:dbf:/.";
    if (argv.length == 0) {
    statements = new String[1];
    statements[0] = "select * from test";
    else
    statements = argv;
    break;
    case 2:
    url = argv[0];
    statements = getSQLStatements(argv[1]);
    break;
    default:
    throw new Exception(
    "Syntax Error: java testSQL url sqlfile");
    Class.forName("com.hxtt.sql.dbf.DBFDriver").newInstance();
    //Please see Connecting to the Database section of Chapter 2. Installation in Development Document
    Properties properties = new Properties();
    Connection con = DriverManager.getConnection(url, properties);
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    //Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    // stmt.setMaxRows(0);
    stmt.setFetchSize(10);
    final boolean serializeFlag = false;//A test switch to serialize/deserialize the resultSet
    ResultSet rs;
    for (int i = 0; i < statements.length; i++) {
    if (statements[i] instanceof java.lang.String) {
    String temp = (java.lang.String) statements;
    switch (temp.charAt(0)) {
    case 'S':
    case 's':
    case '?':
    System.out.println(temp);
    rs = stmt.executeQuery(temp);
    if (serializeFlag) {
    // serialize the resultSet
    try {
    java.io.FileOutputStream fileOutputStream = new
    java.io.FileOutputStream("testrs.tmp");
    java.io.ObjectOutputStream
    objectOutputStream = new java.io.
    ObjectOutputStream(fileOutputStream);
    objectOutputStream.writeObject(rs);
    objectOutputStream.flush();
    objectOutputStream.close();
    fileOutputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    rs.close(); //Let the CONCUR_UPDATABLE resultSet release its open files at once.
    rs = null;
    // deserialize the resultSet
    try {
    java.io.FileInputStream fileInputStream = new
    java.io.FileInputStream("testrs.tmp");
    java.io.ObjectInputStream objectInputStream = new
    java.io.ObjectInputStream(
    fileInputStream);
    rs = (ResultSet) objectInputStream.
    readObject();
    objectInputStream.close();
    fileInputStream.close();
    catch (Exception e) {
    System.out.println(e);
    e.printStackTrace();
    System.exit(1);
    ResultSetMetaData resultSetMetaData = rs.
    getMetaData();
    int iNumCols = resultSetMetaData.getColumnCount();
    for (int j = 1; j <= iNumCols; j++) {
    // System.out.println(resultSetMetaData.getColumnName(j));
    /* System.out.println(resultSetMetaData.getColumnType(j));
    System.out.println(resultSetMetaData.getColumnDisplaySize(j));
    System.out.println(resultSetMetaData.getPrecision(j));
    System.out.println(resultSetMetaData.getScale(j));
    System.out.println(resultSetMetaData.
    getColumnLabel(j)
    + " " +
    resultSetMetaData.getColumnTypeName(j));
    Object colval;
    rs.beforeFirst();
    long ncount = 0;
    while (rs.next()) {
    // System.out.print(rs.rowDeleted()+" ");
    ncount++;
    for (int j = 1; j <= iNumCols; j++) {
    colval = rs.getObject(j);
    System.out.print(colval + " ");
    System.out.println();
    rs.close(); //Let the resultSet release its open tables at once.
    rs = null;
    System.out.println(
    "The total row number of resultset: " + ncount);
    System.out.println();
    break;
    default:
    int updateCount = stmt.executeUpdate(temp);
    System.out.println(temp + " : " + updateCount);
    System.out.println();
    else if (statements[i] instanceof java.lang.Object[]) {
    int[] updateCounts;
    Object[] temp = (java.lang.Object[]) statements[i];
    try {
    for (int j = 0; j < temp.length; j++){
    System.out.println( temp[j]);
    stmt.addBatch( (java.lang.String) temp[j]);
    updateCounts = stmt.executeBatch();
    for (int j = 0; j < temp.length; j++)
    System.out.println((j+1)+":"+temp[j]);
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":" +updateCounts[j]);
    catch (java.sql.BatchUpdateException e) {
    updateCounts = e.getUpdateCounts();
    for (int j = 0; j < updateCounts.length; j++)
    System.out.println((j+1)+":"+updateCounts[j]);
    java.sql.SQLException sqle = e;
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (java.sql.SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" +
    sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    stmt.clearBatch();
    System.out.println();
    stmt.close();
    con.close();
    catch (SQLException sqle) {
    do {
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:" + sqle.getErrorCode());
    System.out.println("SQL State:" + sqle.getSQLState());
    sqle.printStackTrace();
    while ( (sqle = sqle.getNextException()) != null);
    catch (Exception e) {
    System.out.println(e.getMessage());
    e.printStackTrace();

  • Problem Create System Object in the Portal for connecting CRM abap

    Hi, i creating system in the portal (JCX) for connecting system ABAP CRM (CRX), after create system try run test connection and show messages error:
    Test Connection with Connector
      Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    In the logs the portal (NWA) show messages:
    Failed in creating the JCO Connection.
    The logs operation system (log Security_audit.log)
    Error> occured  >Thu Jun 23 11:34:41,278<RfcException: message: 'mshost' missing  Return code: RFC_INVALID_PARAMETER(19  Return code: RFC_INVALID_PARAMETER(19)    error group: 101 key: FC_ERROR_PROGRAM
         at com.sap.mw.rfc.api.RfcOptions.checkParameters(RfcOptions.java:438)
         at com.sap.mw.rfc.api.RfcApi.RfcOpen(RfcApi.java:688)
         at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1079)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:3256)
    Plase help, any idea?

    message: 'mshost' missing Return
    During the System Object Creating in System Landscape, there is any entry as Message Server Host: CRM MS HOST
    and Message Server Port : sapmsSID and add this entry in etc/services --> bottom samsSID 36NN/tcp where NN is instance number.
    Try this and let me know.
    Thanks
    SM

  • Problem JMS-c api for message Acknowledgement

    Hi,
              I am working in a project that uses bea-JMS C api for
              Communictions.In my project i am using topic messaging for message reciving and sending..Here i am using durablesubscriber for receiving and client Acknowledgement to Acknowledge the message.
              In receiving function I store the message in another JmsMessage for Client-Acknowledgement.
              Here comes one problem that, while i Acknowledge on the receive function each and every message Acknowledge correctly.But while i Acknowledge that message from some other function it return -1 as , that it cannot Acknowledge.The other function is working in another thread.
              Wheather the seprate thread will make the problem for confirmation.

    Similar to JDBC connections, JMS sessions and their related child producers and consumers are not thread-safe (with the one exception of the session.close() method).
              For example, without added application level locking, its not safe to acknowledge a message from one thread while another thread receives or produces a message. This has special implications for asynchronous consumers, as once the asynchronous consumer is created, access to the session and objects is limited to code within the "onMessage()" and "onException()" callbacks.
              This behavior is detailed in the JMS specification.
              Tom

  • ABAP API for MDM work flow

    Hi SDN,
    I need some information related to ABAP API for MDM workflow. I did search in SDN and I found one solution in a thered posted on Jul-2008.
    ABAP API - MDM Workflow execute
    My dought is: Do we have any ABAP API for call MDM work flow. Please provide me the solution ASAP. Apprciate for your immediate response.
    Regards,
    Kumar.

    Hi LAKSHMAN ,
    To answer your question specifically
    Using ABAP api you cannot call MDM workflows as of mdm 5.5 there are no functions specific to calling MDM workflows in ABAP.If you want to implement workflows on ABAP side you need to go for SAP ECC workflows which is a different topic than MDM>
    To call MDM workflows over the Java stack ie WAS (SAP portal),You have 2 ways
    - UWL
    - Guided Procedures.
    - UWL is a way of calling MDM workflows on EP.Wherein the workflow design will be done in MDM and it will only be called in portal using appropiate connections and configurations.
    You can refer the below links to know more on them:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/771f1a61-0e01-0010-daa9-93a52905da09 (uwl)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45 (UWL config)
    - GP is a way where by you need to design the entire workflow on SAP portal the logic can be pertaining to MDM but the design is completely on portal using webdynpros and api.
    You can refer the below links to know more on them:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831  (Guided procedures)
    Enterprise Master Data Management   (EP Guided)
    To know more on ABAP api and its provider classes you can refer the below:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601ddb01-e5c8-2910-d981-b190b51fca44  (abap api webinar)
    Re: Abap api error (Abap api provider classes Forum)
    Hope It Helped
    Thanks & Regards
    Simona Pinto

Maybe you are looking for

  • More small datafiles or one big datafile for tablespace

    Hello, I would like to create a new tablespace (about 4 GB). Could someone if it's better to create one big datafile or create 4 datafiles with 1 GB each? Thank you.

  • Jaxp fails to unmarshall xml document if it contaions the "&" character

    Hi,      We are using JAXB in our applications and have recently experienced a problem with parsing of xml document ( when calling unmarshall method of jaxb ). The problem occurs when the xml element contains the character & in it f.eks. "Hennes & Ma

  • Alignment/image insertion inTextArea  Problem

    can any one tell me how can I set the allignment for TextArea. And how to insert an image in TextArea.

  • Workflow question - versions in jpg

    Hello I am figuring out how Aperture works. Am not quite getting it yet. I have been using Bridge 4 (came with PS Elements 8) and I quite like that program to sort through my photos, but it is getting a bit slow.... So, I thought perhaps try Aperture

  • Migration failed 10.8.1 fresh install

    what goes on with this .... ?! downloaded 10.8.1 from appstore, did a fresh install and after reboot and different windows the migration-window came, now i choosed "another volume" (same mac) the volume is shown, next window counts the gb's and after