ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsicreatebar doesnot include java project in bar file

Post new topic  Reply to topic
 mqsicreatebar doesnot include java project in bar file « View previous topic :: View next topic » 
Author Message
VishnuPrasadS
PostPosted: Mon Oct 31, 2016 10:54 pm    Post subject: mqsicreatebar doesnot include java project in bar file Reply with quote

Apprentice

Joined: 22 Feb 2013
Posts: 28
Location: Pune, India

Broker version : IIB v9

Scenario 1 : There are two projects(1:Integration Project, 2:Java Project).
Message flow has JCN. On executing mqsicreatebar command Jar file is built and included within bar file

Code:
"C:\Program Files (x86)\IBM\IntegrationToolkit90\/mqsicreatebar.exe"
-data C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01
-b C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01/SI05_enterprise_integration_pattern.bar
-cleanBuild
-p SI05_EntrprseIntgrtnPtrn SI05_EntrprseIntgrtnPtrnJava
-o SI05_EntrprseIntgrtnPtrn\BS_Transformation.msgflow


Scenario 2 : There are two projects(1:Integration Project, 2:Java Project).
Message flow has ESQL Compute Node which uses EXTERNAL Java procedure call. On executing mqsicreatebar command Jar file is NOT built and jar file is NOT included within bar file

There is no change in the command, Message flow is modified with respect to Scenario 1 where JCN is removed and ESQL compute is added.

Code:
"C:\Program Files (x86)\IBM\IntegrationToolkit90\/mqsicreatebar.exe"
-data C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01
-b C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01/SI05_enterprise_integration_pattern.bar
-cleanBuild
-p SI05_EntrprseIntgrtnPtrn SI05_EntrprseIntgrtnPtrnJava
-o SI05_EntrprseIntgrtnPtrn\BS_Transformation.msgflow



Hi Folks,
Do you know of any command line arguments which I can use to include jar file for scenario 2 ?
OR
Do you see any issues in the way that Iam using the command ?
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Nov 01, 2016 4:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Verify that in the second case you still have the dependency marked on the integration project for the Java Project...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
VishnuPrasadS
PostPosted: Tue Nov 01, 2016 9:24 am    Post subject: Reply with quote

Apprentice

Joined: 22 Feb 2013
Posts: 28
Location: Pune, India

Yes "Integration Project" has project reference to "java project" in both cases.

I have observed this behavior (Scenario 2) in WMB v7 and IIB v9
It is easily reproducible and results are as described in my previous post each time I build bar file using command line.

Extract from .project file
Code:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
   <name>SI05_EntrprseIntgrtnPtrn</name>
   <comment></comment>
   <projects>
      <project>SI05_EntrprseIntgrtnPtrnJava</project>
   </projects>
   <buildSpec>
      <buildCommand>....
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Nov 01, 2016 10:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

what happens if you add the java class in the -o list? or just the java project name.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
VishnuPrasadS
PostPosted: Tue Nov 01, 2016 10:57 am    Post subject: problem solved Reply with quote

Apprentice

Joined: 22 Feb 2013
Posts: 28
Location: Pune, India

Thanks fjb_saper
Problem solved


Results for not providing Java project name as an argument ( -o SI05_EntrprseIntgrtnPtrnJava) and only providing it an as input for ( -p )
Jar file is NOT included in bar file
Code:
"C:\Program Files (x86)\IBM\IntegrationToolkit90\/mqsicreatebar.exe" -data C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01 -b C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01/SI05_enterprise_integration_pattern.bar -cleanBuild -p SI05_EntrprseIntgrtnPtrn SI05_EntrprseIntgrtnPtrnJava -o SI05_EntrprseIntgrtnPtrn\BS_Transformation.msgflow
BIP0986I Command completed successfully.


Results for providing Java project name as an argument ( -o SI05_EntrprseIntgrtnPtrnJava) and also providing it an as input for ( -p )
Jar file is included in bar file
Code:
"C:\Program Files (x86)\IBM\IntegrationToolkit90\/mqsicreatebar.exe" -data C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01 -b C:\antNew\workspace\SI05_enterprise_integration_pattern_tag01/SI05_enterprise_integration_pattern.bar -cleanBuild -p SI05_EntrprseIntgrtnPtrn SI05_EntrprseIntgrtnPtrnJava -o SI05_EntrprseIntgrtnPtrn\BS_Transformation.msgflow SI05_EntrprseIntgrtnPtrnJava
BIP0986I Command completed successfully.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsicreatebar doesnot include java project in bar file
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.