• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
Get me the mayor's office! I need to tell her about this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic