tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaime Geovane Marcondes <>
Subject LocalInitialContextFactory - DataSource JNDI
Date Wed, 18 Jun 2008 14:34:55 GMT


    OpenEJB is amazing to boost the development of EJB3.0.
    I tried to configure OpenEJB to run in Local Mode, for debugging
purposes. When it runs, the log shows:

    javax.naming.NameNotFoundException: Name "jdbc_SecurityDS" not found

    I then tried to configure in ejb-jar.xml, but it didn't work.
    But the log shows:

   2008-06-18 11:22:57,671 - INFO  - Creating Resource(id=jdbc_SecurityDS)

    And then:
2008-06-18 11:22:58,125 - DEBUG - finished invoking method getMovement with
exception java.sql.SQLException: Name "jdbc_SecurityDS" not found.

    My openejb.conf:
	<Resource id="jdbc/SecurityDS" type="DataSource">
	    JdbcDriver  oracle.jdbc.driver.OracleDriver
	    UserName    sec_usr
	    Password    sec_usr

	<Deployments dir="C:\projects\Services\classes\" />
	<Deployments jar="C:\temp\deploy\Services.jar" />

    My ejb-jar.xml:    
<?xml version="1.0" encoding="UTF-8"?>

    Thank's for help!

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message