[Mulgara-dev] Blank Nodes

David Moll DMoll at myAperio.com
Fri Aug 3 17:13:22 UTC 2007


All right, we've been working on this:
....

  delete
    select $subject <http://www.viewpoint.com/aFile> $object
    from <rmi://localhost/server1#the_model>
    where $subject <http://www.viewpoint.com/aFile> $object
      minus $object <rdf:type> <mulgara:uriReference> in
<rmi://localhost/server1#type>
  from <rmi://localhost/server1#the_model>;

.....
This query works great, I can limit the nodes down and find exactly what
I need.  This query even works if subject, predicate, and object is
unbound.  However if I run the following queries:


    select $subject $predicate $object
    from <rmi://localhost/server1#the_model>
    where $subject $predicate $object
      minus ($object <rdf:type> <mulgara:uriReference> in
<rmi://localhost/server1#type>
          or $object <rdf:type> <rdfs:Literal> in
<rmi://localhost/server1#type>)

    select $subject $predicate $object
    from <rmi://localhost/server1#the_model>
    where $subject $predicate $object
      minus ($subject <rdf:type> <mulgara:uriReference> in
<rmi://localhost/server1#type>
          or $ subject <rdf:type> <rdfs:Literal> in
<rmi://localhost/server1#type>)


Both of these queries fail with...

java.lang.Error: Cleaner terminated abnormally
        at sun.misc.Cleaner$1.run(Cleaner.java:130)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.Cleaner.clean(Cleaner.java:127)
        at
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:124)
Caused by: java.io.IOException: The process cannot access the file
because another process has locked a portion of the file
        at sun.nio.ch.FileChannelImpl.unmap0(Native Method)
        at
sun.nio.ch.FileChannelImpl.access$000(FileChannelImpl.java:26)
        at
sun.nio.ch.FileChannelImpl$Unmapper.run(FileChannelImpl.java:680)
        at sun.misc.Cleaner.clean(Cleaner.java:125)
        ... 1 more

It's the same issue we occasionally run into with the memory mapping in
Windows causing the JVM to crash.

This is the latest release running on win2k3 server.  Thoughts?






More information about the Mulgara-dev mailing list