
EJB
™
Development Using Borland
®
JBuilder
®
8 and BEA WebLogic Server
™
7.0
54
Error 1: NameNotFoundException from test client
Error description
javax.naming.NameNotFoundException: Unable to resolve 'TestSes'
Resolved: ''Unresolved:'TestSes'; remaining name 'TestSes'
When did this happen
I have deployed my EJB JAR file. Now, I am running my test client, and it fails with the
above error.
Cause
The test client is unable to find the JNDI name of the EJB.
Solution
Check the deployment of EJB JAR file again. The deployment of TestSesMod may have
failed. To check the deployment, start WebLogic Server Console and find the EJB module
name TestSesMod from mydomain -> Deployments ->EJB.
Click the EJB Module TestSesMod from the from the right-hand pane of WebLogic Server
Console , click Deploy. If the JAR file is deployed properly, you will see “true” under
Deployed column. Also click Monitoring tab, and click Monitor all Stateless
EJBRuntimes.
In case of unsuccessful deployment, try to re-deploy again.
Error 2: Test client run failed
Error description
javax.naming.CommunicationException. Root exception is
java.net.ConnectException: t3://localhost:7001: Destination
unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available
router to destination
Komentarze do niniejszej Instrukcji