activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Komandur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-917) Discovery Network Connector needs to clean up internal ...
Date Thu, 09 Nov 2006 00:00:04 GMT
    [ https://issues.apache.org/activemq/browse/AMQ-917?page=comments#action_37380 ] 
            
Sridhar Komandur commented on AMQ-917:
--------------------------------------


   [[ Old comment, sent by email on Mon, 2 Oct 2006 15:34:32 -0700 ]]

James,

I tried many snapshots going back in 5 day intervals and all the builds fail
for some reason
...  (from
http://people.apache.org/maven-snapshot-repository/org/apache/activemq/apache-activemq/4.1-incubator-SNAPSHOT/
)

Which SNAPSHOT builds cleanly (I am using maven 2, version 2.0.4) ? Am I
missing something ?

Thanks
Regards
- Sridhar Komandur

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT/src/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java:[28,42]
package org.apache.activemq.kaha.impl.data does not exist

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT/src/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java:[29,42]
package org.apache.activemq.kaha.impl.data does not exist

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT/src/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/ListContainerImpl.java:[30,42]
package org.apache.activemq.kaha.impl.data does not exist

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT/src/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/BaseContainerImpl.java:[25,42]
package org.apache.activemq.kaha.impl.data does not exist

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT/src/activemq-core/src/main/java/org/apache/activemq/kaha/impl/container/BaseContainerImpl.java:[26,42]
package org.apache.activemq.kaha.impl.data does not exist

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT/src/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/IndexItem.java:[24,42]
package org.apache.activemq.kaha.impl.data does not exist

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT/src/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/IndexItem.java:[25,42]
package org.apache.activemq.kaha.impl.data does not exist

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT/src/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/IndexItem.java:[31,35]
cannot find symbol
symbol: class Item
 public class IndexItem implements Item{

/home/komandur/apache-activemq-4.1-incubator-SNAPSHOT
/src/activemq-core/src/mai



> Discovery Network Connector needs to clean up internal ...
> ----------------------------------------------------------
>
>                 Key: AMQ-917
>                 URL: https://issues.apache.org/activemq/browse/AMQ-917
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>            Reporter: Sridhar Komandur
>         Assigned To: james strachan
>         Attachments: new_patchfile.txt, patchfile.txt, patchfile.txt
>
>
> Consider the following scenario: All the brokers are using a directory service based
discovery agent (for example, DNS). Broker A comes up and tries to connect to broker B, which
is not functional yet. The Discovery Network Connector at A adds service B to its tracking
state "bridges" (list of connected services) before activating the connection. However, if
there is a failure, the data structure is not cleaned up. When the DNS Discovery Agent module
rescans (DNS)  and passes on uri for B into DNC, it simply ignores it (as its tracking state
hasn't been cleaned up upon prior failure).
> The attached patch should take care of this issue (in the observed code path) - test
log below:
> 2006-09-11 15:36:11,810 [main           ] INFO  network.DemandForwardingBridge1 - Starting
a network connection between vm://localhost#0 and tcp://null:0 has been established.
> 2006-09-11 15:36:48,158 [main           ] DEBUG network.DemandForwardingBridge1 -  stopping
localhost bridge to null is disposed already ? false
> 2006-09-11 15:36:48,158 [main           ] INFO  ransport.vm.VMTransportFactory1 - Shutting
down VM connectors for broker: localhost
> 2006-09-11 15:36:48,159 [main           ] INFO  ransport.vm.VMTransportFactory1 - Shutting
down VM connectors for broker: localhost
> 2006-09-11 15:36:48,162 [main           ] INFO  vemq.broker.TransportConnector1 - Connector
vm://localhost Stopped
> 2006-09-11 15:36:48,162 [main           ] DEBUG network.DemandForwardingBridge1 - localhost
bridge to null stopped
> 2006-09-11 15:37:11,246 [main           ] WARN  ivemq.network.NetworkConnector1 - Could
not start network bridge between: vm://localhost?network=true and: tcp://komandur-2.desktop.amazon.com:61617
due to: java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message