Suspend2ram via pm-utils in gnome not working

Hello Everyone,
I am new to Arch, and all signs indicate that it is finally my long-after-searched distro. Specifically, I switched from a very short dip into gentoo (gnome compilation...) and now really like arch docs and experience so far.
I managed easily to get through installation, helped by the excellent docs. After getting gnome to work, I now want to enable suspend to ram and suspend to disk. Suspend to ram (from gnome power applet) does not work, it blanks my screen, computer still runs normally and I can not get gnome back. Always need to do a hard reset.
I installed pm-utils, acpi, gnome-extra etc. as pointed out on the pm-utils and gnome wiki.
I understood that gnome uses hal for suspend by default, so this is a starting point I guess. The output of suspend in /var/log/pm-suspend.log is not helpful, since all hooks are run and it reads "performing suspend"
Thu Jan 27 21:34:52 CET 2011: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux anvil 2.6.36-ARCH #1 SMP PREEMPT Mon Jan 24 18:34:55 UTC 2011 i686 AMD Athlon(tm) AuthenticAMD GNU/Linux
Module Size Used by
ipv6 244945 10
ext2 55656 1
snd_seq_dummy 1079 0
usbhid 32169 0
hid 60432 1 usbhid
radeon 814837 2
snd_seq_oss 25040 0
snd_seq_midi_event 4528 1 snd_seq_oss
snd_intel8x0 22230 0
snd_seq 41688 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_wavefront 28237 0
ttm 43438 1 radeon
snd_cs4236 21996 0
snd_ac97_codec 87943 1 snd_intel8x0
drm_kms_helper 23055 1 radeon
snd_wss_lib 17822 2 snd_wavefront,snd_cs4236
snd_pcm_oss 33694 0
snd_opl3_lib 7266 2 snd_wavefront,snd_cs4236
drm 142807 4 radeon,ttm,drm_kms_helper
snd_hwdep 4764 2 snd_wavefront,snd_opl3_lib
snd_mixer_oss 14654 1 snd_pcm_oss
ac97_bus 762 1 snd_ac97_codec
analog 7715 0
lp 6652 0
snd_mpu401 3800 0
snd_mpu401_uart 4927 3 snd_wavefront,snd_cs4236,snd_mpu401
snd_pcm 59136 5 snd_intel8x0,snd_cs4236,snd_ac97_codec,snd_wss_lib,snd_pcm_oss
i2c_algo_bit 4183 1 radeon
snd_rawmidi 15288 2 snd_wavefront,snd_mpu401_uart
ohci_hcd 19051 0
usblp 9636 0
ppdev 4862 0
snd_timer 15583 4 snd_seq,snd_wss_lib,snd_opl3_lib,snd_pcm
parport_pc 27832 1
ehci_hcd 32908 0
snd_seq_device 4369 5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
i2c_nforce2 4408 0
ns558 2007 0
usbcore 115866 5 usbhid,ohci_hcd,usblp,ehci_hcd
snd 43219 17 snd_seq_oss,snd_intel8x0,snd_seq,snd_wavefront,snd_cs4236,snd_ac97_codec,snd_wss_lib,snd_pcm_oss,snd_opl3_lib,snd_hwdep,snd_mixer_oss,snd_mpu401,snd_mpu401_uart,snd_pcm,snd_rawmidi,snd_timer,snd_seq_device
gameport 6917 3 analog,ns558
parport 25499 3 lp,ppdev,parport_pc
nvidia_agp 4112 1
i2c_core 15762 5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_nforce2
tpm_tis 6132 0
fuse 56816 3
processor 22776 0
sg 21028 0
button 3746 0
shpchp 23037 0
forcedeth 47178 0
soundcore 4929 1 snd
tpm 9505 1 tpm_tis
evdev 6692 7
thermal 9690 0
agpgart 22816 3 ttm,drm,nvidia_agp
pci_hotplug 21523 1 shpchp
snd_page_alloc 5981 3 snd_intel8x0,snd_wss_lib,snd_pcm
pcspkr 1359 0
tpm_bios 4661 1 tpm
ext4 288261 2
mbcache 4298 2 ext2,ext4
jbd2 58404 1 ext4
crc16 1053 1 ext4
sd_mod 24384 5
sr_mod 13217 0
cdrom 31378 1 sr_mod
pata_acpi 2308 0
pata_amd 7988 4
libata 140436 2 pata_acpi,pata_amd
scsi_mod 106955 4 sg,sd_mod,sr_mod,libata
floppy 48264 0
total used free shared buffers cached
Mem: 769776 247124 522652 0 27036 92212
-/+ buffers/cache: 127876 641900
Swap: 1052252 0 1052252
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Thu Jan 27 21:34:52 CET 2011: performing suspend
Any ideas or hints on this?
Thanks in advance
edit: After some time trying to get it to run with UPower, HAL and User Permission Method, I will end my attempts before I get mad. Fortunately, this machine was set up just to play with arch, and that was really fun. The stinging itch remains: If I could just pin down the error with debugging...
Last edited by phaebz (2011-01-27 21:48:33)

Thanks for your reply MadTux!
I have a radeon 7500 with RV200 QW VGA controller.
I use the open driver xf86-video-ati.
I tried both the proprietary and the open driver. To no avail.
One thing though: Through experimenting with both, pc now suspends (drives and cpu down). After resume, drives and cpu start up again, but screen remains black - no control.
I read on the wiki somewhere about vbetool - tried it also with that installed...
I am lost
edit: Will try with KMS disabled...
Last edited by phaebz (2011-01-29 14:02:46)

Similar Messages

  • I get this error when I go to imovie, I have instalerat on via appstore, but it does not work. The QuickTime components necessary to view, edit, import and export various types of films are not installed. The components included in the iMovie installer. R

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

  • After trying to update my iphone 5 to ios 7 via itunes my phone will not work at all, all i have is an itunes logo and cable logo on the screen HELP!!!!

    after trying to update my iphone 5 to ios 7 via itunes my phone will not work at all, all i have is an itunes logo and cable logo on the screen HELP!!!!

    you'll want to restore it using itunes and recovery mode
    http://support.apple.com/kb/ht1808

  • Fuego.Util.Document is not working

    Fuego.Util.Document is not working.Please find code which is i am using to download the file from server.
    open Fuego.Util.Document
    using fileName = "/tmp/sample-encoded-receipt-image.txt"
    Anyone could you please help me to resolve the issue.
    Thanks&Regards,
    M.K
    Edited by: user640554 on Feb 16, 2010 2:23 AM

    If you are download the file from the server, in this case you have to use the anchor html tag in your JSP page
    In this tag you have to pass the source value ( where the file is located)
    and the file path will be like this:
    Download
    href value will be like this Fuego.Server.homeDir + "/tmp/sample-encoded-receipt-image.txt"
    you can also set this Fuego.Server.homeDir value from the Code and it will give the actual path when the code will run
    Thanks,
    Brijesh Kumar Singh

  • I'm trying to sync Contacts between my iMac ans my iPad 2 via iCloud and it's not working. In both devices, the option to sync Contacts is seleted. What is happening and how to sync these data?

    I'm trying to sync Contacts between my iMac ans my iPad 2 via iCloud and it's not working. In both devices, the option to sync Contacts is seleted. What is happening and how to sync these data?

    This is the ipod touch forum

  • Java.util.ProperyPermission does not work for

    Hi again!
    I have some problems with a security.policy file. Its content is provided below:
    grant{
         //Alow the client to connect to any port above 1024
         permission java.net.SocketPermission "*:1024-", "connect";
    permission java.util.PropertyPermission "user.language", "read, write";
    Unfortunately, the java.util.PropertyPermission does not work. I always get the following exception:
    java.security.AccessControlException: access denied (java.util.PropertyPermission user.language write)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(AccessController.java:427)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
    at java.util.Locale.setDefault(Locale.java:352)
    at essex.kkarad.cache.daemon.SimplePopulationStrategy.doPopulate(SimplePopulationStrategy.java:41)
    at essex.kkarad.cache.daemon.Populator.run(Populator.java:42)
    Is there any problem with the decleration of the premission? Any ideas?

    Err, this may come as a shock, but it's because you changed the system clock.
    The Timer class works out the absolute time when to next to do something, and when you change the system clock you break that time.
    How much are you changing it by?

  • TS1363 i cannot connect to itunes because my 10 year "forgot" her password.  so all the restore suggestions utilizing itunes will not work...HELP!

    i cannot connect to itunes because my 10 year "forgot" her password.  so all the restore suggestions utilizing itunes will not work...HELP!

    You may need to put the iPod into recovery mode : http://support.apple.com/kb/ht1808 - you should then be able to reset the iPod and re-sync its content.

  • Recently upgraded from Windows 7 to 10. Now EOS Utility app does not work.

    Recently upgraded from Windows 7 to 10. Tried downloading photos from my 5D Mark II, but EOS Utility app does not work to Select Images to Download, unlike before. But when I disconnected my External Hard Drive, EOS Utility app main window works normally. I need the external hard drive connected all the time. How can I fix this problem, please? Thanks.

    This sounds like a hardware problem with your computer.  A USB port puts out a certain amount of power and can be used to power external devices... such as hard drives.  But the camera does not use any USB power -- it runs on the power from the internal battery.  It only uses the data pins to communicate. But you are describing a situation in which having one device connected a to a USB port prevents a different USB port from working.  That can happen if the device in one port is drawing too much power (it can prevent other ports from working correctly.)   Did you have this problem when using Windows 7?  

  • Itunes, Iphoto, Imovie, Disc Utility, Idvd will not work

    Can someone please advise.
    Itunes, Iphoto Imovie, Idvd will not work. All of my related files are there ie, all my music and photos but the actual programmes will not open. I read about using the Disc Utility but that will not open either. When I try to download say Itunes or Iphoto and lick on the download safari opens on google?
    Please does anyone know what is wrong?
    Its a PowerPc G5.
    Cheers Mary

    Our powerbooks can not run iMovie'08. Not enough horsepower.
    That is why we are offered a free download of iMovie '06.
    Joe

  • Flash streamed via RTMP (using Flowplayer) does not work; does in IE 9.

    I have the latest Flash plug-in and Firefox 6.0.2. Flash files from YouTube work. However, Flash in Flowplayer -- using RTMP streaming -- does not load.
    The following page works with latest version of Flash in IE 9:
    http://www.3xconversionformula.com/replay/short
    However, it simply will not load in Firefox.
    I do NOT have any ad blocking plugins, etc.
    The Flowplayer page actually allows you to test HTTP vs RTMP vs no streaming and Firefox hangs on RTMP. So, I believe I have found out what the bug is for you, but updating Flash will not remedy the situation. It seems to be a Firefox problem.

    AVG 9.0 is installed and the video (Flash in Flowplayer) works with IE 9 and Chrome.
    Flash video works in Firefox, but not all Flash files. Flash in Firefox works with YouTube, Adobe's Flash website, and various other places, but not everywhere.
    2 URL's are supplied above that contain Flash content that does not work with my Windows 7 (64-bit) Intel Core i7 Toshiba laptop with NVIDIA GeForce graphics card.
    On the Flowplayer website -- someone who should know how to properly implement their player with Flash -- Flash does work with Firefox when HTTP and no streaming are used. However, nobody seems to note that this does not work for RTMP streaming.
    So, Flash works -- sometimes -- but not all the time. However, the VERY same Flash files DO work on SAME laptop with SAME firewall and no problems with IE 9 and Chrome. Bottom line: RTMP streaming seems to be the issue with Firefox as pointed out on the following website:
    http://flowplayer.org/setup/index.html
    Attached images:
    1. HTTP Streaming
    2. RTMP Streaming - Faulty
    3. No Streaming
    NOTE: Website states, "RTMP The most advanced video streaming technology today."
    The following 2 videos will not work with my Firefox:
    http://www.3xconversionformula.com/replay/short -- uses Flowplayer as its Flash player.
    http://www.schedulicity.com/Essentials/Video-Gallery.aspx -- uses Brightcove as its Flash player.
    YouTube works. Also, the Brightcove website itself does work. So, its the implementation of Flash players -- not Flash itself -- that seems to be the problem. However, its not a problem with old versions of Firefox, nor IE 9 or Chrome.

  • Connecting projectors via VGA to MBA 2012 not working consistently?

    I am a trainer working around uk and Europe. I keep finding displays that will not work with my MBA. What happened to plug and play?....

    I have used macs for 10 years
    Okay, so have I, and I keep having surprises and keep learning. So what are you trying to say?
    Just will not show up on projected screen despite me changing settings,detecting display,restarting etc
    I sometimes find defect cables and connectors on site, I'm sure you spot those as well. Who to blame. Other than that, I've always got some signal onto the screen, even if not pretty colors, ideal contrast and brightness, or perfectly scaled. Or simply at a lower resolution and/or refresh rate than what I've been wishing for.
    With OS X's UI regarding external displays basically not having changed since 10.4, we sure have no trouble with handling our machines, and while our Windows friends are still trying to remember where all to press and click, I'm up and running or having a coffee.
    Interfaces have changed, but the number of adapters has grown accordingly, and projectors and displays have gotten more "receptive" as well. So, not much in the way here, either.
    The gear that is a royal pain in-you-know-where to work with now, has been the same before... all the time...
    What else - any more specific description, e.g. a typical showcase you could tell us of? Thanks.

  • Disk utility repair permissions not working in leopard

    any ideas why my premissions repair are not working in my new leapoard is there a free phone to apple
    because i bought my os x 10.5 from them

    Tony, if you think it isn't working because all you see is the blue & white "barber pole" display instead of the all blue progress bar during the repair, rest assured that this is just a display bug & the repair actually is being done. It can take a long time for the repair -- much longer than in Tiger, so be patient -- give it as much as 10 minutes or more to complete & you should see the 'permissions repair complete' message eventually.
    If you are seeing something else, my apologies for assuming otherwise. Please describe more about why it isn't working & perhaps we can help you.

  • Internet connection via Airport Extreme/router thats not working, why?

    I have been having problems with the internet connection via Airport Extreme which I find it a bit unusual and its still driving me nuts! This is what happened:
    I have lost my internet connection last Sunday evening upon my return from a weekend away from home. The last time I have used the internet connection on my macbook was the previous Friday morning. Prior to the apparent disconnection on Sunday, I have always used my internet connection wirelessly through Airport Extreme (that is connected via ethernet cable to the NETGEAR DG834v2 ADSL modem which had worked beautifully until the problem arose on my return). This wireless internet connection allowed me to surf the internet anywhere in my home.
    However, upon the successful re-connection to the internet via the modem router, I have discovered several new problems. I have tried to set up the internet connection wirelessly again but instead the following happened:
    1. Router (Netgear) drops ADSL connection and cannot reconnect when connected to airport via Ethernet. (which is the case when using airport wireless).
    2. Router connects to ADSL fine when computer is connected to it via Ethernet. (However, router disconnects when magsafe power adapter is taken out for some inexplicable reason!)
    3. Router connects to ADSL fine when nothing is connected to the router (ie. No Ethernet connections)
    4. Router connects to ADSL fine when connected to airport via Ethernet and computer is connected to airport via Ethernet.
    So from the above, I cannot connect to the internet properly whether wirelessly or not so I suspect it could be faulty router or could it be airport extreme? I have asked my ISP for an explanation and all they have said is that it cannot be the mis-configuration but could be to do with the power adaptors or the way plugs are set up and suggested I take out all the power plugs (and power surge protector) out to switch everything off, the macbook, router, printer and airport extreme. However, when I have re-plugged them all back in, the problems I have described above still persists!
    Would appreciate any help if anyone here recognises why this is the case and what seems to be the cause of this. If so, what should I do? Though I have written back to my ISP again yesterday for more help so im waiting to hear from them...
    Thanks
    u2dougal

    I have been having problems with the internet connection via Airport Extreme which I find it a bit unusual and its still driving me nuts! This is what happened:
    I have lost my internet connection last Sunday evening upon my return from a weekend away from home. The last time I have used the internet connection on my macbook was the previous Friday morning. Prior to the apparent disconnection on Sunday, I have always used my internet connection wirelessly through Airport Extreme (that is connected via ethernet cable to the NETGEAR DG834v2 ADSL modem which had worked beautifully until the problem arose on my return). This wireless internet connection allowed me to surf the internet anywhere in my home.
    However, upon the successful re-connection to the internet via the modem router, I have discovered several new problems. I have tried to set up the internet connection wirelessly again but instead the following happened:
    1. Router (Netgear) drops ADSL connection and cannot reconnect when connected to airport via Ethernet. (which is the case when using airport wireless).
    2. Router connects to ADSL fine when computer is connected to it via Ethernet. (However, router disconnects when magsafe power adapter is taken out for some inexplicable reason!)
    3. Router connects to ADSL fine when nothing is connected to the router (ie. No Ethernet connections)
    4. Router connects to ADSL fine when connected to airport via Ethernet and computer is connected to airport via Ethernet.
    So from the above, I cannot connect to the internet properly whether wirelessly or not so I suspect it could be faulty router or could it be airport extreme? I have asked my ISP for an explanation and all they have said is that it cannot be the mis-configuration but could be to do with the power adaptors or the way plugs are set up and suggested I take out all the power plugs (and power surge protector) out to switch everything off, the macbook, router, printer and airport extreme. However, when I have re-plugged them all back in, the problems I have described above still persists!
    Would appreciate any help if anyone here recognises why this is the case and what seems to be the cause of this. If so, what should I do? Though I have written back to my ISP again yesterday for more help so im waiting to hear from them...
    Thanks
    u2dougal

  • Time machine disk grayed out in Disk Utility - back up not working

    The disk does not show in Time Machine. 
    In Disk Utility it shows but is grayed out.   Tried to repair disk.  Got message that disk cannot be repaired.  Tells me to back up and erase the disk.  Not sure how to back it up if it is not being recognized. Disk Verify says the volume is corrupt and needs to be repaired.  But Repair Disk doesn't work!
    I can go into Time Machine and shows me one entry -- the one from the last successful back up.
    The disk is a WD MyBook.  Map scheme GUID Partition.  Do you think the reformat will work?  Is there a way if I can tell if the disk is bad?  Tech Tools for Apple Care doesn't recognize the volume either.
    Any ideas?

    It turns out the fix for this was to just then remove the Aperture library from the exclusion list. Once I did that Time Machine did a massive 200GB backup of my entire Aperture library and everything is running fine since.
    No idea what caused the problem in the first place still.

  • Kodo.util.*Identity not working in 3.3.2?

    Hi, I have been trying to use one of the kodo identity classes for
    application identity:
    <class name="Person"
    identity-type="application"
    objectid-class="kodo.util.LongIdentity"
    unfortunately the enhancer fails on a missing constructor??
    [jdoc] kodo.util.FatalUserException: The objectid-class specified
    by type "class kodo.Person" does not have public a no-args constructor.
    2nd related question: I developed my own LongIdentity that has the missing
    constructor and was planning to use it for most of my object model. on
    some occasions, kodo seems to get confused about using the same
    object-id-class for more than 1 persistent class:
    <class name="Person"
    identity-type="application"
    objectid-class="kodo.AddressId" <!-- similar to
    kodo.util.LongIdentity, used as well by persistent class Address -->
    trying to load by id a Person:
    Person person = (Person) ((KodoPersistenceManager)
    pm).getObjectById(Person.class, ""+2000); // select
    6750 TRACE [main] kodo.jdbc.SQL - <t 31737213, conn 19287723> [0 ms]
    executing prepstmnt 26665270 SELECT t0.CITY, t0.STREET FROM ADDRESS t0
    WHERE t0.ID = ? [params=(long) 2000] [reused=0]
    kodo.util.ObjectNotFoundException: The instance "2000 [kodo.AddressId]"
    does not exist in the data store.[2000 [kodo.AddressId]]
         at
    kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:2090)
         at
    kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:2005)
         at
    kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:2285)
    the problem is that a select on the address table gets executed??
    note: if I make a copy/paste of my AddressId and rename it PersonId, then
    this works fine.
    if all pk are of type long, are we expected to subclass
    kodo.util.LongIdentity and add the default constructor for each persistent
    class?
    thanks for the help,
    v.

    here you go:
    <?xml version="1.0" encoding="UTF-8"?>
    <jdo>
         <package name="kodo">
              <class name="Address" identity-type="application">
                   <extension vendor-name="kodo" key="jdbc-class-map"
    value="base"></extension>
                   <extension vendor-name="kodo" key="jdbc-class-map/table"
    value="ADDRESS"></extension>
                   <extension vendor-name="kodo" key="jdbc-version-ind"
    value="none"></extension>
                   <extension vendor-name="kodo" key="jdbc-class-ind-name"
    value="none"></extension>
                   <extension vendor-name="kodo" key="detachable"
    value="serialize"></extension>
                   <field name="id" primary-key="true">
                        <extension vendor-name="kodo" key="sequence-assigned"
    value="true"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map"
    value="value"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map/column"
    value="ID"></extension>
                   </field>
                   <field name="city">
                        <extension vendor-name="kodo" key="jdbc-field-map"
    value="value"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map/column"
    value="CITY"></extension>
                   </field>
                   <field name="street">
                        <extension vendor-name="kodo" key="jdbc-field-map"
    value="value"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map/column"
    value="STREET"></extension>
                   </field>
              </class>
              <class name="Person" identity-type="application">
                   <extension vendor-name="kodo" key="jdbc-class-map"
    value="base"></extension>
                   <extension vendor-name="kodo" key="jdbc-class-map/table"
    value="PERSON"></extension>
                   <extension vendor-name="kodo" key="jdbc-version-ind"
    value="none"></extension>
                   <extension vendor-name="kodo" key="jdbc-class-ind-name"
    value="none"></extension>
                   <extension vendor-name="kodo" key="detachable"
    value="serialize"></extension>
                   <field name="addresses" default-fetch-group="true">
                        <collection element-type="kodo.Address">
                        </collection>
                        <extension vendor-name="kodo" key="jdbc-field-map"
    value="one-many"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map/ref-column.ID"
    value="P_ID"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map/table"
    value="ADDRESS"></extension>
                   </field>
                   <field name="firstname">
                        <extension vendor-name="kodo" key="jdbc-field-map"
    value="value"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map/column"
    value="FIRSTNAME"></extension>
                   </field>
                   <field name="id" primary-key="true">
                        <extension vendor-name="kodo" key="sequence-assigned"
    value="true"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map"
    value="value"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map/column"
    value="ID"></extension>
                   </field>
                   <field name="lastname">
                        <extension vendor-name="kodo" key="jdbc-field-map"
    value="value"></extension>
                        <extension vendor-name="kodo" key="jdbc-field-map/column"
    value="LASTNAME"></extension>
                   </field>
              </class>
         </package>
         <!--
              To use additional vendor extensions, create a vendor-extensions.xml file
    that
              contains the additional extensions (in extension tags) and place it in
    your
              projects merge dir.
         -->
    </jdo>
    Patrick Linskey wrote:
    Hi Vincent,
    Can you post the .jdo file that XDoclet is creating please?
    -Patrick
    Vincent Sevel wrote:
    I tried that but run into another exception:
    * @jdo.persistence-capable identity-type="application"
    * @jdo.class-vendor-extension vendor-name="kodo" key="jdbc-class-map"
    value="base"
    * @jdo.class-vendor-extension vendor-name="kodo"
    key="jdbc-class-map/table" value="PERSON"
    * @jdo.class-vendor-extension vendor-name="kodo" key="jdbc-version-ind"
    value="none"
    * @jdo.class-vendor-extension vendor-name="kodo"
    key="jdbc-class-ind-name" value="none"
    * @jdo.class-vendor-extension vendor-name="kodo" key="detachable"
    value="serialize"
    public class Person implements Serializable {
    * @jdo.field primary-key="true"
    * @jdo.field-vendor-extension vendor-name="kodo"
    key="sequence-assigned" value="true"
    * @jdo.field-vendor-extension vendor-name="kodo" key="jdbc-field-map"
    value="value"
    * @jdo.field-vendor-extension vendor-name="kodo"
    key="jdbc-field-map/column" value="ID"
    private Long id;
    javax.jdo.JDOFatalInternalException
         at kodo.Person.jdoNewObjectIdInstance(Person.java)
         at kodo.util.ApplicationIds.create(ApplicationIds.java:280)
         at
    kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2424)
         at
    kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:2371)
    >>
    Person p1 = new Person();
    p1.setFirstname("vince");
    p1.setLastname("sevel");
    Address adr1 = new Address();
    adr1.setStreet("1er mai");
    adr1.setCity("geneve");
    p1.getAddresses().add(adr1);
    pm.makePersistent(p1);
    I must be missing a flag or property somewhere??
    thanks,
    v.
    Abe White wrote:
    When using single field identity in JDO, you don't list an objectid-class
    at
    >>
    all
    in your metadata. Just set identity-type to "application".

Maybe you are looking for