Unknown IMS communication error

51 views
Skip to first unread message

jaz...@bc.edu

unread,
Apr 1, 2016, 6:55:16 PM4/1/16
to ace-devel
Hi,

As of this morning, we've been having troubles auditing a particular collection (see log details below). Other collections seem to audit fine. We've tried deleting/recreating the collection in ACE and restarting tomcat, but we keep getting the same error message. Any guidance would be much appreciated.

Thanks,

Adam

Event Type: UNKNOWN_IMS_COMMUNICATION_ERROR - Unkown error trying to communicate with the IMS, check IMS logs 
Details:
edu.umiacs.ace.ims.api.IMSException: [200] Client error: Couldn't create SOAP message due to exception: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,111]
Message: XML document structures must start and end within the same entity.
	at edu.umiacs.ace.ims.api.IMSService.handleException(IMSService.java:281)
	at edu.umiacs.ace.ims.api.IMSService.requestTokensImmediate(IMSService.java:175)
	at edu.umiacs.ace.ims.api.ImmediateTokenRequestBatch.processBatch(ImmediateTokenRequestBatch.java:165)
	at edu.umiacs.ace.ims.api.ImmediateTokenRequestBatch.run(ImmediateTokenRequestBatch.java:191)
Caused by: com.sun.xml.internal.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,111]
Message: XML document structures must start and end within the same entity.
	at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:348)
	at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:254)
	at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:203)
	at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:122)
	at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
	at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
	at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
	at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
	at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
	at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
	at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:98)
	at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
	at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
	at com.sun.proxy.$Proxy71.requestTokensImmediate(Unknown Source)
	at edu.umiacs.ace.ims.api.IMSService.requestTokensImmediate(IMSService.java:171)
	... 2 more
Caused by: com.sun.xml.internal.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,111]
Message: XML document structures must start and end within the same entity.
	at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:256)
	at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:84)
	at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:99)
	at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:89)
	at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:219)
	at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:292)
	at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:118)
	at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:343)
	... 17 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,111]
Message: XML document structures must start and end within the same entity.
	at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:593)
	at com.sun.xml.internal.ws.util.xml.XMLStreamReaderFilter.next(XMLStreamReaderFilter.java:81)
	at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:65)
	... 23 more

Michael Ritter

unread,
Apr 1, 2016, 7:18:13 PM4/1/16
to ace-...@googlegroups.com
Hi Adam,

Looks like this might actually be something with the IMS - it was having issues with its connection to its database based on what I see in the logs on our server. I've restarted the server and it looks to be ok now (I ran an audit myself which didn't show any ims problems), I'll have to dig in further to see if I can find out anything behind the connection issues. Thanks for letting me know about this, it's actually been going on for a few days now.

If you keep having problems auditing that collection let me know, hopefully it was just a server side problem.

-Mike

--
You received this message because you are subscribed to the Google Groups "ace-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ace-devel+...@googlegroups.com.
To post to this group, send email to ace-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ace-devel.
For more options, visit https://groups.google.com/d/optout.

jaz...@bc.edu

unread,
Apr 13, 2016, 1:00:56 PM4/13/16
to ace-devel
Hi Mike,

Sorry for the delayed reply. Looks like the server restart fixed everything on our end. Thanks so much for your help!

Adam
Reply all
Reply to author
Forward
0 new messages