When I call getClass().getName() on the object it returns "$Proxy9". When I pass the object to system.out I get: [EMAIL PROTECTED]
So, it looks like weblogic is inserting a generated proxy at some point. -----Original Message----- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 4:54 PM To: Slide Users Mailing List Subject: Re: JCA WebDAV Connector I was only able to test it with JBoss... What is the class that actually was returned? Oliver On Mon, 1 Nov 2004 16:45:34 -0500, John Gilbert <[EMAIL PROTECTED]> wrote: > Has anyone tried using the JCA connector in WebLogic? I am getting a > class cast exception on the following line in the example > TestServlet.java: > > Line 70: > > conn1 = (WebDAVConnection) _factory.getConnection(spec); > > Based on the following output, it appears that WebLogic is returning a > proxy object from the connection pool which wraps the WebDAVConnection. > > <Nov 1, 2004 4:41:50 PM EST> <Info> <Connector> <BEA-190081> <Testing > resource adapter "WebDAV-Connector" for viability of connection > proxies.> > > <Nov 1, 2004 4:41:50 PM EST> <Info> <Connector> <BEA-190097> <Unable to > complete the connection proxy test for "WebDAV-Connector" due to an > exception. WebLogic > > Server will attempt to use connection proxies for resource adapter > "WebDAV-Connector" as usual. Exception: > javax.resource.NotSupportedException: Need a WebDAVConnectionSpec > > to create a connection. Call getConnection(ConnectionSpec spec) > instead!.> > > <Nov 1, 2004 4:41:50 PM EST> <Info> <Common> <BEA-000628> <Created "1" > resources for pool "WebDAV-Connector_WebDAV-Connector", out of which "1" > are available and "0" are unavailable.> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
