Hello,
we are trying to put documents in Tamino through WebDAV; the doctype have subnode of type SxsFunc which refers to SXS Mapping Function.
Pasting the XML Doc in WebDav I got HTTTP Error 500 with below messages on Tomcat Window .
Have you any Ideaon this subject ?
Obviously inserting XML from X-Plorer we have no problem and SXS works as expected.
Regards
Lorenzo Alegnani
WARN [Thread-4] - Service com.softwareag.xtools.xdav.store.XContentStore@426b16
access error : com.softwareag.tamino.db.API.accessor.TDefineException: NestedEx
ception:Tamino access failure (INOXDE7915: (mp-valid-doctype-name.1) The doctype
name needs to be unique within a collection, )
Cause: NestedException:Tamino access failure (INOXDE7915: (mp-valid-doctype-name
.1) The doctype name needs to be unique within a collection, )
INFO [Thread-4] - Delisting service com.softwareag.xtools.xdav.store.XContentSt
ore@426b16 from active transaction with failure
com.softwareag.xtools.xdav.common.XDatastoreException: com.softwareag.tamino.db.
API.accessor.TDefineException: NestedException:Tamino access failure (INOXDE7915
: (mp-valid-doctype-name.1) The doctype name needs to be unique within a collect
ion, )
Cause: NestedException:Tamino access failure (INOXDE7915: (mp-valid-doctype-name
.1) The doctype name needs to be unique within a collection, )
at com.softwareag.xtools.xdav.datastore.XDbSession.createContent(Unknown
Source)
at com.softwareag.xtools.xdav.common.XContentHandler.create(Unknown Sour
ce)
at com.softwareag.xtools.xdav.store.XContentStore.createRevisionContent(
Unknown Source)
at org.apache.slide.store.AbstractStore.createRevisionContent(Unknown So
urce)
at org.apache.slide.store.StandardStore.createRevisionContent(Unknown So
urce)
at org.apache.slide.content.ContentImpl.create(Unknown Source)
at org.apache.slide.webdav.method.PutMethod.executeRequest(Unknown Sourc
e)
at org.apache.slide.webdav.method.AbstractWebdavMethod.run(Unknown Sourc
e)
at org.apache.slide.webdav.WebdavServlet.service(Unknown Source)
at com.softwareag.xtools.xdav.servlet.XWebdavServlet.service(Unknown Sou
rce)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2350)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
3)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:533)
at java.lang.Thread.run(Thread.java:479)
Nested Exception (com.softwareag.tamino.db.API.common.TAccessFailureException) s
tacktrace:
Tamino access failure (INOXDE7915: (mp-valid-doctype-name.1) The doctype name ne
eds to be unique within a collection, )
at com.softwareag.tamino.db.API.accessor.TAccessFailureVerifier.newAcces
sFailureException(Unknown Source)
at com.softwareag.tamino.db.API.accessor.TAccessFailureVerifier.verify(U
nknown Source)
at com.softwareag.tamino.db.API.accessor.TAccessFailureVerifier.verifyDe
fineResponse(Unknown Source)
at com.softwareag.tamino.db.API.accessor.TAbstractSchemaDefinitionAccess
or.define(Unknown Source)
at com.softwareag.xtools.xdav.datastore.XUtilDbSession.doCreateSchema(Un
known Source)
at com.softwareag.xtools.xdav.datastore.XUtilDbSession.createContentSche
ma(Unknown Source)
at com.softwareag.xtools.xdav.datastore.XDbHandler.schemaExists(Unknown
Source)
at com.softwareag.xtools.xdav.datastore.XDbSession.createContent(Unknown
Source)
at com.softwareag.xtools.xdav.common.XContentHandler.create(Unknown Sour
ce)
at com.softwareag.xtools.xdav.store.XContentStore.createRevisionContent(
Unknown Source)
at org.apache.slide.store.AbstractStore.createRevisionContent(Unknown So
urce)
at org.apache.slide.store.StandardStore.createRevisionContent(Unknown So
urce)
at org.apache.slide.content.ContentImpl.create(Unknown Source)
at org.apache.slide.webdav.method.PutMethod.executeRequest(Unknown Sourc
e)
at org.apache.slide.webdav.method.AbstractWebdavMethod.run(Unknown Sourc
e)
at org.apache.slide.webdav.WebdavServlet.service(Unknown Source)
at com.softwareag.xtools.xdav.servlet.XWebdavServlet.service(Unknown Sou
rce)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2350)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
3)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:533)
at java.lang.Thread.run(Thread.java:479)
org.apache.slide.common.ServiceAccessException: Service com.softwareag.xtools.xd
av.store.XContentStore@426b16 access error : com.softwareag.tamino.db.API.access
or.TDefineException: NestedException:Tamino access failure (INOXDE7915: (mp-vali
d-doctype-name.1) The doctype name needs to be unique within a collection, )
Cause: NestedException:Tamino access failure (INOXDE7915: (mp-valid-doctype-name
.1) The doctype name needs to be unique within a collection, )
at com.softwareag.xtools.xdav.store.XContentStore.createRevisionContent(
Unknown Source)
at org.apache.slide.store.AbstractStore.createRevisionContent(Unknown So
urce)
at org.apache.slide.store.StandardStore.createRevisionContent(Unknown So
urce)
at org.apache.slide.content.ContentImpl.create(Unknown Source)
at org.apache.slide.webdav.method.PutMethod.executeRequest(Unknown Sourc
e)
at org.apache.slide.webdav.method.AbstractWebdavMethod.run(Unknown Sourc
e)
at org.apache.slide.webdav.WebdavServlet.service(Unknown Source)
at com.softwareag.xtools.xdav.servlet.XWebdavServlet.service(Unknown Sou
rce)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
2350)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
3)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:533)
at java.lang.Thread.run(Thread.java:479)
WARN [Thread-4] - Rollback Transaction 9 xid Thread-4-1039705290205-9- in threa
d Thread-4
INFO [Thread-4] - PUT = 500 Internal Server Error (time: 541 ms) URI = /SXS/SXS
BSample1.xml
Please have a look at the thread http://tamino.forums.softwareag.com/viewtopic.php?p=1875 . This topic was posted twice.
Best regards,
Juergen