In the servlet init, i created an instance of class where i am doing the look up for a Enterprise Bean. But i am getting the following exception

javax.naming.CommunicationException. Root exception is t3://localhost:7001: Bootstrap to: 'localhost/' over: 't3' got an error or timed out
at weblogic.rjvm.RJVMFinder.findOrCreate(

If i start my tomcat from JBuilder, then only i am getting this problem. If I start it from outside, i don't have any problem.

I have included weblogic.jar and all the tomcat library files in the classpath of JBuilder. Did I miss to include any libary file?? Please help me ASAP.