aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Datasource Binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Datasource Binding" Watch "Datasource Binding" New topic
Author

Datasource Binding

Kumar Sampath
Greenhorn

Joined: Aug 13, 2003
Posts: 3
Guys,

I have created a CMP bean with a datasource(jdbc/ejbbank) mapped to it as given in one of the example in REDBOOKS.When i start the test server which i have associated the CMP bean ,getting the following error:-

But i was able to generate the EJB to RDB mapping ..Can anyone of you throw some light if possible ...Thanks in advance.

Expecting reply.

Regards
Sampath Kumar

[5/16/05 17:57:41:759 IST] 4fc8f9a8 ResourceMgrIm I WSVR0049I: Binding EJBBANK_CF as eis/jdbc/ejbbank_CMP
[5/16/05 17:57:42:009 IST] 4fc8f9a8 ResourceMgrIm E WSVR0017E: Error encountered binding the J2EE resource, EJBBANK_CF, as eis/null_CMP from file://C:\Documents and Settings\skumar40\My Documents\IBM\wsappdev51\workspace\ItsoServers\EjbbankServer.wsc/cells/localhost/nodes/localhost/servers/server1/resources.xml
com.ibm.ws.runtime.component.binder.ResourceBindingException: invalid configuration passed to resource binding logic. REASON: Invalid Configuration! The DataSource: null has a null ConnectionPool property.
at com.ibm.ws.runtime.component.binder.ResourceBinderImpl.checkRequiredProperty(ResourceBinderImpl.java:53)
at com.ibm.ws.runtime.component.binder.CMPConnectorFactoryBinder.getBindingObject(CMPConnectorFactoryBinder.java:153)
at com.ibm.ws.runtime.component.ResourceMgrImpl.bind(ResourceMgrImpl.java:246)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProvider(ResourceMgrImpl.java:597)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResource(ResourceMgrImpl.java:564)
at com.ibm.ws.runtime.component.ResourceMgrImpl.installResources(ResourceMgrImpl.java:524)
at com.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(ResourceMgrImpl.java:404)
at com.ibm.ws.runtime.component.ResourceMgrImpl.start(ResourceMgrImpl.java:353)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl
David McDonagh
Greenhorn

Joined: Feb 13, 2004
Posts: 19
Go to your server perspective and check your server settings that a correct JDBC Provider is configured along with a correct data source. I think you must have something misconfigured in that area !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Datasource Binding