java:/JDataSource in jbosscmp-jdbc.xml? Regards, Adrian
On Thu, 2003-12-18 at 19:25, Jeroen Bruinink wrote: > Hi, > > I'm currently trying to deploy an enterprise javabean that uses a JDataStore > database. > First I deployed the JDataStore using the file jdatastore-ds.xml wich > contains: > ***begin xml file*** > <?xml version="1.0" encoding="UTF-8"?> > > <!-- comment deleted--> > > <datasources> > <local-tx-datasource> > <jndi-name>JDataStoreDS</jndi-name> > > <connection-url>jdbc:borland:dslocal:C:/temp/eurdatabase/vp3.jds</connection > -url> > <driver-class>com.borland.datastore.jdbc.DataStoreDriver</driver-class> > <user-name>jeroen</user-name> > <password>bladiebla</password> > </local-tx-datasource> > > </datasources> > ***end of xml file*** > I copied dx.jar,jdsserver.jar and jds.jar from the jbuilder9\lib to > c:\temp\jboss-3.2.3\server\all\lib and put the xml file in > c:\temp\jboss-3.2.3\server\all\deploy. After I did that the server said: > ***begin server output*** > 18:32:38,796 INFO [MainDeployer] Starting deployment of package: > file:/C:/temp/jboss-3.2.3/server/all/deploy/jdatastore-ds.xml > 18:32:38,828 INFO [RARDeployment] Started > jboss.jca:service=ManagedConnectionFactory,name=JDataStoreDS > 18:32:38,828 INFO [JBossManagedConnectionPool] Started > jboss.jca:service=ManagedConnectionPool,name=JDataStoreDS > 18:32:38,828 INFO [JDataStoreDS] Bound connection factory for resource > adapterfor ConnectionManager 'jboss.jca:service=LocalTxCM,name=JDataStoreDS > to JNDI nam > e 'java:/JDataStoreDS' > 18:32:38,828 INFO [TxConnectionManager] Started > jboss.jca:service=LocalTxCM,name=JDataStoreDS > 18:32:38,828 INFO [MainDeployer] Deployed package: > file:/C:/temp/jboss-3.2.3/server/all/deploy/jdatastore-ds.xml > ***end of server output*** > this looks fine to me, however when I put the bean( voorbeeldenejb.jar) in > the deploy directory I get this error message: > ***begin server output*** > 20:19:25,484 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean > operation 'checkIncompleteDeployments()' > Cause: Incomplete Deployment listing: > Packages waiting for a deployer: > <none> > Incompletely deployed packages: > <none> > MBeans waiting for classes: > <none> > MBeans waiting for other MBeans: > [ObjectName: jboss.j2ee:jndiName=StudentTentamensLijst,service=EJB state: > FAILED > I Depend On: > Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find > data source: JDataStoreDS; - nested throwable: > (javax.naming.NameNotFoundException: > JDataStoreDS not bound), ObjectName: > jboss.j2ee:jndiName=StudentLijst,service=EJB > state: FAILED > I Depend On: > Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find > data source: JDataStoreDS; - nested throwable: > (javax.naming.NameNotFoundException: > JDataStoreDS not bound)] > ***end of server output*** > which seems kind of weird to me because jboss said it deployed the > JDataStore just fine. Can someone please tell me what the problem could be > here? Tell me if you need more info. > > Thanks in advance for any help! -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user