
EJB
™
Development Using Borland
®
JBuilder
®
8 and BEA WebLogic Server
™
7.0
59
Solution
Start the JDataStore Server. Click Start -> All Programs -> JBuilder 8 Enterprise ->
JDataStore Server to start the Server. After starting JDataStore Server, stop WebLogic
Server and start it again to see if the error is gone.
Error 6: Test client not returning employee name
Error description
Employee Name from the Test Client is = name not found
When did this happen
I have successfully created connection pool and a data source using the WebLogic Server
Console. I have started my WebLogic Server and JDataStore Server and have successfully
deployed my EJB JAR file to WebLogic. I ran my test client, and the test client got the
following message from the EmployeeSesTestClient tab.
Cause
Your test client is communicating properly with the session bean EmployeeSes. But the
session bean EmployeeSes is not connecting to the entity bean Employee.
Solution
Go back to the JBuilder message pane and see the error message from WebLogic Server tab.
If the error message is:
javax.naming.NameNotFoundException: Unable to resolve
'app/ejb/TestEntMod.jar#EmployeeSes/comp/env/ejb/Employee' Resolved:
'app/ejb/TestEntMod.jar#EmployeeSes/comp/env' Unresolved:'ejb' ;
remaining name 'ejb/Employee
Check if your entity bean reference from session bean is correct. Refer to section “Assign
entity bean reference to session bean.”
Kommentare zu diesen Handbüchern