aspose file tools*
The moose likes Websphere and the fly likes Trying to use demo IBMEJBSamples in VAJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Trying to use demo IBMEJBSamples in VAJ" Watch "Trying to use demo IBMEJBSamples in VAJ" New topic
Author

Trying to use demo IBMEJBSamples in VAJ

Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1850
Hi,
I am trying out the demo samples provided by VAJ. The Hello Bean Works fine. However i am having problems working with the increment bean.
Firstly i have started the persistent Name server with the following settings
Bootstrap port : 900
Database URL : jdbc:db2:was1
Database driver : COM.ibm.db2.jdbc.app.DB2Driver
i have specified a valid user id and password.
It gives me the following exception
[01.03.25 15:31:55:900 GMT+08:00] 326 ManagedServer E Version : 3.5.0
[01.03.25 15:31:55:910 GMT+08:00] 326 ManagedServer E Edition: advanced
[01.03.25 15:31:55:920 GMT+08:00] 326 ManagedServer E Build date: Sat Jul 29 00:00:00 GMT+08:00 2000
[01.03.25 15:31:55:920 GMT+08:00] 326 ManagedServer E Build number: q0030.12
[01.03.25 15:32:04:462 GMT+08:00] 6969 DrAdminServer A DrAdmin available on port 1,481
[01.03.25 15:32:09:559 GMT+08:00] 326 PortabilityLa W Unrecognized database or driver "sun.jdbc.odbc.JdbcOdbcDriver"; using generic settings
[01.03.25 15:32:10:150 GMT+08:00] 326 ActiveEnterpr W Failed to start the bean "com/ibm/ivj/ejb/samples/increment/Increment" com.ibm.websphere.csi.CSIException: failed to get home instance; nested exception is:
com.ibm.ejs.container.ContainerException: loading bean meta data failed; nested exception is:
com.ibm.websphere.csi.CSIException: persister creation failed; nested exception is:
com.ibm.ejs.persistence.EJSPersistenceException: ; nested exception is:
java.sql.SQLException: Error loading JDBC driver: sun.jdbc.odbc.JdbcOdbcDriver
com.ibm.ejs.container.ContainerException: loading bean meta data failed; nested exception is:

My question is why is it tring to load a sun.jdbc.odbc.JdbcOdbcDriver driver. I have specified my driver to be DB2.
Any suggesstions will be helpful.
Thanks
 
 
subject: Trying to use demo IBMEJBSamples in VAJ