wood burning stoves*
The moose likes Websphere and the fly likes EJSException in VAJ4 (deploying Entity Bean) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "EJSException in VAJ4 (deploying Entity Bean)" Watch "EJSException in VAJ4 (deploying Entity Bean)" New topic
Author

EJSException in VAJ4 (deploying Entity Bean)

seema mani
Ranch Hand

Joined: Sep 30, 2001
Posts: 49
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


Sun Certified Java Programmer<br />Sun Certified Web Component Developer<br />Sun Certified Business Component Developer
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
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


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
seema mani
Ranch Hand

Joined: Sep 30, 2001
Posts: 49
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

Joined: Jan 29, 2001
Posts: 286
DB2 UDB PE: winudbpeen.zip 255MB
This one might be enough. It's BB2 UDB Personal Edition.


SCJP Java 2 - IBM Certified Enterprise Developer - WebSphere V4.0 & V5.0 - IBM Certified System Administrator - WebSphere Network Deployment V6.0 - Canadian Securities Course (CSC) Certification
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJSException in VAJ4 (deploying Entity Bean)