You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by abhi1301 <ab...@yahoo.in> on 2014/01/31 14:04:30 UTC

java.lang.IllegalArgumentException: Invalid connect parameters: {wireFormat.maxInactivityDuration=-1}

I was using activemq-core-5.7.0 and everything was working fine. Then I tried
to upgrade to 5.8.0. I came to know that activemq-core is replaced by
activemq-client and activemq-broker. So I add both the jars
activemq-client-5.8.0 and activemq-broker-5.8.0 to my classpath. I also
added activemq-spring-5.8.0 and activemq-jaas-5.8.0.

My broker URL was
"tcp://localhost:61617?wireFormat.maxInactivityDuration=0". After upgrade I
got 

java.lang.IllegalArgumentException: Invalid connect parameters:
{wireFormat.maxInactivityDuration=-1}

If I simply use "tcp://localhost:61617" then everything is fine.

I also tried to add activemq-openwire-legacy-5.8.0.jar but no luck.

How to resolve this??



--
View this message in context: http://activemq.2283324.n4.nabble.com/java-lang-IllegalArgumentException-Invalid-connect-parameters-wireFormat-maxInactivityDuration-1-tp4677159.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.