James.Strachan wrote: > > Sounds like you are communicating with an old broker; or using the > incorrect port (e.g. talking to the stomp port or something). Maybe > turn off the multicast discovery and double check your client jars > match your broker jars > >
Hi, I switched to the apache-activemq-4.1.1.jar, but that makes no difference. I also deleted all files from data/journal before starting, but is still dies in recoverMessage. Why is it even going there? What I also noticed was that I did not post the stacktrace of the root cause of the exception. The vm.VMTransport.oneway I see in that is also in the stack trace for my network connector problem, but I think that's just because both fail while trying to write, no? The setup I'm using is as follows: ActiveMQConnectionFactory f = new ActiveMQConnectionFactory("vm://prim?brokerConfig=xbean:file:///opt/TBD/sync/aqprimary.xml"); Connection aqc = f.createConnection(); aqc.start(); session = aqc.createSession(false, Session.AUTO_ACKNOWLEDGE); and /opt/TBD/sync/aqprimary.xml looks like this (notice I commented out the network connectors for now): <beans> <broker brokerName="prim" xmlns="http://activemq.org/config/1.0" useJmx="true"> <persistenceAdapter> <journaledJDBC journalLogFiles="5" dataDirectory="/opt/TBD/sync/data" dataSource="#oracle-ds"/> </persistenceAdapter> <!--networkConnectors> <networkConnector name="secondary" uri="static://(tcp://127.0.0.1:61618)" failover="true"> <excludedDestinations> <queue physicalName="compile.>"/> <queue physicalName="seccompile.>"/> </excludedDestinations> </networkConnector> </networkConnectors--> </broker> <bean id="oracle-ds" class="oracle.jdbc.pool.OracleDataSource"> <property name="URL" value="jdbc:oracle:thin:@aaa:1521:tbddb"/> <property name="user" value="xxx"/> <property name="password" value="yyy"/> </bean> </beans> (Just posting all of this here because I still think I'm doing something stupidly wrong) Best, Norbert -- View this message in context: http://www.nabble.com/Unknown-data-type%3A-73-exception-in-ActiveMQConnection.syncSendPacket-tf4016401s2354.html#a11417396 Sent from the ActiveMQ - User mailing list archive at Nabble.com.