Need Help with Hibernate - "Not binding factory to JNDI, no JNDI name configured"

Need Help with Hibernate - "Not binding factory to JNDI, no JNDI name configured"

Post by msebetic » Sat, 18 Sep 2004 06:58:35


ello,

I am experimenting wtih Hibernate and after working out all of the
dependency issues and constructing my configuration/class files I am
getting the below error. I am using WS 5.1. My code and printouts
are below. Your help is appreciated.

Mike

App Server Console
------------------
*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.1 [BASE 5.1.0 b0344.02] running with process
name localhost\localhost\server1 and process id 512
Host Operating System is Windows XP, version 5.1
Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT
enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51
user.install.root = C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51
Java Home = C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51\java\jre
ws.ext.dirs = C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/java/lib;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/lib;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/lib/ext;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/web/help;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program
Files/SQLLIB/java/db2java.zip;C:/Program Files/IBM/WebSphere
Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.1/runtime/worf.jar
Classpath = C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/lib/bootstrap.jar;C:\Program
Files\IBM\WebSphere Studio\runtimes\base_v51/lib/j2ee.jar;C:\Program
Files\IBM\WebSphere Studio\runtimes\base_v51/lib/lmproxy.jar;C:\Program
Files\IBM\WebSphere Studio\runtimes\base_v51/lib/urlprotocols.jar;C:\Program
Files\SQLLIB\java12\db2java.zip;C:\Development_Tools\hibernate-2.1\hibernate2.jar;C:\WSAD_5\external.jars\log4j-1.2.8.jar;C:\Development_Tools\commons-logging-1.0.4\commons-logging.jar;C:\Development_Tools\commons-collections-3.1\commons-collections-3.1.jar;C:\Development_Tools\dom4j-1.5.jar;C:\Development_Tools\odmg-3.0.jar;C:\Development_Tools\cglib-full-2.0.2.jar;C:/Program
Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1/runtime/wteServers.jar;C:/Program
Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1/runtime/wasToolsCommon.jar
Java Library path = C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/bin;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/java/bin;C:\Program Files\IBM\WebSphere
Studio\runtimes\base_v51/java/jre/bin;C:\Program Files\IBM\WebSphere
Studio\eclipse\jre\bin;.;C:\Program Files\IBM\WebSphere
Studio\eclipse\jre\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\PC-Doctor for Windows\services;C:\PROGRA~1\MICROS~2\Office;C:\PROGRA~1\IBM\IMNNQ;C:\Program
Files\IBM\Trace Facility;C:\Program Files\Personal
Communications\;C:\Program Files\SQLLIB\BIN;C:\Program
Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program
Files\SQLLIB\HELP;C:\Program Files\IBM\IBM CICS Transaction
Gateway\BIN;%WSEDPath%;C:\Program Files\ObjREXX;C:\Progra