CVI Dynamically determine 64 vs 32 bit machine

Is there some API, in CVI (LabWindows), that I can use to determine the architecture, 32 vs 64 bit, of the machine my app is running on?
The reason is that I have a call to open a file under 'Program Files' but if it is a 64 bit machine I need to make the call to 'Program Files (x86)'.
Or possible some macro that will point to the currenly installed folder of my application?
Thanks

While I can't answer the exact question easily. I can provide some potentially helpful pointers:
See this question about locating "Special Folders" and how to use the windows API
Here is the API info.
Check the "Remarks" section here about 80% of the way down the page. You may be able to ask for one special folder and always get the right one, bypassing the need to determine the 32 vs 64 bit question.
All that said I don't have the answer to determining 32 vs 64 bits!
Hope this helps a bit.
Ian

Similar Messages

  • Unable to uninstall Weblogic server from windows 7 64 bit machine

    I am trying to uninstall weblogic server 10.3.6 from my local windows 7 machine and i am getting a crash when I click on uninstall button or from command prompt.
    Error:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007714ec75, pid=6384, tid=7004
    # JRE version: 7.0_01-b08
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (21.1-b02 mixed mode windows-amd64 compressed oops)
    # Problematic frame:
    # C [ntdll.dll+0x4ec75]
    # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
    # If you would like to submit a bug report, please visit:
    # http://bugreport.sun.com/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x0000000007af1800): JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=7004, stack(0x000000000a800000,0x000000000a900000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
    Registers:
    RAX=0x000000000a8fd548, RBX=0x0000000000000002, RCX=0x000000000a8fd618, RDX=0x000000000a8fd588
    RSP=0x000000000a8fd538, RBP=0x000007fee8881bf0, RSI=0x0000000000000020, RDI=0x0000000000000000
    R8 =0x000000000a8f5000, R9 =0x0000000000000003, R10=0x0000000000000000, R11=0x000000000000a2d6
    R12=0x0000000000000000, R13=0x0000000000000050, R14=0x0000000000000003, R15=0x0000000007af1800
    RIP=0x000000007714ec75, EFLAGS=0x0000000000010202
    Top of Stack: (sp=0x000000000a8fd538)
    0x000000000a8fd538: 0000000000000202 0000000077107549
    0x000000000a8fd548: 000007fffff92000 0000000000000000
    0x000000000a8fd558: 0000000007af1801 000000000804ade0
    0x000000000a8fd568: 00000000593bac48 000000000b92f340
    0x000000000a8fd578: 00000000eb6c2c58 0000000000000051
    0x000000000a8fd588: 000000000a900000 000000000a8f5000
    0x000000000a8fd598: 0000000000000000 000000000a8fd750
    0x000000000a8fd5a8: 00000000029b26fa 0000000000000008
    0x000000000a8fd5b8: 000000000b902270 000000000a8fddb0
    0x000000000a8fd5c8: 00000000029d743a 00000000029d73d0
    0x000000000a8fd5d8: 0000000000000000 0000000000000000
    0x000000000a8fd5e8: 000000000a8fddb0 00000001eaf0b258
    0x000000000a8fd5f8: 000000000b9022c0 000000000a8fde20
    0x000000000a8fd608: 00000000029a6330 00000000029a5350
    0x000000000a8fd618: 0000000000000000 00000000fb03fe30
    0x000000000a8fd628: 000000000a8fde20 000000000a8fde20
    Instructions: (pc=0x000000007714ec75)
    0x000000007714ec55: d0 00 00 00 4c 89 a1 d8 00 00 00 4c 89 a9 e0 00
    0x000000007714ec65: 00 00 4c 89 b1 e8 00 00 00 4c 89 b9 f0 00 00 00
    0x000000007714ec75: 0f ae 81 00 01 00 00 0f 29 81 a0 01 00 00 0f 29
    0x000000007714ec85: 89 b0 01 00 00 0f 29 91 c0 01 00 00 0f 29 99 d0
    Register to memory mapping:
    RAX=0x000000000a8fd548 is pointing into the stack for thread: 0x0000000007af1800
    RBX=0x0000000000000002 is an unknown value
    RCX=0x000000000a8fd618 is pointing into the stack for thread: 0x0000000007af1800
    RDX=0x000000000a8fd588 is pointing into the stack for thread: 0x0000000007af1800
    RSP=0x000000000a8fd538 is pointing into the stack for thread: 0x0000000007af1800
    RBP=0x000007fee8881bf0 is an unknown value
    RSI=0x0000000000000020 is an unknown value
    RDI=0x0000000000000000 is an unknown value
    R8 =0x000000000a8f5000 is pointing into the stack for thread: 0x0000000007af1800
    R9 =0x0000000000000003 is an unknown value
    R10=0x0000000000000000 is an unknown value
    R11=0x000000000000a2d6 is an unknown value
    R12=0x0000000000000000 is an unknown value
    R13=0x0000000000000050 is an unknown value
    R14=0x0000000000000003 is an unknown value
    R15=0x0000000007af1800 is a thread
    Stack: [0x000000000a800000,0x000000000a900000], sp=0x000000000a8fd538, free space=1013k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [ntdll.dll+0x4ec75] RtlCaptureContext+0x85
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    v blob 0x00000000029d74ff
    j java.lang.String.equals(Ljava/lang/Object;)Z+8
    j javax.swing.ArrayTable.get(Ljava/lang/Object;)Ljava/lang/Object;+44
    j javax.swing.JComponent.getClientProperty(Ljava/lang/Object;)Ljava/lang/Object;+45
    j sun.swing.SwingUtilities2.stringWidth(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I+23
    j javax.swing.SwingUtilities.layoutCompoundLabelImpl(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;+197
    j javax.swing.SwingUtilities.layoutCompoundLabel(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;+159
    j javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(Ljavax/swing/AbstractButton;I)Ljava/awt/Dimension;+102
    j javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(Ljavax/swing/JComponent;)Ljava/awt/Dimension;+10
    j workshop.core.plaf.JbButtonUI.getPreferredSize(Ljavax/swing/JComponent;)Ljava/awt/Dimension;+21
    j javax.swing.JComponent.getPreferredSize()Ljava/awt/Dimension;+26
    j com.bea.plateng.common.ui.gui.GUIUtilities.sameSizeButtons([Ljavax/swing/JButton;)V+42
    j com.bea.plateng.wizard.GUIContext$UpdateGUI.run()V+324
    j java.awt.event.InvocationEvent.dispatch()V+47
    j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21
    j java.awt.EventQueue.access$000(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
    j java.awt.EventQueue$3.run()Ljava/lang/Void;+12
    j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
    v ~StubRoutines::call_stub
    j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
    j java.security.ProtectionDomain$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
    j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
    j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+245
    j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
    j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
    j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j java.awt.EventDispatchThread.run()V+9
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0000000007c19800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=5980, stack(0x000000000b050000,0x000000000b150000)]
    =>0x0000000007af1800 JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=7004, stack(0x000000000a800000,0x000000000a900000)]
    0x0000000007aef800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=412, stack(0x000000000a620000,0x000000000a720000)]
    0x0000000007a8b000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5012, stack(0x00000000084a0000,0x00000000085a0000)]
    0x0000000007a8a800 JavaThread "AWT-Shutdown" [_thread_blocked, id=6776, stack(0x00000000083a0000,0x00000000084a0000)]
    0x0000000007a89800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6912, stack(0x0000000008240000,0x0000000008340000)]
    0x0000000006350800 JavaThread "Service Thread" daemon [_thread_blocked, id=5756, stack(0x0000000007230000,0x0000000007330000)]
    0x000000000634f800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=6696, stack(0x0000000006fb0000,0x00000000070b0000)]
    0x0000000006346800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=3956, stack(0x0000000007100000,0x0000000007200000)]
    0x0000000006346000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3888, stack(0x0000000006e60000,0x0000000006f60000)]
    0x0000000006336800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6204, stack(0x0000000006c80000,0x0000000006d80000)]
    0x0000000006254000 JavaThread "Finalizer" daemon [_thread_blocked, id=5544, stack(0x0000000006920000,0x0000000006a20000)]
    0x0000000006247000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5128, stack(0x0000000006a50000,0x0000000006b50000)]
    0x00000000026db000 JavaThread "main" [_thread_in_Java, id=4076, stack(0x00000000028a0000,0x00000000029a0000)]
    Other Threads:
    0x000000000623a800 VMThread [stack: 0x00000000067e0000,0x00000000068e0000] [id=4104]
    0x0000000006363800 WatcherThread [stack: 0x0000000007420000,0x0000000007520000] [id=5560]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 18496K, used 9847K [0x00000000faab0000, 0x00000000fbf50000, 0x0000000100000000)
    eden space 15872K, 62% used [0x00000000faab0000,0x00000000fb44df08,0x00000000fba30000)
    from space 2624K, 0% used [0x00000000fbcc0000,0x00000000fbcc0000,0x00000000fbf50000)
    to space 2624K, 0% used [0x00000000fba30000,0x00000000fba30000,0x00000000fbcc0000)
    PSOldGen total 42240K, used 0K [0x00000000f0000000, 0x00000000f2940000, 0x00000000faab0000)
    object space 42240K, 0% used [0x00000000f0000000,0x00000000f0000000,0x00000000f2940000)
    PSPermGen total 21248K, used 11043K [0x00000000eae00000, 0x00000000ec2c0000, 0x00000000f0000000)
    object space 21248K, 51% used [0x00000000eae00000,0x00000000eb8c8c68,0x00000000ec2c0000)
    Code Cache [0x00000000029a0000, 0x0000000002c10000, 0x00000000059a0000)
    total_blobs=460 nmethods=56 adapters=356 free_code_cache=48538Kb largest_free_block=49679808
    Dynamic libraries:
    0x000000013fdf0000 - 0x000000013fe23000      C:\PROGRA~1\Java\JDK17~1.0_0\bin\javaw.exe
    0x0000000077100000 - 0x00000000772ac000      C:\Windows\SYSTEM32\ntdll.dll
    0x0000000076fe0000 - 0x00000000770ff000      C:\Windows\system32\kernel32.dll
    0x000007fefd3c0000 - 0x000007fefd42c000      C:\Windows\system32\KERNELBASE.dll
    0x000007feff0e0000 - 0x000007feff1bb000      C:\Windows\system32\ADVAPI32.dll
    0x000007fefee80000 - 0x000007fefef1f000      C:\Windows\system32\msvcrt.dll
    0x000007fefe810000 - 0x000007fefe82f000      C:\Windows\SYSTEM32\sechost.dll
    0x000007fefef20000 - 0x000007feff04e000      C:\Windows\system32\RPCRT4.dll
    0x0000000076ee0000 - 0x0000000076fda000      C:\Windows\system32\USER32.dll
    0x000007fefebe0000 - 0x000007fefec47000      C:\Windows\system32\GDI32.dll
    0x000007feff050000 - 0x000007feff05e000      C:\Windows\system32\LPK.dll
    0x000007feff1c0000 - 0x000007feff28a000      C:\Windows\system32\USP10.dll
    0x000007fefb9d0000 - 0x000007fefbbc4000      C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_fa62ad231704eab7\COMCTL32.dll
    0x000007feff060000 - 0x000007feff0d1000      C:\Windows\system32\SHLWAPI.dll
    0x000007fefcf30000 - 0x000007fefcf87000      C:\Windows\system32\apphelp.dll
    0x000007fef0500000 - 0x000007fef055a000      C:\Windows\AppPatch\AppPatch64\AcLayers.DLL
    0x000007fef7880000 - 0x000007fef78f0000      C:\Windows\system32\WINSPOOL.DRV
    0x000007fef7860000 - 0x000007fef7878000      C:\Windows\system32\MPR.dll
    0x000007fee8610000 - 0x000007fee8a77000      C:\Windows\AppPatch\AppPatch64\AcXtrnal.DLL
    0x000007feebda0000 - 0x000007feebdf1000      C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
    0x000007fefcf00000 - 0x000007fefcf25000      C:\Windows\system32\SspiCli.dll
    0x000007fefe480000 - 0x000007fefe682000      C:\Windows\system32\ole32.dll
    0x000007fefd480000 - 0x000007fefe206000      C:\Windows\system32\SHELL32.dll
    0x0000000071820000 - 0x0000000071823000      C:\Windows\system32\sfc.dll
    0x000007fef8eb0000 - 0x000007fef8ec0000      C:\Windows\system32\sfc_os.DLL
    0x000007fefc390000 - 0x000007fefc3ae000      C:\Windows\system32\USERENV.dll
    0x000007fefd060000 - 0x000007fefd06f000      C:\Windows\system32\profapi.dll
    0x000007fefb3d0000 - 0x000007fefb3e8000      C:\Windows\system32\dwmapi.dll
    0x000007feff2b0000 - 0x000007feff2de000      C:\Windows\system32\IMM32.DLL
    0x000007fefe210000 - 0x000007fefe319000      C:\Windows\system32\MSCTF.dll
    0x000000006aa60000 - 0x000000006ab31000      C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\msvcr100.dll
    0x0000000059220000 - 0x00000000598ed000      C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\server\jvm.dll
    0x000007fef85b0000 - 0x000007fef85b9000      C:\Windows\system32\WSOCK32.dll
    0x000007fefee30000 - 0x000007fefee7d000      C:\Windows\system32\WS2_32.dll
    0x000007fefe970000 - 0x000007fefe978000      C:\Windows\system32\NSI.dll
    0x000007fefad30000 - 0x000007fefad6b000      C:\Windows\system32\WINMM.dll
    0x00000000772c0000 - 0x00000000772c7000      C:\Windows\system32\PSAPI.DLL
    0x00000000706e0000 - 0x00000000706ef000      C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\verify.dll
    0x000000006d100000 - 0x000000006d128000      C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\java.dll
    0x000000006fb10000 - 0x000000006fb25000      C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\zip.dll
    0x0000000060020000 - 0x00000000601b3000      C:\Program Files\Java\jdk1.7.0_01\jre\bin\awt.dll
    0x000007fefe320000 - 0x000007fefe3f7000      C:\Windows\system32\OLEAUT32.dll
    0x000007fefcf90000 - 0x000007fefcf9f000      C:\Windows\system32\CRYPTBASE.dll
    0x000007feea6b0000 - 0x000007feea8af000      C:\Windows\system32\d3d9.dll
    0x000007fefc570000 - 0x000007fefc57c000      C:\Windows\system32\VERSION.dll
    0x000007fefbbe0000 - 0x000007fefbbe7000      C:\Windows\system32\d3d8thk.dll
    0x000007fee7a10000 - 0x000007fee8604000      C:\Windows\system32\nvd3dumx.dll
    0x000007fefbc00000 - 0x000007fefbc2c000      C:\Windows\system32\powrprof.dll
    0x000007fefec50000 - 0x000007fefee27000      C:\Windows\system32\SETUPAPI.dll
    0x000007fefd110000 - 0x000007fefd146000      C:\Windows\system32\CFGMGR32.dll
    0x000007fefd230000 - 0x000007fefd24a000      C:\Windows\system32\DEVOBJ.dll
    0x000000006f130000 - 0x000000006f164000      C:\Program Files\Java\jdk1.7.0_01\jre\bin\fontmanager.dll
    0x000000006d0c0000 - 0x000000006d0f9000      C:\Program Files\Java\jdk1.7.0_01\jre\bin\kcms.dll
    0x000000006ec10000 - 0x000000006ec29000      C:\Program Files\Java\jdk1.7.0_01\jre\bin\net.dll
    0x000007fefc8d0000 - 0x000007fefc924000      C:\Windows\system32\mswsock.dll
    0x000007fefc8c0000 - 0x000007fefc8c7000      C:\Windows\System32\wship6.dll
    0x000000006aff0000 - 0x000000006b001000      C:\Program Files\Java\jdk1.7.0_01\jre\bin\nio.dll
    0x000000006ac10000 - 0x000000006ac51000      C:\Program Files\Java\jdk1.7.0_01\jre\bin\t2k.dll
    VM Arguments:
    jvm_args: -Xmx256m -Djava.library.path=C:\Oracle\Middleware\utils\uninstall -Dhome.dir=C:\Oracle\Middleware -Dinstall.dir=
    java_command: C:\Oracle\Middleware\utils\uninstall\uninstall.jar
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\PROGRA~1\Java\JDK17~1.0_0
    CLASSPATH=C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip;
    PATH=C:\Oracle\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Vista , 64 bit Build 6000
    CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
    Memory: 4k page, physical 4052816k(1182472k free), swap 8103732k(4659796k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (21.1-b02) for windows-amd64 JRE (1.7.0_01-b08), built on Oct 3 2011 01:39:25 by "java_re" with unknown MS VC++:1600
    time: Thu Jul 26 18:28:23 2012
    elapsed time: 0 seconds
    Two issues now
    1) How do I get rid of weblogic from my machine manually so that I can do fresh install of 10.3.5?
    2) How do I confirm if it is completely removed because after doing the complete SOA suite installation process, JDeveloper throws me errors that it is not compatible with 10.3.6
    Appreciate your help in this regard

    Hi
    I am glad your original issue is resolved. For this new SOA installation, you can post a new thread and preferably in SOA Forums and not here in WLS Forums for quicker response: SOA Suite
    1. To begin with, looks like you have a 64 bit machine, so I would recommend first to install 64 bit JDK. Then install Weblogic using weblogic generic installer (.jar). This means if you already have WLS installed using .exe, you may have to delete that and start over.
    2. Worst case even if you want to continue as it is (32 bit), the location of java is kind of not ok having a space in one of the folder names like "Program Files". And is this java installed by you or did it came with machine and if so. If came with machine it will be older version.
    I would recommend, uninstall existing JDK and install fresh latest JDK in a path something like shown below that do not have any spaces:
    1. C:\Oracle\Java\jdk1.6.0_24_64Bit = Will have JDK 64 bit
    2. C:\Oracle\Middleware116BPM = Will have WLS 10.3.6. Here you install SOA later on
    3. C:\Oracle\Middleware\Jdeveloper116 = Will have JDeveloper 11.6 installed here.
    Now, coming to your actual installation error, do NOT use this command "setup -jreLoc %JAVA_HOME%". Instead just double click on Setup.exe or open a dos window, navigate to that folder and just type setup.exe. The point is do not give -jreLoc. NOW it will prompt to enter full JDK Path. Here you carefuly type full jdk path something like this "C:\Oracle\Java\jdk1.6.0_24_32Bit" (this is on my side...). It should work now.
    Caution. While installing any oracle software do not use folder names with spaces. Like c:\Program Files\ etc. Spaces in folder names may be an issue. So avoid that.
    Since you are starting all this fresh, I would recommend doing it in the right and correct way to avoid any future issues. It may take few hours of extra time that is totally worth.
    Re: Weblogic 10.3.5 install on Windows
    Thanks
    Ravi Jegga

  • SetDiagnosticDirectory(Diagnostics.java:54) [32-bit java on 64-bit machine]

    On 64-bit LucidLynx Linux, If I run Oracle SQL Developer using 64 bit java, all is fine.
    If I use 32-bit java, it doesn't start up and I get this fatal error:
    java.lang.IllegalArgumentException: Cannot create <pwd>/?/.sqldeveloper/system1.5.5.59.69/o.ide/diagnostics
         at oracle.javatools.logging.Diagnostics.setDiagnosticDirectory(Diagnostics.java:54)
         at oracle.ide.IdeCore.startupImpl(IdeCore.java:1293)
    <pwd> represents the current directory that I am in. That question mark appears as is.
    If I run this as `sudo`, it works, cause it gets past the "permissions" problem. (but that's a red herring).
    It should be trying to create the ".sqldeveloper/..." directory under my home directory, not in the present
    working directory, and certainly not with a question mark as another directory name.
    It appears that when using the 32 bit java (on a 64 bit machine), that whatever function
    Oracle is using/spawning to determine the user and its
    home directory, is failing, and the code just says, plop the diagnostics directory right here.
    How does one debug this?
    (I tried running `jdb` but setting break points doesn't seem to have an effect)
    ( Aside: on a 32-bit LucidLynx Linux machine, using 32-bit java, SQL Developer works fine.
    I have all the necessary 32-bit libs, as we use 32-bit Java on 64 bit machines for other apps as well.)

    I'm pretty new to java and this is the first
    first time i'm making a post here. I want to know, if
    i write a java program in a 32 bit environment will
    the same code work in a 64 bit Environment too. Does
    java abstract the architecture too?Only if there's a JVM available for the target environment.
    Note for example that Sun supports 64 bit AMD processors but not Intel. But when they do your Java code will work without changes.

  • Problem trying to run 32 bit VBA program on a 64 bit machine

    I am a new programmer using VBA in Excel. I have used code that refers to a kernel32 in the VBA code. This code fails on a 64 bit machine. Runs perfectly fine on 32 bit machine. Is there code I can add that will allow the program to run on both systems?
    The code is being used to determine the UTC time of a cell from a report.
    Thank you in advance. Code below:
    Option Explicit
    Public Declare Function SystemTimeToFileTime Lib _
        "kernel32" (lpSystemTime As SYSTEMTIME, _
        lpFileTime As FILETIME) As Long
    Public Declare Function LocalFileTimeToFileTime Lib _
        "kernel32" (lpLocalFileTime As FILETIME, _
        lpFileTime As FILETIME) As Long
    Public Declare Function FileTimeToSystemTime Lib _
        "kernel32" (lpFileTime As FILETIME, lpSystemTime _
        As SYSTEMTIME) As Long
    Public Type FILETIME
        dwLowDateTime As Long
        dwHighDateTime As Long
    End Type
    Public Type SYSTEMTIME
        wYear As Integer
        wMonth As Integer
        wDayOfWeek As Integer
        wDay As Integer
        wHour As Integer
        wMinute As Integer
        wSecond As Integer
        wMilliseconds As Integer
    End Type

    I don't have Office-64 to test but try this
    #If VBA7 Then
    Declare PtrSafe Function SystemTimeToFileTime Lib "kernel32" Alias "SystemTimeToFileTime" (lpSystemTime As SYSTEMTIME, lpFileTime As FILETIME) As Long
    Declare PtrSafe Function LocalFileTimeToFileTime Lib "kernel32" Alias "LocalFileTimeToFileTime" (lpLocalFileTime As FILETIME, lpFileTime As FILETIME) As Long
    Declare PtrSafe Function FileTimeToSystemTime Lib "kernel32" Alias "FileTimeToSystemTime" (lpFileTime As FILETIME, lpSystemTime As SYSTEMTIME) As Long
    #Else
    Public Declare Function SystemTimeToFileTime Lib _
    "kernel32" (lpSystemTime As SYSTEMTIME, _
    lpFileTime As FILETIME) As Long
    Public Declare Function LocalFileTimeToFileTime Lib _
    "kernel32" (lpLocalFileTime As FILETIME, _
    lpFileTime As FILETIME) As Long
    Public Declare Function FileTimeToSystemTime Lib _
    "kernel32" (lpFileTime As FILETIME, lpSystemTime _
    As SYSTEMTIME) As Long
    #End If
    For a good intro
    Declaring API Functions In 64 Bit Office

  • After I install itunes my windows 7 - 64 bit machine will not boot and I have to use Restore  to boot with a date before I installed itunes

    After I install itunes on my windows 7 - 64 bit machine it will not reboot and I need to restore to a date before itunes was install.  How do I fix this?

    I'm having a very similar issue, paired with iTunes not being able to get online.
    iTunes shows up in processes and then hangs at 17,000 K or so -- sometimes it will start up, but that (if it occurs) is a delay of literal hours.
    Pretty meticulously went through all the 'cannot connect' trouble shooting, and have uninstalled, restarted, and then reinstalled every piece of apple software; issue is just as firm. Starting in safe mode or admin mode don't fix it; signing in as a different user doesn't fix it.    

  • How to install Oracle VM Server 2.2.0 as 32-bit mode on a 64-bit machine.

    Gurus,
    If I am not wrong, the Oracle VM Server 2.2.0 installer for 32-bit and 64-bit are the same file.
    I have AMD 64 bit machine, when I install Oracle VM Server 2.2.0, it installs as 64-bit.
    However due to requirement, I want to install Oracle VM Server in 32-bit mode.
    Will appreciate the steps.
    Regards,
    Krishna

    Krishna,
    Please note that the zip file from the Oracle eDelivery/Linux site contains a single Oracle VM server ISO file; this file is used for both x86 and x86-64 hardware. The Oracle VM server install routine automatically detects the hardware platform and installs the appropriate 32-bit or 64-bit Xen hypervisor. Regardless of the hardware platform, 32-bit or 64-bit, dom0 is 32-bit. Will a 32bit dom0 meet your business requirements?
    Could you please let us know the business requirements re 32bit?
    For details about the installation, sizing and server resource requirements please review http://itnewscast.com/chapter-4-oracle-vm-server-sizing-installation-and-updates
    Respectfully,
    Roddy

  • How to install Windows Server 2012 as a Virtual Machine on Window 7 64 bit machine

    Hi All,
    I need to install virtual Window Server 2012 on Window 7 machine(8gb ram,64 bit machine).
    Please give me the list of required softwares to install. If possible the please give download link as well. 
    Thanks
    mit

    Since you're on Windows 7 I'd probably go for using VirtualBox
    https://www.virtualbox.org/ to host the virtual machine.
    Downloading 2012 depends what you're after really, if you've got TechNet / MSDN then you can download it from there, otherwise you'd need to have a licenced copy. You can download 180 day evaluation versions from the Microsoft website here :
    2012 - http://technet.microsoft.com/en-gb/evalcenter/hh670538.aspx
    2012 R2 -
    http://technet.microsoft.com/en-gb/evalcenter/dn205286.aspx

  • How to install Photoshop 5 in Windows 7 64 bit machine

    My Windows XP laptop quit.  New laptop is Windows 7 64 bit machine.  When I install Photoshop CD and select Install Photoshop 5, nothing happens.  I found this link: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5162
    but I cannot open it.  The instructions with it say to copy into Files (x86\Adobe\Adobe Photoshop, but since I cannot get Photoshop 5 to load, there is no Adobe Photoshop files in x86\Adobe, only Adobe Reader.  Help!  I have lots of files I use Photoshop 5 to edit and now no way to edit them.

    a. enable file extensions to be visible:
    To show file name extensions in Windows Explorer, follow these steps:
    For Windows Vista, Windows 7, and Windows Server 2008
    Start Windows Explorer, you can do this by opening up any folder.
    Click Organize.
    Click Folder and search options.
    Click the View tab.
    Scroll down until you notice Hide extensions for known file types, un-check this line by clicking the check box.
    Note To hide file name extensions, check this line.
    Click OK
    b. open the photoshop directory/folder and attach a screenshot of its contents.
    c. open autorun (setup info) in notepad and copy and paste its contents here.
    d. open readme.wri in wordpad and see if it contains anything useful.

  • Problems Install Financial Reporting 11.1.2 Client on 32 bit machine

    I am having issues installing Financial Reporting 11.1.2 on my 32 bit machine.
    Per Oracle's read me document I:
    - Downloaded all of the necessary files
    - Unzipped them
    - Placed all of the assemblies files into one assemblies folder with in the system installer folder
    - Ran the InstallTool.cmd
    - Received errors during the start of the installation
    I have a feeling that I am missing a file, so I went to the edelivery site to double check. Turns out, the edelivery site does not have the 11.1.2 files or readme available.
    Below is my log file, which mentions an upgrade. I currently do not have Can anyone assist?
    Thanks in advance,
    Platform information:
    Platform.getOsArchString(): x86
    Platform.getPlatform(): WINDOWS
    Platform.is64BitsArch(): false
    Platform.isAmd64(): false
    Platform.isItanium(): false
    Platform.isRisc(): false
    Platform.isWindows(): true
    Platform.isWinVista(): true
    Platform.isWin2008(): false
    Platform.isWinXP(): false
    Finished platform info.
    FUSION MODE off
    Checking if the file exist: C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies... Ok
    Checking if the file exist: 'help' or 'help.zip'... Ok
    The folder 'help' or file 'help.zip' have to exist for successfull installation.
    Checking if the file exist: C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\jre... Ok
    Checking if the file exist: C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\setup.jar... Ok
    Check assemblies:
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_product_reporting_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_financial_reporting_services... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\webLogicCommonComponent\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_financial_reporting_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\ocm\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_interactive_reporting_services... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\tools\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hpm... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_financial_reporting_webapp\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\ohs\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hfm_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_migration_utility\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbaseAddins... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_dds... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hfm_common... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\analytic_services_provider_webapp... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbase_administration_services_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\planning... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_product_reporting_services... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\disclosure... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hfm_services... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbase_integration_services... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\staticContent\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\offlinePlanning... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\aif... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\calc... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbase_services... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\bpm_architect_datasync... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\workspace_configlibs... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\bpm_architect_batch_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\productCommonComponents\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hsf_server... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hps_webapp... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\bpm_architect_webapp... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_product_reporting_common... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\fdm... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_financial_reporting_common\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hsf_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\bpm_architect_generator... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_webanalysis_webapp... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_workspace_webapp\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbase_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\sharedServices\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hsf_reader_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbase_studio... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_configlibs... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_portlets_webapp\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\commonComponents\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_core_services\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbaseProductCommonComponents\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbase_studio_services... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_interactive_reporting_client... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\financial_close... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\bpm_architect_services... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\hfm_webapp... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\biplus_workspace_new_webapp\11.1.2.0\assembly.dat... Ok
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\essbase_administration_services_webapp... Not exists
    C:\Users\aslack\Desktop\Hyperion\Oracle Downloads\V20850-01\assemblies\rmi... Not exists
    Result of checking assemblies: Ok
    Checking environment variables...
    Ok
    Starting Upgrade check...
    Detected Oracle Home [C:\Hyperion] without .oracle.products.
    Upgrade is not supported.
    EPMINS-01001: One or more preinstallation checks failed. Review prerequisites that do not have a check mark, correct the errors, and continue with the installation.
    Writing logs to "C:\Users\aslack\AppData\Local\Temp\installTool-install-stdout.log" and "C:\Users\aslack\AppData\Local\Temp\installTool-install-stderr.log"

    As a temporary measure try deleting the environment variable HYPERION_HOME, you can always put it back if it doesn't work out.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Crystal report not working on 64 bit machine

    Hello friends,
    Hope everyone is doing good.  I have an issue and you all are requested to help me out.
    I have build an Application using VS 2008, i used Oracle 10g as database and Crystal report 2008 for reports. The Application and reports are working fine when i deploy it on 32 bit machine, but when I deploy it on a 64 bit machine, my Application works fine but reports are not displayed, when ever i run report it ask Db credential with the following message
    "The report you requested requires further information."
    then Server, user ID and password filed, I off course supplied credential but no results.
    For resolving the issue i installed VS 2008 on 64 bit machine with redist CR Viewer and tried to verify database for the report thinking this might be an issue, but in CR designer it gives me following error when i tried to verify database or create new connection using OLEDB provider for Oracle
    Crystal Reports ActiveX Designer
    Logon failed.
    Details: ADO Error Code: 0x
    Source: Microsoft OLE DB Provider for Oracle
    Description: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    OK
    I tried the following fixes as well:
    - Installed CR viewer for 64 bit machine
    - Registering ORAOLEDB10.dll
    - Reinstalling VS 2008
    The Application works fine but Crystal reports are malfunctioning. Please help!!!!!!!!!!!!!!!
    Thanks a ton in Advance
    Happing coding and resolving issues
    Danish Mustafa Khan

    Also, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Cannot OpenDatabase (MSAccess mdb file) using VB6 code on windows8 64 bit machine using office 2013.

    I have a "mdb" file which is created long back in MSAccess 97 or 2000. I am using Office 2013.
    When I tried to open the mdb file from my application using below code written in VB6, It works fine in Windows 7 64 bit machine but It is not working in Windows 8 64 bit machine.
    If I use office 2010 again same code works fine in both Windows 7 and 8 64 bit machines.
    Set gWork = DBEngine.CreateWorkspace("", "admin", "", dbUseJet)
    Set gCache = gWork.OpenDatabase(DataPath & fFilePath & "\connec00.mdb")
    I have a referenced "Microsoft DAO 3.51 Object Library" for the code.
    I tried changing it to "Microsoft DAO 3.6 Object Library" also but still the problem is not resolved.
    Can anyone please help me in figuring this out ??

    Dear Bruce,
    Thanks for your reply.
    Code was written in VB6. My VB6 application will try to open a "connec00.mdb" file and will read the data in it for displaying in the application.
    For opening the database by the application the code was written like below
    On Error GoTo Herr
    Set gWork = DBEngine.CreateWorkspace("", "admin", "", dbUseJet)
    FLog.Addlog "File exists: Connecting to database..."
    Set gCache = gWork.OpenDatabase(DataPath & fFilePath & "\connec00.mdb")
    Herr:
    FLog.Addlog "Error(Class_Initialize - DataConnector): " + Err.Description + " in " + Err.Source + Chr(10) + Chr(13) + "Init: Going on execution..."
    If I manually open the "mdb" file both in windows 7 64 bit and windows 8 64 bit using MSAccess 2013, I will get  the error
    "cannot open a database created with previous version of your application".
    On Windows 7 64 bit
    Through my VB6 code the mdb file is opened (does not launch MSAccess) by my application and reading is done perfectly which inturns helps the application to display the data in the mdb file. (even though manually if I cannot open)
    On Windows 8 64 bit
    Through my VB6 code the mdb file is not able to open the database by my application.
    It is going to Herr: part when it tries comes to that "OpenDatabase" step and it prints nothing in the log (Err.Description )also.
    (This is seen only for Windows 8 64 bit) . In Windows 7 64 bit Herr part does not even hit.
    Configuration wise I have checked both are same. Please let me know in case of furthur clarification or anything if I miss..
    Thanks for your co-operation.

  • Is there a way to install just the 32 bit version of Photoshop CS5 on a Windows 7 64 bit machine?

    I have a custom built Java 6 application that doesn't like Photoshop CS5 64 bit edition.  The program copies over a file from the network to the local machine and then opens it in Photoshop.  The user manipulates the image and saves the changes.  The user then completes the image and the application copies the image back to the server.  The problem we're having is: When we use Photoshop CS5 64-bit, it takes about 2 minutes for Photoshop to open the image.  The file is copied over within 2 seconds and the Photoshop icon on the windows taskbar starts flashing.  But then you spend a few minutes waiting for it to open.
    Some things that I have tried to isolate the problem:
    - I found you can copy the file somewhere else, double click on it and the image will open in Photoshop before the script is able to open the file.
    - I tried uninstalling Photoshop and reinstalling just the 64 bit edition without the 32 bit installation.  The script just stops working in this situation.
    - I tried uninstalling CS5 and installing CS3.  The image opens as soon as the file is copied over.
    What I would like to try next is to install just the CS5 32 bit version.  But the installer is being uncooperative and will only allow either the 64 bit version or both the 64 and 32 bit versions.  So, back to my question: Is there a way to install just the 32 bit version of Photoshop CS5 on a Windows 7 64 bit machine?

    Do you mean schroot?  If so I'm not sure exactly how well that will work out, because the part that depends on python is a deamon that handles communication between the USB dongle and the Tux Droid which may mean hacking the deamon a bit so ether way this does not seem like it will be a easy task.

  • Is there a way to dynamically determine the number of out parameters for a server side procedure?

    Hi,
    Below is a helper method used for calling a server-side function which loops through the inbound bindVars parameter to populate the function's IN parameters. Is there a way to dynamically determine the IN/OUT parameters based on the procedure name in the stmt parameter? No members of the CallableStatement class seemed promising, but the getParameterMetaData() method in the PreparedStatement class seemed like it could be helpful lead. However, I have not found any detailed descriptions (yet) of how to use it.
    protected Object callStoredFunction(int sqlReturnType, String stmt,
      Object[] bindVars) {
      CallableStatement st = null;
      try {
      // 1. Create a JDBC CallabledStatement 
      st = getDBTransaction().createCallableStatement(
      "begin ? := "+stmt+";end;",0);
      // 2. Register the first bind variable for the return value
      st.registerOutParameter(1, sqlReturnType);
      if (bindVars != null) {
      // 3. Loop over values for the bind variables passed in, if any
      for (int z = 0; z < bindVars.length; z++) {
      // 4. Set the value of user-supplied bind vars in the stmt
      st.setObject(z + 2, bindVars[z]);
      // 5. Set the value of user-supplied bind vars in the stmt
      st.executeUpdate();
      // 6. Return the value of the first bind variable
      return st.getObject(1);
      catch (SQLException e) {
      throw new JboException(e);
      finally {
      if (st != null) {
      try {
      // 7. Close the statement
      st.close();
      catch (SQLException e) {}
    James

    The PreparedStatement.getParameterMetaData() object is exactly what you need for this task.
    Once you have the ParameterMetaData you can ask it how many parameters are present and which mode they are. The parameters are numbered from 1 to n and you can use ParameterMetaData.getParameterMode(1); to get the mode of the 1st parameter. The modes are defined as static values in the ParameterMetaData object. Check out the doc at http://docs.oracle.com/javase/7/docs/api/java/sql/ParameterMetaData.html
    Timo

  • How to dynamically determine Receivers within BPM

    I’m trying to design a way to determine my receivers within my BPM process during runtime.   My Scenario is as follows:
    SAP IDOC
        V
      XI
                 XI uses JAVA Mapping MT1 to determine vendors and if customer receives PIDX
                             JAVA Mapping MT2 to creates the PIDX output file if required
      V
    SENDs to required Vendor (PIDX if required otherwise email)
    My problem is how to dynamically determine the appropriate receiving vendor for my PIDX.
    I can not use the condition editor on the standard Receiver Determination because the output message (PIDX) doesn't have specific enough information to determine the vendor.
    Other than the customer number there are no other values and we don't want to use customer number because each vendor can have multiple customer numbers (hundreds).
    I've tried various attempts but none seem to work.  This could also be because I have limited knowledge of BPMs and this is my first complex development.  Below are the different attempts I've made at dynamically determining the receiver.  Any input would be appreciated.
    Receiver Scenario 1 
      I developed an interface mapping with MT1 as input and the SAP Receiver Determination as output.  The problem is for me to use this, the interface mapping had to reference the PIDX output (MT2 instead of MT1) which has no data that I can use to determine the receiver.
    Receiver Scenario 2
    I added a receiver step right before my send step and used the receiver list.  This appears to send the PIDX to everyone in the list and there is no way to evaluate or eliminate a name from the list. 
    Receiver Scenario 3
    I created a context object in the Integration Builder and assigned it to a field in MT1.  I then added a switch step with a branch for each vendor.  Within each specific branch there is a Send step that has the context object name I created in the "Send Context" field.  However, on the configuration side I’m unable to access the context object which I created on the design side.  Whenever I open the condition editor and select the radiobutton for "Context Object" the list  does not include the context object I created in the Integration Builder.

    Hi,
    Try using the enhaced receiver determination concept.
    Maybe based on certain field values you can write a UDF which calculates the receiver.
    Try this Blog out
    Link : [
    http://help.sap.com/saphelp_nw70/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm]
    Regards,
    Abhishek
    Award if helpful.

  • IDES ECC6.0 including EHP4 on 32 bit machine

    MARKUS,
    I am installing IDES ECC6.0 including EHP4 on 32 bit machine.. I came to know from the following ( Note 1379040 - IDES ERP 6.0 ECC 6.0 incl. EHP4) that i cannot install IDES ECC6.00 on 32 bit,but i can install via system copy method.. I followed the exact method as mentioned in the same note. Installation was going smoothly but when it came to IMPORT ABAP PHASE..there were total of 103 files out of which 102 files was sucessful and 1 got failed.. Error is almost similar to tat what this thread has. I also saw that listerner was not started ,so i started the listener (status is showing listener is up) but still I am facing the same issue. I am pasting the log from SAPVIEW log file.
    E:\usr\sap\ID9\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20091021202919
    E:\usr\sap\ID9\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/701_REL/src/R3ld/R3load/R3ldmain.c#5 $ SAP
    E:\usr\sap\ID9\SYS\exe\uc\NTI386\R3load.exe: version R7.01/V1.4 UNICODE
    Compiled Feb 24 2009 23:04:42
    E:\usr\sap\ID9\SYS\exe\uc\NTI386\R3load.exe -i SAPVIEW.cmd -dbcodepage 4103 -l SAPVIEW.log -stop_on_error
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: db_connect rc = 256
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
    DbSl Trace: CONNECT failed with sql error '1034'
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1034
    DbSl Trace: CONNECT failed with sql error '1034'
    (DB) ERROR: DbSlErrorMsg rc = 99
    E:\usr\sap\ID9\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
    E:\usr\sap\ID9\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20091021202923
    I also tried Note 709389 - Problems during load of SAPVIEW , but I am not very clear on how to go by this note.. I had rechecked the export DVD data's.. all are fine..
    Please help me out of this issue.. Waiting for your reply..
    Regards
    Hari Narayanan.M

    Hi,
    Check SAP Note 491174 - Composite SAP note for ORA-01034
    Thanks
    Sunny

Maybe you are looking for

  • My ipod wont let me in  some of my apps

    my 4th gen ipod touch keeps taking me out of my apps and reloading my ipod only helps for a little can someone help me

  • FM to change / split SD schedule lines in batch

    Dear all, Following scenario: Material A: Current available stock: 1000 pcs,             Purchase Order 10000 pcs arriving on 01.09.06             SD order with 2000 pcs. When I run the availability check for the SD order in VA01, the system would cr

  • CHARSET for Korean language to open Korean .wft files in workflow.

    Hi, I want to open Korean .wft files in oracle workflow builder. For that, I had given 'KOREAN_KOREA.KO16KSC5601' (and also 'KO16KSCCS' as charset) as the NLS_LANG value in the window registry but I am getting following error once I logged in to data

  • Connecting iPhone to Sumsung LED flatscreen...

    The set has HDMI, component, PC and USB inputs....how can I play video from my iPhone? Can't believe I haven't been able to figure this one out...

  • Po quantity value showing difference for only decimal qty range

    Hi Experts,           In purchase for  line items which contains decimal qty like 0.232 , it is taking net price also in decimal format.But for other line items it is displaying correctly(whole qty no's).. pricing conditions we maintained at info rec