Problems with Mapping Tool in Tutorial

Hello,
I am having problems with section 2.3 in the tutorial, even with the
completed solutions of the tutorial. In particular, I cannot add Rabbit
and Snake to the petshop. I get the following errors:
C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>javac *.java
C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>jdoc package.jdo
578 INFO [main] kodo.Tool - JDO enhancer running on type "class
tutorial.Animal".
907 INFO [main] kodo.Tool - The class is already persistence capable -
no enhancement performed.
907 INFO [main] kodo.Tool - JDO enhancer running on type "class
tutorial.Dog".
907 INFO [main] kodo.Tool - The class is already persistence capable -
no enhancement performed.
907 INFO [main] kodo.Tool - JDO enhancer running on type "class
tutorial.Rabbit".
985 WARN [main] kodo.Enhance - Type "class tutorial.Rabbit" has no
metadata; enhancing as persistence aware. If you intended for "class
tutorial.Rabbit" to be persistence-capable, then this means that Kodo
could not find any JDO metadata for "class tutorial.Rabbit". This can
happen if the directory containing your metadata is not in your CLASSPATH,
or if your JDO metadata files are not named in accordance with the JDO
specification. See the Metadata Placement section of the Java Data Objects
documentation distributed with Kodo JDO for more information.
985 INFO [main] kodo.Tool - The class does not have JDO metadata -
enhanced as persistence-aware.
1063 INFO [main] kodo.Tool - JDO enhancer running on type "class
tutorial.Snake".
1094 WARN [main] kodo.Enhance - Type "class tutorial.Snake" has no
metadata; enhancing as persistence aware. If you intended for "class
tutorial.Snake" to be persistence-capable, then this means that Kodo could
not find any JDO metadata for "class tutorial.Snake". This can happen if
the directory containing your metadata is not in your CLASSPATH, or if
your JDO metadata files are not named in accordance with the JDO
specification. See the Metadata Placement section of the Java Data Objects
do
cumentation distributed with Kodo JDO for more information.
1094 INFO [main] kodo.Tool - The class does not have JDO metadata -
enhanced as persistence-aware.
C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>mappingtool -action refresh
package.jdo
3812 INFO [main] kodo.Tool - Mapping tool running on type "class
tutorial.Animal" with action "refresh".
4047 WARN [main] kodo.MetaData - There has been a change to the
definition of "tutorial.Animal" or its schema since it was last mapped, or
the mapping you defined is invalid: "The table "ANIMAL" specified in the
mapping for type "tutorial.Animal" does not exist."
4062 WARN [main] kodo.MetaData - There has been a change to the
definition of "tutorial.Animal.<version-indicator>" or its schema since it
was last mapped, or the mapping you defined is invalid: "The "column"
attribute/extension for the version indicator on type
"tutorial.Animal.<version-indicator>" is missing or names a column
"JDOVERSION" that does not exist."
4062 WARN [main] kodo.MetaData - There has been a change to the
definition of "tutorial.Animal.<class-indicator>" or its schema since it
was last mapped, or the mapping you defined is invalid: "The
"class-column" attribute/extension for the class indicator on type
"tutorial.Animal.<class-indicator>" is missing or names a column that does
not exist."
4062 WARN [main] kodo.MetaData - There has been a change to the
definition of "tutorial.Animal.name" or its schema since it was last
mapped, or the mapping you defined is invalid: "The "column"
attribute/extension for field "tutorial.Animal.name" is missing or names a
column "NAME0" in table "ANIMAL" that does not exist."
4062 WARN [main] kodo.MetaData - There has been a change to the
definition of "tutorial.Animal.price" or its schema since it was last
mapped, or the mapping you defined is invalid: "The "column"
attribute/extension for field "tutorial.Animal.price" is missing or names
a column "PRICE" in table "ANIMAL" that does not exist."
4078 INFO [main] kodo.Tool - Mapping tool running on type "class
tutorial.Dog" with action "refresh".
4078 INFO [main] kodo.Tool - Mapping tool running on type "class
tutorial.Rabbit" with action "refresh".
Exception in thread "main" kodo.meta.JDOMetaDataNotFoundException: No JDO
metadata was found for type "class tutorial.Rabbit". Ensure that your JDO
metadata files are accessible via resource lookup at runtime (typically
this means they must be in your CLASSPATH), and that they are located in
one of the JDO standard locations.
at
kodo.meta.JDOMetaDataRepositoryImpl.getMetaData(JDOMetaDataRepositoryImpl.java:131)
at
kodo.meta.DelegatingJDOMetaDataRepository.getMetaData(DelegatingJDOMetaDataRepository.java:123)
at
kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:161)
at kodo.jdbc.meta.MappingTool.refresh(MappingTool.java:576)
at kodo.jdbc.meta.MappingTool.run(MappingTool.java:909)
at kodo.jdbc.meta.MappingTool.run(MappingTool.java:850)
at kodo.jdbc.meta.MappingTool.main(MappingTool.java:783)
C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>

It sounds like your CLASSPATH is not set up correctly. Did you follow
the instructions in the README for setting up your environment?

Similar Messages

  • I have I.O.S. 6.0.1 and i live in Georgia, Tbilisi. I have got the problem with maps. It does not get directions. Per exemple it was working in italy but in my cuntry it does not work. Could u explain me what can i do to make my maps work in Georgia?

    I have I.O.S. 6.0.1 and i live in Georgia, Tbilisi. I have got the problem with maps. It does not get directions. Per exemple it was working in italy but in my cuntry it does not work. Could u explain me what can i do to make my maps work in Georgia?
    Thank u

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • Problem with maps on e72

    Hi everyone
    I've got a problem with maps on my E72.
    I've seen advert that Nokia is going to let everyone use maps for free on selected models.
    I was going to buy Sat Nav for whole Europe as I travel a lot and I was going to change my old N95. I thought I could do both in one new phone. Checked all the available models and chose E72. It said it;s got GPS and you don't need to use your network and spend fortune on internet connection. Got it from eBay for £270.
    I installed Ovi Maps from internet and the first thing that surprised me was it had 'only' 7-8MB.
    I thought that something was wrong, maps for 72 countries couldn't be 8MB big.
    After some time I managed to set my e72 up. Put my Maps on and...
    It takes loads of time to find GPS connection, but the worst thing is if I type lets say Paris it doesn't find anything. Map has wholes, like suddenly the roads end and there's nothing there.
    My question is what am I doing wrong? Do I need to download something more? I didn't have any maps on my phone when I bought it. Where can I find them?
    If someone could help I'd appreciate it.
    Thanks a lot.

    I forgot to mention that when I choose a destination it keeps saying Calculating route all the time. I waited about 15 minutesand it didn't calculate anything.

  • Problem with maps in Mavericks on iMac

    I have a problem with my Maps on Mavericks.
    I can open it just fine, no crash or whatever but the map itself just won't load, whatever mode it is on. Here is the screenshot of my Maps:
    As you can see, it just stays blank all the time.
    I'm  also running Parallels 9 and don't know if that has something to do with problem.

    Spent days trying various fixes, but this is the one that did it for me. Thanks!
    livetowin
    Re: Problem with maps in Mavericks on iMac 
    Dec 8, 2013 7:14 PM (in response to robin1943)
    Try this
    Since my date and time were incorrect and imessage was not working as well, I tried this
    1. Go to system preferences and click date and time
    2. Select date and time tab
    3. Uncheck "set date and time automatically" and manually enter the correct time
    4. Go to time zone tab and uncheck the box there too
    5. Go back to date and time tab and now check the box "set date and time automatically"
    6. Then check the box in time zone as well
    Now open maps and see if it works!

  • Problems with mapping after bundling messages into one XML-file

    Hi all,
    Case 1: one DebMas IDoc ==> XI ==> one XML-file : no problems with mapping.
    Case 2: several DebMas IDoc's ==> XI ==> one XML-file : problems with mapping.
    Explanation:
    Incoming DebMas IDoc's:
    Businesspartner 1 : no Customer Master Partner Functions (E1KNVPM).
    Businesspartner 2 : Customer Master Partner Functions (E1KNVPM).
    Businesspartner 3 : Customer Master Partner Functions (E1KNVPM).
    Businesspartner 4 : Customer Master Partner Functions (E1KNVPM).
    After bundling into one XML-file:
    Businesspartner 1 : no Customer Master Partner Functions (E1KNVPM).
    Businesspartner 2 : no Customer Master Partner Functions (E1KNVPM) !!!!
    Businesspartner 3 : Customer Master Partner Functions of Bp 2 (E1KNVPM) !!!!.
    Businesspartner 4 : Customer Master Partner Functions of Bp 3 (E1KNVPM) !!!!.
    All the payloads of the IDoc's are correct.
    In the message mapping we use a Container for the Partner Functions (shown as below)
    Is this a serious bug in the mapping of SAP XI ?
    Does anyone knows how to solve this serious problem.
    E1KNVVM -
    > Partner_Container
    E1KNVPM -
    > Partner
       PARVW -
    > ParnerRole
       KUNN2   -
    > PartnerNumber
    Regards,
    Theo Pijlman

    Hi,
    Example:
    Input idoc has field F1 with occurence 0..unbnd
    My input values for field F1 is
    1
    none
    2
    3
    Say, I have a mapping, F1---->TargetF1
    In the target only 3 TargetF1s will be created for the values 1,2,3 and nothing will be created for the field F1 with no value.
    To overcome this, use collapse contexts.
    F1->collapsecontexts>TargetF1
    This way, the TargetF1 fields created will have the following values:
    1
    blank
    2
    3
    Collapse contexts makes sure that a target is created, even if there is a context change specified at the source.
    Hope this is clear.
    Regards,
    Smitha.

  • Problem with mapping the Entity beans onto database tables

    Hi,
    I got a problem with mapping the Entity beans onto database tables. Here are what I did:
    First Step:
    asant capture-schema
    Second Step:
    capture-schema -driver com.pointbase.jdbc.jdbcUniversalDriver -dburl jdbc:pointbase:server://localhost/sun-appserv-samples -username pbPublic -password pbpublic -table APPLICANT -table APPLICANTSKILL -table CUSTOMER -table LOCATION -table job -table JOBSKILL -table SKILL -out build/agency.dbschema
    The first step was fine. But, in the second step, I got the error message as follow:
    using dburl:jdbc:pointbase:server://localhost/sun-appserv-samples
    using username:pbPublic
    using password:pbpublic
    using driver:com.pointbase.jdbc.jdbcUniversalDriver
    using schemaname:null
    using output file:build/agency.dbschema
    JDO71100: Failed to find a class. Verify that the class is available on your CLASSPATH
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at com.sun.forte4j.modules.dbmodel.jdbcimpl.ConnectionProvider.<init>(Co
    nnectionProvider.java:38)
    at com.sun.jdo.api.persistence.mapping.ejb.CaptureSchema.main(CaptureSch
    ema.java:130)
    at com.sun.jdo.spi.persistence.support.ejb.util.CaptureSchemaWrapper.mai
    n(CaptureSchemaWrapper.java:29)
    Thanks for your help!

    You need to add the pbclient.jar or some similar name like that, in the CalssPath.

  • Problems with Pro Tools 8, is it the software?

    Hello, I know this is "Apple Discussions", but since I'm using Pro tools 8 with the new macbook pro, I might get some answers here. I recently bought pro tools 8, I already have logic though, but wanted to be in the pro tools world too so, the thing is that every time I use Pro Tools 8 with the digi 003, the session Im working on will stop with just a few plugins, and man this happens a lot, on the other hand is that nothing happens when I use the digi 003 with Logic 8, I mean, I could have like 20 plugins and It would not stop at all. Can anyone identify with this problem with pro tools 8, Because people tell me that on pro tools 7.4 that doesnt happen at all.
    Thank you...

    PT8 is much better with plug ins than PT7x, but is not in the league of Logic. I am a huge PT fan and use both Logic and PT8, and as much as I love the look and superior interface of PT8, Logic is like an ugly old car that goes 200 MPH. It's a performance beast. I've had ridiculous amounts of plug ins in Logic with not a whimper from the program.
    PT8 is much more sensitive to things like whether you are using Firewire drives to record to (as opposed to internal SATAs on a Mac Pro), and many 3rd party plugs cause PT much grief. For high track counts and lots of plug ins, Logic is still King Kong.
    TH
    Message was edited by: Tom Hartman1

  • Problem with Map Loader 3.0.28.0 and 5800XM

    Hi all, i have a problem with maps upload to my mobile, whenever i start Map Loader i see a message: You have connected at least one phone (Soft) without a Maps drive. Either you are using an old Map version - .. - or have never started your Maps application... I use USB PC-Suite mode, I have had run Maps application on my phone before i try to connect Map Loader, the Maps version installed on the phone is v3.03 10wk01 b05 - so that's obviously not a reason!! Now i can't install new maps anymore - i just can click this error window away and choose some maps, they would be downloaded from the Internet, but  they would not appear on my mobile! With a previous version of the map loader (don't know the version number any more, and previous maps version on the phone, i have no problem)            I also need a link to Maps Updater due the Nokia site malfunction - couldn't find this software anymore.... sorry my poor english :-)
    Nokia users - the biggest beta test community of the world!

    Problem solved! The STUPID software searchs for ALL mass storage devices attached to your computer, so I got error messages all the time until I unplug my USB Hard drive.    
    Thank you Nokia guys, your were great help by solving this problem   .....  
    By the way,  the STUPID software doesn't shows the maps that would be all ready installed on the phone, and you couldn't say that the upload of the maps was really successful  until you waisting your time watching the progress bar to the end.
      I wouldn't be suprise if you can install the same map twice so it takes the twice space....
    regards, and sorry for my poor english
    Nokia users - the biggest beta test community of the world!

  • A Problem with Maps in OS 6 (New iPhone too)

    I read on abc.com that there is a big problem with the Maps app on the iPhone 5.  Not sure if it is in all devices running OS 6 but I would think so.  has anybody heard about this?  Anybody heard if a remedy is on the way?
    I am also wondering if people are sleeping out at the Apple Stores? I do not have a TV so I can't watch the local news.  I called the local Apple Store and this afternoon the Apple rep who answered the phone said if you want one you better come and get in line.  I askd if they plan to have a workshop (free) for the new iPhone 5 and he said NO.  I doubt that.

    NObodE wrote:
    I read on abc.com that there is a big problem with the Maps app on the iPhone 5.  Not sure if it is in all devices running OS 6 but I would think so.  has anybody heard about this?  Anybody heard if a remedy is on the way?
    No, no one has heard anything.  Seriously, have you even tried using the Search Discussions box at the upper right of this page? Or just scrolled down the page and looked at the threads about the Maps app?

  • Problem with Pen Tool CS5

    Hi,
    I just got Photoshop CS5 and I'm having a bit of trouble with the pen tool - namely, I can't see the path I'm creating.  In CS3 I could clearly see the line between two points but in the new program the line is nearly invisible making it very difficult to create the path.  Is this a setting I can fix?
    thanks

    I was having 32 bit while I upgraded from CS3 to  CS4. The only problem with CS4 that time was with pen tool.Though I cannot precisely recall , I can say it t was very lazy and very frustrating and this was resolved totally after shifting to 64 bit.--If urs existing system is 32 bit try with 64 bit

  • Problem with move tool? (Win 7)

    On Photoshop CS4 , everytime I select the move tool and decide to move an object among a layer , it moves the object off screen , making it difficult to bring it back to the canvas to move . I know it isn't jumping layers , because only the object inside of one layer i moved , but ... am I the only one that has this problem ? How do I fix it ?
    It doesn't only have this problem with the move tool , but with the text tool , marquee tools , and the brush tool , as well . The text tool would jump off screen , the marquee tool would position the marquee somewhere other than where I clicked it to be , and the brush tool would sometimes jump out of the brush outline . Can someone help ?

    Standard questions:
    Have you updated to version 11.0.1?
    Have you updated your video drivers?
    Is you video card compatible? See http://www.adobe.com/go/kb405711
    Have you tried turning off OpenGL in preferences?
    If the answer to all is yes, try resetting your preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.

  • Problem with width tool in illustrator cc

    hello!
    i used to use illustrator cs5 and had no problems with the width tool. now that i am using adobe CC, the width tool functions very oddly and the cursor points are bizarre. for example, i use to just hover over the exact width point and could easily access handlebars or move it. however, in CC, i have to hover a little further away in order to get the ~ symbol to show. PLEASE HELP. this is driving me bonkers and the rate at which i'm working is quite delayed. THANK YOU!!!

    Without proper system info and other details nobody can tell you anything.
    Mylenium

  • Photoshop CS5 - Image resize problem with move tool

    Hi People
    Here's my problem
    When I try to resize an layer using the move tool (as opposed to the Free Transform tool), while I'm in the process of moving the scaling handles, the bounding box reflects my movement but the layer preview stays at it's original size. When I stop moving the handles there is a few seconds delay and then the new scale size shows up. If I try to move the handles again, without commiting to the transform, the layer preview reverts back to it's original size until I've finished moving the handles.
    I didn't have this problem with CS4 and I've only recently upgraded. I work around this problem by using the proper Free Transform tool (ctrl+t) but it would be nice to know why the hell this happens. It seems to me to be more of a graphical glitch than a software preference but I thought I'd check just-in-case.
    Specs:
    Photoshop CS5 V12.1 x64
    PC
    Intel Xeon W3505 @2.53GHz
    Nvidia Quadro FX580
    12 GB RAM

    ace591 wrote:
    Hi People
    Here's my problem
    When I try to resize an layer using the move tool (as opposed to the Free Transform tool), while I'm in the process of moving the scaling handles, the bounding box reflects my movement but the layer preview stays at it's original size. When I stop moving the handles there is a few seconds delay and then the new scale size shows up. If I try to move the handles again, without commiting to the transform, the layer preview reverts back to it's original size until I've finished moving the handles.
    I also read you you tried updating your video dirvers and your syste crashed and you had to roll back.   Make sure you have downloaded the latest correct drivers. If that does not work try turning off Open GL in photoshops preferences.
    On my old XP 32 bit system CS5 movet tool with transform dialog does not fail like on your system. I can move the handles time and time again without commiting the transform. The only way to have Photoshop revert the transform back to the original state is to press the ESC key to cancel the uncommitted transform.

  • Problem with Eraser tool in PSE7

    I have the PSE7 (using in Windows Vista) and have been using it for scrapbooking since early May09.  I've had no real problems with it up until yesterday when my eraser tool stopped working.  The magic eraser will still work, but the regular eraser will no longer erase.   I've tried going out of the program and coming back in with no difference.  I've tried rebooting the computer hoping it would reset but no difference.  Has anyone else had this problem or does anyone have any ideas on how to fix it?  I would greatly appreciate any help as I "can't live without my eraser tool"!  ;0)
    teri

    If you have a tablet, the mouse and pen can not both be on (or touching) the tablet at the same time.
    If you don't have a tablet or the above isn't causing the issue, the next thing to do is reset the eraser tool. With the eraser selected, click the eraser icon in the options bar...not the tool box...and select "reset tool" from the context menu.
    Item "A" in the diagram of the options bar in this help index page is the tool icon which houses the reset tool(s) context menu.
    http://help.adobe.com/en_US/PhotoshopElements/7.0_Win/WSae2ea3b149d0c3591ae939f103860b3d59 -7e27.html
    If the above does not fix the problem, the next step is to reset the application preference files.
    To reset all of your Photoshop preferences, hold down the
    Control+Alt+Shift (Windows), Command+Option+Shift (Mac) keys as you launch the application.
    EDIT: You have to press those three keys immediately after you launch the editor portion of the application to get the delete user settings dialog to come up. If you don't get a dialog, you did not press those three keys fast enough.

  • Problem with lasso tool in PSE10!!

    Will start using lasso tool and then the picture will flicker and the lassoo tool will not function to continue with the selection. Has worked ok in the past but not now. Have tried reset tool but did"t work out problem.  Why the flicker of the picture as this throughs the alignment of the lassoo off and you cannot continue with the outline.  Very frustrating!!

    99jon sorry to report that I went into my lassoo tool this morning and I am still having a problem with it. I tried hitting the info on the picture until not responding appears on upper left of windows  and went ahead and began my selection with the tool  and bam the screen flickered and ruined the alignment of the lassoo and rendered it non functional. would it be better if I tried a re-inastll of pse 10?  The above technique did work late yesterday,but not now. Thanks!!
    Irwin Lakin
    <mailto:[email protected]> [email protected]
    508-866-4250

Maybe you are looking for

  • No sound in swf file

    I need to resize an flv file. I opened it in Flash and embedded it as a movie clip in the timeline. I also embedded into the timeline frame sequence. I was able to resize the file successfully. When I preview publish it as a swf file, it plays with s

  • Adding Content To the Top-Level of Navigation bar ?

    Hi,experts ,    i have a problem with adding content to the top-level of navigation bar ? I have the authority of administration.I have added a customizing role with the entry-point property to myself userid . I have checked my navigation-target page

  • Crazy speed burning

    Hi folks, I've an iMac 24" and a external dvd-master (Pioneer dvr-110) via Firewire. I recovered this master-dvd from my old PWM G4 and it worked ok. The problem is the writing speed for audio cd. I set the speed to 4x but it really works at 2-2,5x (

  • Javahost .in and .out files in temp directory?

    Hi Folks, Has anyone ever seen temp files being created by the javahost process, which are stored in the temp directory for the user that runs the javahost service (obviously running windows) ? The temp files have this kind of naming: Charts_xxxxx_xx

  • IAS 1.0.2.1 - 1.0.2.2 Upgrade causing Portal Page errors

    We had Portal working, and have just upgraded iAS from 1.0.2.1 to 1.0.2.2. After the upgrade we commented out the duplicates in jserv.properties and zone.properties. We followed the instructions to check that Portal still works before we upgrade 308-