Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems running CMP beans on iPlanet Application Server

Irsan Saparianto
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm new to J2EE so i wanted to create a test application. I made a CMP Entity Bean that mapped a table from a MS SQL Server 2000 database. I'm using Forte for Java 3.0 EE with iPlanet Application Server 6.0 SP3 EE.
I added a datasource using the server's administration tool. I made a resource reference to the datasource and then let Forte generate an EJB Test Application. When I run the application I got this error message:
The exception java.rmi.RemoteException was thrown when invoking findByPrimaryKey with parameters:
Following is the stack trace:
java.rmi.RemoteException: internal error; nested exception is: com.netscape.server.ejb.PersistenceException com.netscape.server.ejb.PersistenceException at com.netscape.server.ejb.SQLPersistenceManager.getConnection(Unknown Source) at com.netscape.server.ejb.SQLPersistenceManager.start(Unknown Source) at com.netscape.server.ejb.SQLPersistenceManager.find(Unknown Source) at com.netscape.server.ejb.EntityDelegateManagerImpl.doPersistentFind(Unknown Source) at com.netscape.server.ejb.EntityDelegateManagerImpl.find(Unknown Source) at com.kivasoft.eb.EBHomeBase.findSingleByParms(Unknown Source) at Data.Entity.ejb_home_Data_Entity_AccountEJB.findByPrimaryKey( at Data.Entity.ejb_kcp_skel_AccountHome.findByPrimaryKey__Data_Entity_Account__indir_wstring(
... and so on
I know that some people has posted this kind of problem, but i couldn't find the answer. Can someone help me?
I had no problems when using J2EE RI
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic