Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

gurus, pls help me out.

 
Tracy Qi
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am in the final stage of my submission. I jared my package. So i have
FBNClient.jar
FBNServer.jar
the problem is when i try run client from
java -jar FBNClient.jar (this IS an executable jar)
it always give me this error:
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
java.net.MalformedURLException: unknown protocol: d
java.net.MalformedURLException: unknown protocol: d
But if i try to execute from
java suncertify/GUI/FBNStart
it works fine and connect to the server with no problem.
I did jar the most updated files. Anybody know why the client can not
connect to the server when run from jar?
any suggestion are highly appreciated.
Tracy
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did dot do an exvutable jar.
I let the examiner to unjar it and then run.
I felt it was safe. In case he/she can not run u program, then it is a big problem.
Best luck.
Ruilin
scjd
 
Val Dra
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The way i fixed this is i had the same package structure on client side. So in my client jar file i had all the packages listed and placed Skel into the server package. After that i had no longer problems.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic