activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne1285 <WayneSIr...@hotmail.com>
Subject POJO MDB Unknown data type: 0
Date Sun, 26 Mar 2006 09:55:08 GMT

I am attempting to use a POJO MDB by using Jencks JCA Container 1.1.2 and
ActiveMQ 4.0-m3 and SpringFramework 1.2.6  I am using the most basic setup. 
Here is the spring-config file.

================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd" >

<!-- Example found at
http://docs.codehaus.org/display/ACTIVEMQ/JCA+Container -->

<beans>
	<bean id="JCAContainer" class="org.jencks.JCAContainer">
		<property name="bootstrapContext">
			<bean
				class="org.jencks.factory.BootstrapContextFactoryBean">
				<property name="threadPoolSize" value="5" />
			</bean>
		</property>
		<property name="resourceAdapter">
			<bean id="activeMqResourceAdapter"
				class="org.activemq.ra.ActiveMQResourceAdapter">
				<property name="serverUrl"
					value="tcp://www.sample.com:62626" />
			</bean>
		</property>
	</bean>

	<bean id="SampleActivity" class="org.jencks.JCAConnector">
		<property name="jcaContainer" ref="JCAContainer" />
		<property name="activationSpec">
			<bean class="org.activemq.ra.ActiveMQActivationSpec">
				<property name="destination" value="activity" />
				<property name="destinationType"
					value="javax.jms.Queue" />
			</bean>
		</property>
		<property name="ref" value="ActivityHandler" />
	</bean>

	<bean id="ActivityHandler"
		class="com.sample.ActivityHandler"
		singleton="false" />

</beans>
================================================
The handler is as simple as it can get.

public class ActivityHandler implements MessageListener {

    private static Logger s_logger =
Logger.getLogger(ActivityHandler.class);

    public void onMessage(Message _message) {
        s_logger.debug("Received message:" + _message);
    }
}
===================================
Here is the log file

 INFO  Loading XML bean definitions from file
[C:\Development\WorkspacesV4\Sample\SampleServerJar\target\spring-config.xml]
-- 03:12:58.925
 DEBUG  Using JAXP implementation
[com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl@15fea60]
-- 03:12:58.925
 DEBUG  Trying to resolve XML entity with public ID [-//SPRING//DTD
BEAN//EN] and system ID
[http://www.springframework.org/dtd/spring-beans.dtd] -- 03:12:58.972
 DEBUG  Trying to locate [spring-beans.dtd] in Spring jar -- 03:12:58.972
 DEBUG  Found beans DTD
[http://www.springframework.org/dtd/spring-beans.dtd] in classpath --
03:12:58.988
 DEBUG  Loading bean definitions -- 03:12:59.019
 DEBUG  Default lazy init 'false' -- 03:12:59.019
 DEBUG  Default autowire 'no' -- 03:12:59.019
 DEBUG  Default dependency check 'none' -- 03:12:59.019
 DEBUG  Neither XML 'id' nor 'name' specified - using generated bean name
[org.jencks.factory.BootstrapContextFactoryBean#87816d] -- 03:12:59.050
 DEBUG  Neither XML 'id' nor 'name' specified - using generated bean name
[org.activemq.ra.ActiveMQActivationSpec#7ffe01] -- 03:12:59.066
 DEBUG  Found 3 <bean> elements in file
[C:\Development\WorkspacesV4\Sample\SampleServerJar\target\spring-config.xml]
-- 03:12:59.081
 DEBUG  Loaded 3 bean definitions from location pattern
[/C:/Development/WorkspacesV4/Sample/SampleServerJar/target/spring-config.xml]
-- 03:12:59.081
  INFO  Bean factory for application context
[org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=20181463]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [JCAContainer,SamplePlayerActivity,ActivityHandler]; root of
BeanFactory hierarchy -- 03:12:59.081
  INFO  3 beans defined in application context
[org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=20181463]
-- 03:12:59.081
  INFO  JDK 1.4+ collections available -- 03:12:59.113
 DEBUG  Creating [java.util.LinkedHashMap] -- 03:12:59.113
  INFO  Unable to locate MessageSource with name 'messageSource': using
default
[org.springframework.context.support.DelegatingMessageSource@16a9d42] --
03:12:59.113
 DEBUG  Creating [java.util.LinkedHashSet] -- 03:12:59.113
  INFO  Unable to locate ApplicationEventMulticaster with name
'applicationEventMulticaster': using default
[org.springframework.context.event.SimpleApplicationEventMulticaster@1430b5c]
-- 03:12:59.113
 DEBUG  Creating [java.util.LinkedHashMap] -- 03:12:59.113
  INFO  Pre-instantiating singletons in factory
[org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [JCAContainer,SamplePlayerActivity,ActivityHandler]; root of
BeanFactory hierarchy] -- 03:12:59.113
 DEBUG  Creating shared instance of singleton bean 'JCAContainer' --
03:12:59.113
 DEBUG  Creating instance of bean 'JCAContainer' with merged definition
[Root bean: class [org.jencks.JCAContainer]; abstract=false; singleton=true;
lazyInit=false; autowire=0; dependencyCheck=0; initMethodName=null;
destroyMethodName=null; factoryMethodName=null; factoryBeanName=null;
defined in file
[C:\Development\WorkspacesV4\Sample\SampleServerJar\target\spring-config.xml]]
-- 03:12:59.113
 DEBUG  Invoking BeanPostProcessors before instantiation of bean
'JCAContainer' -- 03:12:59.128
 DEBUG  Getting BeanInfo for class [org.jencks.JCAContainer] -- 03:12:59.160
 DEBUG  Caching PropertyDescriptors for class [org.jencks.JCAContainer] --
03:12:59.160
 DEBUG  Found property 'applicationContext' of type
[org.springframework.context.ApplicationContext] -- 03:12:59.160
 DEBUG  Found property 'bootstrapContext' of type
[javax.resource.spi.BootstrapContext] -- 03:12:59.160
 DEBUG  Found property 'class' of type [java.lang.Class] -- 03:12:59.160
 DEBUG  Found property 'lazyLoad' of type [boolean] -- 03:12:59.160
 DEBUG  Found property 'resourceAdapter' of type
[javax.resource.spi.ResourceAdapter] -- 03:12:59.160
 DEBUG  Class [org.jencks.JCAContainer] is cache-safe -- 03:12:59.160
 DEBUG  Resolving inner bean definition
'org.jencks.factory.BootstrapContextFactoryBean#87816d' of bean
'JCAContainer' -- 03:12:59.160
 DEBUG  Creating instance of bean
'org.jencks.factory.BootstrapContextFactoryBean#87816d' with merged
definition [Root bean: class
[org.jencks.factory.BootstrapContextFactoryBean]; abstract=false;
singleton=true; lazyInit=false; autowire=0; dependencyCheck=0;
initMethodName=null; destroyMethodName=null; factoryMethodName=null;
factoryBeanName=null; defined in file
[C:\Development\WorkspacesV4\Sample\SampleServerJar\target\spring-config.xml]]
-- 03:12:59.160
 DEBUG  Invoking BeanPostProcessors before instantiation of bean
'org.jencks.factory.BootstrapContextFactoryBean#87816d' -- 03:12:59.160
 DEBUG  Getting BeanInfo for class
[org.jencks.factory.BootstrapContextFactoryBean] -- 03:12:59.160
 DEBUG  Caching PropertyDescriptors for class
[org.jencks.factory.BootstrapContextFactoryBean] -- 03:12:59.175
 DEBUG  Found property 'applicationContext' of type
[org.springframework.context.ApplicationContext] -- 03:12:59.175
 DEBUG  Found property 'class' of type [java.lang.Class] -- 03:12:59.175
 DEBUG  Found property 'defaultTransactionTimeoutSeconds' of type [int] --
03:12:59.175
 DEBUG  Found property 'object' of type [java.lang.Object] -- 03:12:59.175
 DEBUG  Found property 'objectType' of type [java.lang.Class] --
03:12:59.175
 DEBUG  Found property 'resourceManagers' of type [java.util.Collection] --
03:12:59.175
 DEBUG  Found property 'singleton' of type [boolean] -- 03:12:59.175
 DEBUG  Found property 'threadPoolSize' of type [int] -- 03:12:59.175
 DEBUG  Found property 'transactionContextManager' of type
[org.apache.geronimo.transaction.context.TransactionContextManager] --
03:12:59.175
 DEBUG  Found property 'transactionLog' of type
[org.apache.geronimo.transaction.manager.TransactionLog] -- 03:12:59.175
 DEBUG  Found property 'transactionManager' of type
[org.apache.geronimo.transaction.ExtendedTransactionManager] -- 03:12:59.175
 DEBUG  Found property 'workManager' of type
[org.apache.geronimo.connector.work.GeronimoWorkManager] -- 03:12:59.175
 DEBUG  Found property 'xidImporter' of type
[org.apache.geronimo.transaction.manager.XidImporter] -- 03:12:59.175
 DEBUG  Class [org.jencks.factory.BootstrapContextFactoryBean] is cache-safe
-- 03:12:59.175
 DEBUG  Converting String to [int] using property editor
[org.springframework.beans.propertyeditors.CustomNumberEditor@176c74b] --
03:12:59.175
 DEBUG  About to invoke write method [public void
org.jencks.factory.BootstrapContextFactoryBean.setThreadPoolSize(int)] on
object of class [org.jencks.factory.BootstrapContextFactoryBean] --
03:12:59.191
 DEBUG  Invoked write method [public void
org.jencks.factory.BootstrapContextFactoryBean.setThreadPoolSize(int)] with
value of type [int] -- 03:12:59.191
 DEBUG  Invoking BeanPostProcessors before initialization of bean
'org.jencks.factory.BootstrapContextFactoryBean#87816d' -- 03:12:59.191
 DEBUG  Invoking setApplicationContext on ApplicationContextAware bean
'org.jencks.factory.BootstrapContextFactoryBean#87816d' -- 03:12:59.191
 DEBUG  Invoking afterPropertiesSet() on bean with name
'org.jencks.factory.BootstrapContextFactoryBean#87816d' -- 03:12:59.191
 DEBUG  Invoking BeanPostProcessors after initialization of bean
'org.jencks.factory.BootstrapContextFactoryBean#87816d' -- 03:12:59.191
 DEBUG  Creating [java.util.LinkedHashSet] -- 03:12:59.191
 DEBUG  Bean with name
'org.jencks.factory.BootstrapContextFactoryBean#87816d' is a factory bean --
03:12:59.191
 DEBUG  Creating [java.util.LinkedHashMap] -- 03:12:59.191
 DEBUG  Creating [java.util.LinkedHashMap] -- 03:12:59.191
 DEBUG  Resolving inner bean definition 'activeMqResourceAdapter' of bean
'JCAContainer' -- 03:12:59.222
 DEBUG  Creating instance of bean 'activeMqResourceAdapter' with merged
definition [Root bean: class [org.activemq.ra.ActiveMQResourceAdapter];
abstract=false; singleton=true; lazyInit=false; autowire=0;
dependencyCheck=0; initMethodName=null; destroyMethodName=null;
factoryMethodName=null; factoryBeanName=null; defined in file
[C:\Development\WorkspacesV4\Sample\SampleServerJar\target\spring-config.xml]]
-- 03:12:59.222
 DEBUG  Invoking BeanPostProcessors before instantiation of bean
'activeMqResourceAdapter' -- 03:12:59.222
 DEBUG  Getting BeanInfo for class [org.activemq.ra.ActiveMQResourceAdapter]
-- 03:12:59.222
 DEBUG  Caching PropertyDescriptors for class
[org.activemq.ra.ActiveMQResourceAdapter] -- 03:12:59.238
 DEBUG  Found property 'bootstrapContext' of type
[javax.resource.spi.BootstrapContext] -- 03:12:59.238
 DEBUG  Found property 'brokerXmlConfig' of type [java.lang.String] --
03:12:59.238
 DEBUG  Found property 'class' of type [java.lang.Class] -- 03:12:59.238
 DEBUG  Found property 'clientid' of type [java.lang.String] -- 03:12:59.238
 DEBUG  Found property 'info' of type
[org.activemq.ra.ActiveMQConnectionRequestInfo] -- 03:12:59.238
 DEBUG  Found property 'password' of type [java.lang.String] -- 03:12:59.238
 DEBUG  Found property 'serverUrl' of type [java.lang.String] --
03:12:59.238
 DEBUG  Found property 'useInboundSession' of type [java.lang.Boolean] --
03:12:59.238
 DEBUG  Found property 'userName' of type [java.lang.String] -- 03:12:59.238
 DEBUG  Class [org.activemq.ra.ActiveMQResourceAdapter] is cache-safe --
03:12:59.238
 DEBUG  About to invoke write method [public void
org.activemq.ra.ActiveMQResourceAdapter.setServerUrl(java.lang.String)] on
object of class [org.activemq.ra.ActiveMQResourceAdapter] -- 03:12:59.238
 DEBUG  Invoked write method [public void
org.activemq.ra.ActiveMQResourceAdapter.setServerUrl(java.lang.String)] with
value of type [java.lang.String] -- 03:12:59.238
 DEBUG  Invoking BeanPostProcessors before initialization of bean
'activeMqResourceAdapter' -- 03:12:59.238
 DEBUG  Invoking BeanPostProcessors after initialization of bean
'activeMqResourceAdapter' -- 03:12:59.238
 DEBUG  Creating [java.util.LinkedHashSet] -- 03:12:59.238
 DEBUG  About to invoke write method [public void
org.jencks.JCAContainer.setBootstrapContext(javax.resource.spi.BootstrapContext)]
on object of class [org.jencks.JCAContainer] -- 03:12:59.238
 DEBUG  Invoked write method [public void
org.jencks.JCAContainer.setBootstrapContext(javax.resource.spi.BootstrapContext)]
with value of type [javax.resource.spi.BootstrapContext] -- 03:12:59.238
 DEBUG  About to invoke write method [public void
org.jencks.JCAContainer.setResourceAdapter(javax.resource.spi.ResourceAdapter)]
on object of class [org.jencks.JCAContainer] -- 03:12:59.238
 DEBUG  Invoked write method [public void
org.jencks.JCAContainer.setResourceAdapter(javax.resource.spi.ResourceAdapter)]
with value of type [javax.resource.spi.ResourceAdapter] -- 03:12:59.238
 DEBUG  Invoking BeanPostProcessors before initialization of bean
'JCAContainer' -- 03:12:59.238
 DEBUG  Invoking setApplicationContext on ApplicationContextAware bean
'JCAContainer' -- 03:12:59.238
 DEBUG  Invoking afterPropertiesSet() on bean with name 'JCAContainer' --
03:12:59.238
 DEBUG  Creating [java.util.LinkedHashMap] -- 03:12:59.238
 DEBUG  Creating shared instance of singleton bean 'SamplePlayerActivity' --
03:12:59.238
 DEBUG  Creating instance of bean 'SamplePlayerActivity' with merged
definition [Root bean: class [org.jencks.JCAConnector]; abstract=false;
singleton=true; lazyInit=false; autowire=0; dependencyCheck=0;
initMethodName=null; destroyMethodName=null; factoryMethodName=null;
factoryBeanName=null; defined in file
[C:\Development\WorkspacesV4\Sample\SampleServerJar\target\spring-config.xml]]
-- 03:12:59.238
 DEBUG  Invoking BeanPostProcessors before instantiation of bean
'SamplePlayerActivity' -- 03:12:59.238
 DEBUG  Getting BeanInfo for class [org.jencks.JCAConnector] -- 03:12:59.238
 DEBUG  Caching PropertyDescriptors for class [org.jencks.JCAConnector] --
03:12:59.238
 DEBUG  Found property 'activationSpec' of type
[javax.resource.spi.ActivationSpec] -- 03:12:59.238
 DEBUG  Found property 'beanFactory' of type
[org.springframework.beans.factory.BeanFactory] -- 03:12:59.238
 DEBUG  Found property 'beanName' of type [java.lang.String] -- 03:12:59.238
 DEBUG  Found property 'bootstrapContext' of type
[javax.resource.spi.BootstrapContext] -- 03:12:59.238
 DEBUG  Found property 'class' of type [java.lang.Class] -- 03:12:59.238
 DEBUG  Found property 'endpointFactory' of type
[javax.resource.spi.endpoint.MessageEndpointFactory] -- 03:12:59.238
 DEBUG  Found property 'jcaContainer' of type [org.jencks.JCAContainer] --
03:12:59.253
 DEBUG  Found property 'name' of type [java.lang.String] -- 03:12:59.253
 DEBUG  Found property 'ref' of type [java.lang.String] -- 03:12:59.253
 DEBUG  Found property 'resourceAdapter' of type
[javax.resource.spi.ResourceAdapter] -- 03:12:59.253
 DEBUG  Found property 'transactionManager' of type
[javax.transaction.TransactionManager] -- 03:12:59.253
 DEBUG  Class [org.jencks.JCAConnector] is cache-safe -- 03:12:59.253
 DEBUG  Resolving reference from property 'jcaContainer' in bean
'SamplePlayerActivity' to bean 'JCAContainer' -- 03:12:59.253
 DEBUG  Creating [java.util.LinkedHashSet] -- 03:12:59.253
 DEBUG  Returning cached instance of singleton bean 'JCAContainer' --
03:12:59.253
 DEBUG  Resolving inner bean definition
'org.activemq.ra.ActiveMQActivationSpec#7ffe01' of bean
'SamplePlayerActivity' -- 03:12:59.253
 DEBUG  Creating instance of bean
'org.activemq.ra.ActiveMQActivationSpec#7ffe01' with merged definition [Root
bean: class [org.activemq.ra.ActiveMQActivationSpec]; abstract=false;
singleton=true; lazyInit=false; autowire=0; dependencyCheck=0;
initMethodName=null; destroyMethodName=null; factoryMethodName=null;
factoryBeanName=null; defined in file
[C:\Development\WorkspacesV4\Sample\SampleServerJar\target\spring-config.xml]]
-- 03:12:59.253
 DEBUG  Invoking BeanPostProcessors before instantiation of bean
'org.activemq.ra.ActiveMQActivationSpec#7ffe01' -- 03:12:59.253
 DEBUG  Getting BeanInfo for class [org.activemq.ra.ActiveMQActivationSpec]
-- 03:12:59.253
 DEBUG  Caching PropertyDescriptors for class
[org.activemq.ra.ActiveMQActivationSpec] -- 03:12:59.253
 DEBUG  Found property 'acknowledgeMode' of type [java.lang.String] --
03:12:59.253
 DEBUG  Found property 'acknowledgeModeForSession' of type [int] --
03:12:59.253
 DEBUG  Found property 'activeMQDestination' of type
[org.activemq.command.ActiveMQDestination] -- 03:12:59.253
 DEBUG  Found property 'class' of type [java.lang.Class] -- 03:12:59.269
 DEBUG  Found property 'clientId' of type [java.lang.String] -- 03:12:59.269
 DEBUG  Found property 'destination' of type [java.lang.String] --
03:12:59.269
 DEBUG  Found property 'destinationType' of type [java.lang.String] --
03:12:59.269
 DEBUG  Found property 'durableSubscription' of type [boolean] --
03:12:59.269
 DEBUG  Found property 'enableBatch' of type [java.lang.String] --
03:12:59.269
 DEBUG  Found property 'enableBatchBooleanValue' of type [boolean] --
03:12:59.269
 DEBUG  Found property 'maxMessagesPerBatch' of type [java.lang.String] --
03:12:59.285
 DEBUG  Found property 'maxMessagesPerBatchIntValue' of type [int] --
03:12:59.285
 DEBUG  Found property 'maxMessagesPerSessions' of type [java.lang.String]
-- 03:12:59.285
 DEBUG  Found property 'maxMessagesPerSessionsIntValue' of type [int] --
03:12:59.285
 DEBUG  Found property 'maxSessions' of type [java.lang.String] --
03:12:59.285
 DEBUG  Found property 'maxSessionsIntValue' of type [int] -- 03:12:59.285
 DEBUG  Found property 'messageSelector' of type [java.lang.String] --
03:12:59.285
 DEBUG  Found property 'noLocal' of type [java.lang.String] -- 03:12:59.285
 DEBUG  Found property 'noLocalBooleanValue' of type [boolean] --
03:12:59.285
 DEBUG  Found property 'password' of type [java.lang.String] -- 03:12:59.285
 DEBUG  Found property 'resourceAdapter' of type
[javax.resource.spi.ResourceAdapter] -- 03:12:59.285
 DEBUG  Found property 'subscriptionDurability' of type [java.lang.String]
-- 03:12:59.285
 DEBUG  Found property 'subscriptionName' of type [java.lang.String] --
03:12:59.285
 DEBUG  Found property 'useRAManagedTransaction' of type [java.lang.String]
-- 03:12:59.285
 DEBUG  Found property 'useRAManagedTransactionEnabled' of type [boolean] --
03:12:59.285
 DEBUG  Found property 'userName' of type [java.lang.String] -- 03:12:59.285
 DEBUG  Class [org.activemq.ra.ActiveMQActivationSpec] is cache-safe --
03:12:59.285
 DEBUG  About to invoke write method [public void
org.activemq.ra.ActiveMQActivationSpec.setDestination(java.lang.String)] on
object of class [org.activemq.ra.ActiveMQActivationSpec] -- 03:12:59.285
 DEBUG  Invoked write method [public void
org.activemq.ra.ActiveMQActivationSpec.setDestination(java.lang.String)]
with value of type [java.lang.String] -- 03:12:59.285
 DEBUG  About to invoke write method [public void
org.activemq.ra.ActiveMQActivationSpec.setDestinationType(java.lang.String)]
on object of class [org.activemq.ra.ActiveMQActivationSpec] -- 03:12:59.285
 DEBUG  Invoked write method [public void
org.activemq.ra.ActiveMQActivationSpec.setDestinationType(java.lang.String)]
with value of type [java.lang.String] -- 03:12:59.285
 DEBUG  Invoking BeanPostProcessors before initialization of bean
'org.activemq.ra.ActiveMQActivationSpec#7ffe01' -- 03:12:59.285
 DEBUG  Invoking BeanPostProcessors after initialization of bean
'org.activemq.ra.ActiveMQActivationSpec#7ffe01' -- 03:12:59.285
 DEBUG  Creating [java.util.LinkedHashSet] -- 03:12:59.285
 DEBUG  About to invoke write method [public void
org.jencks.JCAConnector.setJcaContainer(org.jencks.JCAContainer)] on object
of class [org.jencks.JCAConnector] -- 03:12:59.285
 DEBUG  Invoked write method [public void
org.jencks.JCAConnector.setJcaContainer(org.jencks.JCAContainer)] with value
of type [org.jencks.JCAContainer] -- 03:12:59.285
 DEBUG  About to invoke write method [public void
org.jencks.JCAConnector.setActivationSpec(javax.resource.spi.ActivationSpec)]
on object of class [org.jencks.JCAConnector] -- 03:12:59.285
 DEBUG  Invoked write method [public void
org.jencks.JCAConnector.setActivationSpec(javax.resource.spi.ActivationSpec)]
with value of type [javax.resource.spi.ActivationSpec] -- 03:12:59.285
 DEBUG  About to invoke write method [public void
org.jencks.JCAConnector.setRef(java.lang.String)] on object of class
[org.jencks.JCAConnector] -- 03:12:59.285
 DEBUG  Invoked write method [public void
org.jencks.JCAConnector.setRef(java.lang.String)] with value of type
[java.lang.String] -- 03:12:59.285
 DEBUG  Invoking setBeanName on BeanNameAware bean 'SamplePlayerActivity' --
03:12:59.285
 DEBUG  Invoking setBeanFactory on BeanFactoryAware bean
'SamplePlayerActivity' -- 03:12:59.285
 DEBUG  Invoking BeanPostProcessors before initialization of bean
'SamplePlayerActivity' -- 03:12:59.285
 DEBUG  Invoking afterPropertiesSet() on bean with name
'SamplePlayerActivity' -- 03:12:59.285
  INFO  Activating endpoint for activationSpec:
ActiveMQActivationSpec{acknowledgeMode='Auto-acknowledge',
destinationType='javax.jms.Queue', messageSelector='null',
destination='playerActivity', clientId='null', subscriptionName='null',
subscriptionDurability='NonDurable'} using endpointFactory:
org.jencks.DefaultEndpointFactory@d70d7a[transactionManager=null] --
03:12:59.285
 DEBUG  Starting -- 03:12:59.300
 DEBUG  Started -- 03:12:59.316
 DEBUG  Invoking BeanPostProcessors after initialization of bean
'SamplePlayerActivity' -- 03:12:59.316
  INFO  Jencks JCA Container (http://jencks.org/) has started running
version: 1.1.2 -- 03:12:59.347
 DEBUG  Invoking BeanPostProcessors after initialization of bean
'JCAContainer' -- 03:12:59.347
 DEBUG  Returning cached instance of singleton bean 'SamplePlayerActivity'
-- 03:12:59.347
 DEBUG  Publishing event in context
[org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=20181463]:
org.springframework.context.event.ContextRefreshedEvent[source=org.springframework.context.support.FileSystemXmlApplicationContext:
display name
[org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=20181463];
startup date [Sun Mar 26 03:12:58 CST 2006]; root of context hierarchy] --
03:12:59.347
 DEBUG  TCP consumer thread starting -- 03:12:59.660
  WARN  Async exception with no exception listener: java.io.IOException:
Unknown data type: 0 -- 03:12:59.691
java.io.IOException: Unknown data type: 0
	at
org.activemq.openwire.OpenWireFormat.unmarshalNestedObject(OpenWireFormat.java:273)
	at
org.activemq.openwire.DataStreamMarshaller.unmarsalNestedObject(DataStreamMarshaller.java:103)
	at
org.activemq.openwire.v1.BrokerInfoMarshaller.unmarshal(BrokerInfoMarshaller.java:83)
	at
org.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormat.java:216)
	at org.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:183)
	at org.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:134)
	at java.lang.Thread.run(Unknown Source)

=============================
Can anyone suggest where I could start to debug this?
--
View this message in context: http://www.nabble.com/POJO-MDB-Unknown-data-type%3A-0-t1344036.html#a3594989
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message