Kodo says classes are not enhanced, but they are!

Hello,
I have run into a problem with Kodo and a web-app that I just can't solve.
I try to access JDO-objects from within a web-application (that uses
Struts). When I do this, I get an exception from Kodo saying the classes are
not enhanced. But I am sure they are enhanced. The exception is:
javax.jdo.JDOFatalUserException: The system could not initialize; the
following registered persistent types have not been enhanced: [class
de.mediateam.quizmaster.data.User, class
de.mediateam.quizmaster.data.Category, class
de.mediateam.quizmaster.data.Topic, class
de.mediateam.quizmaster.data.Test].
at
com.techtrader.modules.jdo.impl.jdbc.JDBCPersistenceManagerFactory.setup(JDB
CPersistenceManagerFactory.java:190)
at
com.techtrader.modules.jdo.runtime.PersistenceManagerFactoryImpl.privateSetu
p(PersistenceManagerFactoryImpl.java:496)
at
com.techtrader.modules.jdo.runtime.PersistenceManagerFactoryImpl.getPersiste
nceManager(PersistenceManagerFactoryImpl.java:61)
at
com.techtrader.modules.jdo.runtime.PersistenceManagerFactoryImpl.getPersiste
nceManager(PersistenceManagerFactoryImpl.java:50)
at
de.mediateam.quizmaster.persist.jdo.JDOFactory.getPersistenceManager(JDOFact
ory.java)
<snip>
There are two facts about this I don't understand:
1. It was working before, but then something changed (or I changed something
but I really don't remember it) and now it won't work anymore. I tried to go
back to an earlier version of my project but got the same problem.
2. It is really strange, that when I access the database from outside the
web-app (I have a small seed programm to insert some data), it works fine.
No problems.
I am sure that it is the enhanced classes loaded from within the web-app
because when I simply delete them Kodo won't find the classes at all. All
Kodo-jars are in the web-context/WEB-INF/lib directory.
Could anybody tell me the possible reasons that can cause this exception? Is
it just a test for "implements PersistenceCapable" that is done in the
setup-method, or maybe a bit more? I really can't think of anything else I
could do.
Thanks
Martin

Hello,
I have run into a problem with Kodo and a web-app that I just can't solve.
I try to access JDO-objects from within a web-application (that uses
Struts). When I do this, I get an exception from Kodo saying the classes are
not enhanced. But I am sure they are enhanced. The exception is:
javax.jdo.JDOFatalUserException: The system could not initialize; the
following registered persistent types have not been enhanced: [class
de.mediateam.quizmaster.data.User, class
de.mediateam.quizmaster.data.Category, class
de.mediateam.quizmaster.data.Topic, class
de.mediateam.quizmaster.data.Test].
at
com.techtrader.modules.jdo.impl.jdbc.JDBCPersistenceManagerFactory.setup(JDB
CPersistenceManagerFactory.java:190)
at
com.techtrader.modules.jdo.runtime.PersistenceManagerFactoryImpl.privateSetu
p(PersistenceManagerFactoryImpl.java:496)
at
com.techtrader.modules.jdo.runtime.PersistenceManagerFactoryImpl.getPersiste
nceManager(PersistenceManagerFactoryImpl.java:61)
at
com.techtrader.modules.jdo.runtime.PersistenceManagerFactoryImpl.getPersiste
nceManager(PersistenceManagerFactoryImpl.java:50)
at
de.mediateam.quizmaster.persist.jdo.JDOFactory.getPersistenceManager(JDOFact
ory.java)
<snip>
There are two facts about this I don't understand:
1. It was working before, but then something changed (or I changed something
but I really don't remember it) and now it won't work anymore. I tried to go
back to an earlier version of my project but got the same problem.
2. It is really strange, that when I access the database from outside the
web-app (I have a small seed programm to insert some data), it works fine.
No problems.
I am sure that it is the enhanced classes loaded from within the web-app
because when I simply delete them Kodo won't find the classes at all. All
Kodo-jars are in the web-context/WEB-INF/lib directory.
Could anybody tell me the possible reasons that can cause this exception? Is
it just a test for "implements PersistenceCapable" that is done in the
setup-method, or maybe a bit more? I really can't think of anything else I
could do.
Thanks
Martin

Similar Messages

  • Messenger says yahoo! account-details are not correct, but they are

    Hello,
    since a few hours the Messenger ("Nachrichten" in german) does not accept my login details from yahoo. The name and password is corect - due to the yahoo messenger. I can login with that client. I can even login with my data on the web interface. Just Apples Messenger does not like to login anymore saying wrong username/password.
    I did the follwoing withoout succes:
    deleting yahoo account and creating a new one (with the same login info of course)
    restartet with pressed shift key
    repaired file and harddrive rights
    deleted (obvious) prefenernces like com.messages.yahoo....
    No idea where to look up more?!...
    Help as i use messenger for clients as well...
    tx
    olaf

    For what ever reason it worked again this morning... maybe yahoo filters when trying to login too often from the same client? Just a guess....

  • Firefox is not letting me open facebook and it is saying that the cookies are not enabled but they are any ideas?

    everytime i turn the cookies on for some reason it dosen't register or idk it just will not let me on facebook

    Did you try clearing your cache and cookies?
    At the top of the Firefox window, click on the Firefox button, go over to the History menu and select Clear Recent History....
    For Windows XP: At the top of the Firefox window, click on the Tools menu and select Clear Recent History....
    In the Time Range to clear: drop-down, select Everything.
    Click the arrow next to Details to display the list of items that can be cleared.
    Select both Cookies and Cache.
    Click Clear Now.
    Please see [[Problems using Facebook in Firefox]] for more information

  • Internal emails are not delivered but they are shown in the Sent Mail

    hi,
    I'm not enjoying Exch2013, the lack of a "proper" admin console is a pain and I'm having trouble getting the required diagnostic/tracking information out of PShell to fix my problem.
    I've installed Exch2013 RC1 on a new 2012r2 Domain, the install went OK and there were no obvious issues however internal email's wouldn't deliver, they appear in Sent Items but aren't received in the internal rcpt's inbox.
    while trying to fix the problem, I installed ExchCU7 and bingo everything sprang to life and mail was working, inbound/outbound & internally - so I assumed the service pack/update had fixed it but the next day I rebooted the server and to my horror,
    I'm back where I started - no mail flow.
    One single test message which I sent outbound using the Web mail, rather than Outlook did arrive but hours after I sent it?  confused.com
    this is running on a HV-2012r2 as a VM, with a dedicated Nic and plenty of Fixed VD storage.
    Any help/advice would be greatly appreciated.
    I'm very close to removing Exch2013 and re-installing but I worry this would cause more issues.
    Thanks Iain

    this server is the first and only Exchange server in a single site/AD enviroment. 
    Doamin and Exch are both brand new, with one DC and Exch runing on a member server.
    This server isn't recieving inbound mail yet, however the SMTP port is availible.
    Am I correct in thinking that internal mail from one mailbox to another doesn't require SMTP, instead the msgs are transmitted within the HUB.  I'd like to stress that the isntallation of ExchCU7 instantly fixed all the mail flow problems, then a day
    later and after a reboot it reverted to back to its current state.
    test-servicehealth shows:
    Role                    : Mailbox Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeDelivery, MSExchangeIS,
                              MSExchangeMailboxAssistants, MSExchangeRepl, MSExchangeRPC, MSExchangeServiceHost,
                              MSExchangeSubmission, MSExchangeThrottling, MSExchangeTransportLogSearch, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Client Access Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeMailboxReplication, MSExchangeRPC,
                              MSExchangeServiceHost, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Unified Messaging Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeServiceHost, MSExchangeUM, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Hub Transport Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeEdgeSync, MSExchangeServiceHost,
                              MSExchangeTransport, MSExchangeTransportLogSearch, W3Svc, WinRM}
    ServicesNotRunning      : {}
    I'm looking at the q's now but wanted to post this asap... i will update this thread again shortly
    thanks for your help.

  • I recently bought a lightning to 30 pin adapter for my new iPad so that I could continue to use my 30 pin to VGA cord, but when I plug the VGA cord into it it says it is not supported. They are all apple products, so why doesn't it work?

    I recently bought a lightning to 30 pin adapter for my new iPad so that I could continue to use my 30 pin to VGA cord, but when I plug the VGA cord into it it says it is not supported. They are all apple products, so why doesn't it work?

    If it is a lightning to 30 pin adaptor, and you have a 7th Generation Nano it has to fit the Nano.
    This is lightning to 30 pin adapter: http://www.bestbuy.com/site/Apple%26%23174%3B---Lightning-to-30-Pin-Adapter/6651 936.p?id=1218803450821&skuId=6651936#tab=overview
    Is this what you bought?
    You need to contact Sony and see if they model you have is compatible with the docking adapter. It may not be.

  • How do I send files from my IMAC via bluetooth to my ne Ipad.  They will not "pair" but they are connected and discoverable.  I send a file from Imac snow leopard OS X 10.6 to the ipad but the failure message says the ipad does not have the ncessary servr

    How do I send files from my IMAC via bluetooth to my new Ipad?  They will not "pair" but they are connected and discoverable.  I send a file from Imac snow leopard OS X 10.6 to the ipadusing bluetooth,  but the failure message says the ipad does not have the necessary services.  What are these?  Do I neeed to have iphoto and ms word to send pix and .doc files?

    File Sharing over Bluetooth is not a feature of iOS devices. iOS does not include the required Bluetooth profiles to allow this. You cannot add this feature, so you may as well stop trying.

  • Hi.. I got some problem  when i want to type something , letters are not displaying immediately , they are displaying after some seconds. can you help me out

    Hi.. I got some problem  when i want to type something , letters are not displaying immediately , they are displaying after some seconds. can you help me out

    Hello:
    I am not being critical, but you seem to want Safari to behave exactly like Chrome.  Every software developer has a plan.  Sometimes features in one product parallel other products - sometime not.  There might be some things available that would help you.  Do not hold your breath, however, for suggestions from people who use these forums.  Most of us use (and like) Apple products.  If you wish to make suggestions for future improvements, there is a feedback area on this web site that Apple employees read/review.
    Candidly, your approach would be akin to suggesting that Apple emulate the "features" in Windows (heaven forbid).
    I use Safari (and have for years).  I use Firefox (not a bad product) as my alternate browser.
    Sorry for what appears to be a pedantic lecture.  However, I think most of us adapt to different products if we really want to use them.
    Barry
    Message was edited by: Barry Hemphill

  • My hp4380c says cartridge missing or not detected but they are

    my photosmart c4380 says cartridge (s) missing or not detected but they are

    Hi zulu-tango,
    Welcome to the HP Support forums.  I understand that you are getting a cartridge missing error message on your Photosmart C4380.
    I have included a link to the trouble shooting document with detailed steps for the error message you are experiencing.
    'Incompatible Cartridge' or 'Print cartridge is missing, incorrectly installed, or not intended for ...
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Bank of America website will not let me log in because it says that cookies are disabled. But they are enabled.

    I cannot log in to my Bank of America account. The website says that my cookies are disabled but they are enabled. What is the problem?

    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"
    See also:
    * http://kb.mozillazine.org/Websites_report_cookies_are_disabled
    There are other things that need your attention.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.0 r32
    Update the Flash plugin to the latest version.
    *https://support.mozilla.com/kb/Managing+the+Flash+plugin
    *http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/

  • Why do I sometimes get a pop up that says I cannot get mail because my user name or password are incorrect. But they are correct.

    Sometimes when I am not at home and I Am trying to get my email I get a pop up that says "cannot get mail because user I'd or password is incorrect". But they are entered correctly.

    My Gmail account did the same to me, I had just downloaded pictures from my camera memory card and thought it had something to do with it. My son said his Gmail has done this to him off and on for three years. He said he just leaves it and comes back a hour or more later and it works fine. I tried to change my password and got my whole Gmail account snarled up in a big fur ball!! It took two weeks to get it all  straightened out. I will try leaving it alone next time or just start a new account. Good Luck

  • Aperture will not open library - permissions not correct -- but they are

    How do I get Aperture to open a library when I get an error message saying the permissions are not correct, but the permissions are correct, and other libraries open fine?
    I was using Aperture current version with a library on an external drive connected via airport extreme. I imported about 15 images to an existing project in that library and was editing the images when Aperture closed suddenly. When I try to reopen the same library I get an error message that says Aperture does not have access to that library because the permissions are not correct. But the permissions are set to everyone read write. Aperture opens other libraries on the same drive with the same permission setting.
    1. I ran disk utility repair permissions -- it says it fixed permissions on my laptop internal drive, but disk utility does not recognize the external drive so apparently it did nothing on that drive. Same error message on that library.
    2. I deleted user name >> Library >> Preferences >> com.apple.Aperture.plist and tried opening the library again. Same error message.
    3. I tried rebuilding the library using control command Aperture. Same error message.
    4. I used "show package contents" on that library and moved the project I had been working on when Aperture crashed to another drive and created a new library and imported the project successfully. Works.
    I read through existing topics and found suggestions like 1-4 but none work for me.
    I would be grateful for any help!
    Thanks.

    Please tell me you aren't trying to do this wirelessly!?!
    If you're wired to the Airport Extreme, that's better, but forget about running a remote Aperture library on a wireless connection! Even wireless 802.11n isn't fast enough, though I'm sure someone will argue that.
    Still, the Airport Extreme only has a USB interface, which is painfully slow! Firewire 800 is supported on all the new MacBook Pros and on the 17" "gen1" MacBook Pros. I'd highly recommend a FireWire 800 external hard drive or even a eSATA interface if you're running Aperture libraries remotely!!
    Depending on your total storage needs, just replace your internal MacBook Pro's hard drive. I've replaced a few in the past couple of weeks in some MacBook Pros to the 320GB WD Scorpio drive. Also buy a cheap (~$20) external USB enclosure for your old hard drive to repurpose your old internal drive and aid the restoration of your data. Next install the drives and use Migration Assistant to restore your data to precisely where you were before the hard drive upgrade. Pretty easy except for the actual install of the hard drive in the MacBook Pro, which can be tricky and requires special Torx tools; certainly more complicated than the standard MacBooks. Unless you know what you are doing here, pay someone skilled to do this for you.
    Seriously, I'm sure part of your problem is the lousy transfer speeds for Aperture trying to read data, causing data corruption, especially when you force quit so often.

  • Why do the "SHOW THE PREVIOUS PAGE arrows not work on some websites such as when I try to return to the previous page the arrows at the top right of the page are not dark black they are light grey and do nothing---HELPPPP

    why do the "SHOW THE PREVIOUS PAGE arrows not work on some websites such when I try yto return to a previous page the arrows at the top right of the page do not work instead they are light grey instead black and do nothing---this is frustrating to not be able to return to the page before--HELP

    If a page you go to opens in a new tab, there is no 'back' to go to. If that is the case, just close the tab and you'll be at the page you came from.

  • I am having trouble completely emptying my trash on my mac.  It says items are in use, but they are not.  How do I force these items to be removed?

    I have copied dvds that I own, for backup copies, onto the desktop of my macbook.  Then I've placed a copy into iTunes for viewing later.  Once the copy is over in iTunes, I delete the copy of the movie on the desktop and it goes to the trash.  I do this because 1) I don't want to clutter up the desktop and 2) I don't want multiple copies of the movies on my hard drive.  When I go to empty the trash, it says these items are in use and will not remove them from trash.  Why is that?  They are not in use as far as I know.  How do I force them to be removed from trash?

    I had a similar problem.  I think it was caused by deleting an app while it was still running. I should have shut the app down before deleting freom the applications folder.  When I tried to empty trash I received message:
    "The operation can't be competed because the item something.app is in use."
    Go to utilities, open a terminal, change directory to the hidden Trash folder and remove the offending item in use. Example:
    cd ~/.Trash
    sudo rm -rf item
    Next time, maybe try quting iTunes before deleting and see if it makes any difference.
    http://www.macworld.com/article/2025381/mac-troubleshooting-what-to-do-when-the- trash-won-t-empty.html
    Another approach might be to use the iTunes folder named "Automatically Add to iTunes" folder.
    http://support.apple.com/kb/HT3832?viewlocale=en_US&locale=en_US
    -Ed

  • I've just setup my new iPad Air. With new Apple ID ect everything working fine, but I can't redeem my iTunes voucher it says wrong password/ user name but they are not wrong. I've reset password same problem anyone help?

    II've just setup a new iPad Air for my daughter with a new apple ect, everything is working fine, but I can't get it to redeem the I tunes voucher. It asks for I'd and password, put them in and comes up with wrong Id/password. They are not incorrect answers, but reset password just incase. Same problem. Also tried making another apple account. Same problem again can anyone help?? Please  

    Your iTunes Voucher is link to the old Apple ID.

  • Why are some of my messages not blue,but they are between iPhones?, Why are some of my messages not blue,but they are between iPhones?

    My friend and I are both using iPhones and our messages are not blue. Both of our I
    messages are turned on.

    Hi Miss_emm04,
    If you have questions about the types of messages sent in Messages and why they may appear a certain way, you may find the following article helpful:
    How do I know if I am sending an SMS, MMS, or iMessage?
    The type of message you are sending is noted by the color of the send button and text bubble.
    A text message sent as SMS or MMS will show the word "Send" in green when typing and have a green text bubble.
    A text message sent as iMessage will show the word "Send" in blue when typing and have a blue text bubble.
    Some carriers may automatically convert long SMS messages (ones that would require multiple SMS messages to send) into MMS format.
    On iPhone, if iMessage is unavailable, the message may be sent as SMS or MMS, depending on the content. Carrier messaging rates may apply. You can adjust this behavior on your iPhone at Settings > Messages > Send As SMS.
    iOS: Using Messages
    http://support.apple.com/kb/ht3529
    Regards,
    - Brenden

Maybe you are looking for

  • BPM Composer not show login screen in SOA VM machine for Oracle VirtualBox

    Installed Oracle Virtual Box (4.2.4) and installed the SOA_BPM domain appliance (using SOA & BPM Development VM) - not a problem. When attmpt to access http://localhost:7001/bpm/composer - simply get a blank screen - nothing on it. When attempt to ac

  • PSE always crash when Open

    Hi Guys, Hope someone can enlighten me how to solve the issue. Below is the error log. Thank you. Process:         Adobe Photoshop Elements [229] Path:            /Applications/Adobe Photoshop Elements 9/Adobe Photoshop Elements.app/Contents/MacOS/Ad

  • ConfigPlan.xml | How to change datasource values in .bpel and .xsl files

    Hi', We have used sql queries inside Transform (XSL) files and also using them in Assign activity, Now when moving from Development environment to Test Environment, how can we change the JDBC values by using the ant script, in the configplan.xml file

  • How can I download and run adobe 11.5 on mac OSX 10.5.8?

    How do you download and run Adobe version 11.5 on a Mac OSX 10.5.8 operating system?

  • Deployment error in netbeans

    hi i have a problem deploying my application to the Sun Java System Application server..i'm trying to deploy it through netbeans and i'm getting this error.. Finished registering server resources Deployment of application failed - Server returned HTT