• Post Reply Bookmark Topic Watch Topic
  • New Topic

Client program does not hit the server program in RMI

 
Happy S Singh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Below are the snippets which implements RMI

Following is my Server class



Interface



Client



When I run the client code I dont get any output instead in the eclipse console header Its written javaw.exe terminated.
My question is why my client program does not hit the server.
 
Winston Gutkowski
Bartender
Posts: 10571
64
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Happy S Singh wrote:When I run the client code I dont get any output instead in the eclipse console header Its written javaw.exe terminated.
My question is why my client program does not hit the server.

I see you didn't follow my advice in your other thread. Why are you working on an RMI layer when you haven't even got your basic executor running properly? Sounds like a recipe for disaster to me.

Winston
 
Happy S Singh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Replaced
acQueryExecutor a=new acQueryExecutor(req_id,usrname,pwd,"driver","url");



with

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!