15,000 Jobs Available in:
Java, ASP, C#, PHP, SQL, SAP, MySQL and many more.
- Class Quick -
The moose likes IDEs, Version Control and other tools and the fly likes MyEclipse_IDE Problem Port already in use:1098 JVM_Bind exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "MyEclipse_IDE Problem Port already in use:1098 JVM_Bind exception" Watch "MyEclipse_IDE Problem Port already in use:1098 JVM_Bind exception" New topic
Author

MyEclipse_IDE Problem Port already in use:1098 JVM_Bind exception

Bindu Lakhanpal
Ranch Hand

Joined: Oct 17, 2008
Posts: 163

Hi all,
I am using MyEclipse IDE for developing a jsp application.I am using Tomcat server.Server starts correctly.But when i try to run the application i get following error in consol window.
Any idea?


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

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.createServerSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
... 9 more
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4489

Another application already has port 1098 open. You will have to either stop that app, change that other app to use another port, or change Tomcat to use another port.

What OS are you using? If Windows or Linux you can use netstat to determine which app is using port 1098. If Windows you will be better off using TCPView from sysinternals.


JBoss In Action
Bindu Lakhanpal
Ranch Hand

Joined: Oct 17, 2008
Posts: 163

Thanks for your reply.
I am using Window XP professional.
I downloaded tcpview and found javaw.exe running on port 1098.I ended that process.
Then again tried to run my project. Then i got the following message on console.but application still is not running.

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
 
 
subject: MyEclipse_IDE Problem Port already in use:1098 JVM_Bind exception
 
developer file tools