Category:Troubleshooting

From Jini.org

Jump to: navigation, search

Commom troubleshooting FAQs, and informations.

(All content is provided just to point out topics)

Contents

CLASSPATH

  • Do not run the server starter with your classes on the classpath, use configuration.
  • Exception in thread "main" java.lang.NoClassDefFoundError:

RMI

Class loading

  • No Http server (verify your code base):
java.rmi.ServerException: RemoteException in server thread; nested exception is:
        java.rmi.UnmarshalException: unmarshalling method/arguments; nested exception is:
        java.lang.ClassNotFoundException: could not obtain preferred value for: ...

Serializing / Marshaling

  • Serialization errors
  • Using java.rmi.MarshalledObject

Network Configuration

For example: On linux machines you will need a DNS server (or I did).

Permissions

  • Policy file
  • SecurityManager

Discovery / Join

Lease

Security

Logging / Debugging

  • Setting up local logging
  • Setting up remote logging service
  • Command line parameters to improve logging (jini, rmi, permission parameters)
  • Local debugging
  • Remote debugging

This category currently contains no articles or media.

Personal tools