Forums Register Login

Problems running CMP beans on iPlanet Application Server

+Pie Number of slices to send: Send
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:
admin
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(ejb_home_Data_Entity_AccountEJB.java:154) at Data.Entity.ejb_kcp_skel_AccountHome.findByPrimaryKey__Data_Entity_Account__indir_wstring(ejb_kcp_skel_AccountHome.java:304)...
... 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
thanks,
Irsan
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 528 times.
Similar Threads
CMP 2.0 DB2 WSAD Exception
ClassCastException using Naming.lookup()
ClassCastExceptions using CXS process in iPlanet 6.0 SP3.
ClassCastException using Naming.lookup()
Entity beans and foreign keys
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:35:17.