ActiveMQ didn't support JRE/JDK 7 until the 5.7.0 release. Nevertheless, did this work with JRE 6? Seems you're using a custom Socket impl... and activemq logs suggest it cannot open a connector because it's finding this class and not a valid PlainSocketImpl...
On Thu, Jul 25, 2013 at 10:26 AM, gxl5271 <gxl5...@yahoo.com> wrote: > My application works fine with jre1.6, but has problem with jre1.7 in the > windows environment. > > My activemq is 5.6. > > Here is the exception > > 2013-07-24 15:21:57,874 [ActiveMQ Transport Server: tcp://localhost:61716] > ERROR org.apache.activemq.broker.TransportConnector - Could not accept > connection : java.lang.ClassCastException: > com.kronos.ngd.platform.base.appplatform.socketfactory.RestrictedSocketImpl > cannot be cast to java.net.PlainSocketImpl > 2013-07-24 15:21:57,874 [ActiveMQ Transport Server: tcp://localhost:61716] > ERROR org.apache.activemq.broker.TransportConnector - Could not accept > connection : java.lang.ClassCastException: > com.kronos.ngd.platform.base.appplatform.socketfactory.RestrictedSocketImpl > cannot be cast to java.net.PlainSocketImpl > 2013-07-24 15:21:57,874 [NetworkServerThread_61] INFO root - > INTOUCH;0;DEBUG;DERBY;Wed Jul 24 15:21:57 GMT 2013 : > com.kronos.ngd.platform.base.appplatform.socketfactory.RestrictedSocketImpl > cannot be cast to java.net.PlainSocketImpl > > > I appreciate that someone can explain why this is happening. > > Thanks! > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/activemq-would-not-start-with-jre-1-7-tp4669725.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta