Re: JCA Connector getConnection returning a Proxy

2008-10-14 Thread David Jencks
Hi John, On Oct 14, 2008, at 1:54 AM, johnxmas wrote: Hi, I'm experiencing a problem with my ResourceAdapter: the getConnection metod of my ConnectionFactory returns a Proxy instead of the expected Connection , causing a ClassCastException java.lang.ClassCastException: $Proxy33 com

Re: SecurityException trying to use JavaMail

2008-10-14 Thread John
Rick McGuire wrote: The simpler solution, if you are not dependent upon the properties that the javamail session has been configured with, would be to use getInstance() rather than getDefaultInstance(). Hi Rick and Kevan, Thank you both for your response and I apologize for the delayed

Re: javax.jms.JMSException: Failed to build body from bytes

2008-10-14 Thread jklcom99
Hi Kevan, Thanks for looking into this, hope we can get closure soon :-). openejb-jar.xml: openejb-jar xmlns=http://openejb.apache.org/xml/ns/openejb-jar-2.2; dep:environment xmlns:dep=http://geronimo.apache.org/xml/ns/deployment-1.2; dep:moduleId

JCA Connector getConnection returning a Proxy

2008-10-14 Thread johnxmas
Hi, I'm experiencing a problem with my ResourceAdapter: the getConnection metod of my ConnectionFactory returns a Proxy instead of the expected Connection , causing a ClassCastException java.lang.ClassCastException: $Proxy33