Receiving Port Bind Exception When Starting Admin Server
(Doc ID 1981390.1)
Last updated on AUGUST 13, 2024
Applies to:
Oracle Communications Offline Mediation Controller - Version 6.0.0.1.0 to 6.0.0.1.0 [Release 6.0]Information in this document applies to any platform.
Goal
Q1) If firewallportnumbers.cfg is configured with the below details # Port numbers to be used by AdminServer's AdminServerImpl::main() .
AdminServer=64110
APIMetaFactory=64111
Is this configured correctly?
Q2) Started the adminsvr with the port number 64110
./adminsvr -f -p 64110
Receiving exception port bind exception.:
-sh-3.2$ pwd
_apps/data/OMC6_APPS/FNET_DWP/ocomc/bin
-sh-3.2$ ./adminsvr -f -p 34110
[AS] Admin Server is getting ready
[AS] OSA Home is:_apps/data/OMC6_APPS/FNET_DWP/ocomc
....
2015-02-11 13:05:53;INFO ;RemoteExcecption while registering Admin Server object
java.rmi.server.ExportException: Port already in use: 34110; nested exception is:
java.net.BindException: Address already in use
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:328)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:236)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122)
at sun.rmi.registry.RegistryImpl.(RegistryImpl.java:108)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
.....
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:667)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:317)
... 11 more
The url formed for retreiving remote reference is rmi://IP=<IP>:34112/nodemgr
-sh-3.2$ ./nodemgr -f -p 34110
Started successfully with the same port
Why is the above BindException ?
Q3) Started the adminsvr with the port number 64109 (some port number other than 64110/64111)
Adminsvr up and running successful. When I do netstat -l -p I haven't seen any process with the port number 64109 but I can see the process with the port numbers 64110 and 64111 (admin server ports which are configured in firewallportnumbers.cfg)
Q4) General query on nodemgr, getting msg sleep interrupted in the node manager console continuously. What is the reason for these messages?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |