» An ultimate catalog of computer data
Forum posts for wrapper.exe
Wrapper.exe vs ServerSocket
Initially i have Occupied port 80 in WildCard address 0.0.0.0
Now i am trying to bind this port 80 in one of the available ipaddress say 172.18.81.56
The following exception occurred
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)
but while executing the same piece of code from windows service (wrapper.exe) there is no exception, server socket created successfully, what may be the problem...
here the piece of code
ServerSocket ss = null;
try
{
serverHost = '172.18.81.56';
InetAddress ina = InetAddress.getByName(serverHost);
ss = new ServerSocket(port, 10, ina);
ss.close();
}
catch(Exception e)
{
e.printStackTrace();
}
View complete forum thread with replies
Other posts related to wrapper.exe
See Related Forum Messages: Follow the Links Below to View Complete Thread
Wrapper.exe vs ServerSocket
How to pass a system property using Wrapper.exe
Cassandra API JMX server thread
Execute batch file(in turn executes exe) from powershell
System.BadImageFormatException when installing service
When running JBoss as a windows service, the path changes to wraper executable directory fol…
Append arbitrary jar to classpath using Java Service Wrapper from the command line?
How to specifiy the start directory for the CruiseControl service wrapper under windows
What maven 3.0.4 pom will write a dependency artifact including version into a Tanuki Servic…
ActiveMQ install issue