Re: cloud spec for mysql-ha connector (was: off list)
On Jun 18, 2014, at 1:51 PM, Daan Hoogland daan.hoogl...@gmail.com wrote: My link to the issue is wrong*^%%(*(*@#$ it should be [1] https://issues.apache.org/jira/browse/CLOUDSTACK-6892 On Wed, Jun 18, 2014 at 1:49 PM, Daan Hoogland daan.hoogl...@gmail.com wrote: H devs, I had an offline discussion about a classloader problem [1] and an analog discussion with Hugo. It seems we want to create an extra rpm that must be installed when mysql ha is required. This will be specified in the cloud.spec file and will result in an extra package when -Dnoredist is used. On installation this would have to specifically be installed along with the rest if so desired. A similar construct has to be devised for debian and windows installations. Can the respective gurus in those fields look at that? thanks, Kicking this again, to see if there is something that can be done for 4.3.1 and 4.4 ? [1] https://issues.apache.org/jira/browse/CLOUDSTACK-6928 On Wed, Jun 18, 2014 at 11:50 AM, Damoder Reddy damoder.re...@citrix.com wrote: Ok I forgot the DEB builds. To satisfy both, this should be included in catalina.properties.in. But only question I have is how do we change it for each version and taking care of upgrades as well. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 3:10 PM To: Damoder Reddy Cc: sebgoa; Adrian Lewis Subject: Re: off list But only for the noredist version? and how about the deb version? On Wed, Jun 18, 2014 at 11:34 AM, Damoder Reddy damoder.re...@citrix.com wrote: We can put this step as part of rpm creation in cloud.spec file. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 2:59 PM To: Damoder Reddy Cc: sebgoa; Adrian Lewis Subject: Re: off list The 'just' in 'Just put a symbolic link' implies a install instruction, does it? Or can we automate this step? On Wed, Jun 18, 2014 at 11:16 AM, Damoder Reddy damoder.re...@citrix.com wrote: Hi, There are 2 solutions. one either change the catalina.properties to include strategy in the common.loader as suggested in another thread mail OR Just put a symbolic link to the jar file inside /usr/share/tomcat6/lib as this path is already loaded by common.loader (common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar). I think 2nd option is better instead of 1st one. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 2:37 PM To: sebgoa Cc: Damoder Reddy; Adrian Lewis Subject: Re: off list had Adrians address wrong -- Forwarded message -- From: Daan Hoogland daan.hoogl...@gmail.com Date: Wed, Jun 18, 2014 at 10:42 AM Subject: Re: off list To: sebgoa run...@gmail.com Cc: Damoder Reddy damoder.re...@citrix.com, Adrian Lewis adr...@alsiconsulting.co.uk I had a quick look. it doesn't seem a coding issue but a configuration/packaging issue. the file catalina.properties.in must be adjusted for this. There are two in the project. One for the ui, which I think won't need to be touched and one for the server. Damoder Reddy helped Adrien on this. cc'ing him and Adrien in now. @Damoder: can you confirm that we need to adjust the common.loader property in catalina.properties.in for CLOUDSTACK-6892? This way we should be done according to Adrien. This should be done for 4.3, 4.4 and master! regards, On Wed, Jun 18, 2014 at 10:10 AM, sebgoa run...@gmail.com wrote: On Jun 18, 2014, at 10:06 AM, Daan Hoogland daan.hoogl...@gmail.com wrote: it is not implemented/solved. not in 4.4 or master. Is work on it done already? not clear from the ticket. I just don't know how to modify the catalina properties in the code. On Wed, Jun 18, 2014 at 10:04 AM, Daan Hoogland daan.hoogl...@gmail.com wrote: on it On Wed, Jun 18, 2014 at 9:05 AM, Sebastien Goasguen run...@gmail.com wrote: Hi Daan, Can you check this one: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 it might apply to 4.4 and 4.3 and I no squat in java -- Daan -- Daan -- Daan -- Daan -- Daan -- Daan -- Daan -- Daan
cloud spec for mysql-ha connector (was: off list)
H devs, I had an offline discussion about a classloader problem [1] and an analog discussion with Hugo. It seems we want to create an extra rpm that must be installed when mysql ha is required. This will be specified in the cloud.spec file and will result in an extra package when -Dnoredist is used. On installation this would have to specifically be installed along with the rest if so desired. A similar construct has to be devised for debian and windows installations. Can the respective gurus in those fields look at that? thanks, [1] https://issues.apache.org/jira/browse/CLOUDSTACK-6928 On Wed, Jun 18, 2014 at 11:50 AM, Damoder Reddy damoder.re...@citrix.com wrote: Ok I forgot the DEB builds. To satisfy both, this should be included in catalina.properties.in. But only question I have is how do we change it for each version and taking care of upgrades as well. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 3:10 PM To: Damoder Reddy Cc: sebgoa; Adrian Lewis Subject: Re: off list But only for the noredist version? and how about the deb version? On Wed, Jun 18, 2014 at 11:34 AM, Damoder Reddy damoder.re...@citrix.com wrote: We can put this step as part of rpm creation in cloud.spec file. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 2:59 PM To: Damoder Reddy Cc: sebgoa; Adrian Lewis Subject: Re: off list The 'just' in 'Just put a symbolic link' implies a install instruction, does it? Or can we automate this step? On Wed, Jun 18, 2014 at 11:16 AM, Damoder Reddy damoder.re...@citrix.com wrote: Hi, There are 2 solutions. one either change the catalina.properties to include strategy in the common.loader as suggested in another thread mail OR Just put a symbolic link to the jar file inside /usr/share/tomcat6/lib as this path is already loaded by common.loader (common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar). I think 2nd option is better instead of 1st one. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 2:37 PM To: sebgoa Cc: Damoder Reddy; Adrian Lewis Subject: Re: off list had Adrians address wrong -- Forwarded message -- From: Daan Hoogland daan.hoogl...@gmail.com Date: Wed, Jun 18, 2014 at 10:42 AM Subject: Re: off list To: sebgoa run...@gmail.com Cc: Damoder Reddy damoder.re...@citrix.com, Adrian Lewis adr...@alsiconsulting.co.uk I had a quick look. it doesn't seem a coding issue but a configuration/packaging issue. the file catalina.properties.in must be adjusted for this. There are two in the project. One for the ui, which I think won't need to be touched and one for the server. Damoder Reddy helped Adrien on this. cc'ing him and Adrien in now. @Damoder: can you confirm that we need to adjust the common.loader property in catalina.properties.in for CLOUDSTACK-6892? This way we should be done according to Adrien. This should be done for 4.3, 4.4 and master! regards, On Wed, Jun 18, 2014 at 10:10 AM, sebgoa run...@gmail.com wrote: On Jun 18, 2014, at 10:06 AM, Daan Hoogland daan.hoogl...@gmail.com wrote: it is not implemented/solved. not in 4.4 or master. Is work on it done already? not clear from the ticket. I just don't know how to modify the catalina properties in the code. On Wed, Jun 18, 2014 at 10:04 AM, Daan Hoogland daan.hoogl...@gmail.com wrote: on it On Wed, Jun 18, 2014 at 9:05 AM, Sebastien Goasguen run...@gmail.com wrote: Hi Daan, Can you check this one: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 it might apply to 4.4 and 4.3 and I no squat in java -- Daan -- Daan -- Daan -- Daan -- Daan -- Daan -- Daan
Re: cloud spec for mysql-ha connector (was: off list)
My link to the issue is wrong*^%%(*(*@#$ it should be [1] https://issues.apache.org/jira/browse/CLOUDSTACK-6892 On Wed, Jun 18, 2014 at 1:49 PM, Daan Hoogland daan.hoogl...@gmail.com wrote: H devs, I had an offline discussion about a classloader problem [1] and an analog discussion with Hugo. It seems we want to create an extra rpm that must be installed when mysql ha is required. This will be specified in the cloud.spec file and will result in an extra package when -Dnoredist is used. On installation this would have to specifically be installed along with the rest if so desired. A similar construct has to be devised for debian and windows installations. Can the respective gurus in those fields look at that? thanks, [1] https://issues.apache.org/jira/browse/CLOUDSTACK-6928 On Wed, Jun 18, 2014 at 11:50 AM, Damoder Reddy damoder.re...@citrix.com wrote: Ok I forgot the DEB builds. To satisfy both, this should be included in catalina.properties.in. But only question I have is how do we change it for each version and taking care of upgrades as well. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 3:10 PM To: Damoder Reddy Cc: sebgoa; Adrian Lewis Subject: Re: off list But only for the noredist version? and how about the deb version? On Wed, Jun 18, 2014 at 11:34 AM, Damoder Reddy damoder.re...@citrix.com wrote: We can put this step as part of rpm creation in cloud.spec file. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 2:59 PM To: Damoder Reddy Cc: sebgoa; Adrian Lewis Subject: Re: off list The 'just' in 'Just put a symbolic link' implies a install instruction, does it? Or can we automate this step? On Wed, Jun 18, 2014 at 11:16 AM, Damoder Reddy damoder.re...@citrix.com wrote: Hi, There are 2 solutions. one either change the catalina.properties to include strategy in the common.loader as suggested in another thread mail OR Just put a symbolic link to the jar file inside /usr/share/tomcat6/lib as this path is already loaded by common.loader (common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,/usr/share/java/mysql-connector-java.jar). I think 2nd option is better instead of 1st one. Thanks Regards Damodar/ -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Wednesday, June 18, 2014 2:37 PM To: sebgoa Cc: Damoder Reddy; Adrian Lewis Subject: Re: off list had Adrians address wrong -- Forwarded message -- From: Daan Hoogland daan.hoogl...@gmail.com Date: Wed, Jun 18, 2014 at 10:42 AM Subject: Re: off list To: sebgoa run...@gmail.com Cc: Damoder Reddy damoder.re...@citrix.com, Adrian Lewis adr...@alsiconsulting.co.uk I had a quick look. it doesn't seem a coding issue but a configuration/packaging issue. the file catalina.properties.in must be adjusted for this. There are two in the project. One for the ui, which I think won't need to be touched and one for the server. Damoder Reddy helped Adrien on this. cc'ing him and Adrien in now. @Damoder: can you confirm that we need to adjust the common.loader property in catalina.properties.in for CLOUDSTACK-6892? This way we should be done according to Adrien. This should be done for 4.3, 4.4 and master! regards, On Wed, Jun 18, 2014 at 10:10 AM, sebgoa run...@gmail.com wrote: On Jun 18, 2014, at 10:06 AM, Daan Hoogland daan.hoogl...@gmail.com wrote: it is not implemented/solved. not in 4.4 or master. Is work on it done already? not clear from the ticket. I just don't know how to modify the catalina properties in the code. On Wed, Jun 18, 2014 at 10:04 AM, Daan Hoogland daan.hoogl...@gmail.com wrote: on it On Wed, Jun 18, 2014 at 9:05 AM, Sebastien Goasguen run...@gmail.com wrote: Hi Daan, Can you check this one: https://issues.apache.org/jira/browse/CLOUDSTACK-6892 it might apply to 4.4 and 4.3 and I no squat in java -- Daan -- Daan -- Daan -- Daan -- Daan -- Daan -- Daan -- Daan