Re: Weblogic Connection Pool Oracle Driver Class Cast Exception

2002-04-26 Thread Purush Rudrakshala
ection is created by the Oracle thin driver). >My code crashes with a class cast exception when it tries to run Oracle >specific (OracleConnection) methods. If I run the same code outside of >Weblogic (and get an Oracle thin driver connection straight away and not via >a Weblogic pool),

Re: Weblogic Connection Pool Oracle Driver Class Cast Exception

2002-04-16 Thread Gene Chuang
ection is created by the Oracle thin driver). > My code crashes with a class cast exception when it tries to run Oracle > specific (OracleConnection) methods. If I run the same code outside of > Weblogic (and get an Oracle thin driver connection straight away and not via > a Weblogic poo

Weblogic Connection Pool Oracle Driver Class Cast Exception

2002-04-16 Thread PEARCE TOMENIUS Zina
gic server connection pool(this connection is created by the Oracle thin driver). My code crashes with a class cast exception when it tries to run Oracle specific (OracleConnection) methods. If I run the same code outside of Weblogic (and get an Oracle thin driver connection straight away and not via

Re: Class Cast Exception Once Again !!

2001-04-04 Thread Ted Neward
- > From: A mailing list for Enterprise JavaBeans development > [mailto:[EMAIL PROTECTED]]On Behalf Of Sachin Devand > Sent: Saturday, March 31, 2001 11:01 PM > To: [EMAIL PROTECTED] > Subject: [EJB-INT] Class Cast Exception Once Again !! > > > Hi, > > This issue

Re: Class Cast Exception Once Again !!

2001-04-01 Thread Fei Li
I am a little bit slower than you. Do you have EJB1.X code and .xml? -Original Message- From: Sachin Devand [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 01, 2001 12:55 PM To: [EMAIL PROTECTED] Subject: Re: Class Cast Exception Once Again !! Hi Fei: Actually, I am re-writing the code

Re: Class Cast Exception Once Again !!

2001-04-01 Thread Sachin Devand
Hi Fei: Actually, I am re-writing the code in Richard Monson-Haefel's book to be EJB2.0 compilant. I have changed a few things like CabinPK to be just a java.lang.String. I also had to define certain methods as abstract as required by EJB2.0. But anyways I am sending the files with all the xml de

Re: Class Cast Exception Once Again !!

2001-04-01 Thread Fei Li
To: [EMAIL PROTECTED] Subject: Re: Class Cast Exception Once Again !! Fei: I saw the difference and I made that change but still it does not work! I dont know how much different it would make if I did not type cast it into CabinHome when I did lookup and later did a narrow on Object. But it did

Re: Class Cast Exception Once Again !!

2001-04-01 Thread Sachin Devand
xt.lookup("CabinHome"); > CabinHome home = > (CabinHome)PortableRemoteObject.narrow(obj,CabinHome.class); > > Can you find a slight difference? > > Fei Li > > > -Original Message- > From: Sachin Devand [mailto:[EMAIL PROTECTED]] > Sent: Sa

Re: Class Cast Exception Once Again !!

2001-03-31 Thread Fei Li
L PROTECTED] Subject: Class Cast Exception Once Again !! Hi, This issue has come up earlier in this mailing list. I looked at it but still my problem is unsolved. Do let me know if someone can answer this question. I am trying to do a PortableRemoteObject.narrow() on a bean that I lookup from jndiCon

Class Cast Exception Once Again !!

2001-03-31 Thread Sachin Devand
Hi, This issue has come up earlier in this mailing list. I looked at it but still my problem is unsolved. Do let me know if someone can answer this question. I am trying to do a PortableRemoteObject.narrow() on a bean that I lookup from jndiContext. The problem is that I get a class cast

Class cast exception

2000-08-21 Thread Sachin Smotra
Hi Krishna, It is indeed a pooled connection from the container. It cannot be casted to an OracleConnection object. This should explain the ClassCastException that you are getting when the code anippet listed below gets executed connection = (OracleConnection) dataSource.getConnection(); All

Re: Class cast exception while using a servlet client

2000-06-23 Thread Sriram Narayan (CTS)
Hi Hope the following extract from weblogic doucmentation helps. Note: (this is more of a general rather than weblogic specific problem) http://www.weblogic.com/docs45/classdocs/API_servlet.htm The dreaded ClassCastException ! This will invariably jump up and bite you at some point when you star

Re: Class cast exception while using a servlet client

2000-06-23 Thread Chris Brown
IL PROTECTED] > Subject: Class cast exception while using a servlet client > > I am trying to connect to a bean in a remote machine(weblogic server) > using > a servlet client in my local machine(weblogic server). > I do a lookup for "Billing.CustomerHome" and when I run a c

Class cast exception while using a servlet client

2000-06-22 Thread Govindan, Manoj (CTS)
I am trying to connect to a bean in a remote machine(weblogic server) using a servlet client in my local machine(weblogic server). I do a lookup for "Billing.CustomerHome" and when I run a client, I get an excetipon as follows: java.lang.ClassCastException: Billing.CustomerBeanHomeImpl_Se

Re: Class Cast Exception

2000-03-08 Thread Robert Patrick
with the Weblogic server on NT but if I use the same .class file with Weblogic server on SunSolaris and doall the required things(like registration in properties file) I am getting a class Cast Exception at (myBeanHomeImpl_ServiveStub.I feel that the object which is returned after lookup cannot be

Re: Class Cast Exception

2000-03-03 Thread Bob Evans
logic classpath or the - -Dweblogicclasspath can cause a class cast exception due to competing class loaders. HTH. Bob Evans -Original Message- From: Parikshit [mailto:[EMAIL PROTECTED]] Sent: Monday, February 28, 2000 1:36 AM To: ejb interest Cc: [EMAIL PROTECTED] Subject: Class

Re: Class Cast Exception

2000-03-01 Thread Betsy Barker
vlet and session bean are registered with the application server(Weblogic).This thing is working fine with the Weblogic server on NT but if I use the same .class file with Weblogic server on SunSolaris and doall the required things(like registration in properties file) I am getting

Class Cast Exception

2000-03-01 Thread Parikshit
This thing is working fine with the Weblogic server on NT but if I use the same .class file with Weblogic server on SunSolaris and do all the required things(like registration in properties file) I am getting a class Cast Exception at (myBeanHomeImpl_ServiveStub.I feel that the object whi

Re: Class Cast Exception

2000-03-01 Thread Anil Colin Lobo
ine with the Weblogic server >> on NT but if I use the same .class file with Weblogic server on >> SunSolaris and doall the required things(like registration in >> properties file) I am getting a class Cast Exception at >> (myBeanHomeImpl_ServiveStub.I feel that the object