Why do I get an exception when trying to find a connection factory?
Ans) The exception is regularly something like java.io.InvalidClassException or java.lang.NoClassDefFoundError.
Make sure weblogic.jar is in the CLASSPATH of the client. Also make sure you have the correct Java run-time jar files included (i.e., you might require rt.jar).