activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: ActiveMQ and Sybase
Date Thu, 29 Jun 2006 14:40:39 GMT
That error looks like your client and the broker are using different
jars. Maybe download 4.0.1, run the broker using that binary distro
then use the incubator-activemq.jar from the 4.0.1 release?

On 6/29/06, DavidField <david.field@uk.bnpparibas.com> wrote:
>
> James
>
> Thanks. We looked at 4.x, but got this output when sending messagers to a
> queue:
>
> "C:\Program Files\Java\jdk1.5.0_06\bin\java" -Didea.launcher.port=7544
> "-Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA 5.1\bin"
> -Dfile.encoding=windows-1252 -classpath "C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\deploy.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\javaws.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\plugin.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\ext\dnsns.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\ext\localedata.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\ext\sunjce_provider.jar;C:\Program
> Files\Java\jdk1.5.0_06\jre\lib\ext\sunpkcs11.jar;C:\SubVersion\MRXbe\trunk\Mongoose\target\test-classes;C:\SubVersion\MRXbe\trunk\Mongoose\target\classes;C:\SubVersion\MRXbe\trunk\Mongoose\lib\axis.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\activemq-core-3.2.2.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-validator.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-io.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\geronimo-spec-jta-1.0.1B-rc4.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-codec.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-logging.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-beanutils.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\geronimo-spec-jms-1.1-rc4.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-attributes-compiler.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\saaj.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\wsdl4j.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-attributes-api.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-httpclient.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-dbcp.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\junit.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-discovery.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\geronimo-spec-j2ee-management-1.0-rc4.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\jaxrpc.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\geronimo-spec-j2ee-jacc-1.0-rc4.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-fileupload.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-lang.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\jms.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-digester.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-pool.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\activeio-1.1.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\concurrent-1.3.4.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\commons-collections.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-support.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-remoting.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-jdbc.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-web.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-beans.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-dao.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-core.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-aop.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-context.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\spring-aspects.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\jug-1.1.2.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\javamail-1.3.3.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\geronimo-spec-j2ee-connector-1.5-rc4.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\backport-util-concurrent-2.1.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\axis-ant.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\mule-1.3-rc2.jar;C:\SubVersion\MRXbe\trunk\Mongoose\src\test\usecasetests\config\app_ctx;C:\SubVersion\MRXbe\trunk\Mongoose\lib\mongoose-mule.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\activemq-core-4.0.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\activemq-optional-4.0.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\activeio-core-3.0-beta3.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\activecluster-4.0.jar;C:\SubVersion\MRXbe\trunk\Mongoose\lib\activemq-console-4.0.jar;C:\Program
> Files\JetBrains\IntelliJ IDEA 5.1\lib\idea_rt.jar"
> com.intellij.rt.execution.application.AppMain
> com.intellij.rt.execution.junit2.JUnitStarter -ideVersion5
> com.bnpparibas.mongoose.usecases.tests.TestWebServiceClient,testPutMessageOnQueueForMuleInSpring
> 29-Jun-2006 15:35:55 org.springframework.core.CollectionFactory <clinit>
> INFO: JDK 1.4+ collections available
> 29-Jun-2006 15:35:55 org.springframework.core.CollectionFactory <clinit>
> INFO: Commons Collections 3.x available
> 29-Jun-2006 15:35:55
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader
> loadBeanDefinitions
> INFO: Loading XML bean definitions from class path resource
> [app_ctx/applicationContextForMuleInSpringUseCaseTests.xml]
> 29-Jun-2006 15:35:55
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
> initHandlerMappings
> INFO: Ignoring handler
> [org.springframework.web.servlet.config.MvcNamespaceHandler]: class not
> found
> 29-Jun-2006 15:35:56
> org.springframework.context.support.AbstractRefreshableApplicationContext
> refreshBeanFactory
> INFO: Bean factory for application context
> [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=21491205]:
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [connectionFactory,jmsTemplate,myQueue,useCaseSpringId]; root
> of BeanFactory hierarchy
> 29-Jun-2006 15:35:56
> org.springframework.context.support.AbstractApplicationContext refresh
> INFO: 4 beans defined in application context
> [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=21491205]
> 29-Jun-2006 15:35:56
> org.springframework.context.support.AbstractApplicationContext
> initMessageSource
> INFO: Unable to locate MessageSource with name 'messageSource': using
> default [org.springframework.context.support.DelegatingMessageSource@7109c4]
> 29-Jun-2006 15:35:56
> org.springframework.context.support.AbstractApplicationContext
> initApplicationEventMulticaster
> INFO: Unable to locate ApplicationEventMulticaster with name
> 'applicationEventMulticaster': using default
> [org.springframework.context.event.SimpleApplicationEventMulticaster@136a43c]
> 29-Jun-2006 15:35:56
> org.springframework.beans.factory.support.DefaultListableBeanFactory
> preInstantiateSingletons
> INFO: Pre-instantiating singletons in factory
> [org.springframework.beans.factory.support.DefaultListableBeanFactory
> defining beans [connectionFactory,jmsTemplate,myQueue,useCaseSpringId]; root
> of BeanFactory hierarchy]
> 29-Jun-2006 15:35:56 org.activemq.ActiveMQConnection statusChanged
> INFO: channel status changed: Channel: ReliableTransportChannel:
> TcpTransportChannel:
> Socket[addr=localhost/127.0.0.1,port=61617,localport=2461] has connected
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE:
> -98
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE: 1
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE: 65
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE: 99
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE:
> 116
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE:
> 105
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE:
> 118
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE:
> 101
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE: 77
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE: 81
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE: 1
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE: 1
> 29-Jun-2006 15:35:56 org.activemq.io.impl.AbstractDefaultWireFormat
> readPacket
> SEVERE: Could not find PacketReader for packet type: UNKNOWN PACKET TYPE:
> -116
>
> This was with the following ActiveMQ 4 jars installed on the client:
> activemq-core-4.0.jar
> activemq-console-4.0.jar
> activemq-optional-4.0.jar
> activemq-ra-4.0.rar
>
> Are they any I missed out?
> --
> View this message in context: http://www.nabble.com/ActiveMQ-and-Sybase-tf1866950.html#a5103920
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message