Hi Juergen and Martin
I’m running Tamino 4.1.1.1 (I think it patched to 4.1.1.2, but SMH still says 4.1.1.1)
Yes, I can reproduce the problem. After much experimentation, the problem is simple to re-create. Use the Tamino WebDAV basic client to:
PUT /taminowebdavserver/yourCollection/testE.xyz HTTP/1.1
Content-length: 72
Authorization: Basic QWRtaW5pc3RyYXRvcjpjaGFuZ2VtZQ==
Host: 192.168.1.52:4000
with content:
<?xml version="1.0" encoding="UTF-8"?>
humpty dumpty
then PUT this again (just hit the exclamation mark).
The response is:
HTTP/1.1 500 Internal Server Error: Service com.softwareag.xtools.xdav.store.XContentStore@cade31 access error : com.softwareag.tamino.db.API.accessor.TInsertException: NestedException:Retry after session mode update failed.
NestedException:Transaction mode cannot be updated. Problems parsing input stream.
NestedException:Failure updating the session state: SessionId: ->82, SessionKey: ->528575724
Cause: NestedException:Retry after session mode update failed.
NestedException:Transaction mode cannot be updated. Problems parsing input stream.
NestedException:Failure updating the session state: SessionId: ->82, SessionKey: ->528575724
In order to reproduce the problem, PUT xml content twice to a URL with an extension other than “.xml”. The problem occurs on the second PUT.
The problem will occur if the content is different on each PUT, as soon as two consecutive PUTs have the same root element.
The problem occurs with or without a DOCTYPE declaration.
The problem does not occur with Tamino 3.1.2/ TWS 3.1.4. I have not tested Tamino 3.1.2 with TWS 4.1.1 though.
Fwiw, i’ve just now looked at administration/etc/globals/deltav.xml
It contains:
/history/${store}
/workspace/${store}
/workingresource/${store}
checkout-checkin
false
/administration
forbidden
forbidden
org.apache.slide.webdav.util.resourcekind.AbstractResourceKind
org.apache.slide.webdav.util.DeltavUriRedirector
Hmmm, this is not what I put there. It is different to Domain.xml, which contains what i expected to see in deltav.xml:
forbidden
/history/${store}
true
/workspace/${store}
forbidden
/workingresource/${store}
checkout-unlocked-checkin
cheers,
Jason
#API-Management#webMethods#Tamino