[kepler-dev] Error uploading to remote repository
Chad Berkley
berkley at nceas.ucsb.edu
Fri Jan 22 10:29:40 PST 2010
Hey Sean,
Did you check with Mike to see if the newest version of Metacat is
installed on that server? I'm guessing it's not. It should really be
upgraded before you do any more client side work.
Mike, would you mind taking a look at the kepler repository for us and
upgrading it if necessary?
chad
Matt Jones wrote:
> Hi Sean,
>
> The error message being generated is being returned from metacat, so it
> looks like the SOAP channel is working -- the Metacat error appears to
> indicate a problem with the identifier being inserted (3512.6). It may
> be related to Metacat's semantics on checking for INSERT and UPDATEs --
> for INSERTS, the identifiers should have a revision of .1, and for
> UPDATEs, the revision should be greater than the previous revision for
> that object. Maybe Kepler is trying to INSERT a document with revision
> 6, when Metacat expects revision 1 for inserts? As pure speculation,
> maybe this change crept in when we introduced the automatic incrementing
> LSID versions? Mike Daigle was dealing with an error of this sort in
> Metacat recently -- you can probably check with him to see if he has
> some ideas, and if the Metacat log sheds more light on the problem.
>
> Matt
>
> On Thu, Jan 21, 2010 at 2:03 PM, Sean Riddle <swriddle at gmail.com
> <mailto:swriddle at gmail.com>> wrote:
>
> I'm trying out the functionality for saving actors to the actor
> repository, and I've run into an issue. I right-click my actor and
> select 'Upload to Repository.' I confirm this, authenticate to the
> server, and indicate that the actor should be publicly visible. I
> get an exception, which I've attached below. Has anybody seen this
> before?
>
> - Sean
>
> (I caught the exception in PutServiceClient.put(byte[], String, int,
> String))
>
> --BEGIN STACK TRACE--
> AxisFault
> faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: java.rmi.RemoteException: <?xml
> version="1.0"?><error>Document not found for
> Accession number 3512.6</error>
>
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}hostname:knb.msi.ucsb.edu
> <http://xml.apache.org/axis/%7Dhostname:knb.msi.ucsb.edu>
>
> java.rmi.RemoteException: <?xml version="1.0"?><error>Document not
> found for Accession number 3512.6</error>
>
> at
> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
> at
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
> at
> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
> at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> at
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> at
> org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
> at
> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
> 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.ecoinformatics.ecogrid.put.stub.PutServiceStub.put(Unknown Source)
> at
> org.ecoinformatics.ecogrid.client.PutServiceClient.put(PutServiceClient.java:195)
> at
> org.kepler.objectmanager.repository.EcogridRepository.uploadMetadata(EcogridRepository.java:371)
> at
> org.kepler.objectmanager.repository.EcogridRepository.put(EcogridRepository.java:211)
> at
> org.kepler.kar.UploadToRepository.uploadMetadata(UploadToRepository.java:180)
> at
> org.kepler.gui.kar.ComponentUploader.upload(ComponentUploader.java:84)
> at
> org.kepler.gui.kar.ExportArchiveAction.actionPerformed(ExportArchiveAction.java:354)
> at
> org.kepler.gui.kar.ActorUploaderAction.actionPerformed(ActorUploaderAction.java:89)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
> at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
> at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
> at
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
> at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
> at
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
> at java.awt.Component.processMouseEvent(Component.java:5602)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
> at java.awt.Component.processEvent(Component.java:5367)
> at java.awt.Container.processEvent(Container.java:2010)
> at java.awt.Component.dispatchEventImpl(Component.java:4068)
> at java.awt.Container.dispatchEventImpl(Container.java:2068)
> at java.awt.Component.dispatchEvent(Component.java:3903)
> at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
> at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
> at
> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
> at java.awt.Container.dispatchEventImpl(Container.java:2054)
> at java.awt.Window.dispatchEventImpl(Window.java:1801)
> at java.awt.Component.dispatchEvent(Component.java:3903)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> --END STACK TRACE--
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org <mailto:Kepler-dev at kepler-project.org>
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
More information about the Kepler-dev
mailing list