• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

gurus, pls help me out.

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic