|
Assignee
|
John Sisson
[ johnrsisson
]
|
Hiram Chirino
[ chirino
]
|
|
Description
|
Found problem when using Geronimo with an incorrectly configured EJB 2.0 MDB that has:
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
<subscription-durability>Durable</subscription-durability>
</message-driven-destination>
The above config doesn't make sense since subscription-durability is only applicable for Topics.
This resulted in a message that didn't directly point to the problem:
C:\test>java -jar geronimo-1.1-SNAPSHOT\bin\deployer.jar --user system --password manager deploy my.ear myplan.xml
Error: Unable to distribute my.ear: JMS settings for
message-driven bean FooMDBean are not valid:
Invalid settings: clientId must be set since durable subscription
was requested. subscriptionName must be set since durable
subscription was requested.
Invalid settings: clientId must be set since durable subscription
was requested. subscriptionName must be set since durable
subscription was requested.
|
Found problem when using Geronimo with an incorrectly configured EJB 2.0 MDB that has:
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
<subscription-durability>Durable</subscription-durability>
</message-driven-destination>
The above config doesn't make sense since subscription-durability is only applicable for Topics.
This resulted in a message that didn't directly point to the problem:
C:\test>java -jar geronimo-1.1-SNAPSHOT\bin\deployer.jar --user system --password manager deploy my.ear myplan.xml
Error: Unable to distribute my.ear: JMS settings for
message-driven bean FooMDBean are not valid:
Invalid settings: clientId must be set since durable subscription
was requested. subscriptionName must be set since durable
subscription was requested.
Invalid settings: clientId must be set since durable subscription
was requested. subscriptionName must be set since durable
subscription was requested.
With the patch applied, the error will now be:
C:\test>java -jar geronimo-1.1-SNAPSHOT\bin\deployer.jar --user system --password manager deploy my.ear wmyplan.xml
Error: Unable to distribute my.ear: JMS settings for
message-driven bean FooMDBean are not valid:
Invalid settings: subscriptionDurability must be set to: Durable
when destinationType is set to javax.jms.Queue. clientId must be set
since durable subscription was requested. subscriptionName must be
set since durable subscription was requested.
Invalid settings: subscriptionDurability must be set to: Durable
when destinationType is set to javax.jms.Queue. clientId must be set
since durable subscription was requested. subscriptionName must be
set since durable subscription was requested.
|