Skip to content

MDB Redeploy fails on Geronimo #15

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions