ODBC connection to CODA via  Easysoft ODBC drover

I need to run a SQL statement on an Oracle 8i server which access data via an ODBC driver. The ODBC driver is the Easysoft driver for CODA ( a financial package. This works quite well using MS Access but I need to do the same on oracle.
Any help appreciated
David Chandler

Have you set up Heterogenous Services yet? If so, what sort of error are you seeing?
Justin

Similar Messages

  • Problem in connecting to beehiveonline via WebDAV

    Hi,
    I am seeing a strange behavior when connecting to beehiveonline via WebDAV. Need your help to sort out the same.
    If I try to connect to https://beehiveonline.oracle.com/content/dav using internet explorer, the browser automatically redirects me to the SSO login page. After I login, it moves back to the workspace listing page successfully.
    But if I try to connect to the same URL via "Add Network Location" or "Map Network Drive" the system is failing to connect. I am using the same SSO credentials. I am using Windows 7 laptop (not sure if that matters).
    I have been using this (beehiveonline via WebDAV) for a some time now; this was working perfectly alright before last ~10 days. For the last ~10 days, this does not seem to work.
    Can you please review and help.
    Thanks, Raja

    Raja,
    I have some troubleshooting tips for webdav - see if any of these work and if not we can have a call and talk through the options.
    Troubleshooting Tips
    @ 1. While connecting to Webdav using web folders, the login prompt keeps appearing.
    Try connecting to the webdav server using https url: @ http://beehive.oracle.com/content/dav
    If above doesn't help, try below steps:
    Stop "Webclient" service (Go to Start-> Control Panel-> Administrative Tools -> Services. Select "Web Client" and stop the service)
    Set 'Startup Type' of Webclient service to 'Manual' Set up web folder using url: http://beehive.oracle.com/content/dav
    (without specifying port)
    2. My web folder was working properly. Now suddenly dav operations don't go thru and can not access stbeehive. I deleted the mapped network place and re-mapped, it still does not work.
    This happens when the webdav server is bounced and your dav cookie on the client is not expired. Delete all cookies in Internet Explorer browser (Tools-> Internet Options - > Delete -> Delete cookies) and try reconnecting.
    3. Through web folders, I created a new folder, but the folder did not appear – and when I try to create it again, it says it already exists.
    Stop "Webclient" service (Go to Start-> Control Panel-> Administrative Tools -> Services. Select "Web Client" and stop the service). Set up web folder using url: http://beehive.oracle.com/content/dav (without specifying port).
    4. After copying a file from one folder to another within Web folder, it shows the file size as 0 bytes.
    This is a known issue with the web folders client. After the copy/move operation, it does not issue a PROPFIND to get the details of the newly copied/moved file. Refresh your folder (press F5) and the correct sizes should be displayed.
    5. In web folders, I double-click a jpeg file. The MS Picture Viewer application opens but it does not display the jpeg file.
    The MS Picture Viewer application is not webdav enabled. Try opening the file in Internet Explorer instead.
    6. I did some dav operations through the browser. After leaving idle for about an hour, it asked me for username/password again.
    This is due to the dav session timeout.
    7. I did some dav operations through Internet Explorer (IE). Then, I did some operations through web folders. After leaving idle for about an hour, I tried to access through IE. It did NOT ask me for username/password.
    Sessions involving non-browser dav client like web folders are intended to be longer (default timeout value is 16 hours). Since you last did an operation using web folders, your dav session has been extended.
    8. I have uploaded a document with a non-English name. When the document is listed, the file name is garbled.
    or I have uploaded a document with non-English contents. When I open them, they are garbled.
    Your dav client is not sending the encoding information correctly. Please try setting your "Content" user preferences ("document_uri_encoding", "document_character_encoding") to the encoding used by your dav client.
    9. I am not logged into Web Folders. Now, I login through IE and click on a MS Office document (word/excel etc). I am prompted for my credentials again.
    This can be resolved by opening the MS word document inline in Internet Explorer. Steps required to configure are available at:
    http://support.microsoft.com/kb/162059.
    10. I have opened a MS Office document inline in the browser. I click "Back" or close the web browser window. I am prompted to enter credentials again.
    This can be resolved by following the steps given at: @ http://support.microsoft.com/kb/822128
    Known Issues
    Generic Issues:
    @ There is no support for non-ascii username/password. Windows Vista Web folder is not supported.
    Navigation through browser into URLs containing characters [ or ] may result in 404 error.
    Windows Web Folders:
    It throws a common error dialog box for all the error scenarios. It does not pick the message sent by the webdav server
    If you create/update/delete a document and it has to go through a workflow process, Web Folders doesn’t interpret the response status code correctly and throws an error.
    Cadaver:
    Copying/moving fails for files/folders which have spaces in their names Use cadaver ver 0.22.5 or later. Earlier versions have encoding issues.
    Mac OS:
    Lot of files whose name starts with the dot character like ".DS_Store" are created implicitly by Mac Finder
    I uploaded a document to my personal workspace Documents folder. Then Get Info on that document in the webdav folder. There is a checkbox for "Lock". If you click the checkbox, it immediately gets de-selected. This is because this client does not send a webdav lock request.
    Maybe one of these will do the trick
    Phil

  • ICloud Keychain Verification code via SMS

    I am not getting the iCloud Keychain verification code via text message. but receiving the usual text messages. On Yosemite

    Hello, Kutoz. 
    Thank you for visiting Apple Support Communities. 
    Here is some information that you may find helpful with this issue. 
    I'm not receiving the verification code via SMS.
    Make sure that you have a strong cellular network connection on your phone.
    Make sure that your phone number can receive SMS messages. You can do this by asking someone to send you a text message.
    Make sure that the correct phone number is associated with your account:
    iOS 7.0.3 or later: Tap Settings > iCloud > Account, then tap Keychain. Make sure the phone number under Verification Number is correct. If not, enter another phone number.
    OS X Mavericks v10.9 or later: Choose Apple () > System Preferences. Click iCloud, then click Account Details. Make sure the phone number listed under Verification number is correct. If not, enter another phone number.
    If you can't access a device that has iCloud Keychain enabled, you can contact Apple Support and verify your identity to get help completing iCloud Keychain setup.
    Get help using iCloud Keychain
    http://support.apple.com/kb/TS4644
    Cheers,
    Jason H. 

  • Cannot connect to database via TNS

    Hello!
    I installed XE with default settings and have some trouble. I cannot connect to database via TNS. Two symptoms:
    1. I can connect with SQLPLUS system/pwd (locally, without tns name input), but CANNOT connect with SQLPLUS system/pwd@EX (WITH TNS NAME input).
    2. I cannot start Database Home Page.
    How to avoid this problem? Any ideas?
    DETAILS:
    PC configuration: Win2k+SP4, 512Mb, Outpost Firewall (disabled!), No another Oracle products being installed.
    TNSNAMES.ORA file:
    ************* BEGIN TNSNAMES *****************************************
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ************* END OF TNSNAMES *****************************************
    Listener status:
    ************* BEGIN STATUS *****************************************
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    Start Date 22-MAR-2006 17:27:15
    Uptime 0 days 1 hr. 8 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\admin\listener.ora
    Listener Log File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pz)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ************* END OF STATUS *****************************************
    NETSTAT -an results:
    ************* BEGIN NETSTAT *****************************************
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2298 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:2455 127.0.0.1:8080 ESTABLISHED
    TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:8080 127.0.0.1:2382 CLOSE_WAIT
    TCP 127.0.0.1:8080 127.0.0.1:2455 ESTABLISHED
    TCP 192.168.200.49:1521 192.168.200.49:2298 ESTABLISHED
    TCP 192.168.200.49:2298 192.168.200.49:1521 ESTABLISHED
    <truncated>
    ************* END OF NETSTAT *****************************************
    I found following error in SQLNET.LOG:
    *************** START LOG *********************************************
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 22-MAR-2006 17:28:59
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12570
    TNS-12570: TNS:packet reader failure
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    *************** END OF LOG *******************************************

    I successfully connect with XE client to another Oracle databases from LAN, including 8i and 9i databases.
    But cannot connect from another machines to my XE.

  • I have downloaded a Maverick OS X 10.9.4 and installed it on my Mac from a USB, and i can't receive a Verification Code via SMS when setting up the iCloud Keychain. Please help

    I have downloaded a Maverick OS X 10.9.4 and installed it on my Mac from a USB, and i can't receive a Verification Code via SMS when setting up the iCloud Keychain. Please help.

    Hello, Kutoz. 
    Thank you for visiting Apple Support Communities. 
    Here is some information that you may find helpful with this issue. 
    I'm not receiving the verification code via SMS.
    Make sure that you have a strong cellular network connection on your phone.
    Make sure that your phone number can receive SMS messages. You can do this by asking someone to send you a text message.
    Make sure that the correct phone number is associated with your account:
    iOS 7.0.3 or later: Tap Settings > iCloud > Account, then tap Keychain. Make sure the phone number under Verification Number is correct. If not, enter another phone number.
    OS X Mavericks v10.9 or later: Choose Apple () > System Preferences. Click iCloud, then click Account Details. Make sure the phone number listed under Verification number is correct. If not, enter another phone number.
    If you can't access a device that has iCloud Keychain enabled, you can contact Apple Support and verify your identity to get help completing iCloud Keychain setup.
    Get help using iCloud Keychain
    http://support.apple.com/kb/TS4644
    Cheers,
    Jason H. 

  • IPhone no longer connects to iTunes via Wifi

    On July 1,12 my iTunes did an automatic update.  After the computer restarting and I entered iTunes and the following messages appeared:
    Message 1: Must reinstall itunes to connect to ipod or mobile devices.
    Message 2: CD/DVD folder must be located in itunes folder in order to use with itunes
    I have 2 iphones (both 4s, bought at same time, both running iOS 5.1.1)and one will briefly connect to itunes via Wifi (I will identify this one as iphone1) but the other one will not (I will identify this one as iphone2).  I have a PC with Windows 7.
    When iphone1 is connected to itunes via wifi is disconnects randomly.  Under: Summary > Version, it has the message: Connect this iphone using a USB cable in order to update or restore its software.  When I have it connected with the USB cable, there are no problems. The settings selected under: Summary > Options > are: Open iTunes when this iphone is connected, Sync with this iphone over Wi-Fi,  & Manually manage music and videos.  The Setting under Backup > Back up to this computer (where it backs up to; I do not know)
    iphone2 does not connect via Wifi but used to.  It connects without issues with the USB. The Settings in iTunes > Summary are the same as iphone2 except that iphone2 is set as Backup > Back up to iCloud.
    My iphone2 is my primary device.  I use it exclusively; for music, taking photos, syncing photos to my Photo Stream folder on my PC, etc.  The iphone1 is my spouse's secondary phone, so its not used as often (ie: only has 4 songs downloaded, used to take the odd picture, has a mirror image of apps from iphone2).
    I searched Apple Support and tried the following solutions that didn't solve this problem:
    How to restart the Apple Mobile Device Service (AMDS) on Windows (support.apple.com/kb/TS1567) &
    Set the Apple Mobile Device Service Startup type to Automatic
    I have not done this: Remove and reinstall iTunes and AMDS. I did goto the: iTunes for Windows: Device Connectivity Tests > iOS > iPhone - iTunes Troubleshooting Assistantand into iTunes > Help > Run Diagnostics.  The results were: All tests passed. (My iphone2 was plugged in with USB. The iphone1 was connected via WiFi.)
    What do I do now?  Do I need to remove and reinstall iTunes? and if so will I lose all my itunes info (videos, music, apps, settings) or will it just show up after I install iTunes?

    Hi Mitch,
    It sounds like you have already done many of the steps, but I would like you to look at this article -
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    and go over any that you may have missed.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Unable to connect to Internet via Airport Express - 'cannot contact server'

    I'm unable to connect to the internet via my Airport Express. I'm using OS 10.3.9, and had the same setup with no problems at a previous address, but with a different modem from the same ISP.
    My AE is connected - the light is green - and my mac is connected to the network in Internet Connect. But when I open Safari I get an 'unable to contact server' message.
    I've tried rebooting everything (modem, AE, Mac), and leaving modem/AE off for several minutes. Also reset the AE, but to no avail.
    The connection works fine via Ethernet cable.
    Any ideas?

    Thanks, I checked out that advice doc (106798), but could not connect to the address (http://17.149.160.49) which is given to test if it's a DNS issue. My ISP says I shouldn't need DNS settings.
    The service is PPPoE, and I went into Airport Admin Utility to check if the Airport was configured for this. Under Configure/Internet, I found it was set to 'Ethernet', so changed it to PPPoE. Then when I restarted I got connection status in the bar (and good Airport signal), but status flipped between 'looking for PPPoE host' and 'negotiating PPPoE host', sometimes sticking on one or the other each time I tried rebooting all gear.
    Any other ideas?

  • My macbook pro cannot connect to internet via wifi

    I have a Macbook Pro 2010 OS X 10.8.3.  I cannot connect to internet via wifi (Air por).  My Macbook Pro does not recognize my network and when I select it from the list of network it asks for my network password.  when I type in my password a dialog box gives me timeout error.  Please could anyone help me.  I am using ethernet for my connection at the moment.  Do I need to reset my macbookpro?  if yes, what will happen to my applications and operating system (mountain lion)?
    Monireh

    When you use the Airport utility what happens?
    What is in the System Preferences control panel for Network settings?
    http://www.apple.com/support/airport - there is a forum just for Airport Community
    Airport Express FAQ
    http://support.apple.com/kb/HT1515
    Wi-Fi Setup Considerations
    Things to consider before you begin
    Start with a plan for the physical layout. Depending on whether you have an existing Wi-Fi network, or if you are using your AirPort Express as a standalone Wi-Fi device, there are several options available for you to choose from.
    When using Ethernet, Cat6 cable is recommended.
    The layout you choose should take into account environmental factors such as physical access, location, range, radio frequency interference, etc.
    You will need to consider what AirPort Utility settings to adopt.
    You will need to know whether you are using an AirPort Express (802.11b/g) or an AirPort Express (802.11a/b/g/n).
    If you will be using more than one Wi-Fi base station, it may be helpful to read the article Extending the range of your wireless network by adding additional Wi-Fi base stations.
    AirPort Discussions
    Discuss your AirPort Base Station, Time Capsule and Wi-Fi questions with fellow community members.
    More
    Direct you to the proper forum for MacBook :
    MacBook Series Forumshttps://discussions.apple.com/community/notebooks?view=discussions
    Mac OS X Forums
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro

  • I cannot find the 'WPA passphrase' to connect my printer via wireless and cannot find it in Airport utility (MAC says it cannot find any open airports)

    MAC OS X 10.6.3 - desktop Mac
    I browsed similar questions and saw that someone recommended going to the Airport Utility and then selecting manual set up or something- anyways, it could not find any airports. I have brought my printer from my house as my BF's has died - this is the first time it's asked for a WPA passphrase. We tried a very long series of capital letters and numbers as well as the password for the internet and both times the printer said "invalid passphrase"..... ......

    Airport Utility is for administration of genuine Apple Base Stations. If you have a different Brand, Airport Utility can do nothing for you.
    I think they're using ethernet.
    To connect a Printer via Ethernet, no password is needed.
    We already tried the password for the internet and that did not work...
    If a password is required to connect to the Internet, then WiFi is likley being used, and that WiFi password is the one needed for the Printer connect wirelessly as well.
    What make&model Printer? Is it indeed a Wireless Printer? Most connect via USB, but that would force it to use a specific computer to assist in printing.

  • Hello Everyone, I just bought a HP Photosmart Premium All-in-One Printer - C309g but i find it very difficult to connect to it via BLUETOOTH and WIRELESS on my IPAD 3...i will be very greatfull if i'll get a solution as soon as possible. Thanks

    Hello Everyone, I just bought a HP Photosmart Premium All-in-One Printer - C309g but i find it very difficult to connect to it via BLUETOOTH and WIRELESS on my IPAD 3...i will be very greatfull if i'll get a solution as soon as possible. Thanks

    Hi Tomiwa,
    You cannot print from the iPad to that printer. AirPrint and Bluetooth are completely different.
    There may be apps you can buy that will enable using that printer, but that is not an ideal solution.
    That particular printer has had many bad reviews, and is unreasonably expensive for its features. Considering that you just bought the printer, as well as its lack of AirPrint, I suggest you return it and buy a printer that supports AirPrint.

  • Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong v

    Is it possible to recover my data from iCloud backup without working wifi? I have as many other upgraded my iPhone 4S to iOS 7.0.2 with the result that the Wi-Fi or Bluetooth no longer works. However, i can connect to iTunes via cable but there is wrong version of backup.

    Answer is no.
    If you want the iCloud backup you have to have n internet connection, thus WiFi.
    The not working WiFi has happened with quite a number of users.
    It is not exactly clear what is the cause but there are suggestions to clear it up:
    Some people have had success by removing an apostrophe from the iPhone name. If your iPhone is called something like “John’s iPhone” then this might work. Go to Settings > General > About > Name and change it to something with no apostrophe.
    Some people have reported success by putting the iPhone into Airplane mode and then going to Settings > General > Reset > Reset Network Settings, but the problem may return.
    You could also try going to Settings > Control Center and disable Access on Lock Screen then turn your iPhone off and on again.
    Make sure that your router firmware is up to date.
    Try backing up your iPhone and then restoring it. Check how to factory reset an iPhone for details.
    If nothing is working for you, try contacting Apple or take your iPhone into an Apple Store.
    Succes, Lex

  • My macbook pro is connected to internet via my time capsule but my iPad and iPhone won't. it shows wifi connection to the time capsule but when i go on to the internet on the iPad or iPhone, it comes up with network error. can anyone help?

    my macbook pro is connected to internet via my time capsule but my iPad and iPhone won't. it shows wifi connection to the time capsule but when i go on to the internet on the iPad or iPhone, it comes up with network error. can anyone help?

    This can be caused by a number of issues.
    Was everything working and then suddenly stopped??
    Or is this a new clean setup and has never worked.
    Do you have a cable modem which is not a router and the TC setup in bridge? That will cause it. The TC must be in router mode, ie dhcp and nat.
    Check the IP the MBP gets including dns and gateway..
    Then check the ipad/iphone.. post what IP dns and gateway (router in applespeak) they get.

  • Have most recent macbook pro connected to thunderbolt via thunderbolt cable.  Occasionally when I close my laptop the thunderbolt display goes black and does not come back on---even in response to keyboard.  Help

    Have most recent macbook pro connected to thunderbolt via thunderbolt cable.  Occasionally when I close my laptop the thunderbolt display goes black and does not come back on---even in response to keyboard.  Help

    Hello QuinnDev,
    Thank you for posting in the Apple Support Communities.  It sounds like you are trying to use your MacBook Pro with a Thunderbolt Display in closed clamshell mode (MacBook Pro closed), but sometimes the display doesn't stay on.  I found an article that talks about closed clamshell mode.  You would have to fulfill the following requirements to use your display this way:
    Requirements for closed display mode:
    Power adapter
    External keyboard, mouse, or trackpad
    External display
    You can find all the steps and the full article here:
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display
    http://support.apple.com/kb/HT3131
    I hope this helps!
    All the best,
    Sheila M.

  • Connection to CRX via RMI and getting WeakReference value..... with an exception!

    Hi there,
    I have the following problem.
    I opened a ticket in Day Care Support system, about CRX users/group membership that got lost while synchronization with our LDAP server.
    Although when the user and the group had been created (and therefore taken from that same LDAP server), the membership was good.... but after some time the membership got lost......
    So what i am trying to do now is a Java program that connects to CRX via RMI.
    And gets the list of all the users from a group (aka membership).
    The idea is to monitor the membership each seconds.
    But when trying to get the property "rep:members" of the group, I have the following exception :
    javax.jcr.ValueFormatException: Unknown value type 10
              at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:13 9)
              at org.apache.jackrabbit.rmi.server.ServerProperty.getValues(ServerProperty.java:71)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
              at java.lang.reflect.Method.invoke(Method.java:611)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)"
    I searched a little bit and found that "10" is the number for type WeakReference.
    That's normal to me because memberships are stored in the group as a list reference to users linked to that group....
    Anyways, what's not normal to me is that when the type is "10" the API does not let me get the Value (cf. ServerProperty.getValues() method)
    Here is the program:
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    import javax.imageio.spi.ServiceRegistry;
    import javax.jcr.Node;
    import javax.jcr.NodeIterator;
    import javax.jcr.Property;
    import javax.jcr.PropertyIterator;
    import javax.jcr.Repository;
    import javax.jcr.RepositoryException;
    import javax.jcr.RepositoryFactory;
    import javax.jcr.Session;
    import javax.jcr.SimpleCredentials;
    import javax.jcr.Value;
    public class Test {
              public static void main(String[] args) {
                        String uri = "rmi://sma11c02.............:1234/crx";
                        String username = "admin";
                        char[] password = {....................};
                        String workspace = "crx.default";
                        String nodePath = "/home/groups/a";
                        Repository repository = null;
                        Session session = null;
                        try {
                                  // Connection to repository via RMI
                                            Map<String, String> jcrParameters = new HashMap<String, String>();
                                            jcrParameters.put("org.apache.jackrabbit.repository.uri", uri);
                                            Iterator<RepositoryFactory> iterator = ServiceRegistry.lookupProviders(RepositoryFactory.class);
                                            while (null == repository && iterator.hasNext()) {
                                                      repository = iterator.next().getRepository(jcrParameters);
                                  if (repository == null) {
                                            throw new IllegalStateException("Problem with connection to the repository...");
                                  // Creation of a session to the workspace
                                  session = repository.login(new SimpleCredentials(username, password), workspace);
                                  if (session == null) {
                                            throw new IllegalStateException("Problem with creation of session to the workspace...");
                                  // Get the targetted node
                                  Node node = session.getNode(nodePath);
                                  System.out.println("Node : " + node.getName());
                                  System.out.println();
                                  PropertyIterator properties = node.getProperties();
                                  System.out.println("List of properties for this node :");
                                  while (properties.hasNext()) {
                                            Property property = properties.nextProperty();
                                            System.out.print("\t"+property.getName() + " : ");
                                            if (property.isMultiple()) {
                                                      Value[] values = property.getValues();
                                                      for (int i = 0; i < values.length; i++) {
                                                                System.out.print(values[i]);
                                                                if (i+1 != values.length) {
                                                                          System.out.print(", ");
                                                      System.out.println();
                                            } else {
                                                      Value value = property.getValue();
                                                      System.out.println(value);
                                  System.out.println();
                                  NodeIterator kids = node.getNodes();
                                  System.out.println("List of children nodes for this node :");
                                  while (kids.hasNext()) {
                                            Node kid = kids.nextNode();
                                            System.out.println("\tChild node : "+kid.getName());
                                            PropertyIterator kidProperties = kid.getProperties();
                                            System.out.println("List of properties for this child :");
                                            while (kidProperties.hasNext()) {
                                                      Property property = kidProperties.nextProperty();
                                                      System.out.print("\t"+property.getName() + " : ");
                                                      if (property.isMultiple()) {
                                                                Value[] values = property.getValues();
                                                                for (int i = 0; i < values.length; i++) {
                                                                          System.out.print(values[i]);
                                                                          if (i+1 != values.length) {
                                                                                    System.out.print(", ");
                                                                System.out.println();
                                                      } else {
                                                                Value value = property.getValue();
                                                                System.out.println(value);
                                            System.out.println();
                        } catch (RepositoryException e) {
                                  e.printStackTrace();
                        } finally {
                                  if (session != null) {
                                            session.logout();
    Here is the output of the below program:
    Node : a
    List of properties for this node :
              jcr:createdBy : admin
              jcr:mixinTypes : mix:lockable
              jcr:created : 2011-10-25T16:58:48.140+02:00
              jcr:primaryType : rep:AuthorizableFolder
    List of children nodes for this node :
              Child node : administrators
    List of properties for this child :
              jcr:createdBy : admin
              rep:principalName : administrators
              rep:members : javax.jcr.ValueFormatException: Unknown value type 10
              at org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:13 9)
              at org.apache.jackrabbit.rmi.server.ServerProperty.getValues(ServerProperty.java:71)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
              at java.lang.reflect.Method.invoke(Method.java:611)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
              at sun.rmi.transport.Transport$1.run(Transport.java:171)
              at java.security.AccessController.doPrivileged(AccessController.java:284)
              at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
              at java.lang.Thread.run(Thread.java:736)
              at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
              at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
              at sun.rmi.server.UnicastRef.invoke(Unknown Source)
              at org.apache.jackrabbit.rmi.server.ServerProperty_Stub.getValues(Unknown Source)
              at org.apache.jackrabbit.rmi.client.ClientProperty.getValues(ClientProperty.java:173)
              at Test.main(Test.java:96)
    Here is the list of jar files i'm using with this program:
              2862818581          61388           crx-rmi-2.2.0.jar
              732434195           335603           jackrabbit-jcr-commons-2.4.0.jar
              1107929681           411330           jackrabbit-jcr-rmi-2.4.0.jar
              3096295771           69246           jcr-2.0.jar
              1206850944           367444           log4j-1.2.14.jar
              685167282           25962           slf4j-api-1.6.4.jar
              2025068856           9748           slf4j-log4j12-1.6.4.jar
    Finally, we are using CQ 5.4 (CRX 2.2) with the latest hotfix and under Websphere 7.0
    Best regards,
    Vincent FINET

    Je suis absent(e) du bureau jusqu'au 17/04/2012
    Je suis absent.
    Je répondrai à votre sollicitation à mon retour le 17 avril 2012.
    Cordialement,
    Vincent FINET
    Remarque : ceci est une réponse automatique à votre message  "[CQ5]
    Connection to CRX via RMI and getting WeakReference value..... with an
    exception!" envoyé le 13/4/12 0:32:14.
    C'est la seule notification que vous recevrez pendant l'absence de cette
    personne.
    Le papier est un bien precieux, ne le gaspillez pas. N'imprimez ce document que si vous en avez vraiment besoin !
    Ce message est confidentiel.
    Sous reserve de tout accord conclu par ecrit entre vous et La Banque Postale, son contenu ne represente en aucun cas un engagement de la part de La Banque Postale.
    Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee prealablement.
    Si vous n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expediteur.

  • Is it possible to find the transaction code via table name ??

    Hi
    Can any body please let me know is it possible to find the transaction code via table name ??
    Thanks in advance
    Sesh
    Edited by: seshu_sapfico on Dec 8, 2009 12:21 PM

    Please, specify your requirement... A table could be modified by various programs which are called by numerous transactions.

Maybe you are looking for

  • Goods Receipt allocated to a project. MIGO (501-Q)

    Hello Experts I want to make a good receipt without reference to the PO. I use the movement type 501 - Q becuase I want to take of from the project. Then I want to to create again but take out only from a Network and I havent seen any customizing poi

  • Window inside another window

    Hey! i'm having problems with a window i created inside another window, when i click the "x" for exit in the 2nd window, both windows close!! how can i fix this??

  • Exception looking up weblogic ejb from tomcat

    i have a servlet in tomcat 4.0 doing a remote lookup on an ejb in weblogic 6.1. the code works from a standalone client, but not in tomcat. so i assume it is something to do with jaas. do i have to configure jaas differently? and how?? i do not need

  • Error When create VA01

    Hello Experts. I have a problem. Recently been installed the support package 59 for 4.6c version. We are doing the test but when I'll creat a VA01 happens a error Syntax error in program    SAPLV61A                                 in include         

  • What is considered as a wild card for a query

    I am calling a query from Visual Composer. But I need to run the query when the variable is not selected. I have made the Variable optional. But whenever the "input field" is left blank, it seems like Visual composer is passing a NULL value or someth