i am new to j2ee and i just want to know if someone already encountered this problem regarding connection pooling. i am deploying my ejb in a sun one appserver. i have a connection pool connecting to oracle. but whenever i would invoke the createdescriptor(), it gives a ClassCastException. can anyone please help me with this? thanks.