• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJSException in VAJ4 (deploying Entity Bean)

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DB2 UDB PE: winudbpeen.zip 255MB
This one might be enough. It's BB2 UDB Personal Edition.
 
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic