Getting Toplink 11.1.1.2.0 to work

I've been trying to get Toplink to work with my PostgreSQL database for a while, but I hit a brick wall and have no idea how to resolve the issue. I have used Toplink Workbench provided with the Toplink installation to create a sessions.xml file and a deployment XML. I have created a simple Java project using Maven on NetBeans. I've put toplink.jar and xmlparserv2.jar on the classpath. I've written a class with a method that simply returns all the rows in a table on the database. However, the call to SessionManager.getSession(String sessionName) throws an exception:
Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'toplink-sessions'
at oracle.toplink.exceptions.SessionLoaderException.failedToLoadProjectXml(SessionLoaderException.java:75)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.loadProjectConfig(TopLinkSessionsFactory.java:318)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.createSession(TopLinkSessionsFactory.java:239)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildServerSessionConfig(TopLinkSessionsFactory.java:213)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:166)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:117)
at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:239)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:448)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:182)
I have no idea how to fix this. I can't use Toplink 10.1.3.5.0, because it does not include support for PostgreSQL which I need. Any help is very much appreciated. Thank you!

Hello,
I haven't encountered this error yet. Can you post/upload the sessions.xml file?(with login info blanked of course)
Best Regards,
Chris

Similar Messages

  • Cant get Mini-DVI to video (TV OUT) adapter working - MacBook in Windows XP

    Hi there
    Using Windows XP on my MacBook (mid 2007 model) via Bootcamp I can't seem to get the Apple Mini-DVI to video adapter working ( M9319 is the part number)
    When I plug it in it makes the Macbook freeze about every 10 seconds and you can hear a sound in windows thats similar to when you plug a new device in like a pen drive etc - so it sounds like its dected the adapter but getting no further....
    any advice would be much appriciated

    Wow, I'm glad I found this topic, I was beginning to think it was just me. Just like you guys, I have tried everything, and have received the same results. I really hope we can get an answer to this soon, because I need to run Sax 'N Dottys Karaoke presenter, (via Windows Vista/BootCamp) next week!! Without a video out, Im screwed. (Unless anyone knows of a comparable MAC Karaoke presenter that will read MP3G's)
    Message was edited by: petevspete

  • Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Download the Brother Mountain Lion drivers here.

  • I get wireless connection but my internet does not work on my ipad 2

    I get wireless connection but my internet does not work on my ipad 2

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • My Finder is going crazy.  Keep getting a message saying it quit unexpectedly and asking if I want to restore windows, but I can't get it to stop.  buttons don't work.

    My Finder is going crazy.  Keep getting a message saying it quit unexpectedly and asking if I want to restore windows, but I can't get it to stop.  buttons don't work.

    Something else you can try.
    In Finder hold down the option/alt key while selecting the Go menu item. Select Library. Then go to Preferences/com.apple.finder.plist. Move the .plist to your desktop.
    Restart and test. If it works okay, delete the plist from the desktop. 
    If the same, return the .plist to where you got it from, overwriting the newer ones.
    If you want to make your user library permanently visible, run the below command in Applications/Terminal.
    chflags nohidden ~/Library/
    You will need to do that after any updates.

  • Hi everyone, I have a computer linked to my iPAD through itunes.  Then my Computer crashed and had to get  a new one. How do I get rid of the old computers link on ipad and get it on new computer bcos is wont work! (doesn't work) PLZ HELP :(

    Hi everyone, I have a computer linked to my iPAD through itunes.  Then my Computer crashed and had to get  a new one. How do I get rid of the old computers link on ipad and get it on new computer bcos is wont work! (doesn't work) PLZ HELP

    what do you mean the old computers link?
    my ipad is sycned with my computer but nowhere is there a link
    and if I connected it with a new computer and set it to sync it would replace all my data with the data from the new computer

  • I just updated iTunes on my dell and now when I try to go to the store I get an error message that iTunes has stopped working and the program closes. Ideas?

    I just updated iTunes on my dell and now when I try to go to the store I get an error message that iTunes has stopped working and the program closes. Ideas?

    I have also retarted twice...

  • How do I get my old printer "HP Laserjet 4mv" to work on my newer Macs with OSX?

    How do I get my old printer "HP Laserjet 4mv" to work on my newer Macs with OSX?
    There is no HP support for this old printer. I have tried to connect via ethernet (thru ethernet router), and it does not show up in printer preferences. The printer worked fine on system 9x but when I went to my new macs with system X no luck. This is a great B&W printer that prints at 18 x 24". I would like to keep it and not junk it, but its been sitting on my desk unused for some time now. Any thoughts or JUNK IT! Thanks, R.T.

    Does anyone at Apple have help for this sort of question - I too have an old printer (HP LaserJet 5MP) that I would like to keep using on my Mac. (Mac OSX 10.6.8).
    I got it working by getting a USB cord that connects to it - but every once in a while it just stops working for weeks. The mac 'sees' it and it sends the data because the printer lights start blinking but then it just doesn't do anything. Is there no one who can tell me (and raterada) how to get some new life into these old printers. I would rather not add this (and a new toner cart) to the landfill just yet. . .

  • Recently I was working on my home Network and lost my Password for my Home wireless connection. After many attempts, I remembered the password and was able to get in. Now the MacBook Pro only works at home on a Hard wire connection. I have an additional 9

    Recently I was working on my home Network and lost myPassword for my Home wireless connection. After many attempts, I remembered thepassword and was able to get in. Now the MacBook Pro only works at home on aHard wire connection. I have an additional 9 devices on the same network, allare functioning properly. The Air connection works fine at any other Networksout side the Home connection. I did a PRAM reset, deleted the Network profileand rebuilt in System Preferences. Still unable to connect wireless on Homenetwork. Any Ideas?

    I seem to have fixed it by putting <div  class="clearfloat"></div> after the navigation bar?

  • TA48312 I NEED TO UPGRADE FROM 10.5.8 TO USE MY ITUNES MATCH, WHAT DO I NEED TO DO TO DO THIS?  I HAVE PAID FOR IT AND HAVE DONE ALL THE NECESSARY TASKS TO GET ICLOUD UP BUT MY ITUNES WILL NOT WORK?

    I NEED TO UPGRADE FROM 10.5.8 TO USE MY ITUNES MATCH, WHAT DO I NEED TO DO TO DO THIS?  I HAVE PAID FOR IT AND HAVE DONE ALL THE NECESSARY TASKS TO GET ICLOUD UP BUT MY ITUNES WILL NOT WORK?

    jbrie8210 wrote:
    I NEED TO UPGRADE FROM 10.5.8 ...
    The first step in Upgrading... is to Snow Leopard = OS X 10.6.x
    It is Not available as a download... It is a Paid Upgrade.
    Do this first...
    Check that your Mac meets the System Requirements for Snow Leopard...
    Snow Leopard Tech Specs
    http://support.apple.com/kb/SP575
    If so... Purchase a Snow Leopard Install Disc...
    http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    Other countries...
    http://support.apple.com/kb/HE57
    After the Successful Install, run Software Update to get the latest updates for Snow Leopard.
    Be sure to make a Backup of your Current System Before Upgrading...
    Next...
    Upgrade to Mountain Lion
    With Regard to ML...  Check here for compatibility of 3rd party Software you may be using... Also note that Rosetta is no longer supported in Lion and Mountain Lion...
    http://roaringapps.com/apps:table
    You should also consider more RAM... Get the Maximum you can for your Mac...
    It is important to get the Correct and Matching RAM
    See Here  >  OWC RAM  >  http://www.macsales.com
    The above site also has videos on how to Install RAM should you need it...

  • I always have trouble with my mailbox. It is always asking for my passwords but everything has been verified. How can I get it to stop doing it and start working????

    I always have trouble with my mailbox. It is always asking for my passwords but everything has been verified. How can I get it to stop doing it and start working????

    There is only one thing that happens -- the Server does not respond.
    Your mac concludes that you must have entered the wrong password. That may happen once, but then other issues become more likely, and it keeps asking for a new password.
    Sometimes the Server is down for maintenance. Sometimes something is configured wrong. Some services do this on purpose to get you to use WebMail (pick up your Mail with your Browser) so they can show you some ads.

  • If my iPhone was stolen and i want to reactive an old phone using that same number for the time being while i waited to see if I could get my iPhone back, would the iPhone still work while i was using a re-activated old phone of mine?

    If my iPhone was stolen and i want to reactive an old phone using that same number for the time being while i waited to see if I could get my iPhone back, would the iPhone still work while i was using a re-activated old phone of mine?

    If a new SIM is activated on the same account for the same number, any existing SIMs for that number are deactivated.
    Why exactly would you care if the SIM in the missing device still works or not?

  • HT3669 how do you get your epson stylus photo r 2400 to work on 10.8.3

    how do you get your epson stylus photo r 2400 to work on 10.8.3?

    According to:
    https://www.epson.com/cgi-bin/Store/support/supDetail.jsp?oid=54861&infoType=Dow nloads&platform=OSF_M_X8
    Description: The latest Mac OS X printer driver for your Epson product is available only via Apple's Software Update. Here's how to get it:
    Connect the printer to your Mac and power the printer on.
    Select the (apple) menu, then Software Update.
    Follow the on-screen instructions to install the available updates.
    Note: Software Updates may find multiple updates for your system. You may choose to install all or some of the updates by clicking on Show Details.
    Compatible Systems: Mac OS X (v10.8.x)
    If there is no software to update try adding it manually
    System Preferences --> Print & Scan  --> Click Button --> Select Printer
    Let me know if this works -

  • I'm stuck in iPhone Developer Program set up that i never started, how do I get my iPod to skip this and just work like normal?

    I'm stuck in iPhone Developer Program set up that i never started, how do I get my iPod to skip this and just work like normal?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    If recovery mode does not work try DFU mode.                         
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Have had my iPad 2 for 3 months. All of a sudden I can't get on line either with WiFi, which is working with my computer, or via the 3G celluar. What's wrong? How do I fix it?

    I have had my iPad2 for 3 months. All of a sudden I can't get on line with either my WiFi, which works with my Mac, or 3G celluar. A locked icon appears in the upper right corner of my screen near the battery indicator? Apple support tells me to go "Settings" and click "Reset Network." Cannot find a "Reset Network" button. What can I do to get on line?

    Thank you, Sir. You are a genius. I'm now on line and appreciate your help very much. The "reset" button was at the bottom, out of my sight, until I scrolled down as you suggested.

Maybe you are looking for