On Sep 16, 2008, at 3:42 AM, Andreas Karalus wrote:
Hi David,
thank you for your hint, I tried this, but still got exception:
In the code for intialisation of openejb:
initialContext.bind("java:operativDS", new
javax.naming.LinkRef("java:openejb/Resource/operativDS"));
In the test Code:
//
va:openejb/Resource/operativDS");
>
> If you wanted to make it available at a different name, you could
> easily add the link yourself with some code like this after OpenEJB
> has been embedded:
>
>InitialContext context = new InitialContext();
>context.bind("java:operat
On Sep 9, 2008, at 5:53 AM, Andreas Karalus wrote:
hello,
i've configured a datasource like this
JdbcDriver oracle.jdbc.driver.OracleDriver
JdbcUrl jdbc:oracle:thin:@localhost:1521:orcl
UserNamescott
Passwordtiger
is it possible to bind the datasource to a speci
bind the datasource to "java:/operativDS"
thx in advance,
andreas
--
View this message in context:
http://www.nabble.com/Bind-Datasource-to-specific-jndi-name-tp19391707p19391707.html
Sent from the OpenEJB User mailing list archive at Nabble.com.