This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJSException in VAJ4 (deploying Entity Bean)

 
seema mani
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I was trying out the Visual Age Entity Bean tutorial at http://www.sagunsolutions.com/sharad/techdocs/entitybeantutorial.html
Since I do not have DB2 installed, I'm using InstantDB database. In the Schema Browser, after I gave the command 'Export entire Schema to the database', I'm able to see that the table has been created in the database.Then I started the persistent name server and the EJB Server. Then the server throws the following exception.
EJB server exception
com.ibm.ejs.EJSException: ; nested exception is:
com.ibm.ejs.sm.exception.ActiveObjectInitException
com.ibm.ivj.ejb.samples.helloworld 3.5 was marked as a scratch edition because
a new edition of HelloClient was made.
EJB server exception
com.ibm.ejs.EJSException: ; nested exception is:
com.ibm.ejs.sm.exception.ActiveObjectInitException
EJB server exception
com.ibm.ejs.EJSException: ; nested exception is:
com.ibm.ejs.sm.exception.ActiveObjectInitException
EJB server exception
com.ibm.ejs.EJSException: ; nested exception is:
com.ibm.ejs.sm.exception.ActiveObjectInitException
EJB server exception
com.ibm.ejs.EJSException: ; nested exception is:
com.ibm.ejs.sm.exception.ActiveObjectInitException
EJB server exception
com.ibm.ejs.EJSException: ; nested exception is:
com.ibm.ejs.sm.exception.ActiveObjectInitException
It could not be any problem with finding the jdbc driver or datasource because Test Connection was successful. Could anyone suggest what the problem could be ?
Thanks a lot
Seema
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We really don't recommend you use InstantDB for CMP Entity EJB's. The product is not tested on it, and it's not guaranteed to work with it.
You can download a FREE Developer's copy of DB2 from www.ibm.com. Just go ahead and do that -- the only thing it costs you is hard drive space.
Kyle
 
seema mani
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I went to the db2 download site for Windows2000. There are 6 files mentioned there.
DB2 UDB PE: winudbpeen.zip 255MB
DB2 Connect PE: conpeen.zip 221MB
OLAP Starter Kit: olapsken.zip 56.3MB
DB2 Extender NLV: db2extndr.zip 222.6MB
Text Extender NLV: text_extender.zip 19.8MB
XML Extender NLV: xml_extender.zip 43.2MB
Do I need to download all of them ?
Or are any of them optional ? I do not have
so much disk space. And the download speeds are also a problem here.
Please advise.
Thanks
seema
 
Tony Chen
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DB2 UDB PE: winudbpeen.zip 255MB
This one might be enough. It's BB2 UDB Personal Edition.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic