Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Executing a build via Jazz Build Engine fails, but ant works

RTC: 3.0
OS: RHEL 5.4

I have an build that consistently fails when it is kicked off via jbe, but builds successfully on the same server when the ant target is kicked off at the command line.

We use Apache Ivy for dependency management. The build that is invoked via the jbe process consistently fails when it gets to a step that builds EARs with the error, followed by a a java.text.ParseException stack trace.
[ivy:resolve] Problem occured when parsing ivy file: Unable to parse included ivy file for...<snip>


I am forcing the jbe process to use my system's installation of Java (1.6.0_18-b07) and also forcing it to compile to 1.6 (I believe I am, at least). Regardless of the parameters sent, I cannot get the entire build process to finish. My last attempt to run the jbe process with a different combination of parameters was:

./jbe -vm /usr/java/jdk1.6.0_18/bin/java -repository https://path-to-repository/ccm/ -userId myUser -passwordFile myFile.txt -vmargs -Dosgi.requiredJavaVersion=1.6


I have verified the processes running via ps, and do see the java specified being executed, along with the vmargs. Still, it is not behaving the same as when I simply execute "ant" at the command line within the proper directory in the fetched workspace. It still behaves exactly the same as it does when no -vm or -vmargs are specified.

Any ideas as to why the build consistently fails when kicked off via jbe?

0 votes



One answer

Permanent link
I am not familiar with Ivy, but the difference between running the build in JBE vs Ant itself is JVM and the classpaths. I don't know if the classpath information will make a difference for Ivy, but that is the only other thing that I can think of that would be different between JBE and Ant.

~Spencer

RTC: 3.0
OS: RHEL 5.4

I have an build that consistently fails when it is kicked off via jbe, but builds successfully on the same server when the ant target is kicked off at the command line.

We use Apache Ivy for dependency management. The build that is invoked via the jbe process consistently fails when it gets to a step that builds EARs with the error, followed by a a java.text.ParseException stack trace.
[ivy:resolve] Problem occured when parsing ivy file: Unable to parse included ivy file for...<snip>


I am forcing the jbe process to use my system's installation of Java (1.6.0_18-b07) and also forcing it to compile to 1.6 (I believe I am, at least). Regardless of the parameters sent, I cannot get the entire build process to finish. My last attempt to run the jbe process with a different combination of parameters was:

./jbe -vm /usr/java/jdk1.6.0_18/bin/java -repository https://path-to-repository/ccm/ -userId myUser -passwordFile myFile.txt -vmargs -Dosgi.requiredJavaVersion=1.6


I have verified the processes running via ps, and do see the java specified being executed, along with the vmargs. Still, it is not behaving the same as when I simply execute "ant" at the command line within the proper directory in the fetched workspace. It still behaves exactly the same as it does when no -vm or -vmargs are specified.

Any ideas as to why the build consistently fails when kicked off via jbe?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 30 '12, 2:02 p.m.

Question was seen: 3,716 times

Last updated: Mar 30 '12, 2:02 p.m.

Confirmation Cancel Confirm