I know this post is a bit old. But I find it helful for configuring WebLogic JMS as the messaging provider.
However, I found that the exclude-set path name should use "/" instead of ".", otherwise the exclusion would not work.
<resource-root path="wlthint3client.jar">
<filter>
<exclude-set>
<path name="javax/ejb"/>
<path name="javax/ejb/spi"/>
<path name="javax/transaction"/>
<path name="javax/jms"/>
<path name="javax/xml"/>
<path name="javax/xml/stream"/>
</exclude-set>
</filter>
</resource-root>
</resources>
This will solve...
{code}weblogic.jms.common.DestinationImpl cannot be cast to javax.jms.Queue{code}
Thanks.