• Post Reply Bookmark Topic Watch Topic
  • New Topic

lookup a Session Bean(ConnectException)?

 
Pourang Emami
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer to the following problem would be highly appreciated:
IDE: Oracle9i JDeveloper
OS: Win XP-pro
************************************************************************
1-I had a Session Bean and a test Client for that which was working fine.
2-Then I created an EntityBean and set a local reference from SessionBean to this EntityBean
3-Both EJBs are compiled and deployed fine
PROBLEM:
Although before creating the EntityBean, the client was working fine
BUT NOW
the test client give me the following Exception at the line I want to lookup the SessionBean:
javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
java.net.ConnectException: Connection refused: connect

What should I do?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!