[JBoss JIRA] Created: (JGRP-767) JChannel: open() fails
by Bela Ban (JIRA)
JChannel: open() fails
----------------------
Key: JGRP-767
URL: http://jira.jboss.com/jira/browse/JGRP-767
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.7
JChannel.open() fails because the properties of the previously created channel cannot be fetched correctly. If set store the setup_string, and someone changes the instance variables, e.g. via a setter (UDP.setMulticastPort()), then open() will use the *old* props !
open() used to call Channel.getProperties(), but since we cannot simply return the old 'props' value (mostly not used anymore !), we have to either generate the properties from the instance vars annotated with @Property, or somehow store a 'configuration' of the properties in the channel.
Maybe a ChannelConfiguration class ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[JBoss JIRA] Updated: (JBAS-3343) JCA 1.5 Resource Adapter Config Properties cannot be specified
by Jesper Pedersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3343?page=all ]
Jesper Pedersen updated JBAS-3343:
----------------------------------
Fix Version/s: JBossAS-5.0.0.CR2
(was: JBossAS-5.1.0.CR1)
> JCA 1.5 Resource Adapter Config Properties cannot be specified
> --------------------------------------------------------------
>
> Key: JBAS-3343
> URL: http://jira.jboss.com/jira/browse/JBAS-3343
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JCA service
> Affects Versions: JBossAS-4.0.4.GA
> Environment: All.
> Reporter: Andreas Mueller
> Assigned To: Vicky Kak
> Fix For: JBossAS-5.0.0.CR2
>
> Attachments: ra.xml
>
>
> A JCA 1.5 resource adapter might contain config properties in ra.xml. It is not possible in JBoss to override them with -ds.xml file.
> For example, here is an excert of SwiftMQ's intraVM ra.xml:
> <resourceadapter>
> <resourceadapter-class>
> com.swiftmq.connector.v15.ResourceAdapterImpl
> </resourceadapter-class>
> <config-property>
> <config-property-name>ProviderURL</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>smqp://intravm/timeout=10000</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>IntraVM</config-property-name>
> <config-property-type>java.lang.Boolean</config-property-type>
> <config-property-value>true</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>DebugMode</config-property-name>
> <config-property-type>java.lang.Boolean</config-property-type>
> <config-property-value>false</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>RouterWorkingDirectory</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value><swiftmq_dir>/scripts/unix</config-property-value>
> </config-property>
> <config-property>
> <config-property-name>ConfigurationFilename</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>../../config/router1/routerconfig.xml</config-property-value>
> </config-property>
> It is not possible to overwrite them during deployment. It is only possible to specify the config properties of the ManagedConnectionFactory in -ds.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months
[JBoss JIRA] Created: (JGRP-768) UDP: when ip_mcast=false, the destination of a Message is not null
by Bela Ban (JIRA)
UDP: when ip_mcast=false, the destination of a Message is not null
------------------------------------------------------------------
Key: JGRP-768
URL: http://jira.jboss.com/jira/browse/JGRP-768
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.6.3, 2.7
When setting ip_mcast=false in UDP, on reception of a message, the destination is a unicast address. However, it should be either null, or a multicast address. This might cause problems in cases where msg.getDest() is called. If the destination field is used as a key into a hashmap, this would be incorrect.
TASK 1: verify that this leads to incorrect behavior
TASK 2: fix this, to make dest null when ip_mcast=false
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 8 months