jbossdemocentral / bpms-fuse-travel-agency-integration-demo

A JBoss BPM Suite with JBoss Fuse demo project around a travel agency booking workflow and migration to micro-services.
14 stars 14 forks source link

JBoss Fuse containers problem #17

Open nsevalia opened 8 years ago

nsevalia commented 8 years ago

We followed the install instructions and faced the following problems:

1) on 32-bit windows 7 machine, the init.bat file works in parallel to install EAP, BPM and Fuse. This creates problems as EAP is required to install BPM. This is resolved by splitting the init.bat file into three parts and ran it in sequence one by one. This is now fixed.

2) After Fuse installation, we do not see Fabric in the admin console (hawtio). This is resolved by executing 'fabric create' command. This is missing in the demo instructions. Please add it.

3) Now we are facing problem related to Fuse karaf containers. We just see one container (root) whereas your screenshots show more 7 containers. How to get these containers? or explain how to re-create them using script or manually. This is required to proceed with the demo.

Thanks Naishadh

weimeilin79 commented 8 years ago

The BAT does not contain Fuse installation nor has deployment. Please follow the following instruction if you are on windows!

1) RUN fuse.bat 2) create de fabric USING THIS COMMAND fabric:create 3) deploy USING THIS COMMAND create fabric8:deploy 4) this is very important in order to create the broker. THIS MUST BE DONE ON FUSE COMMAND LINE: mq-create --group mybrokergorup travelbroker profile-edit --pid io.fabric8.mq.fabric.server-travelbroker/openwire-port=61618 mq-broker-mybrokergorup.travelbroker container-create-child --profile mq-broker-mybrokergorup.travelbroker root brokercon 5) create all instances using any of these options: 1.USING FUSE CONSOLE (Web). GO TO CONTAINERS AN THEN +CREATE

  1. USING FUSE COMMAND LINE: container-create-child --profile demo-travelagency-webendpoint root wsflightcon //Create containers and add profiles for Flight web service endpoint container-create-child --profile demo-travelagency-hotelwsendpoint root wshotelcon //Create containers and add profiles for Hotel web service endpoint container-create-child --profile demo-travelagency-bookingservice root bookingflightcon //Create containers and add profiles for flight booking service container-create-child --profile demo-travelagency-hotelbookingservice root bookinhotelgcon //Create containers and add profiles for hotel booking service container-create-child --profile demo-travelagency-promotionflight root promoflightcon //Create containers and add profiles flight promotion container-create-child --profile demo-travelagency-promotionhotel root promohotelcon //Create containers and add profiles hotel promotion container-create-child --profile mq-broker-mybrokergorup.travelbroker root brokercon //Create containers and add profiles for MQ Broker

And if you would, please help me update these on bat, don't have and don't want to install Windows.

nsevalia commented 8 years ago

Thanks Christina.

Actually we compared the init.sh and init.bat files and found out the differences highlighted by you.

Moreover, we see that in init.sh file, after 'mvn fabric8:deploy' command; there are individual commands for creating each profile and setting features / bundles etc. On executing these commands, the profiles getting created are with different configurations than profiles created by 'mvn fabric8:deploy'. So confusion is which profiles are right? We believe profiles created with 'fabric8:deploy' command should be the correct profiles.

Please clarify and update the init files accordingly.

Once we get the whole demo up and running, we can help to update init.bat file.

With Best Regards Naishadh Sevalia

From: Christina Lin notifications@github.com To: jbossdemocentral/bpms-fuse-travel-agency-integration-demo bpms-fuse-travel-agency-integration-demo@noreply.github.com Cc: nsevalia naishadh.sevalia@tcs.com Date: 12/08/2015 08:56 PM Subject: Re: [bpms-fuse-travel-agency-integration-demo] JBoss Fuse containers problem (#17)

The BAT does not contain Fuse installation nor has deployment. Please follow the following instruction if you are on windows! 1) RUN fuse.bat 2) create de fabric USING THIS COMMAND fabric:create 3) deploy USING THIS COMMAND create fabric8:deploy 4) this is very important in order to create the broker. THIS MUST BE DONE ON FUSE COMMAND LINE: mq-create --group mybrokergorup travelbroker profile-edit --pid io.fabric8.mq.fabric.server-travelbroker/openwire-port=61618 mq-broker-mybrokergorup.travelbroker container-create-child --profile mq-broker-mybrokergorup.travelbroker root brokercon 5) create all instances using any of these options: 1.USING FUSE CONSOLE (Web). GO TO CONTAINERS AN THEN +CREATE

  1. USING FUSE COMMAND LINE: container-create-child --profile demo-travelagency-webendpoint root wsflightcon //Create containers and add profiles for Flight web service endpoint container-create-child --profile demo-travelagency-hotelwsendpoint root wshotelcon //Create containers and add profiles for Hotel web service endpoint container-create-child --profile demo-travelagency-bookingservice root bookingflightcon //Create containers and add profiles for flight booking service container-create-child --profile demo-travelagency-hotelbookingservice root bookinhotelgcon //Create containers and add profiles for hotel booking service container-create-child --profile demo-travelagency-promotionflight root promoflightcon //Create containers and add profiles flight promotion container-create-child --profile demo-travelagency-promotionhotel root promohotelcon //Create containers and add profiles hotel promotion container-create-child --profile mq-broker-mybrokergorup.travelbroker root brokercon //Create containers and add profiles for MQ Broker And if you would, please help me update these on bat, don't have and don't want to install Windows. — Reply to this email directly or view it on GitHub.

=====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

DuncanDoyle commented 8 years ago

Have you been able to get this demo running on Windows with an updated init.bat file? I'd be very interested in merging those changes into master.

Thanks