You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Sigmund <si...@gmail.com> on 2008/05/01 11:32:37 UTC

tired of IllegalStateException/TransportDisposedIOException exceptions while running unit tests

I'm using vm transport while running my tests, everytime the vm shuts down
after a module is tested I get a long stacktrace with
IllegalStateException/TransportDisposedIOException, shutdown in progress.
It's in between test runs for each module.

How do I get rid of this?

/S
-- 
View this message in context: http://www.nabble.com/tired-of-IllegalStateException-TransportDisposedIOException-exceptions-while-running-unit-tests-tp16993187s22882p16993187.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: tired of IllegalStateException/TransportDisposedIOException exceptions while running unit tests

Posted by James Strachan <ja...@gmail.com>.
Whats the easiest way to reproduce it? I'll whip up a unit test case
in AMQ if you could give me some pointers

2008/5/2 Sigmund <si...@gmail.com>:
>
>  It seems to occur with various versions of 5.x I've tried. Currently 5.0.0..
>
>  /S
>
>
>
>
>  James.Strachan wrote:
>  >
>  > Which version of ActiveMQ are you using?
>  >
>  > 2008/5/1 Sigmund <si...@gmail.com>:
>  >>
>  >>  I'm using vm transport while running my tests, everytime the vm shuts
>  >> down
>  >>  after a module is tested I get a long stacktrace with
>  >>  IllegalStateException/TransportDisposedIOException, shutdown in
>  >> progress.
>  >>  It's in between test runs for each module.
>  >>
>  >>  How do I get rid of this?
>  >>
>  >>  /S
>  >>  --
>  >>  View this message in context:
>  >> http://www.nabble.com/tired-of-IllegalStateException-TransportDisposedIOException-exceptions-while-running-unit-tests-tp16993187s22882p16993187.html
>  >>  Sent from the Camel - Users mailing list archive at Nabble.com.
>  >>
>  >>
>  >
>  >
>  >
>  > --
>  > James
>  > -------
>  > http://macstrac.blogspot.com/
>  >
>  > Open Source Integration
>  > http://open.iona.com
>  >
>  >
>
>  --
>  View this message in context: http://www.nabble.com/tired-of-IllegalStateException-TransportDisposedIOException-exceptions-while-running-unit-tests-tp16993187s22882p17008783.html
>
>
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Re: tired of IllegalStateException/TransportDisposedIOException exceptions while running unit tests

Posted by Sigmund <si...@gmail.com>.
It seems to occur with various versions of 5.x I've tried. Currently 5.0.0..

/S


James.Strachan wrote:
> 
> Which version of ActiveMQ are you using?
> 
> 2008/5/1 Sigmund <si...@gmail.com>:
>>
>>  I'm using vm transport while running my tests, everytime the vm shuts
>> down
>>  after a module is tested I get a long stacktrace with
>>  IllegalStateException/TransportDisposedIOException, shutdown in
>> progress.
>>  It's in between test runs for each module.
>>
>>  How do I get rid of this?
>>
>>  /S
>>  --
>>  View this message in context:
>> http://www.nabble.com/tired-of-IllegalStateException-TransportDisposedIOException-exceptions-while-running-unit-tests-tp16993187s22882p16993187.html
>>  Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: http://www.nabble.com/tired-of-IllegalStateException-TransportDisposedIOException-exceptions-while-running-unit-tests-tp16993187s22882p17008783.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: tired of IllegalStateException/TransportDisposedIOException exceptions while running unit tests

Posted by James Strachan <ja...@gmail.com>.
Which version of ActiveMQ are you using?

2008/5/1 Sigmund <si...@gmail.com>:
>
>  I'm using vm transport while running my tests, everytime the vm shuts down
>  after a module is tested I get a long stacktrace with
>  IllegalStateException/TransportDisposedIOException, shutdown in progress.
>  It's in between test runs for each module.
>
>  How do I get rid of this?
>
>  /S
>  --
>  View this message in context: http://www.nabble.com/tired-of-IllegalStateException-TransportDisposedIOException-exceptions-while-running-unit-tests-tp16993187s22882p16993187.html
>  Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com