digitalsoft / openjsip

Automatically exported from code.google.com/p/openjsip
Apache License 2.0
0 stars 5 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
confirm. i get the same error

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

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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