[JBoss JIRA] (JBRULES-3723) 'IDEOGRAPHIC SPACE' (U+3000) in DSL fails
by Toshiya Kobayashi (JIRA)
Toshiya Kobayashi created JBRULES-3723:
------------------------------------------
Summary: 'IDEOGRAPHIC SPACE' (U+3000) in DSL fails
Key: JBRULES-3723
URL: https://issues.jboss.org/browse/JBRULES-3723
Project: JBRULES
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler-DSL
Affects Versions: 5.5.0.Final
Reporter: Toshiya Kobayashi
Assignee: Mark Proctor
When DSL contains ' ' (='IDEOGRAPHIC SPACE' (U+3000)), DSLMapLexer fails with "DSL lexer error" (Internally, it's a NoViableAltException). IDEOGRAPHIC SPACE is commonly used in Japan so please allow it to use. It doesn't mean that I want to use IDEOGRAPHIC SPACE as an alternative to ASCII whitespace. Just to use it as same as usual unicode characters.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JGRP-1571) Race condition in tcpgossip discovery
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1571?page=com.atlassian.jira.plugin.... ]
Bela Ban updated JGRP-1571:
---------------------------
Fix Version/s: 3.3
> Race condition in tcpgossip discovery
> -------------------------------------
>
> Key: JGRP-1571
> URL: https://issues.jboss.org/browse/JGRP-1571
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Ramky Kandula
> Assignee: Bela Ban
> Fix For: 3.3
>
>
> We are observing a race condition in TCPGOSSIP based discovery.
> A is gossip router and B is a node connecting to gossip router.
> Timer-1 on B starts connecting, does ping.
> Timer-2 on B starts reconnecting
> A sees this new connection and closes the old one from Timer-1 from B.
> Timer-2 on B does ping
> Timer-1 on B tries to do gossip_get and encounters broken pipe as the socket
> is closed.
> This process goes on forever.
> Logs from Gossip Router A
> =========================
> 2012-12-14 13:20:47,687 DEBUG [GossipRouter][] org.jgroups.stack.GossipRouter-
> Accepted connection, socket is
> Socket[addr=/192.168.1.11,port=21009,localport=12001]
> 2012-12-14 13:20:47,687 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] entering
> receive loop
> 2012-12-14 13:20:47,749 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] received
> CONNECT(group=TestCluster, addr=dd-ace1-20957,
> logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:20:47,749 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
> /192.168.1.11, logical_addrs: dd-ace1-20957, dd-ace1-20957]] for
> addr[dd-ace1-20957]. Closing old connection ...
> 2012-12-14 13:20:47,749 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] connection handshake completed, added
> dd-ace1-20957 to group TestCluster
> 2012-12-14 13:20:47,749 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] processed CONNECT(group=TestCluster,
> addr=dd-ace1-20957, logical_name=dd-ace1-20957,
> physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:20:48,875 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] received PING(group=null, addr=null)
> 2012-12-14 13:20:48,875 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] processed PING(group=null, addr=null)
> 2012-12-14 13:20:53,735 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] received CONNECT(group=TestCluster,
> addr=dd-ace1-20957, logical_name=dd-ace1-20957,
> physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:20:53,736 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
> /192.168.1.11, logical_addrs: dd-ace1-20957]] for addr[dd-ace1-20957]. Closing
> old connection ...
> 2012-12-14 13:20:53,736 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] is being closed
> 2012-12-14 13:20:53,838 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957, dd-ace1-20957] connection handshake completed,
> added dd-ace1-20957 to group TestCluster
> 2012-12-14 13:20:53,838 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957, dd-ace1-20957] processed
> CONNECT(group=TestCluster, addr=dd-ace1-20957,
> logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:21:04,023 DEBUG [GossipRouter][] org.jgroups.stack.GossipRouter-
> Accepted connection, socket is
> Socket[addr=/192.168.1.11,port=37357,localport=12001]
> 2012-12-14 13:21:04,023 DEBUG [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] entering
> receive loop
> 2012-12-14 13:21:04,085 TRACE [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] received
> CONNECT(group=TestCluster, addr=dd-ace1-20957,
> logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:21:04,085 DEBUG [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
> /192.168.1.11, logical_addrs: dd-ace1-20957, dd-ace1-20957]] for
> addr[dd-ace1-20957]. Closing old connection ...
> 2012-12-14 13:21:04,086 DEBUG [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] connection handshake completed, added
> dd-ace1-20957 to group TestCluster
> 2012-12-14 13:21:04,086 TRACE [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] processed CONNECT(group=TestCluster,
> addr=dd-ace1-20957, logical_name=dd-ace1-20957,
> physical_addrs=192.168.1.11:7800)
> Logs from Gossip Client B
> =========================
> 2012-12-14 13:20:47,687 DEBUG [GossipRouter][] org.jgroups.stack.GossipRouter-
> Accepted connection, socket is
> Socket[addr=/192.168.1.11,port=21009,localport=12001]
> 2012-12-14 13:20:47,687 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] entering
> receive loop
> 2012-12-14 13:20:47,749 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] received
> CONNECT(group=TestCluster, addr=dd-ace1-20957,
> logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:20:47,749 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
> /192.168.1.11, logical_addrs: dd-ace1-20957, dd-ace1-20957]] for
> addr[dd-ace1-20957]. Closing old connection ...
> 2012-12-14 13:20:47,749 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] connection handshake completed, added
> dd-ace1-20957 to group TestCluster
> 2012-12-14 13:20:47,749 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] processed CONNECT(group=TestCluster,
> addr=dd-ace1-20957, logical_name=dd-ace1-20957,
> physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:20:48,875 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] received PING(group=null, addr=null)
> 2012-12-14 13:20:48,875 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] processed PING(group=null, addr=null)
> 2012-12-14 13:20:53,735 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] received CONNECT(group=TestCluster,
> addr=dd-ace1-20957, logical_name=dd-ace1-20957,
> physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:20:53,736 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
> /192.168.1.11, logical_addrs: dd-ace1-20957]] for addr[dd-ace1-20957]. Closing
> old connection ...
> 2012-12-14 13:20:53,736 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] is being closed
> 2012-12-14 13:20:53,838 DEBUG [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957, dd-ace1-20957] connection handshake completed,
> added dd-ace1-20957 to group TestCluster
> 2012-12-14 13:20:53,838 TRACE [gossip-handlers--9882][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957, dd-ace1-20957] processed
> CONNECT(group=TestCluster, addr=dd-ace1-20957,
> logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:21:04,023 DEBUG [GossipRouter][] org.jgroups.stack.GossipRouter-
> Accepted connection, socket is
> Socket[addr=/192.168.1.11,port=37357,localport=12001]
> 2012-12-14 13:21:04,023 DEBUG [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] entering
> receive loop
> 2012-12-14 13:21:04,085 TRACE [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] received
> CONNECT(group=TestCluster, addr=dd-ace1-20957,
> logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
> 2012-12-14 13:21:04,085 DEBUG [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
> /192.168.1.11, logical_addrs: dd-ace1-20957, dd-ace1-20957]] for
> addr[dd-ace1-20957]. Closing old connection ...
> 2012-12-14 13:21:04,086 DEBUG [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] connection handshake completed, added
> dd-ace1-20957 to group TestCluster
> 2012-12-14 13:21:04,086 TRACE [gossip-handlers--9881][]
> org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
> logical_addrs: dd-ace1-20957] processed CONNECT(group=TestCluster,
> addr=dd-ace1-20957, logical_name=dd-ace1-20957,
> physical_addrs=192.168.1.11:7800)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (AS7-6389) Integrate prunsrv.exe for OOTB Windows service
by Nicklas Karlsson (JIRA)
Nicklas Karlsson created AS7-6389:
-------------------------------------
Summary: Integrate prunsrv.exe for OOTB Windows service
Key: AS7-6389
URL: https://issues.jboss.org/browse/AS7-6389
Project: Application Server 7
Issue Type: Enhancement
Components: Scripts
Affects Versions: 7.2.0.Alpha1
Environment: Windows
Reporter: Nicklas Karlsson
Assignee: Nicklas Karlsson
It would be nice to provide pre-configured scripts for running JBoss as a service on Windows. Tomaž Cerar hinted that the prunsrv.exe in use for EAP should also be used for the community version
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (JGRP-1571) Race condition in tcpgossip discovery
by Ramky Kandula (JIRA)
Ramky Kandula created JGRP-1571:
-----------------------------------
Summary: Race condition in tcpgossip discovery
Key: JGRP-1571
URL: https://issues.jboss.org/browse/JGRP-1571
Project: JGroups
Issue Type: Bug
Affects Versions: 3.1
Reporter: Ramky Kandula
Assignee: Bela Ban
We are observing a race condition in TCPGOSSIP based discovery.
A is gossip router and B is a node connecting to gossip router.
Timer-1 on B starts connecting, does ping.
Timer-2 on B starts reconnecting
A sees this new connection and closes the old one from Timer-1 from B.
Timer-2 on B does ping
Timer-1 on B tries to do gossip_get and encounters broken pipe as the socket
is closed.
This process goes on forever.
Logs from Gossip Router A
=========================
2012-12-14 13:20:47,687 DEBUG [GossipRouter][] org.jgroups.stack.GossipRouter-
Accepted connection, socket is
Socket[addr=/192.168.1.11,port=21009,localport=12001]
2012-12-14 13:20:47,687 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] entering
receive loop
2012-12-14 13:20:47,749 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] received
CONNECT(group=TestCluster, addr=dd-ace1-20957,
logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
2012-12-14 13:20:47,749 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
/192.168.1.11, logical_addrs: dd-ace1-20957, dd-ace1-20957]] for
addr[dd-ace1-20957]. Closing old connection ...
2012-12-14 13:20:47,749 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] connection handshake completed, added
dd-ace1-20957 to group TestCluster
2012-12-14 13:20:47,749 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] processed CONNECT(group=TestCluster,
addr=dd-ace1-20957, logical_name=dd-ace1-20957,
physical_addrs=192.168.1.11:7800)
2012-12-14 13:20:48,875 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] received PING(group=null, addr=null)
2012-12-14 13:20:48,875 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] processed PING(group=null, addr=null)
2012-12-14 13:20:53,735 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] received CONNECT(group=TestCluster,
addr=dd-ace1-20957, logical_name=dd-ace1-20957,
physical_addrs=192.168.1.11:7800)
2012-12-14 13:20:53,736 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
/192.168.1.11, logical_addrs: dd-ace1-20957]] for addr[dd-ace1-20957]. Closing
old connection ...
2012-12-14 13:20:53,736 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] is being closed
2012-12-14 13:20:53,838 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957, dd-ace1-20957] connection handshake completed,
added dd-ace1-20957 to group TestCluster
2012-12-14 13:20:53,838 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957, dd-ace1-20957] processed
CONNECT(group=TestCluster, addr=dd-ace1-20957,
logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
2012-12-14 13:21:04,023 DEBUG [GossipRouter][] org.jgroups.stack.GossipRouter-
Accepted connection, socket is
Socket[addr=/192.168.1.11,port=37357,localport=12001]
2012-12-14 13:21:04,023 DEBUG [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] entering
receive loop
2012-12-14 13:21:04,085 TRACE [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] received
CONNECT(group=TestCluster, addr=dd-ace1-20957,
logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
2012-12-14 13:21:04,085 DEBUG [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
/192.168.1.11, logical_addrs: dd-ace1-20957, dd-ace1-20957]] for
addr[dd-ace1-20957]. Closing old connection ...
2012-12-14 13:21:04,086 DEBUG [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] connection handshake completed, added
dd-ace1-20957 to group TestCluster
2012-12-14 13:21:04,086 TRACE [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] processed CONNECT(group=TestCluster,
addr=dd-ace1-20957, logical_name=dd-ace1-20957,
physical_addrs=192.168.1.11:7800)
Logs from Gossip Client B
=========================
2012-12-14 13:20:47,687 DEBUG [GossipRouter][] org.jgroups.stack.GossipRouter-
Accepted connection, socket is
Socket[addr=/192.168.1.11,port=21009,localport=12001]
2012-12-14 13:20:47,687 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] entering
receive loop
2012-12-14 13:20:47,749 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] received
CONNECT(group=TestCluster, addr=dd-ace1-20957,
logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
2012-12-14 13:20:47,749 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
/192.168.1.11, logical_addrs: dd-ace1-20957, dd-ace1-20957]] for
addr[dd-ace1-20957]. Closing old connection ...
2012-12-14 13:20:47,749 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] connection handshake completed, added
dd-ace1-20957 to group TestCluster
2012-12-14 13:20:47,749 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] processed CONNECT(group=TestCluster,
addr=dd-ace1-20957, logical_name=dd-ace1-20957,
physical_addrs=192.168.1.11:7800)
2012-12-14 13:20:48,875 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] received PING(group=null, addr=null)
2012-12-14 13:20:48,875 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] processed PING(group=null, addr=null)
2012-12-14 13:20:53,735 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] received CONNECT(group=TestCluster,
addr=dd-ace1-20957, logical_name=dd-ace1-20957,
physical_addrs=192.168.1.11:7800)
2012-12-14 13:20:53,736 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
/192.168.1.11, logical_addrs: dd-ace1-20957]] for addr[dd-ace1-20957]. Closing
old connection ...
2012-12-14 13:20:53,736 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] is being closed
2012-12-14 13:20:53,838 DEBUG [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957, dd-ace1-20957] connection handshake completed,
added dd-ace1-20957 to group TestCluster
2012-12-14 13:20:53,838 TRACE [gossip-handlers--9882][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957, dd-ace1-20957] processed
CONNECT(group=TestCluster, addr=dd-ace1-20957,
logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
2012-12-14 13:21:04,023 DEBUG [GossipRouter][] org.jgroups.stack.GossipRouter-
Accepted connection, socket is
Socket[addr=/192.168.1.11,port=37357,localport=12001]
2012-12-14 13:21:04,023 DEBUG [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] entering
receive loop
2012-12-14 13:21:04,085 TRACE [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11] received
CONNECT(group=TestCluster, addr=dd-ace1-20957,
logical_name=dd-ace1-20957, physical_addrs=192.168.1.11:7800)
2012-12-14 13:21:04,085 DEBUG [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- Found old connection[ConnectionHandler[peer:
/192.168.1.11, logical_addrs: dd-ace1-20957, dd-ace1-20957]] for
addr[dd-ace1-20957]. Closing old connection ...
2012-12-14 13:21:04,086 DEBUG [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] connection handshake completed, added
dd-ace1-20957 to group TestCluster
2012-12-14 13:21:04,086 TRACE [gossip-handlers--9881][]
org.jgroups.stack.GossipRouter- ConnectionHandler[peer: /192.168.1.11,
logical_addrs: dd-ace1-20957] processed CONNECT(group=TestCluster,
addr=dd-ace1-20957, logical_name=dd-ace1-20957,
physical_addrs=192.168.1.11:7800)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (AS7-6378) BootstrapBundlesIntegration assumes META-INF/MANIFEST.MF is only available from 1 module
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/AS7-6378?page=com.atlassian.jira.plugin.s... ]
Brian Stansberry updated AS7-6378:
----------------------------------
Comment: was deleted
(was: OT: it would be nice if these were repackaged to go in a package o.j.a.t.integration.domain.respawn. Add 'domain' to be more consistent with the resut of the module. Be sure to look at the pom though; a repackage will lead to the tests not running if we aren't careful.)
> BootstrapBundlesIntegration assumes META-INF/MANIFEST.MF is only available from 1 module
> ----------------------------------------------------------------------------------------
>
> Key: AS7-6378
> URL: https://issues.jboss.org/browse/AS7-6378
> Project: Application Server 7
> Issue Type: Bug
> Components: OSGi
> Reporter: Brian Stansberry
> Assignee: Thomas Diesler
> Fix For: 7.2.0.Alpha1
>
>
> BootstrapBundlesIntegration has this:
> {code}
> URL manifestURL = module.getClassLoader().getResource(JarFile.MANIFEST_NAME); // PROBLEM
> if (manifestURL != null) {
> InputStream input = manifestURL.openStream();
> try {
> Manifest manifest = new Manifest(input);
> if (OSGiManifestBuilder.isValidBundleManifest(manifest)) {
> return OSGiMetaDataBuilder.load(manifest);
> }
> } finally {
> input.close();
> }
> }
> {code}
> The line marked // PROBLEM is problematic, since a module may have more than one resource associated with the given path, and that call will return the URL for the first one found, and not necessarily a URL for a resource located inside the intended module. For example, in testing a patch for a different issue I found that the same call for module "org.jboss.netty" could return a URL pointing to:
> org/jboss/logging/main/jboss-logging-3.1.2.GA.jar
> javax/servlet/api/main/jboss-servlet-api_3.0_spec-1.0.2.Final.jar
> org/jboss/netty/main/netty-3.4.5.Final.jar
> The first two modules are listed as dependencies of org.jboss.netty.
> A module could also include more than one jar, again leading to the possibility of multiple URLs with only one being relevant. But I'm not sure what the intended behavior is in that case.
> Calling getResources(JarFile.MANIFEST_NAME) instead of getResource and then iterating through the enumeration and checking to see if the URL is associated with the target module would be a possible fix.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years