Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Ugly Error Message in RunTime
Ugly Error Message in RunTime [message #121622] Sun, 04 December 2005 18:26 Go to next message
Eclipse UserFriend
Originally posted by: rebecca.levy.mail.mcgill.ca

When running code in Eclipse, the console outputs an incredibly
intimidating error message:

Activation.main: warning: sun.rmi.activation.execPolicy system
property unspecified and no ExecPermissions/ExecOptionPermissions
granted; subsequent activation attempts may fail due to unsuccessful
ExecPermission/ExecOptionPermission permission checks. For
documentation on how to configure rmid security, refer to:

http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html

the first time I run anything and

Activation.main: an exception occurred: Port already in use: 1098; nested
exception is:
java.net.BindException: Address already in use: JVM_Bind
java.rmi.server.ExportException: Port already in use: 1098; nested
exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown
Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
at sun.rmi.server.Activation.main(Unknown Source)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerS ocket(Unknown
Source)
at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerS ocket(Unknown
Source)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
... 9 more

anytime after that. Anyone have a clue what all this means and how to fix
it? Other IDEs (JCreator) run fine.
Re: Ugly Error Message in RunTime [message #121891 is a reply to message #121622] Mon, 05 December 2005 19:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Becca wrote:
> When running code in Eclipse, the console outputs an incredibly
> intimidating error message:
> Activation.main: warning: sun.rmi.activation.execPolicy system
> property unspecified and no ExecPermissions/ExecOptionPermissions
> granted; subsequent activation attempts may fail due to unsuccessful
> ExecPermission/ExecOptionPermission permission checks. For
> documentation on how to configure rmid security, refer to:
>
> http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
> http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
>
> the first time I run anything and
> Activation.main: an exception occurred: Port already in use: 1098;
> nested exception is: java.net.BindException: Address
> already in use: JVM_Bind
> java.rmi.server.ExportException: Port already in use: 1098; nested
> exception is: java.net.BindException: Address already in
> use: JVM_Bind
> at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown
> Source)
> at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
> at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
> at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
> at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
> at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
> at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
> at sun.rmi.server.Activation.main(Unknown Source)
> Caused by: java.net.BindException: Address already in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(Unknown Source)
> at java.net.ServerSocket.bind(Unknown Source)
> at java.net.ServerSocket.<init>(Unknown Source)
> at java.net.ServerSocket.<init>(Unknown Source)
> at
> sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerS ocket(Unknown
> Source)
> at
> sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerS ocket(Unknown
> Source)
> at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
> ... 9 more
>
> anytime after that. Anyone have a clue what all this means and how to
> fix it? Other IDEs (JCreator) run fine.
>


It seems pretty obvious from the stack trace that your code is using RMI
which is trying to use port 1098, but that port is already in use.
Perhaps your RMI server is already running...

HTH,
Eric
Re: Ugly Error Message in RunTime [message #123056 is a reply to message #121891] Fri, 09 December 2005 20:02 Go to previous message
Eclipse UserFriend
Originally posted by: rebecca.levy.mail.mcgill.ca

OK... why would it be running and how would I fix it?
Previous Topic:source and apis
Next Topic:J2EE example code for Eclipse
Goto Forum:
  


Current Time: Thu Dec 26 14:10:25 GMT 2024

Powered by FUDForum. Page generated in 0.07163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top