Hello,
Im trying to develope a sample ejb applications with JBuilder 2005 and JBoss 3.2.6. I would like to develope a simple Entity Bean using a database included in JBuilder distribution. The database is JDataStore. I have copied the jar file in the server/default/lib folder. I have copied the following jdatastore-ds.xml file in the server/default/deploy foder:
<?xml version="1.0" encoding="UTF-8"?>
<local-tx-datasource>
<!-- The jndi name of the DataSource, it is prefixed with java:/ -->
<!-- Datasources are not available outside the virtual machine -->
<jndi-name>JDataStoreDS</jndi-name>
<connection-url>jdbc:borland:dslocal:C:\Borland\JBuilder2005\samples\JDataStore\datastores\employee.jds</connection-url>
<!-- The driver class -->
<driver-class>com.borland.datastore.jdbc.DataStoreDriver</driver-class>
<!-- The login and password -->
<user-name>Sample</user-name>
</local-tx-datasource>
When I start JBoss within JBuilder I have the following message:
09:26:08,937 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=Employee,service=EJB
org.jboss.deployment.DeploymentException: Error: can't find data source: JDataStoreDS; - nested throwable: (javax.naming.NameNotFoundException: JDataStoreDS not bound)
........
Please, give me some help.
Thanks and bye,
Giordano