Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

location-service not starting on java version "1.7.0_65" (linux) #17

Open
GoogleCodeExporter opened this issue Sep 1, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.starting location-service
2.
3.

What is the expected output? What do you see instead?
Java exception

What version of the product are you using? On what operating system?

 v0.0.4

linux
Please provide any additional information below.

Hi!
I'm running openjsip on linux with java "1.7.0_65", but when starting 
location-service it shows the exception below:
2014-10-15 20:52:33,220  [main] ERROR - 
java.rmi.ServerException: RemoteException occurred in server thread; nested 
exception is: 
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
    java.lang.ClassNotFoundException: openjsip.remote.locationservice.LocationServiceInterface
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:419)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)
    at sun.rmi.transport.Transport$1.run(Transport.java:177)

Someone has the same error? 

Original issue reported on code.google.com by alma.xit...@gmail.com on 15 Oct 2014 at 9:06

@GoogleCodeExporter
Copy link
Author

confirm. i get the same error

Original comment by rsob...@gmail.com on 7 Nov 2014 at 8:41

@GoogleCodeExporter
Copy link
Author

I am even running under java-8 and ubuntu 14.04 and having the same error.

Original comment by lipu09cs...@gmail.com on 10 Jan 2015 at 2:02

@GoogleCodeExporter
Copy link
Author

I got the same exception and after spending couple of hours I have found that 
the problem is in rmiregistry codebase policy. Recently the rmiregistry 
codebase policy has been changed and the default options is now useCodebaseOnly 
is true. So I have made it false and it started the location-service.

so when running the rmiregistry you have to execute command "start rmiregistry 
-J-Djava.rmi.server.useCodebaseOnly=false" instead of "start rmiregistry"

Original comment by AlamgirK...@gmail.com on 11 Feb 2015 at 11:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant