Re: ClassCastException

2001-10-03 Thread Alessandro Pizzolotto
t; > > On Wed, 3 Oct 2001, Alessandro Pizzolotto wrote: > > > Date: Wed, 3 Oct 2001 17:10:37 +0200 > > From: Alessandro Pizzolotto <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Subject: Re: ClassCastException > > > &g

Re: ClassCastException

2001-10-03 Thread Alessandro Pizzolotto
Stranathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 3:04 PM Subject: Re: ClassCastException > Can we see the appropriate parts of server.xml and web.xml? > > Will Stranathan > > Alessandro Pizzolotto wrote: > > &g

Re: ClassCastException

2001-10-03 Thread Alessandro Pizzolotto
propriate parts of server.xml and web.xml? > > Will Stranathan > > Alessandro Pizzolotto wrote: > > > this code > > > > javax.naming.Context ctx = new javax.naming.InitialContext(); > > javax.naming.Context cto = (javax.naming.Context)ctx.lookup("java:/comp/env&

ClassCastException

2001-10-03 Thread Alessandro Pizzolotto
this code javax.naming.Context ctx = new javax.naming.InitialContext(); javax.naming.Context cto = (javax.naming.Context)ctx.lookup("java:/comp/env"); javax.sql.DataSource ds = (javax.sql.DataSource)cto.lookup("jdbc/domus"); produce this error java.lang.ClassCastException: tyrex.jdbc.xa.Enable