I imagine that is what the interaction classes are for. I tried adding one, but didn't get any where on my first and only try.
But I also wonder if this is happening because weblogic is calling the getConnection() method that throws the unsupported exception. I suspect this isn't the issue, since the proxy seems to hold on to the right WenDAVConnection object. -----Original Message----- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 5:34 AM To: Slide Users Mailing List Subject: Re: JCA WebDAV Connector But how is this supposed to work if this is the case? Isn't it the same with all connectors that you have to cast your connection to the desired type? If not how could you call any meaningful methods on it? Oliver On Mon, 1 Nov 2004 17:24:16 -0500, John Gilbert <[EMAIL PROTECTED]> wrote: > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
