Can you post the full stacktrace?

On Fri, Feb 10, 2012 at 6:34 PM, tops <ilya.solov...@gmail.com> wrote:
> Hi Ashwin!
>
> Let me answer to your questions:
>
> 1. Yes, ActiveMQ (5.5.1) uses a persistent store, but this store is MySQL
> not the Oracle database. Therefore it's not clear for me why the class that
> thrown the exception is oracle.jdbc.driver.T2CConnection:
>
> Caused by: java.io.NotSerializableException:
> oracle.jdbc.driver.T2CConnection
>
> This is the respective ActiveMQ configuration part:
>
>    <bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource"
> destroy-method="close">
>        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
>        <property name="url"
> value="jdbc:mysql://foo.com/activemq?relaxAutoCommit=true"/>
>        <property name="username" value="activemq"/>
>        <property name="password" value="activemq"/>
>        <property name="maxActive" value="200"/>
>        <property name="poolPreparedStatements" value="true"/>
>    </bean>
>
>
>       <persistenceFactory>
>            <journalPersistenceAdapterFactory journalLogFiles="5"
> dataDirectory="${activemq.base}/activemq-data" dataSource="#mysql-ds"/>
>         </persistenceFactory>
>
>
> 2. I went through the oracle documentation once again, just to make sure
> that value of the object is serialized:
>
> http://docs.oracle.com/cd/B28359_01/appdev.111/b28391/serialized-form.html#oracle_xdb_XMLType
>
> we use XMLType xtype.getClobVal() - which is one of the serialized fields,
> according to documentation mentioned above.
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/sending-oracle-XMLType-message-to-activeMQ-tp5466141p5473294.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to