activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Teira (JIRA)" <>
Subject [jira] Commented: (AMQ-895) JMS to JMS Bridge never reconnects under remote broker restarts.
Date Mon, 28 Aug 2006 07:27:23 GMT
    [ ] 
Manuel Teira commented on AMQ-895:

I've updated my local svn copy this morning, and have seen that the ldap-common version have
been bumped up to 0.9.2. But now, I'm running into a different problem:

[WARNING] Unable to get resource from repository apache.snapshots (http://people
11K downloaded
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

1) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus
-archiver \
          -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1-20060826.1
        2) org.apache.maven:maven-archiver:jar:2.2-SNAPSHOT
        3) org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7-SNAPSHOT

1 required artifact is missing.

for artifact:

from the specified remote repositories:
  central (,
  apache.snapshots (,
  apache-snapshots (

I tried to follow the intructions into the error, downloaded a version of plexus-archiver
and got this new error:

C:\src\activemq\trunk>mvn install:install-file -DgroupId=org.codehaus.plexus -Da
rtifactId=plexus-archiver -Dversion=1.0-alpha-7-SNAPSHOT -Dpackaging=jar -Dfile=
"C:\Documents and Settings\Administrador\Escritorio\plexus-archiver-1.0-alpha-7-
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.apache.activemq:activemq-core
POM Location: C:\src\activemq\trunk\activemq-core\pom.xml
Validation Messages:

    [0]  'dependencies.dependency.version' is missing for org.apache.activemq:activemq-jaas

Reason: Failed to validate POM

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Failed to validate POM
        at org.apache.maven.DefaultMaven.getProjects(
        at org.apache.maven.DefaultMaven.doExecute(
        at org.apache.maven.DefaultMaven.execute(
        at org.apache.maven.cli.MavenCli.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        at java.lang.reflect.Method.invoke(
        at org.codehaus.classworlds.Launcher.launchEnhanced(
        at org.codehaus.classworlds.Launcher.launch(
        at org.codehaus.classworlds.Launcher.mainWithExitCode(

        at org.codehaus.classworlds.Launcher.main(
Caused by: org.apache.maven.project.InvalidProjectModelException: Failed to vali
date POM
        at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLog
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
        at org.apache.maven.DefaultMaven.getProject(
        at org.apache.maven.DefaultMaven.collectProjects(
        at org.apache.maven.DefaultMaven.collectProjects(
        at org.apache.maven.DefaultMaven.getProjects(
        ... 11 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Aug 28 09:17:31 CEST 2006
[INFO] Final Memory: 1M/3M
[INFO] ------------------------------------------------------------------------

At this stage, I don't know if this error is produced by a wrong setup of maven (I just followed
the instructions in the ActiveMQ website (running maven 2.0.4)) or is something related with
activemq itself. 

Any hint? 


> JMS to JMS Bridge never reconnects under remote broker restarts.
> ----------------------------------------------------------------
>                 Key: AMQ-895
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.0 RC2, 4.0.1
>            Reporter: Manuel Teira
> I'm using ActiveMQ (4.0.1) JMS to JMS Bridge functionality to connect to a  SunMQ JMS
Broker (3.6 SP3  (Build 02-A)). I'm using two queues, an input and an output one, with the
following configuration:
>     <jmsBridgeConnectors>
>       <jmsQueueConnector outboundQueueConnectionFactory="#REMOTE">
>       <outboundQueueBridges>
>         <outboundQueueBridge outboundQueueName="SUNRECV"/>
>       </outboundQueueBridges>
>       <inboundQueueBridges>
>         <inboundQueueBridge inboundQueueName="SUNSEND"/>
>       </inboundQueueBridges>
>       </jmsQueueConnector>
>     </jmsBridgeConnectors>
> The system works really well until the SunMQ broker needed to be restarted. This is what
I found:
> 1.-ActiveMQ is not aware of the remote broker shutdown. I waited for a while, but no
log on ActiveMQ indicates knowledge about the new situation.
> 2.-When I send a message to the output queue SUNRECV, ActiveMQ complains that the producer
is closed:
> [ERROR][2006/08/25.09:47:12.039][ActiveMQ Session Task]failed to forward message: ActiveMQTextMessage
{commandId = 5, responseRequired = false, messageId = ID:trabucco-43457-1156491843149-3:4:1:1:1,
originalDestination = null, originalTransactionId = null, producerId = ID:trabucco-43457-1156491843149-3:4:1:1,
destination = queue://SUNRECV, transactionId = null, expiration = 0, timestamp = 1156492032027,
arrival = 0, correlationId = null, replyTo = null, persistent = false, type = null, priority
= 0, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID
= null, content = null, marshalledProperties = null, dataStructure = null, redeliveryCounter
= 0, size = 2, properties = null, readOnlyProperties = true, readOnlyBody = true, text = 1}([C4064]:
Cannot perform operation, producer is closed.)
>  After this, it is automatically queueing messages without sending them, showing the
> [DEBUG][2006/08/25.09:47:42.721][RMI TCP Connection(4)-]No subscriptions registered,
will not dispatch message at this time.
>  Even if SunMQ is started again, ActiveMQ is not detecting the new situation, and continues
queueing messages sent to SUNRECV.
> Please, make me know if more information is needed to understand the situation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message