Please use the google group to ask questions - thanks.

by ebean 24 Apr 15:26
Jndi configuration

How to configure jndi from ebean.properties����?
thanks

03 May 22:38
by Rob

ebean..dataSourceJndiName=blah

03 May 22:40
by Rob

ebean.<your server name>.dataSourceJndiName=java: ....

04 May 06:00
by ebean

Hi Rob
datasource.default=test
ebean.test.dataSourceJndiName=java:comp/env/jdbc/jdbc/NACAO

Result
2010-5-4 13:55:01 com.avaje.ebean.Ebean
��������?��: Ebean Version[2.5.1] Java Version[1.6.0_17]
2010-5-4 13:55:02 com.avaje.ebeaninternal.server.core.BootupClassPathSearch search
��������?��: Classpath search hits in jars[ebean-2.5.1.jar] pkgs[com.ninemax.workflow.animation.to.tmp.general, com.ninemax.workflow.weak.business.entity, com.avaje.ebeaninternal.server.bean, com.avaje.ebean.meta] searchTime[1170]

I have written like this����?but not.

05 May 11:29
by Rob

Sorry, I don't understand. Are you getting an error or something?

10 May 04:30
by ebean

Hi Rob
jnid this configuration right

datasource.default=test
ebean.test.dataSourceJndiName=java:comp/env/jdbc/jdbc/NACAO

In this there is no error, but no results. Why?

10 May 07:07
by Rob

I don't know - you might want to step through the code using a debugger? No results of what - a query?

17 May 04:42
by ebean

Hi Rob

Ebean jndi configuration
datasource.default=a
ebean.a.dataSourceJndiName=java:comp/env/test

tomcat configuration

maxActive="100" maxIdle="30" maxWait="10000"
username="admin" password="bldhbfh" driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@172.16.2.6:1521:dmweb"/>

error---- Cannot create JDBC driver of class '' for connect URL 'null'

What is the reason ����?thanks

17 May 04:43
by ebean

tomcat configuration

maxActive="100" maxIdle="30" maxWait="10000"
username="admin" password="bldhbfh" driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@172.16.2.6:1521:dmweb"/>

17 May 04:44
by ebean

tomcat configuration

Resource name="test" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="admin" password="bldhbfh" driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@172.16.2.6:1521:dmweb"

17 May 04:49
by Rob

> error---- Cannot create JDBC driver of class '' for connect URL 'null'

Do you have a stack trace for this error? The stack trace should point out what is trying to initialise the JDBC driver and failing.

NB: I will close these forums so all questions will have to move over to the google group.

Thanks, Rob.

Create a New Topic

Title:
Body:
 
Introduction User Guide (pdf) Install/Configure Public JavaDoc Whitepapers
General Database Specific Byte Code Deployment Annotations Features
Top Bugs Top Enhancements
woResponse