jQuery in Action, 3rd edition
The moose likes Distributed Java and the fly likes Client program does not hit the server program in RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Client program does not hit the server program in RMI" Watch "Client program does not hit the server program in RMI" New topic
Author

Client program does not hit the server program in RMI

Happy S Singh
Ranch Hand

Joined: Nov 14, 2011
Posts: 56
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

Joined: Mar 17, 2011
Posts: 8661
    
  23

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


Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Happy S Singh
Ranch Hand

Joined: Nov 14, 2011
Posts: 56
Replaced
acQueryExecutor a=new acQueryExecutor(req_id,usrname,pwd,"driver","url");



with

 
 
subject: Client program does not hit the server program in RMI
 
It's not a secret anymore!