geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jklcom99 <jeff_k...@yahoo.com>
Subject Re: javax.jms.JMSException: Failed to build body from bytes
Date Mon, 14 Jul 2008 20:37:00 GMT

Here is my deployment plan:

<connector
        xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
    <environment
            xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <moduleId>
            <groupId>apps</groupId>
            <artifactId>appJMS</artifactId>
            <version>1.0</version>
            <type>rar</type>
        </moduleId>
        <dependencies>
            <dependency>
                <groupId>org.apache.geronimo.configs</groupId>
                <artifactId>activemq-broker</artifactId>
                <type>car</type>
            </dependency>
        </dependencies>
    </environment>

    <resourceadapter>
        <resourceadapter-instance>
            <resourceadapter-name>ConnectionFactory</resourceadapter-name>
            <config-property-setting
name="ServerUrl">tcp://localhost:9099</config-property-setting>
            <config-property-setting
name="UserName">geronimo</config-property-setting>
            <config-property-setting
name="Password">geronimo</config-property-setting>
            <workmanager
xmlns='http://geronimo.apache.org/xml/ns/naming-1.2'>
                <gbean-link>DefaultWorkManager</gbean-link>
            </workmanager>
        </resourceadapter-instance>
        <!-- defines a ConnectionFactory -->
        <outbound-resourceadapter>
            <connection-definition>
               
<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
                <connectiondefinition-instance>
                    <name>ConnectionFactory</name>
                   
<implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
                   
<implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
                    <connectionmanager>
                        <xa-transaction>
                            <transaction-caching/>
                        </xa-transaction>
                        <single-pool>
                            <max-size>10</max-size>
                            <min-size>0</min-size>
                            <match-one/>
                        </single-pool>
                    </connectionmanager>
                </connectiondefinition-instance>
            </connection-definition>
        </outbound-resourceadapter>
    </resourceadapter>
    <!-- defines a Topic -->
    <adminobject>
        <adminobject-interface>javax.jms.Topic</adminobject-interface>
       
<adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
        <adminobject-instance>
           
<message-destination-name>myApp/appGridChange</message-destination-name>
            <config-property-setting
name="PhysicalName">myApp/appGridChange</config-property-setting>
        </adminobject-instance>
    </adminobject>
</connector>     

Kevan Miller wrote:
> 
> What's the structure of your app(s)?
> 
> This exception indicates that you're using JMS ObjectMessages and  
> there's a problem deserializing the message bytes into an Object. The  
> class app.entity.QuartzJobIssued is not being found. Where is that  
> class packaged?
> 
> --kevan
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p18452308.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message