Calling the pcsclite lib on Linux

Hi folks,
I'm trying to access the pcsclite library on an Ubuntu, however without any experiences with C++ programming it seems to be really hard.
Well, I use JNA to access native libraries and on Windows it just works fine, but on Linux I get the error:
Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized calling convention: 1.
This means the methode I tried to call doesn't exist in the library. So I double and even triple checked if I really used the right syntax and if there are no typing errors. Everything looks ok to me.
The documentation of the API defines the method as following:
SCardEstablishContext (DWORD dwScope, LPCVOID pvReserved1, LPCVOID pvReserved2, LPSCARDCONTEXT phContext)
In my main()-Methode the call looks like that:
int pvReserved1 = 0, pvReserved2 = 0;
phContext = new int[1]
int error = winSCard.SCardEstablishContext(libpcsclite.SCARD_SCOPE_SYSTEM,
                    pvReserved1, pvReserved2, phContext);And my libpcsclite interface looks like that:
public interface libpcsclite extends StdCallLibrary{
    public static final int SCARD_SCOPE_USER = 0;
    public static final int SCARD_SCOPE_TERMINAL = 1;
    public static final int SCARD_SCOPE_SYSTEM = 2;
int SCardEstablishContext(int dwScope, int pvReserved1,
               int pvReserved2, int[] phContext);Any ideas what I'm doing wrong? I couldn't find the mistake.

Why don't you just use Java 1.6+ and javax.smartcardio? IMHO this is the "right way" of accessing smart cards on PC/SC level from Java.

Similar Messages

  • Use a wrapper to build a C++ Dll that calls a C++ .lib and Use the Dll is LabView

    Hi All,
    I need to access some functions in a C++ .lib within LabView, but has no source code for the library.  Can I build a Dll in Visual C++ that calls this library, then have LabView calls the Dll? If so, how different is building this Dll compared to building a Dll from a .cpp file?  I am new to C++, could some one suggest how to use the .lib in Visual C++ 6.0 studio to build the Dll?
    Thanks for your help.
    Bryan

    BryanL wrote:
    Hi Rolf, thanks for the info. I will try to build a vi to call that function. For a more immediate need, I can use a downloaded vi that calls SetActiveWindow function, then use its output windowshandle to find the window name with a lvwuser32.dll function. The problem is this find window name function vi requires a windows reference input, which does not take the window handle output from the SetActiveWindow vi. How do i convert the window handle into a reference number? Thanks again.
    Don't try to write a VI to call that function. That function requires a callback function pointer, something that is more or less impossible (well you can get it done but it is not worth the trouble) to create in LabVIEW. You will need an external DLL that does the enumeration and returns an array of strings to LabVIEW.
    The lvwuser32.dll also just uses window handles. Look inside those VIs and you should see that those window references are typecasted into uint32 and then passed to the Call Library Node if I remember correctly. You definitely should be able to typecast the (probably uint32) you get from your other function into the window reference that that VI takes. The window reference of the lvutil library is just a nice trick to make it refnum like so that you can not inadvertly wire something else to it (and confuse/crash Windows).
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Unexpected Signal : 8 occurred at PC=0xF7EF926B Function=(null) Library=/lib/ld-linux.so.2 install oracle 10g r2 in SUSE 10.1

    I'm install oracle 10g r2 on SUSE 10.1, but when call "runInstaller" appears an error:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 8 occurred at PC=0xF7EF926B
    Function=(null)
    Library=/lib/ld-linux.so.2
    NOTE: We are unable to locate the function name symbol for the error
          just occurred. Please refer to release documentation for possible
          reason and solutions.
    Current Java thread:
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(Unknown Source)
            - locked <0xe6fe7f20> (a java.util.Vector)
            - locked <0xe6fe7f38> (a java.util.Vector)
            at java.lang.ClassLoader.loadLibrary(Unknown Source)
            at java.lang.Runtime.loadLibrary0(Unknown Source)
            - locked <0xe6fe7460> (a java.lang.Runtime)
            at java.lang.System.loadLibrary(Unknown Source)
            at sun.security.action.LoadLibraryAction.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
            at sun.awt.DebugHelper.<clinit>(Unknown Source)
            at java.awt.Component.<clinit>(Unknown Source)
    Dynamic libraries:
    08048000-08056000 r-xp 00000000 68:03 1327705                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/bin/java
    08056000-08059000 rwxp 0000d000 68:03 1327705                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/bin/java
    08059000-0831a000 rwxp 08059000 00:00 0                                  [heap]
    e4caa000-e4cbf000 r-xp 00000000 68:03 2277383                            /usr/X11R6/lib/libICE.so.6.4
    e4cbf000-e4cc0000 rwxp 00014000 68:03 2277383                            /usr/X11R6/lib/libICE.so.6.4
    e4cc2000-e4cca000 r-xp 00000000 68:03 2277385                            /usr/X11R6/lib/libSM.so.6.0
    e4cca000-e4ccb000 rwxp 00007000 68:03 2277385                            /usr/X11R6/lib/libSM.so.6.0
    e4ccb000-e4dbf000 r-xp 00000000 68:03 2277389                            /usr/X11R6/lib/libX11.so.6.2
    e4dbf000-e4dc2000 rwxp 000f4000 68:03 2277389                            /usr/X11R6/lib/libX11.so.6.2
    e4dc2000-e4dc6000 r-xp 00000000 68:03 2277442                            /usr/X11R6/lib/libXtst.so.6.1
    e4dc6000-e4dc7000 rwxp 00004000 68:03 2277442                            /usr/X11R6/lib/libXtst.so.6.1
    e4dc7000-e4dd4000 r-xp 00000000 68:03 2277413                            /usr/X11R6/lib/libXext.so.6.4
    e4dd4000-e4dd5000 rwxp 0000c000 68:03 2277413                            /usr/X11R6/lib/libXext.so.6.4
    e4dd5000-e4e21000 r-xp 00000000 68:03 2277377                            /usr/X11R6/lib/libXt.so.6.0
    e4e21000-e4e25000 rwxp 0004b000 68:03 2277377                            /usr/X11R6/lib/libXt.so.6.0
    e4e25000-e4e33000 r-xp 00000000 68:03 3623598                            /etc/ld.so.cache
    e4e33000-e4e3a000 r-xp 00000000 68:03 2670602                            /usr/lib/libXp.so.6.2.0
    e4e3a000-e4e3b000 rwxp 00006000 68:03 2670602                            /usr/lib/libXp.so.6.2.0
    e4e3b000-e4e8e000 r-xp 00000000 68:03 1327561                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libmlib_image.so
    e4e8e000-e4e8f000 rwxp 00052000 68:03 1327561                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libmlib_image.so
    e4e8f000-e5160000 r-xp 00000000 68:03 1327544                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libawt.so
    e5160000-e5176000 rwxp 002d0000 68:03 1327544                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libawt.so
    e519b000-e5420000 r-xs 00000000 68:03 917710                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/ewt3.jar
    e5420000-e5447000 r-xs 00000000 68:03 917715                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/help4-nls.jar
    e5447000-e54ac000 r-xs 00000000 68:03 917714                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/help4.jar
    e54ac000-e5561000 r-xs 00000000 68:03 917727                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/oracle_ice.jar
    e5561000-e557e000 r-xs 00000000 68:03 917725                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_zh_TW.jar
    e557e000-e559b000 r-xs 00000000 68:03 917724                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_zh_CN.jar
    e559b000-e55b9000 r-xs 00000000 68:03 917723                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_pt_BR.jar
    e55b9000-e55d6000 r-xs 00000000 68:03 917722                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_ko.jar
    e55d6000-e55f2000 r-xs 00000000 68:03 917721                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_ja.jar
    e55f2000-e560f000 r-xs 00000000 68:03 917720                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_it.jar
    e560f000-e562c000 r-xs 00000000 68:03 917719                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_fr.jar
    e562c000-e5649000 r-xs 00000000 68:03 917718                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_es.jar
    e5649000-e5668000 r-xs 00000000 68:03 917717                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp_de.jar
    e5668000-e5684000 r-xs 00000000 68:03 917716                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstHelp.jar
    e5684000-e56a5000 r-xs 00000000 68:03 917726                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/InstImages.jar
    e56a5000-e56ab000 r-xs 00000000 68:03 917741                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/ojmisc.jar
    e56ab000-e5789000 r-xs 00000000 68:03 917738                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/emCfg.jar
    e5789000-e579c000 r-xs 00000000 68:03 917740                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/orai18n-mapping.jar
    e579c000-e589c000 r-xs 00000000 68:03 917739                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/orai18n-collation.jar
    e589c000-e5921000 r-xs 00000000 68:03 917737                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/xml.jar
    e5921000-e592f000 r-xs 00000000 68:03 917746                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/share.jar
    e592f000-e59f6000 r-xs 00000000 68:03 917743                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/srvm.jar
    e59f6000-e5b1e000 r-xs 00000000 68:03 917742                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/xmlparserv2.jar
    e5b1e000-e5b2b000 r-xs 00000000 68:03 917736                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/oneclick.jar
    e5b2b000-e5ec8000 r-xs 00000000 68:03 917744                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/OraInstaller.jar
    e5ec8000-e5ee4000 r-xs 00000000 68:03 1327533                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/ext/sunjce_provider.jar
    e5ee4000-e5f9f000 r-xs 00000000 68:03 1327532                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/ext/localedata.jar
    e5f9f000-e5fac000 r-xs 00000000 68:03 1327531                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/ext/ldapsec.jar
    e61b0000-e61b7000 r-xs 00000000 68:03 4358699                            /usr/lib/gconv/gconv-modules.cache
    e61b7000-e61ea000 r-xp 00000000 68:03 4342576                            /usr/lib/locale/en_US.utf8/LC_CTYPE
    f3a40000-f3a42000 r-xp 00000000 68:03 2277395                            /usr/X11R6/lib/libXau.so.6.0
    f3a42000-f3a43000 rwxp 00001000 68:03 2277395                            /usr/X11R6/lib/libXau.so.6.0
    f5aeb000-f607a000 r-xs 00000000 68:03 1311166                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/charsets.jar
    f607a000-f608b000 r-xs 00000000 68:03 1311204                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/jce.jar
    f608b000-f6164000 r-xs 00000000 68:03 1311205                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/jsse.jar
    f6164000-f617a000 r-xs 00000000 68:03 1311213                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/sunrsasign.jar
    f61c4000-f78b2000 r-xs 00000000 68:03 1311212                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/rt.jar
    f78b2000-f78c6000 r-xp 00000000 68:03 1327567                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libzip.so
    f78c6000-f78c9000 rwxp 00013000 68:03 1327567                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libzip.so
    f78c9000-f78e9000 r-xp 00000000 68:03 1327552                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libjava.so
    f78e9000-f78eb000 rwxp 0001f000 68:03 1327552                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libjava.so
    f78eb000-f78fb000 r-xp 00000000 68:03 1327566                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libverify.so
    f78fb000-f78fd000 rwxp 0000f000 68:03 1327566                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/libverify.so
    f78fd000-f7901000 rwxs 00000000 68:03 1065531                            /tmp/hsperfdata_oracle/5768
    f7901000-f7936000 r-xs 00000000 68:02 344767                             /var/run/nscd/passwd
    f7936000-f7959000 r-xp 00000000 68:03 4440091                            /lib/libm-2.4.so
    f7959000-f795b000 rwxp 00022000 68:03 4440091                            /lib/libm-2.4.so
    f795b000-f796c000 r-xp 00000000 68:03 4440094                            /lib/libnsl-2.4.so
    f796c000-f796e000 rwxp 00010000 68:03 4440094                            /lib/libnsl-2.4.so
    f7970000-f7d76000 r-xp 00000000 68:03 1327575                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/client/libjvm.so
    f7d76000-f7d91000 rwxp 00405000 68:03 1327575                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/client/libjvm.so
    f7da6000-f7ec1000 r-xp 00000000 68:03 4440083                            /lib/libc-2.4.so
    f7ec1000-f7ec3000 r-xp 0011a000 68:03 4440083                            /lib/libc-2.4.so
    f7ec3000-f7ec5000 rwxp 0011c000 68:03 4440083                            /lib/libc-2.4.so
    f7ec8000-f7eca000 r-xp 00000000 68:03 4440089                            /lib/libdl-2.4.so
    f7eca000-f7ecc000 rwxp 00001000 68:03 4440089                            /lib/libdl-2.4.so
    f7ecc000-f7edd000 r-xp 00000000 68:03 4440109                            /lib/libpthread-2.4.so
    f7edd000-f7edf000 rwxp 00010000 68:03 4440109                            /lib/libpthread-2.4.so
    f7ee1000-f7ee3000 r-xs 00000000 68:03 917745                             /tmp/OraInstall2013-08-29_05-25-11PM/oui/jlib/OraInstallerNet.jar
    f7ee3000-f7ee6000 r-xs 00000000 68:03 1327530                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/ext/dnsns.jar
    f7ee6000-f7eee000 r-xp 00000000 68:03 1327577                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/native_threads/libhpi.so
    f7eee000-f7eef000 rwxp 00007000 68:03 1327577                            /tmp/OraInstall2013-08-29_05-25-11PM/jre/1.4.2/lib/i386/native_threads/libhpi.so
    f7ef0000-f7f0a000 r-xp 00000000 68:03 4440076                            /lib/ld-2.4.so
    f7f0a000-f7f0c000 rwxp 0001a000 68:03 4440076                            /lib/ld-2.4.so
    ff9c9000-ff9d6000 rwxp ff9c9000 00:00 0                                  [stack]
    Heap at VM Abort:
    Heap
    def new generation   total 576K, used 380K [0xe6440000, 0xe64e0000, 0xe6fc0000)
      eden space 512K,  62% used [0xe6440000, 0xe64908e0, 0xe64c0000)
      from space 64K,  90% used [0xe64c0000, 0xe64ce760, 0xe64d0000)
      to   space 64K,   0% used [0xe64d0000, 0xe64d0000, 0xe64e0000)
    tenured generation   total 1408K, used 178K [0xe6fc0000, 0xe7120000, 0xefa40000)
       the space 1408K,  12% used [0xe6fc0000, 0xe6fec878, 0xe6feca00, 0xe7120000)
    compacting perm gen  total 4096K, used 1599K [0xefa40000, 0xefe40000, 0xf3a40000)
       the space 4096K,  39% used [0xefa40000, 0xefbcfe58, 0xefbd0000, 0xefe40000)
    Local Time = Thu Aug 29 17:25:12 2013
    Elapsed Time = 0
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)

    But, following notes 10gR2:
    1 Certification Information
    The latest certification information for Oracle Database 10g Release 2 (10.2) is available on My Oracle Support (formerly OracleMetaLink) at:
    https://support.oracle.com
    Linux Certification
    Starting with Oracle Database 10g Release 2, the following operating systems are supported in addition to the list documented in Oracle Database Installation Guide for Linux x86-64:
    Asianux 2
    Asianux 3
    Oracle Linux 4/Oracle VM
    Oracle Linux 5/Oracle VM
    Red Hat Enterprise Linux 4/Oracle VM
    Red Hat Enterprise Linux 5/Oracle VM
    SUSE Linux Enterprise Server 10
    SUSE Linux Enterprise Server 11

  • Are the shared libs fixed in 815?

    The client lib (libclntsh.so) in 8.0.5 was broken. It's missing
    the symbol slpmprodstab located in ~/lib/scorept.o. So, you
    can't even connect. It's easy enough to fix (link scorept.o into
    a shared lib and link it first) but we can't tell our customers
    to do this for ever....
    I just downloaded the 8051 patches and they don't fix the
    problem, so I'm wondering if 815 fixes it?
    (sure would be nice to get some decent client libs!!)
    pete
    null

    It's not broken. From note 68151.1:
    In release 8.0, it was decided that a lot more oracle products
    would be linked to the client shared library, libclntsh.so.
    In doing this it was realised that the symbol slpmprodstab
    was resolved differently for each product and so could not
    be included in the shared library. On platforms where this
    practice has been adopted (e.g. Solaris) extra, product
    specific, object modules have to be included to resolve this
    symbol. Peter Hatch (guest) wrote:
    : Sandman (guest) wrote:
    : : Wow. Like I said, I didn't have a problem at all when I
    : : installed. Friends on EfNet say I live a blessed install
    life,
    : : because I rarely have problems when installing Oracle
    software.
    : : laff
    : This isn't an install problem. It causes certain (necessary)
    : calls to the client library to crash (i.e. core dump) because
    : they can't find the symbol. Oracle has the exact same problem
    : under Solaris--it's a build problem on their end...
    : : Hopefully, this is fixed in 8i since they were aware of it
    : while
    : As I said, it's not fixed as of 8051, so I was asking if anyone
    : has noticed it being fixed under 815 since I'm not going to
    : allocate the time/space to install that if it's got the same
    : problem.
    : : working on the product.
    : : Peter Hatch (guest) wrote:
    : : : Sandman (guest) wrote:
    : : : : I dont remember seeing this problem. Does this happen
    with
    : : : : glibc 2.1 or glibc 2.0.x?
    : : : glibc 2.0, but that shouldn't matter. It's got nothing to
    do
    : : : with the C libs. This symbol isn't defined in the client
    : : library
    : : : (at least not in the shared lib). I've talked to Oracle
    : folks
    : : at
    : : : almost every Linux trade show so far and have been told "we
    : : know
    : : : about the problem and we're working on it." Working on
    : what?
    : : : you just have to compile the library correctly....
    : : : FWIW-Sybase has even worse problems. They compiled their
    : : shared
    : : : libs as static so they don't work at all. They didn't
    even
    : : : link in libc, so you get "undefined symbol: printf" and
    : such.
    : : : : Peter Hatch (guest) wrote:
    : : : : : The client lib (libclntsh.so) in 8.0.5 was broken.
    It's
    : : : : missing
    : : : : : the symbol slpmprodstab located in ~/lib/scorept.o.
    So,
    : : you
    : : : : : can't even connect. It's easy enough to fix (link
    : : scorept.o
    : : : : into
    : : : : : a shared lib and link it first) but we can't tell our
    : : : customers
    : : : : : to do this for ever....
    : : : : : I just downloaded the 8051 patches and they don't fix
    the
    : : : : : problem, so I'm wondering if 815 fixes it?
    : : : : : (sure would be nice to get some decent client libs!!)
    : : : : : pete
    null

  • Calling DLL on LabVIEW for Linux

    I have a vi that calls a dll made with Visual C++ on windows enviroment. What are the steps for calling this same dll on Linux ? Do we need to generate another dll?

    In article <[email protected]>, Labviewguru wrote:
    > First, I don't know if LabVIEW for Linux can even call a DLL. I
    > suspect that since this technology (as obsolete as it is, at least for
    > an operating system - thank you Windows) has been adopted by Linux,
    > that you can. I don't have my linux workstation on at the moment, but
    > if you need to know, I can check.
    >
    > As for the DLL itself, I suspect you will have MAJOR problems getting
    > it to work right in Linux, and that you will almost definitely have to
    > rebuild it with a Linux native compiler. It sounds like you have the
    > source code, so it should be a matter of just porting it over, and
    > stripping out all of the platform dependent calls a
    nd substituting all
    > of the necessary function calls.
    >
    > Good luck, and please keep us up to date on your progress. Not many
    > of us use Linux, and any and all information on the matter is gold.
    In linuxland isn't a dll called a shared library? You'd basically have to
    get the source for the dll and beat on it until it turns into a shared lib
    (better still, see if you can get an already built linux library). Actually
    hooking into the library from within LV should work the same in either world.
    NI, by the way, has app notes on this subject. I haven't gotten around to
    reading any of them yet, though.
    That's my story and I'm sticking with it.

  • Error while calling the BPEL from java program

    Hello All,
    I am tring to call the Synchronous BPEL process from the following code:
    package callbpelfromjava;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    public class BPELCaller {
    public static void main(String args[]){
    String input = "krrish";
    String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
    try{        
    Properties props=new Properties();
    props.setProperty("orabpel.platform","ias_10g");
    props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    props.setProperty("java.naming.provider.url","opmn:ormi://192.168.137.40:6004/home/orabpel");
    props.setProperty("java.naming.security.principal","oc4jadmin");
    props.setProperty("java.naming.security.credentials","welcome1");
    props.setProperty("dedicated.rmicontext", "true");
    Locator locator = new Locator("default", "bpel", props);
    System.out.println("After creating the locator object......");
    IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    System.out.println("Befor creating the NormalizedMessage object......");
    NormalizedMessage nm = new NormalizedMessage();
    System.out.println("After creating the NormalizedMessage object.*.*.*...");
    nm.addPart("payload", xmlInput);
    System.out.println("Before creating response object......");
    NormalizedMessage res = deliveryService.request("AccessDBBPEL", "process", nm);
    System.out.println("After calling the AccessDBBPEL .*.*.*...");
    Map payload = res.getPayload();
    System.out.println("BPEL called");
    XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
    String replyText=xmlEl.getText();
    System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
    catch (Exception e) {
    e.printStackTrace();
    I Included the following jar files:
    Orabpel-ant.jar
    Orabpel.jar
    Orabpel-common.jar
    Orabpel-boot.jar
    Xmlparserv2.jar
    Ejb30.jar
    and getting the exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
    Am I doing any thing wrong ?
    Thanks
    Krrish

    Hello Marc,
    Thank you for the reply.
    I could not find some of the jar files in my Jdeveloper 10.1.3.1.0
    ../lib/olite40.jar
    ../lib/wsclient_extended.jar
    ../lib/log4j-1.2.14.jar
    could you please help me locating these jars.
    or If possible, could you mail me those jars at [email protected]
    I have included all other jar files you have listed and getting the following errror:
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
    Thanks
    Krrrish

  • Error while calling the EAI Viewer

    Dear all,
    I am working on Document Management System ECC 6.00
    I am able to upload a PDF document in to the system, but when i save it and try to call the document back it is giving me the folllowing error."Error while calling the EAI Viewer" But when i try to open the same in the next PC it is opening. the work station application which i have defined is EAIWeb.webviewer2D.1 %SAP-CONTROL% for the application .pdf.
    Kindly suggest what will be the problem as it is not opening in my PC but opening in an different PC with the same user name.
    Kindly suggest.

    Hi Kishuz  ,
    ECL Viewer comes with SAP
    It is Engineering client viewer, which works for files like *.jt(jupiter technology), *.pdf(acrobat), *.dwg(autocad), *.step, *.iges
    with ECL viewer you can view files like dwg without having Autocad Installed on your machine.
    Alos it gives redlining feature...
    thus layers help in indicating the modifications needed or commenting on the drawings...
    Now the procedure for installation,
    1. Install the latest SUN JAVA version. The path could be <b>c:\program files\java\</b>
    2. While installing SAP GUI, ensure that the ECL component is not selected from R/3 Add On.
    4. Install ECL Viewer 5.1.2 on local machine.
    5. Ensure the path is as follows :(C:\Program Files\Common Files\SAP Shared\System or C:\Program Files\Common Files\SAP Shared\System\Java )
    6. Ensure that the following files are in the <b>c:\program files\java\1.5.0_08\lib\ext</b>
    folder:
    - VisWebS.jar,
    - VisWeb.jar,
    - eaisupport.jar,
    - eaisupportS.jar
    - version.ini
    - vctk.ini
    In case, please copy the mentioned files from <ECL Install DIR>\java.
    (C:\Program Files\Common Files\SAP Shared\System or
    C:\Program Files\Common Files\SAP Shared\System\Java )
    Reward points if useful...
    regards
    Niranjan

  • Calling the system commands in Java

    Hi All,
    How to call the system commands in java other than using
    exec() function.For eg, in my linux machine i have used p.exec("exit") to exit from a cshell to the prompt but it is not working.Is there any other solution for this one. Pls. do provide a solution for this.It is quite Urgent.
    Thanks,
    m.ananthu

    Why not SEARCH THE F*ING FORUMS!! This has been answered SO MANY TIMES

  • Analog Triggering and Interrupt generation on the PCIe-6320 under Linux

    We would like to use the analog triggering functions of the PCIe-6320 under Linux to time tag external events.
    I have no experience with the MH DDK but have been told this is what we would need to implement the functions we want. We plan on using Fedora Linux and we are targetting kernel 2.6.31 with the PREEMPT_RT patch applied. We may consider slightly more recent kernel versions. The PREEMPT_RT patch is used to greatly improve determinism in the system and get real-time responses to some external events.
    Here is what we wish to do in more details:
    We wish to route at least two analog inputs to the comparator, then route the output of the comparator to a digital input which in turn would create a PCIe interrupt. The interrupt software handler would than time tag that event for our application purposes. We need the comparator threshold to be software programmable in level and slope. We are also interested in using the Watchdog Timer feature of the board.
    Our application is written in C/C++.
    Would the above be feasible? Please provide comments and instructions how we should address our requirement.
    Thanks!

    Patof wrote:
    I am not familiar with the MHDDK. I would like to have an idea of the effort required to implement the functions I have described using MHDDK on Linux. Like I mentionned, we plan on using Linux kernel 2.6.31 with the PREEMPT_RT patch. Could you provide comments on that matter? I need to evaluate the amount of time I will need to spend to deploy and use MHDDK for the PCIe-6320.
    There are two factors to consider when writing a driver for your specific application:
    Using the deterministic kernel API calls
    Writing to the device registers to
    Control the watchdog timer
    Configure the analog comparator
    Manage the analog subsystem state as trigger events occur
    Handle device interrupts
    The MHDDK for X Series offers the following behavior out-of-the-tarball:
    A Linux kernel module using the standanrd kernel and PCI subsystem calls
    Mapping device registers to user-mode for access
    Demonstrating/documenting how to
    Control the watchdog timer (dioex6.cpp)
    Manage the analog subsystem state as trigger events occur (aiex2.cpp, aiex4.cpp)
    Handle device interrupts (reference manual only)
    There are two notably missing pieces and one item to consider:
    Missing: deterministic kernel API calls. If you decide to use the nirlpk module, you would need to change it from the standard interfaces to the deterministic variants.
    Missing: configuring the analog comparator. You will need to implement this with additional insight from this discussion board.
    Consider: if your application requires device access from kernel-mode only, you would not be able to use the MHDDK's C++ classes that perform device programming but would need to implement register programming in C.
    To estimate the time for these three, here are my recommendations:
    Review the nirlpk.c source file to understand how device access and DMA buffers are implemented and mapped to the user-mode application.
    Beware that operation-specific programming help (as you would need for analog triggering) typically requires two weeks for a complete response.
    Review the ChipObjects in the MHDDK distribution to understand how register addresses, widths, and bit fields affect device programming.
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • How to package instrument driver in the user.lib or instr.lib directory

    Hey guys,
    I currently am using bunch of instrument drivers in my project.
    In the VI form it works fine, but I noticed that once converted to an executable,
    there are errors regarding the DLL that the drivers are calling.
    Apparently the driver VI check if its being called in an VI or executable based on the current directory.
    I dont think this is good/correct programming to begin with... but anyways since this driver is
    saved in the instr.lib directory of LabVIEW, when I call it from the executable the default path becomes
    XXX.exe/1abvi3w/instr.lib/.../.../VI above.vi
    I saw this post  which talks about how vi's in instr.lib and user.lib will get the path 1abvi3w in an executable but never talked about how to deal with it.
    so my question is can i solve this problem smoothly without copying the entire driver.lvlib into my project and
    editing the VI above? i am fine with creating wrappers for driver vi's but would to like to avoid editing the driver vi's themselves.

    doradorachan wrote:
    I dont think this is good/correct programming to begin with...
    I don't disagree, but there is a reason this code was written like that (you might note that it doesn't actually work) - before 2009, EXEs were built as flat directory, so stripping twice would bring you to the folder. Because of the addition of libraries, where different files have different names, this was no longer possible, so 2009 builds the EXE as a zipped hierarchy of folders, which is why the check for a folder succeeds even inside the EXE.
    There are a couple of things you can do:
    Replace the VI path with the Application Directory primitive. This is designed to function differently in an EXE. Understandably, you don't want to do that.
    Check the 8.x checkbox in the advanced page of the build settings. This will make the code work correctly, but if there's LVOOP code with VIs of the same name anywhere, it will create extra folders that you need to move around with the EXE.
    Add the driver to the project (just the lvproj, don't actually copy the files) and then set an explicit destination in the build for its VIs as an LLB in the data folder. This will place the driver VIs in an wLLB, which is external to the EXE and should then strip correctly. I can't say I have much experience with this, but I'm assuming it should also work with code that was originally in user.lib. This is probably the cleanest solution in terms of number of files because you only have one extra file.
    Try to take over the world!

  • I got error msg while i called the Java Funtion in XI thro XSLT

    Hi,
    In XI, i need one method/function for getting the current date/time without any parameter, because its only shows the current date/time from getting the system. So,I have been created a simple method/function in java without any parameter for getting the current date/time from the system. Using the XSLT to call the mehtod/function and assigned in the particular field. After i mapped that XSLT  file in the XI, i executed in XI and also i gave input for some other fields and finally i got the Transmission error message.
    <b>Error Message:
    javax.xml.transform.TransformerException: com.sap.engine.lib.xml.util.NestedException: Illegal number of arguments or types of arguments in a call of function 'dateEST:ConvertToEST'.</b>
    Here ConvertToEST is the method/function name, method/function was return in String datatype, and also in XI that field have same String datatype. This field have only return the current date/time.There is no input for this.
    I have been excuted this method/function in Java, its working fine. So, give me your suggestion for this.
    p.s. Award points if your answer is useful for me.
    Thanks & Regards
    Prakash T

    Hi Prakash,
    Can you tell me how u resolved the issue? Even I am facing the same error while running XSLT mapping in XI.
    Regards,
    Karen Pereira

  • [ModuleAdapter]Exception : Failed to call the module processor

    Hello,
    We deployed our Module Adapter on PI server and tried to execute it but we're having an exception :
    Exception caught during processing mail message[3]: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/fr.xx.xx.xx.ModueAdapterBean
    Mail : failed to call the module processor: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: object not found in lookup of fr.xx.xx.xx.ModuleAdapterBean
    We're working on SAP PI 7.11
    Do you have any idea of what could possibly cause this?
    Thanks in advance for your help.
    Imane.

    Thanks for responding Spantaleoni,
    In my application.xml, here is what I have :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
                                 "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
        <display-name>ModuleAdapterEAR</display-name>
        <description>EAR for Mail conversion </description>
        <module>
            <ejb>ModuleAdapterEJB.jar</ejb>
        </module>
    </application>
    And my application-j2ee-engine.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">engine.security.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">engine.j2ee14.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.aii.af.lib.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.svc.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="interface">com.sap.aii.af.ifc.facade</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.base.technology.facade</reference-target>
         </reference>
         <provider-name>sap.com</provider-name>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    My ejb-j2ee-engine.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-j2ee-engine SYSTEM "ejb-j2ee-engine.dtd">
    <ejb-j2ee-engine>
         <enterprise-beans>
              <enterprise-bean>
                   <ejb-name>ModuleAdapterBean</ejb-name>
                   <jndi-name>ModuleAdapter</jndi-name>
                   <session-props/>
              </enterprise-bean>
         </enterprise-beans>
    </ejb-j2ee-engine>
    Edited by: ImaneA on Aug 2, 2011 3:36 PM

  • Messaging server not calling the SpamAssassin

    HI all,
    The current instalation:
    For SJES Messaging :
    # ./imsimta version
    Sun Java(tm) System Messaging Server 6.2 (built Dec 2 2004)
    libimta.so 6.2 (built 00:34:23, Dec 2 2004)
    SunOS rcaredev 5.9 Generic_117171-08 sun4u sparc SUNW,Sun-Fire-V240
    For Spam Assassin:
    # ./spamassassin -V
    SpamAssassin version 3.2.3
    running on Perl version 5.8.8
    The option.dat contents:
    ! for Spamassassin
    spamfilter1_config_file=/opt/SUNWmsgsr/config/spamassassin.opt
    spamfilter1_library=/opt/SUNWmsgsr/lib/libspamass.so
    spamfilter1_optional=1
    spamfilter1_string_action=data:,require "fileinto"; fileinto "Junk"
    mm_debug=5
    # cat /opt/SUNWmsgsr/config/spamassassin.opt
    host=127.0.0.1
    port=783
    mode=0
    verdict=spam
    debug=1
    # ls -l /opt/SUNWmsgsr/config/spamassassin.opt
    -rw-r--r-- 1 mailsrv mail 52 Nov 15 01:49 /opt/SUNWmsgsr/config/spamassassin.opt
    The imta.cnf contents:
    ! ims-ms
    ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 poo
    l IMS_POOL fileinto $U+$S@$D destinationspamfilter1optin spam
    tcp_local smtp mx single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL ma
    ytlsserver maysaslserver saslswitchchannel tcp_auth missingrecipientpolicy 0 destinationspamfilter1optin spam
    I ran:
    # ./imsimta cnbuild
    # ./imsimta restart
    Then I started thge :
    # ./spamd -d
    But nothing happens, if I manually run:
    # telnet localhost 783
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    SPAMD/1.0 76 Bad header line:
    Connection to localhost closed by foreign host.
    Which proves that the spamd is listening on port 783.
    The messaging server is not calling the SpamAssassin on the port 783, any ideas what could have gone wrong?
    I also checked the "snoop" command and also "spamd -D" for debug, no traffic go to the spamd daemon.
    Best

    Hi,
    goSolaris wrote:
    The junk emails are sent now to the folder "Junk" in the users mailbox, can you comment on the following
    1. Does the spam emails live in the Junk forlder forever until the user delete them?Emails aren't deleted from users email folders (including Junk) unless you have configured a folder expiry rule. The following web-page steps you through what is required to set up just such an expire rule:
    http://docs.sun.com/app/docs/doc/819-2650/6n4u4dttr?l=en&a=view
    2. If I need to discard completely the spam emails instead of sending them to a folder in the user mailbox, what change should I do to the channel configuration?The following link gives an example of how to configured a sieve rule which will discard emails above a certain spamassassin score and to fileinto a 'spam' folder if the score is below this value.
    http://docs.sun.com/app/docs/doc/819-4428/6n6j4261t?a=view#gebhx
    3. After applying the patch, the documentation says that I can work with the existing configuration files or upgrade using a set of commands, do you think keeping the existing configuration (to minimize the changes) will work fine?You definitely need to run the ./patch-config and ./install-newconfig commands post-upgrade. Otherwise fixes that have been made to things such as the messaging express interface will not be represented (files need to be changed for a lot of the fixes).
    Regards,
    Shane.

  • How to STOP and START the BO EXPLORER/POLESTAR - LINUX

    Dear friends,
    Could you please let me know on How to STOP and START the BO EXPLORER/POLESTAR on LINUX platform?
    Thank you,
    Nikee

    Oracle Apex is an API, if that helps you understand / visualize. You do not start Apex process nor stop it.
    When an Apex session starts it starts calling the API.
    You can however start / stop the listener. It may be OHS, ApexListener and the J2EE container running it, OC4J or any other "server" that you are using.
    The built-in EPG is something like an API again, you cannot start / stop it but you can disable/enable it with DBMS_XDB.SETHTTPPORT API.
    Regards,

  • Server error when calling the DatabaseController.replaceConnection() method

    <p>I am receiving the error message below when calling the DatabaseController.replaceConnection() method. Can anyone tell me what may be the cause of this? The code being executed is below the error message.
    </p>
    <p>
    Thank you.
    </p>
    <pre>
    A server error occured while processing the CrystalReport object, wfr.rpt (AVTJyRKrfDxKtXX31l5E9Ek), from the CMS.
        Unable to connect to the server: ATHENA.ReportApplicationServer.
         --- java.lang.Boolean cannot be cast to java.lang.String
    Stack Trace:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server:
        ATHENA.ReportApplicationServer. - java.lang.Boolean cannot be cast to java.lang.String--
        Error code:-2147217387 Error code name:connectServer
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.
                    throwReportSDKServerException(Unknown Source)
            at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.
                    request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.DatabaseController.replaceConnection(Unknown Source)
            at aiConfigUtility.cmdlline.ImportExportBiarFile.changeReportDataSource(ImportExportBiarFile.java:561)
            at aiConfigUtility.cmdlline.ImportExportBiarFile.processBiarFile(ImportExportBiarFile.java:726)
    </pre>
    <br />
    <pre>
    private void test(String reportName)
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects;
       IInfoObject reportObj;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dc;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB; //0;
       Fields connFields = null;
       String queryStr = "Select * From CI_INFOOBJECTS " +
          "Where SI_NAME='wfr.rpt' AND SI_KIND='CrystalReport' AND SI_INSTANCE=0";
       newInfoObjects = getCms().executeQuery(queryStr);
       if(newInfoObjects.size() > 0)
          reportObj = (IInfoObject)newInfoObjects.get(0);
          try
             clientDoc = getCms().getReportAppFactory().openDocument(
                reportObj
                , OpenReportOptions._refreshRepositoryObjects
                , java.util.Locale.US);
             dc = clientDoc.getDatabaseController();
             conInfos = dc.getConnectionInfos(null);
             for(int i = 0; i < conInfos.size(); ++i)
                oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(i);
                newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                pBag = newConInfo.getAttributes();
                pBag.putStringValue("QE_ServerDescription", "alio");
                logonProps = new PropertyBag();
                logonProps.putStringValue("Trusted_Connection", "false");
                logonProps.putStringValue("Server", "alio");
                pBag.put("QE_LogonProperties", logonProps);
                newConInfo.setUserName("admin");
                newConInfo.setPassword("password");
                <b>dc.replaceConnection(
                   oldConInfo
                   , newConInfo
                   , connFields
                   , connOptions);</b>
          catch(ReportSDKServerException Ex)
             String msg = "A server error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          catch(Exception Ex)
             String msg = "An error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          finally
             clientDoc.save();
             getCms().commitToInfoStore(newInfoObjects);
             clientDoc.close();
    </pre>
    Edited by: Mark Young on Sep 10, 2009 2:13 PM

    <p>I just wanted to provide an update to this. I did find a work-around for this, but I cannot explain it. The post I added to a related thread on 23 Sept. 2009, Trying to change the data source for a Crystal Report. (thread 1472257), explains a work-around I found for that problem. It seemed to resolve this one simultaneously. 
    </p>
    <p>
    I don't know why it works. If anyone has a comment or some insight, it is welcome. Thank you in advance.
    </p>

Maybe you are looking for