• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic