[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fwd: Jboss WMQ cartridge in OpenShift online



Hi Priya,

See comments below ([JC]).

Kind regards,

Jochen

On 07/01/2014 10:40 AM, priyanka Gupta wrote:

Hi,

I haven't got any response yet. As I am new to WebSphere MQ, it will be really very helpful for me to clarify these things.
Waiting for the response!

Thanks,
Priya
---------- Forwarded message ----------
From: priyanka Gupta <priyanka4openshift gmail com>
Date: Mon, Jun 30, 2014 at 3:15 PM
Subject: Re: Jboss WMQ cartridge in OpenShift online
To: jcordes redhat com, dev lists openshift redhat com, Ben Parees <bparees redhat com>


Hi Jochen,

Thanks for your reply.

I was facing difficulty in rpm creation through cygwin , so I deleted rpm plugin and then built it . It creates openshift-cartridge-jboss-wmq-1.0.0.tar.gz file with openshift-cartridge-jboss-wmq-1.0.0.jar inside target folder. But not sure whether rpm is also required.
[JC] Basically you will now have two options for installation: RPM and tar.gz archive

If I am understanding right you are saying host the whole project with target folder in git repo and then add it as cartridge in an application?

[JC] You should untar-gz the archive and then create a git repository out of the resulting directory

And when you say : "However, you would need a WebSphere MQ server instance that can be reached from OpenShift Online and I don't know if that is possible. " ,
what is the purpose of adding cartridge? I was thinking it will add WebSphere MQ server in openshift application that can be connected with other applications in same openshift account.
[JC] The purpose if this cartridge was to provide the necessary configuration to integrate JBoss EAP with WebSphere MQ (via WebSphere MQ RAR adapter) so that a developer doesn't have to take care of it himself (as he may not necessarily have the JBoss administration skills needed). Of course you could achieve the same by  modifying the JBoss EAP standalone.xml of your OpenShift application.


What is the concept of having it as Cartridge , even in OpenShift Enterprise if it needs to connect with WebSphere MQ server instance present somewhere else.
[JC] It's to ease configuration for the integration part. Unfortunately I'm not a WebSphere MQ expert, otherwise I would come up with a cartridge for it that would play nicely with the JBoss WMQ cartridge that I have written.

Please excuse me if I have misunderstood, Wanted to understand this in detail.


Thanks a lot in advance,
Priya


On Fri, Jun 27, 2014 at 9:12 PM, Jochen Cordes <jcordes redhat com> wrote:
Hi Priyanka,

I have now changed the "cartridge" in a way that in addition to the RPM a .tar.gz archive is created.

If you have copied the WebSphere MQ RAR into the project and then build it, you would have the possibility to host it's content on a private git(hub) repo (assuming you have the required IBM WMQ licenses) and then you could add it using rhc command like this

rhc app create myapp jbosseap-6 http://wmq.git.repo/metadata/manifest.yml (on initial creation of the app)

or

rhc cartridge add http://wmq.git.repo/metadata/manifest.yml  -a myapp (after creation of the application)

However, you would need a WebSphere MQ server instance that can be reached from OpenShift Online and I don't know if that is possible. AFAIK there is no WebSphere MQ Server cartridge availabke

The purpose of this cartridge was to take away the burden of configuring EAP for WebSphere MQ integration (via JCA RAR adapter) from developers as this would be the same situation as in later stages (i.e. pre-production/production).

Kind regards,

Jochen


On 06/27/2014 03:46 PM, Mike Barrett wrote:
community support

I think what Priyanka is asking is if there is a downloadable cartridge of this WebSphere MQ RAR instead of this one which is a rpm based one you need to install on the node (which would only be suitable in case where you have rpm access to nodes like in OpenShift Enterprise).


On 6/27/2014 9:30 AM, Ben Parees wrote:
I will leave it to Joe or Mike to provide an official answer to the support question, but basically WMQ isn't our product so we'd support it to the extent of helping to determine if something in openshift wasn't working properly.


Ben Parees | OpenShift

----- Original Message -----
From: "priyanka Gupta" <priyanka4openshift gmail com>
To: "Ben Parees" <bparees redhat com>, dev lists openshift redhat com
Sent: Friday, June 27, 2014 12:58:12 AM
Subject: Re: Jboss WMQ cartridge in OpenShift online

Hey Ben, Thanks again for response, actually my main purpose was to test
WMQ in OpenShift online. But this cartridge is for OSE. is there  any
support provided for WMQ in online?


Thanks,
Priyanka


On Fri, Jun 27, 2014 at 3:31 AM, Ben Parees <bparees redhat com> wrote:

It looks like there are some known issues w/ the rpm maven packager on
windows/cygwin, i'd see if any of these links get you going:

http://tim-perry.co.uk/blog/2012/11/22/building_rpms_on_windows_with_maven

http://sidpsyko.blogspot.com/2013/08/another-word-on-using-rpm-maven-plugin.html


Ben Parees | OpenShift

----- Original Message -----
From: "priyanka Gupta" <priyanka4openshift gmail com>
To: "Ben Parees" <bparees redhat com>, dev lists openshift redhat com
Sent: Thursday, June 26, 2014 2:48:18 AM
Subject: Re: Jboss WMQ cartridge in OpenShift online

Hi Ben,

Thanks for response, Yes I am running it on windows using cygwin command
line tool. If you can help me this with Windows will be really very
helpful
for me.

Thanks,
Priya


On Wed, Jun 25, 2014 at 7:32 PM, Ben Parees <bparees redhat com> wrote:

Are you running on windows?  I was able to perform the steps without
difficulty, but it looks like you ran into some windows path problems.


Ben Parees | OpenShift

----- Original Message -----
From: "priyanka Gupta" <priyanka4openshift gmail com>
To: dev lists openshift redhat com
Sent: Wednesday, June 25, 2014 8:39:39 AM
Subject: Jboss WMQ cartridge in OpenShift online

Hi,

I tried to work with WMQ cartridge available at
https://github.com/jcordes73/openshift-cartridge-jboss-wmq/


But there is no success as it doesn't allow me to create RPM. "mvn
clean
install" gives following error:

[INFO] Executing(%install): /bin/sh -e /usr/var/tmp/rpm-tmp.IM67Y0
[WARNING] + umask 022
[WARNING] + cd

C:cygwin64homeuseropenshift-cartridge-jboss-wmq-mastertargetrpmopenshift-
cartridge-jboss-wmq/BUILD
[WARNING] /usr/var/tmp/rpm-tmp.IM67Y0: line 26: cd:
C:cygwin64homeuseropenshift-cartridg
e-jboss-wmq-mastertargetrpmopenshift-cartridge-jboss-wmq/BUILD: No
such
file
or directory
[INFO]
[INFO]
[INFO] RPM build errors:
[WARNING] error: Bad exit status from /usr/var/tmp/rpm-tmp.IM67Y0
(%install)
[WARNING] Bad exit status from /usr/var/tmp/rpm-tmp.IM67Y0 (%install)
[INFO]

------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]

------------------------------------------------------------------------
[INFO] Total time: 22.167s
[INFO] Finished at: Wed Jun 25 17:14:51 IST 2014
[INFO] Final Memory: 8M/89M


dont know what causing this. Is the cartridge is tested one or I am
doing
something wrong?
Please help


Thanks
Priya

_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev




_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev





--

--


Beste Grüße/Kind regards


Jochen Cordes
Senior Consultant

Red Hat GmbH
MesseTurm, Friedrich-Ebert-Anlage 49, 60308 Frankfurt am Main

Mobile: +49 (0) 173 6609271
E-Mail: jcordes redhat com, http://www.redhat.de/

Delivering value year after year
Red Hat ranks # 1 in value among software vendors
http://www.redhat.com/promo/vendor/

Freedom...Courage...Commitment...Accountability


________________________________________________________________________
Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn,
Handelsregister: Amtsgericht München, HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham, Michael O'Neill, Charles Peters

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]