nightdomain / jmemcache-daemon

Automatically exported from code.google.com/p/jmemcache-daemon
Apache License 2.0
0 stars 0 forks source link

Restart problems on Windows Platform (not releasing the port) #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the jmemcache-daemon on the windows platform 

What is the expected output? What do you see instead?
On some of the restarts, the port is not released:
Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to:
0.0.0.0/0.0.0.0:11211
        at
org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:291)
        at
com.thimbleware.jmemcached.MemCacheDaemon.start(MemCacheDaemon.java:85)
        at
com.informiam.platform.cache.service.CacheDaemon.initialize(CacheDaemon.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProces
sor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:297)
        at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProces
sor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.j
ava:250)
        at
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProces
sor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:
144)
        ... 61 more
Caused by: java.net.BindException: Address already in use: bind
        at sun.nio.ch.Net.bind(Native Method)

What version of the product are you using? On what operating system?
This is happening on .8 version deployed on Geronimo 

Original issue reported on code.google.com by damj...@gmail.com on 5 Feb 2010 at 6:52

GoogleCodeExporter commented 9 years ago
Port 11211 is held by the memcached.exe process.

To start Geronimo, one has to end the memcached.exe process. After that, 
Geronimo
will start.

Original comment by damj...@gmail.com on 5 Feb 2010 at 6:53

GoogleCodeExporter commented 9 years ago
Interesting; please try building off revision control (0.10-SNAPSHOT) and let 
me know 
if you continue to have issues.

Original comment by ryan.daum on 8 Feb 2010 at 1:31

GoogleCodeExporter commented 9 years ago
What is memcached.exe? This sounds like native memcached and jmemcached (which 
has no 
.exe form) fighting for control over the port.

Original comment by ryan.daum on 8 Feb 2010 at 1:49

GoogleCodeExporter commented 9 years ago

Original comment by ryan.daum on 8 Feb 2010 at 2:36