web stats
Axis timeout on Mirth in Linux - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Thread Tools Display Modes
Old 04-23-2009, 08:17 AM
treynolds_nms treynolds_nms is offline
Mirth Newb
Join Date: Mar 2009
Posts: 20
Default Axis timeout on Mirth in Linux

Hello all.

I have made progress on my plugin, but to test the core of what I want I wrote it up in a jar that is being run from a javascript channel.

This is connecting to a remote server using Axis/JaxRPC/SOAP

The code runs in Windows and from the command line in both windows and linux, However it is not working in Linux when run from inside of Mirth.

I moved the jar over to linux, I put it in the mirth lib directory
And I can run it from the command line without issue. When a channel uses the code it throws a read timeout exception

        {http://xml.apache.org/axis/}stackTrace:Internal Error: unable to process your request: javax.xml.soap.SOAPException: weblogic.xml.stream.XMLStreamException: Unable to instantiate the stream, the error was: Read timed out
I am a bit confused by this, I have tried adding an explicit timeout (up to 30 seconds, using setTimeout in the axis stub) with no success. The remote calls execute almost immediately when run from the command line on the linux machine. Any ideas here?

Java version in Linux : Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java version in Windows : Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Mirth version is 1.8.0 on both
Reply With Quote
Old 04-24-2009, 10:34 AM
treynolds_nms treynolds_nms is offline
Mirth Newb
Join Date: Mar 2009
Posts: 20

I solved the problem, but it raises a question.

The problem was the file client-config.wsdd in the /conf directory. That file is not there for instances of Mirth that used an installer, however it is there in instances that were from the tar.gz and zip files.

Removing this file solved the timeout problem (which, it turns out, happens in Windows if you used a zip install), but I am confused as to why this file is not present in the installed versions. Is this file essential for anything?

Reply With Quote
Old 05-15-2009, 05:35 PM
albertosaez albertosaez is offline
Join Date: Sep 2006
Location: Valladolid, Spain
Posts: 842
albertosaez is an unknown quantity at this point

The file is used to select the apache CommonsHTTPSender client to manage HTTP part of WS connections.

This client supports more auth schemes than the Sun one.
Reply With Quote
Old 07-05-2013, 09:55 PM
johnson33445 johnson33445 is offline
What's HL7?
Join Date: Jul 2013
Posts: 2
johnson33445 is on a distinguished road

I have always understood Send Timeout value to represent # ms to keep the connection open w/o any queued messages, then close the connection. I did not realize Mirth uses that value to wait before reopening the connection as well as best of luck for the problem is going to be solved

Last edited by johnson33445; 11-25-2014 at 03:31 AM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation