-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Redeploy of a jca-sockets driven MDB fails on Geronimo, the RA complains: A
socket activation spec already exists with the same port
On redeploy Geronimo calls
org.apache.openejb.core.mdb.MdbContainer.createActivationSpec(DeploymentInfo)
which goes into
com.googlecode.jcasockets.SocketResourceAdapter.endpointActivation(MessageEndpoi
ntFactory, ActivationSpec)
and the Exception happens in
com.googlecode.jcasockets.SocketResourceAdapter.addToKnownListeners(SocketActiva
tionSpec, SocketListener)
Probably the RA should find out if this is a redeploy and then stop and restart
the sockets.
A redeploy operation happens quite often during development, so you have to
change the port on each redeploy to get around this bug.
Original issue reported on code.google.com by webe...@gmail.com on 22 Jun 2010 at 8:55