Hi Laura

I just added that content as RELS-INT to a test object Prist:45 here, and it
worked fine.

Can you take a look at the server log file and see what error you are
getting there?

Steve

> -----Original Message-----
> From: Laura delli Paoli [mailto:[email protected]] 
> Sent: 13 July 2011 09:07
> To: [email protected]
> Subject: Re: [fcrepo-dev] adding a RELS-INT datastream
> 
> 
> Stephen Bayliss <stephen.bayliss@...> writes:
> 
> > 
> > Hello Laura
> > 
> > Could you check the main Fedora server log file to see what is 
> > reported there?  $FEDORA_HOME/server/logs/fedora.log - and 
> let us know 
> > what the error is.
> > 
> > Possibly it is a validation exception - maybe you could paste in or 
> > attach the RELS-INT you are trying to add so we can take a look at 
> > that.
> > 
> > Regards
> > Steve
> 
> Oops, I pasted a wrong file.
> <?xml version="1.0" encoding="utf-8"?>
> <rdf:RDF xmlns:ont="info:fedora/Demo:9/datastreams/RELS-EXT/content#" 
> xmlns:dc="http://purl.org/dc/elements/1.1/"; 
> xmlns:j.1="http://www.dcs.shef.ac.uk/~ajay/image/annotation#"; 
> xmlns:j.0="http://www.dcs.shef.ac.uk/~ajay/image#"; 
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
> <rdf:Description rdf:about="info:fedora/Prist:45/Media">
> <dc:description>Anfiteatro di Capua </dc:description> 
> <j.0:content>L'anfiteatro Campano o anfiteatro Capuano, è 
> un'anfiteatro di 
> epoca romana della città di Capua (antica), secondo per 
> dimensioni solo al 
> Colosseo, al quale probabilmente servì come modello essendo stato, 
> verosimilmente, il primo anfiteatro del mondo romano. 
> Attualmente si trova 
> all'interno della superficie comunale di Santa Maria Capua 
> Vetere.</j.0:content> <j.0:comment/> 
> <j.0:hasHashCode>30082000240200056433434643644434</j.0:hasHashCode>
> <j.0:hasAnnotationNumber>4</j.0:hasAnnotationNumber>
> <j.0:height>2000</j.0:height>
> <j.0:width>3008</j.0:width>
> </rdf:Description>
> <rdf:Description rdf:about="info:fedora/Prist:45/Media">
> <j.1:topY>134</j.1:topY>
> <j.1:bottomY>496</j.1:bottomY>
> <j.1:topX>1598</j.1:topX>
> <j.1:botomX>2728</j.1:botomX> 
> <j.1:annotationHeight>362</j.1:annotationHeight>
> <j.1:annotationWidth>1130</j.1:annotationWidth>
> <j.1:hasShape>0</j.1:hasShape>
> <j.1:hasContent/>
> <j.1:hasConcept>Arcate</j.1:hasConcept>
> <j.1:hasComment/>
> <j.1:annotationText>busti inseriti sulle arcate, raffiguranti 
> divinità per i 
> primi due ordini, e soggetti non divini per il 
> terzo,</j.1:annotationText> 
> <j.1:hasRelationNumber>0</j.1:hasRelationNumber>
> <j.1:anID>0.9094167991638794</j.1:anID>
> </rdf:Description>
> <rdf:Description rdf:about="info:fedora/Prist:45/Media">
> <j.1:topY>535</j.1:topY>
> <j.1:bottomY>1592</j.1:bottomY>
> <j.1:topX>1615</j.1:topX>
> <j.1:botomX>3008</j.1:botomX> 
> <j.1:annotationHeight>1057</j.1:annotationHeight>
> <j.1:annotationWidth>1393</j.1:annotationWidth>
> <j.1:hasShape>0</j.1:hasShape>
> <j.1:hasContent/>
> <j.1:hasConcept>Arcate</j.1:hasConcept>
> <j.1:hasComment/>
> <j.1:annotationText>il monumento si apriva in ottanta arcate 
> di uguale ampiezza 
> ad eccezione  di quelle poste in corrispondenza dei quattro 
> punti cardinali, </j.1:annotationText> 
> <j.1:hasRelationNumber>0</j.1:hasRelationNumber>
> <j.1:anID>0.3020918453243928</j.1:anID>
> </rdf:Description>
> <rdf:Description rdf:about="info:fedora/Prist:45/Media">
> <j.1:topY>1197</j.1:topY>
> <j.1:bottomY>1698</j.1:bottomY>
> <j.1:topX>975</j.1:topX>
> <j.1:botomX>2316</j.1:botomX> 
> <j.1:annotationHeight>501</j.1:annotationHeight>
> <j.1:annotationWidth>1341</j.1:annotationWidth>
> <j.1:hasShape>0</j.1:hasShape>
> <j.1:hasContent/>
> <j.1:hasConcept>Tribuna</j.1:hasConcept>
> <j.1:hasComment/>
> <j.1:annotationText>tribuna riservata alle autorità
> </j.1:annotationText> <j.1:hasRelationNumber>0</j.1:hasRelationNumber>
> <j.1:anID>-0.5443333786651878</j.1:anID>
> </rdf:Description>
> <rdf:Description rdf:about="info:fedora/Prist:45/Media">
> <j.1:topY>1019</j.1:topY>
> <j.1:bottomY>1598</j.1:bottomY>
> <j.1:topX>78</j.1:topX>
> <j.1:botomX>1320</j.1:botomX> 
> <j.1:annotationHeight>579</j.1:annotationHeight>
> <j.1:annotationWidth>1242</j.1:annotationWidth>
> <j.1:hasShape>0</j.1:hasShape>
> <j.1:hasContent/> 
> <j.1:hasConcept>Porticus_Summa_Cavea</j.1:hasConcept>
> <j.1:hasComment/>
> <j.1:annotationText>Le gradinate terminavano esternamente con 
> un muro che 
> circondava tutto l'anfiteatro (il muro di summa 
> cavea)</j.1:annotationText> 
> <j.1:hasRelationNumber>0</j.1:hasRelationNumber>
> <j.1:anID>0.2729352332768193</j.1:anID>
> </rdf:Description>
> </rdf:RDF>
> 
> 
> 
> > 
> > > -----Original Message-----
> > > From: Laura delli Paoli [mailto:lauradellipaoli@...]
> > > Sent: 13 July 2011 07:35
> > > To: fedora-commons-developers@...
> > > Subject: [fcrepo-dev] adding a RELS-INT datastream
> > > 
> > > 
> > > Hello everybody
> > > I was populating my Fedora Repository programmatically but I
> > > can't add a RELS- INT datastream in my digital Object because 
> > > if I try I get this error: AxisFault
> > >  faultCode: 
> > > {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > >  faultSubcode: 
> > >  faultString: org.fcrepo.server.errors.GeneralException: 
> > > Unable to add or modify 
> > > object (commit canceled)
> > >  faultActor: 
> > >  faultNode: 
> > >  faultDetail: 
> > >   {http://xml.apache.org/axis/}hostname:Laura-PC
> > > 
> > > org.fcrepo.server.errors.GeneralException: Unable to add or
> > > modify object 
> > > (commit canceled)
> > >   at 
> > > org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFault
> > > Builder.java:222)
> > >   at 
> > > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultB
> > > uilder.java:129)
> > >   at 
> > > org.apache.axis.encoding.DeserializationContext.endElement(Des
> > > erializationContex
> > > t.java:1087)
> > >   at 
> > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.e
> > > ndElement(Unknown 
> > > Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> > > nnerImpl.scanEndEl
> > > ement(Unknown Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> > > nnerImpl$FragmentC
> > > ontentDriver.next(Unknown Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
> > > .next(Unknown 
> > > Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerIm
> > > pl.next(Unknown 
> > > Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> > > nnerImpl.scanDocum
> > > ent(Unknown Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
> > > parse(Unknown 
> > > Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
> > > parse(Unknown 
> > > Source)
> > >   at 
> > > 
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown 
> > > Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.p
> > > arse(Unknown 
> > > Source)
> > >   at 
> > > com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXP
> > > arser.parse(Unknow
> > > n Source)
> > >   at javax.xml.parsers.SAXParser.parse(Unknown Source)
> > >   at 
> > > org.apache.axis.encoding.DeserializationContext.parse(Deserial
> > > izationContext.jav
> > > a:227)
> > >   at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> > >   at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> > >   at 
> > > org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(Mus
> > > tUnderstandChecker
> > > .java:62)
> > >   at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> > >   at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> > >   at org.apache.axis.client.Call.invoke(Call.java:2767)
> > >   at org.apache.axis.client.Call.invoke(Call.java:2443)
> > >   at org.apache.axis.client.Call.invoke(Call.java:2366)
> > >   at org.apache.axis.client.Call.invoke(Call.java:1812)
> > >   at 
> > > org.fcrepo.server.management.FedoraAPIMBindingSOAPHTTPStub.add
> > > Datastream(FedoraA
> > > PIMBindingSOAPHTTPStub.java:762)
> > >   at 
> > > repositoryInterface.fedoraSOAPclient.PristFedoraClient.addData
> > > stream(PristFedora
> > > Client.java:191)
> > >   at 
> > > repositoryInterface.gui.listeners.AddObjListener.actionPerform
> > > ed(AddObjListener.
> > > java:84)
> > >   at 
> > > javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> > >   at 
> > > javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
> > >   at 
> > > javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
> > >   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> > >   at 
> > > javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown 
> > > Source)
> > >   at java.awt.Component.processMouseEvent(Unknown Source)
> > >   at javax.swing.JComponent.processMouseEvent(Unknown Source)
> > >   at java.awt.Component.processEvent(Unknown Source)
> > >   at java.awt.Container.processEvent(Unknown Source)
> > >   at java.awt.Component.dispatchEventImpl(Unknown Source)
> > >   at java.awt.Container.dispatchEventImpl(Unknown Source)
> > >   at java.awt.Component.dispatchEvent(Unknown Source)
> > >   at 
> > > java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> > >   at 
> > > java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> > >   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> > >   at java.awt.Container.dispatchEventImpl(Unknown Source)
> > >   at java.awt.Window.dispatchEventImpl(Unknown Source)
> > >   at java.awt.Component.dispatchEvent(Unknown Source)
> > >   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> > >   at java.awt.EventQueue.access$000(Unknown Source)
> > >   at java.awt.EventQueue$1.run(Unknown Source)
> > >   at java.awt.EventQueue$1.run(Unknown Source)
> > >   at java.security.AccessController.doPrivileged(Native Method)
> > >   at 
> > > 
> java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
> > > Source)
> > >   at 
> > > 
> java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
> > > Source)
> > >   at java.awt.EventQueue$2.run(Unknown Source)
> > >   at java.awt.EventQueue$2.run(Unknown Source)
> > >   at java.security.AccessController.doPrivileged(Native Method)
> > >   at 
> > > 
> java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown 
> > > Source)
> > >   at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > >   at 
> > > 
> java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> > >   at 
> > > java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> > >   at 
> > > 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> > >   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > >   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > >   at java.awt.EventDispatchThread.run(Unknown Source)
> > > 
> > > Can anyone help me?
> > > thanks Laura
> > > 
> > > 
> > > --------------------------------------------------------------
> > > ----------------
> > > AppSumo Presents a FREE Video for the SourceForge 
> Community by Eric
> > > Ries, the creator of the Lean Startup Methodology on 
> "Lean Startup 
> > > Secrets Revealed." This video shows you how to validate 
> your ideas, 
> > > optimize your ideas and identify your business strategy. 
> > > http://p.sf.net/sfu/appsumosfdev2dev
> > > _______________________________________________
> > > Fedora-commons-developers mailing list 
> > > Fedora-commons-developers@...
> > > 
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> > > 
> > 
> > 
> ----------------------------------------------------------------------
> > --------
> > AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> > Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> > Secrets Revealed." This video shows you how to validate your ideas, 
> > optimize your ideas and identify your business strategy.
> > http://p.sf.net/sfu/appsumosfdev2dev
> > 
> 
> 
> 
> 
> 
> --------------------------------------------------------------
> ----------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy. 
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Fedora-commons-developers mailing list 
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> 


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to