Author |
Message
|
ganesh |
Posted: Tue Jan 11, 2011 12:47 pm Post subject: mqsicreatebar with headless build. |
|
|
Master
Joined: 18 Jul 2010 Posts: 294
|
I am trying to run the script to sync my toolkit with a few flows, create a bar and override it, but it fails. I am running the runAnt.bat file for this.
error -
BUILD FAILED
C:\nbkoldy_rp_all_new\MBroker\rp_11.2\build\CompleteDeployment.xml:34: Execute f
ailed: java.io.IOException: CreateProcess: C:\Program~1\IBM\MessageBrokersToolki
t\6.0\eclipse\mqsicreatebar.exe -cleanBuild -data C:\nbkoldy_rp_all_new\MBroker\
rp_11.2 -b temp.bar -o Mainflows\Extract_SoapBody.msgflow error=3
message in the log file of .etadat folder
!MESSAGE The class "com.ibm.r2a.rules.j2ee.J2EEContributor" cannot be loaded because the system is shutting down and the plug-in "com.ibm.r2a.rules.j2ee" has already been stopped.
!STACK 0
java.lang.ClassNotFoundException: The class "com.ibm.r2a.rules.j2ee.J2EEContributor" cannot be loaded because the system is shutting down and the plug-in "com.ibm.r2a.rules.j2ee" has already been stopped.
!ENTRY org.eclipse.core.runtime 4 1 Jan 11, 2011 15:20:38.571
!MESSAGE Plug-in com.ibm.r2a.rules.j2ee was unable to load class com.ibm.r2a.rules.j2ee.J2EEContributor.
!STACK 0
java.lang.ClassNotFoundException: com.ibm.r2a.rules.j2ee.J2EEContributor
could someone tell me what is wrong ? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jan 11, 2011 1:04 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Update your Toolkit to the most recent maintenance level and try again.
Make sure that the exact same command runs outside of Ant. |
|
Back to top |
|
 |
ganesh |
Posted: Tue Jan 11, 2011 5:31 pm Post subject: |
|
|
Master
Joined: 18 Jul 2010 Posts: 294
|
After setting the ws path correctly i get a different error.
Quote: |
[exec] Processing file Extract_SoapBody.msgflow
[exec] Failed to add file Extract_SoapBody.msgflow to archive file.
[exec] /Mainflows/Extract_SoapBody.msgflow is in a project that has errors.
[exec] Please correct the errors and try again.
[exec] BIP0988W Error occurred while completing mqsicreatebar command.
[exec]
|
Earlier i used to run the ant scripts after manually syncing the flows, other files into the toolkit but now i have the a target in the build file to sync the files too. I am using -cleanBuild option in the mqsicreatebar. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jan 11, 2011 5:46 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Make sure you can get it to work without using your target to sync the files.
Then adjust your target to sync files until it DOES work.
As a suggestion, you might want to make sure that the mqsicreatebar command includes a specific mention of every needed resource in the proper build order (message sets, subflow projects, mainflow projects). |
|
Back to top |
|
 |
ganesh |
Posted: Wed Jan 12, 2011 5:52 am Post subject: |
|
|
Master
Joined: 18 Jul 2010 Posts: 294
|
The other dependencies are already there in the toolkit and i am trying to sync only the main flows and sub flows. If i do this manually i dont get errors but when i do this through ant script i get errors in the project. |
|
Back to top |
|
 |
|