When I installed Glassfish first time I am able to run the port 8080 and can configure JMS resources on it. It asked to restart. Hence I restarted it.
But there after the server started giving following error:
java.net.BindException: No free port within range: 7676=com.sun.enterprise.v3.services.impl.ServiceInitializerHandler@1cf3710
I have checked the ports [ "netstat -a > c:\portsStatus.txt" ] and found all the ports 7676 and 8080 , 4848 are free.
It is not listening on either of 8080 and 4848 ports,as I can not open pages localhost:8080 or localhost:4848
I was doubting if it might be host mapping issue. therefore I check the "C:\WINDOWS\system32\drivers\etc\hosts" file and it had entry of
which I comneted and make a new entry.
Still no progress . I get the same error message as I can check into the domain1's log file.
Can some one give some pointer to overcome this issue please ?
I run the following command (i.e. 'D:\glassfish3\bin\asadmin.bat )
asadmin set configs.config.server-config.network-config. network-listeners.network-listener.http-listener-1.address=10.202.60.127 But it failed.
Then I tried altering the 'domain.xml' file by adding address attribute:
<network-listener address="10.202.60.127" port="8080" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"/>
- This also failed.
Any pointer to reconfigure the GLassfish so that it can listen the local IP please ?
I have learned that this is because of the new Host I have created in addition to default_host on my JMS application server.
I deleted the new host info from \glassfish3\glassfish\domains\rameshDomain1\config\domain.xml and able to run the server successfully.
What's wrong? Where are you going? Stop! Read this tiny ad: