Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » ITI-14 - RetrieveDocument URI (Length Problem)
ITI-14 - RetrieveDocument URI (Length Problem) [message #587028] Thu, 21 August 2008 09:09
Stefan S. is currently offline Stefan S.
Messages: 22
Registered: July 2009
Junior Member
Hi Everybody!

Recently I have stumbled across an interesting problem, I am not quite
sure on how to solve. So I thought the best address would be the OHF
Newsgroup. ;)

Basically what I am trying to do is write some code that registers a
document set (ITI-14) with an IHE Registry. Currently I am testing with
the official NIST Registry (B).

Besides adding a document Hash and Size to every DocumentEntry, I want to
submit an URI to support the ITI-14, Retrieve Document.

Basically my URI looks something like:

http://SERVERNAME/axis2/services/DocumentRepositoryService/R etrieveDocument?param0=1.2.3.4.116030179011263034.1219323603 286.1&param1=application/pdf

The problem is, that the official NIST Registry rejects my request. As
soon as I make the URI shorter (below 128 characters), everything works
correctly. Even special characters like ?, /, : and so on are no problem.

So I made some research and found this in the IHE Technical Framework:

The URI of the XDS Document to be used for retrieval by XDS.a Document
Consumer actors.
XDS.a does not constraint the format of this URI beyond RFC 2616. However,
the IHE Retrieve Information for Display Integration Profile defined
format may be used in cases where the Document repository is grouped with
a RID Information Source Actor (See ITI TF-1:Appendix E.5)
RID links can be used only if they yield the document in full fidelity.
There are two formats for coding this attribute. If the string
representing the URI is 128 characters or shorter, the short format may be
used:
<rim:Slot name="URI">
<rim:ValueList>
<rim:Value>http://www.ihe.net</rim:Value>
</rim:ValueList>
</rim:Slot>
If the string is more than 128 characters long, the long format shall be
used:
<rim:Slot name="URI">
<rim:ValueList>
<rim:Value>1|http://www.ihe.net/ IHERetrieveDocument?</rim:Value>
<rim:Value>2|requestType=DOCUMENT&documentUID=1.2.3</rim:Value >
<rim:Value>3|&preferredContentType=application%2fpdf</rim:Value >
</rim:ValueList>
</rim:Slot>
Each Value is composed of an ordering prefix followed by a portion of the
actual URI string. The ordering prefix shall be sequential starting at the
value 1. When the long format is used, all Values shall have an ordering
prefix.

So basically String, that are longer than 128 characters have to be "split
into" the long format.

Taking a look at the message that I am sending to the NIST Registry
reveals that is is done exactly as shown in the example above.

But as soon as I have more than 128 characters and therefore use the long
format, I am rejected by the NIST Registry.

I hope someone has an answer or at least a helpful advice for me! ;)

Thanks in Advance for both your time and your knowledge!

Stefan

To make things concrete (and more complicated...): This is the message
that I am getting from the NIST registry upon sending an URI with more
than 128 characters:

Document registration failed. The registry responsemessage is:
<rs:RegistryResponse xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure "><rs:RegistryErrorList><rs:RegistryError
codeContext="Registry rejected metadata submission:
&#xa;com.sun.ebxml.registry.RegistryException: Batch entry 5 INSERT IGNORE INTO
Slot (sequenceId, name_, slotType, value, parent) VALUES( was aborted.
Call getNextException() to see the cause.&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SlotDAO.insert(SlotDA O.java:226)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO.ins ert(RegistryObjectDAO.java:243)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.ExtrinsicObjectDAO.in sert(ExtrinsicObjectDAO.java:155)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:394)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:284)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.PersistenceManagerImpl.in sert(PersistenceManagerImpl.java:52)&#xa;&#x9;at
com.sun.ebxml.registry.lcm.LifeCycleManagerImpl.submitObject s(LifeCycleManagerImpl.java:126)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.Request.process(Request.ja va:146)&#xa;&#x9;at
gov.nist.ebxml.registry.MultiPartLCM.processLCMPostRequest(M ultiPartLCM.java:153)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.processPo stRequest(RestServlet.java:78)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.doPost(Re stServlet.java:103)&#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763) &#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) &#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:284)&#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:204)&#xa;&#x9;at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:257)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:245)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:199)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(A uthenticatorBase.java:587)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:184)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:164)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:578)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:156)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:972)&#xa;&#x9;at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:206)&#xa;&#x9;at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:833)&#xa;&#x9;at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:732)&#xa;& #x9;at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:619)&#xa;&#x9;at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:688)&#xa;&#x9;at
java.lang.Thread.run(Thread.java:613)&#xa;&#xa;& #xa;Nested exception
was:&#xa;Batch entry 5 INSERT IGNORE INTO Slot (sequenceId, name_, slotType,
value, parent) VALUES( was aborted. Call getNextException() to see the
cause.&#xa;&#x9;at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(Abs tractJdbc2Statement.java:107)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SlotDAO.insert(SlotDA O.java:220)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO.ins ert(RegistryObjectDAO.java:243)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.ExtrinsicObjectDAO.in sert(ExtrinsicObjectDAO.java:155)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:394)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:284)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.PersistenceManagerImpl.in sert(PersistenceManagerImpl.java:52)&#xa;&#x9;at
com.sun.ebxml.registry.lcm.LifeCycleManagerImpl.submitObject s(LifeCycleManagerImpl.java:126)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.Request.process(Request.ja va:146)&#xa;&#x9;at
gov.nist.ebxml.registry.MultiPartLCM.processLCMPostRequest(M ultiPartLCM.java:153)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.processPo stRequest(RestServlet.java:78)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.doPost(Re stServlet.java:103)&#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763) &#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) &#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:284)&#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:204)&#xa;&#x9;at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:257)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:245)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:199)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(A uthenticatorBase.java:587)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:184)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:164)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:578)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:156)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:972)&#xa;&#x9;at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:206)&#xa;&#x9;at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:833)&#xa;&#x9;at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:732)&#xa;& #x9;at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:619)&#xa;&#x9;at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:688)&#xa;&#x9;at
java.lang.Thread.run(Thread.java:613)&#xa;" errorCode="XDSRegistryError"
location="Exception thrown: java.lang.Exception&#xa;Registry rejected
metadata submission: &#xa;com.sun.ebxml.registry.RegistryException: Batch
entry 5 INSERT IGNORE INTO Slot (sequenceId, name_, slotType, value, parent)
VALUES( was aborted. Call getNextException() to see the cause.&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SlotDAO.insert(SlotDA O.java:226)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO.ins ert(RegistryObjectDAO.java:243)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.ExtrinsicObjectDAO.in sert(ExtrinsicObjectDAO.java:155)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:394)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:284)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.PersistenceManagerImpl.in sert(PersistenceManagerImpl.java:52)&#xa;&#x9;at
com.sun.ebxml.registry.lcm.LifeCycleManagerImpl.submitObject s(LifeCycleManagerImpl.java:126)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.Request.process(Request.ja va:146)&#xa;&#x9;at
gov.nist.ebxml.registry.MultiPartLCM.processLCMPostRequest(M ultiPartLCM.java:153)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.processPo stRequest(RestServlet.java:78)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.doPost(Re stServlet.java:103)&#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763) &#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) &#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:284)&#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:204)&#xa;&#x9;at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:257)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:245)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:199)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(A uthenticatorBase.java:587)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:184)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:164)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:578)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:156)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:972)&#xa;&#x9;at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:206)&#xa;&#x9;at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:833)&#xa;&#x9;at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:732)&#xa;& #x9;at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:619)&#xa;&#x9;at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:688)&#xa;&#x9;at
java.lang.Thread.run(Thread.java:613)&#xa;&#xa;& #xa;Nested exception
was:&#xa;Batch entry 5 INSERT IGNORE INTO Slot (sequenceId, name_, slotType,
value, parent) VALUES( was aborted. Call getNextException() to see the
cause.&#xa;&#x9;at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(Abs tractJdbc2Statement.java:107)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SlotDAO.insert(SlotDA O.java:220)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO.ins ert(RegistryObjectDAO.java:243)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.ExtrinsicObjectDAO.in sert(ExtrinsicObjectDAO.java:155)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:394)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:284)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.PersistenceManagerImpl.in sert(PersistenceManagerImpl.java:52)&#xa;&#x9;at
com.sun.ebxml.registry.lcm.LifeCycleManagerImpl.submitObject s(LifeCycleManagerImpl.java:126)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.Request.process(Request.ja va:146)&#xa;&#x9;at
gov.nist.ebxml.registry.MultiPartLCM.processLCMPostRequest(M ultiPartLCM.java:153)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.processPo stRequest(RestServlet.java:78)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.doPost(Re stServlet.java:103)&#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763) &#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) &#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:284)&#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:204)&#xa;&#x9;at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:257)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:245)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:199)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(A uthenticatorBase.java:587)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:184)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:164)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:578)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:156)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:972)&#xa;&#x9;at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:206)&#xa;&#x9;at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:833)&#xa;&#x9;at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:732)&#xa;& #x9;at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:619)&#xa;&#x9;at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:688)&#xa;&#x9;at
java.lang.Thread.run(Thread.java:613)&#xa;&#xa;java. lang.Exception:
Registry rejected metadata submission:
&#xa;com.sun.ebxml.registry.RegistryException: Batch entry 5 INSERT IGNORE INTO
Slot (sequenceId, name_, slotType, value, parent) VALUES( was aborted.
Call getNextException() to see the cause.&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SlotDAO.insert(SlotDA O.java:226)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO.ins ert(RegistryObjectDAO.java:243)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.ExtrinsicObjectDAO.in sert(ExtrinsicObjectDAO.java:155)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:394)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:284)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.PersistenceManagerImpl.in sert(PersistenceManagerImpl.java:52)&#xa;&#x9;at
com.sun.ebxml.registry.lcm.LifeCycleManagerImpl.submitObject s(LifeCycleManagerImpl.java:126)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.Request.process(Request.ja va:146)&#xa;&#x9;at
gov.nist.ebxml.registry.MultiPartLCM.processLCMPostRequest(M ultiPartLCM.java:153)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.processPo stRequest(RestServlet.java:78)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.doPost(Re stServlet.java:103)&#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763) &#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) &#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:284)&#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:204)&#xa;&#x9;at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:257)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:245)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:199)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(A uthenticatorBase.java:587)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:184)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:164)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:578)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:156)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:972)&#xa;&#x9;at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:206)&#xa;&#x9;at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:833)&#xa;&#x9;at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:732)&#xa;& #x9;at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:619)&#xa;&#x9;at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:688)&#xa;&#x9;at
java.lang.Thread.run(Thread.java:613)&#xa;&#xa;& #xa;Nested exception
was:&#xa;Batch entry 5 INSERT IGNORE INTO Slot (sequenceId, name_, slotType,
value, parent) VALUES( was aborted. Call getNextException() to see the
cause.&#xa;&#x9;at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(Abs tractJdbc2Statement.java:107)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SlotDAO.insert(SlotDA O.java:220)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.RegistryObjectDAO.ins ert(RegistryObjectDAO.java:243)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.ExtrinsicObjectDAO.in sert(ExtrinsicObjectDAO.java:155)&#xa;&#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:394)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.rdb.SQLPersistenceManager Impl.insert(SQLPersistenceManagerImpl.java:284)&#xa;& ;#x9;at
com.sun.ebxml.registry.persistence.PersistenceManagerImpl.in sert(PersistenceManagerImpl.java:52)&#xa;&#x9;at
com.sun.ebxml.registry.lcm.LifeCycleManagerImpl.submitObject s(LifeCycleManagerImpl.java:126)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.Request.process(Request.ja va:146)&#xa;&#x9;at
gov.nist.ebxml.registry.MultiPartLCM.processLCMPostRequest(M ultiPartLCM.java:153)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.processPo stRequest(RestServlet.java:78)&#xa;&#x9;at
com.sun.ebxml.registry.interfaces.rest.RestServlet.doPost(Re stServlet.java:103)&#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:763) &#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) &#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:284)&#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:204)&#xa;&#x9;at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:257)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invokeInternal (StandardContextValve.java:245)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:199)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(A uthenticatorBase.java:587)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:184)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:164)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:578)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:149)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:156)&#xa;&#x9;at
org.apache.catalina.core.StandardValveContext.invokeNext(Sta ndardValveContext.java:151)&#xa;&#x9;at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:567)&#xa;&#x9;at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:972)&#xa;&#x9;at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapte r.java:206)&#xa;&#x9;at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:833)&#xa;&#x9;at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:732)&#xa;& #x9;at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:619)&#xa;&#x9;at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:688)&#xa;&#x9;at
java.lang.Thread.run(Thread.java:613)&#xa;&#xa;& #x9;at
gov.nist.registry.ws.SubmitObjectsRequest.submit_to_backend_ registry(SubmitObjectsRequest.java:350)&#xa;&#x9;at
gov.nist.registry.ws.SubmitObjectsRequest.SubmitObjectsReque stInternal(SubmitObjectsRequest.java:230)&#xa;&#x9;a t
gov.nist.registry.ws.SubmitObjectsRequest.submitObjectsReque st(SubmitObjectsRequest.java:67)&#xa;&#x9;at
gov.nist.registry.ws.serviceclasses.RegistryB.SubmitObjectsR equest(RegistryB.java:32)&#xa;&#x9;at
sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)&#xa;&#x9;at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)&#xa;&#x9;at
java.lang.reflect.Method.invoke(Method.java:585)&#xa;&am p;#x9;at
gov.nist.registry.ws.receivers.AbstractXDSRawXMLINoutMessage Receiver.invokeBusinessLogic(AbstractXDSRawXMLINoutMessageRe ceiver.java:108)&#xa;&#x9;at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invo keBusinessLogic(AbstractInOutMessageReceiver.java:40)&#x a;&#x9;at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(A bstractMessageReceiver.java:96)&#xa;&#x9;at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:1 45)&#xa;&#x9;at
org.apache.axis2.transport.http.HTTPTransportUtils.processHT TPPostRequest(HTTPTransportUtils.java:275)&#xa;&#x9; at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServl et.java:120)&#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710) &#xa;&#x9;at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) &#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)&#xa;&#x9;at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)&#xa;&#x9;at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:210)&#xa;&#x9;at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)&#xa;&#x9;at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)&#xa;&#x9;at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)&#xa;&#x9;at
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(F astCommonAccessLogValve.java:482)&#xa;&#x9;at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogVa lve.java:542)&#xa;&#x9;at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)&#xa;&#x9;at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:151)&#xa;&#x9;at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:870)&#xa;&#x9;at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)&# xa;&#x9;at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)&#xa;&#x9;at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)&#xa;&#x9;at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:685)&#xa;&#x9;at
java.lang.Thread.run(Thread.java:613)&#xa;" severity="Error"
/></rs:RegistryErrorList></rs:RegistryResponse>
Previous Topic:ProvideAndRegisterDocumentSetType --> OMElement
Next Topic:ITI-14 - RetrieveDocument URI (Length Problem)
Goto Forum:
  


Current Time: Thu Jul 31 17:57:16 EDT 2014

Powered by FUDForum. Page generated in 0.01868 seconds