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 java.net.ConnectException: t3://localhost:7001: Bootstrap to: 'localhost/127.0.0.1:7001' over: 't3' got an error or timed out
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:173)

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.