It's all about the answers!

Ask a question

Program runs fine from shell but not from the Build Forge step


Alex Seriy (122) | asked Oct 07 '12, 8:54 p.m.
I have a java class (written in Groovy) with the shell script wraparound. It runs perfectly fine from a shell with exactly the same version of Java. But when I include it in the Build Forge step, it fails with the following error:

assetpublish -ramurl ${RAM_PROD_URL} -user {RAM_PROD_USER} -pass ${RAM_PROD_PASSWD} -assetid "${RAM_ASSET_UID}" -assetver ${BF_TAG} -artifact artifacts.zip -depends ../ramassets.txt -assetname "${RAM_ASSET_DESCRIPTION}" -assetdesc "${RAM_ASSET_DESCRIPTION}"
start [/bfbuilds/RECO_Utilities_1.0/1.0.0.12/RAMUtilities@chapdt3utrec6a]
- Unable to determine Web WAR path
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1665)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:258)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:252)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1165)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:154)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:610)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:546)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:913)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at com.ibm.ram.internal.client.RAMHTTPSender.invoke(RAMHTTPSender.java:46)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)

Any idea what I'm missing here?
Thank in advance for any input.

6 answers



permanent link
Gili Mendel (1.8k56) | answered Oct 08 '12, 8:55 a.m.
JAZZ DEVELOPER
From the logs, it may be a certificate issue.   Assume that the ssl certificate configured with RAM is not a formally signed certificate, in which case you will have to add that certificate to your Java run-time store.  See here for more information.

 

permanent link
Alex Seriy (122) | answered Oct 08 '12, 9:58 a.m.
Gili, I added the certificate to the JRE but it didn't fix the problem. I'm not sure it's a certificate problem because I can run from the command line on the same box with the same environmental variable as the user that runs it from Build Forge. Could this be something to do with the Build Forge certificates?
Thanks loads

permanent link
Alex Seriy (122) | answered Oct 08 '12, 10:03 a.m.
Actually, after some more thorough examination of the logs, it seems that the error is slightly different now:
- Unable to determine Web WAR path
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code:  401
{http://xml.apache.org/axis/}HttpErrorCode:401
(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at com.ibm.ram.internal.client.RAMHTTPSender.invoke(RAMHTTPSender.java:46)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

permanent link
Gili Mendel (1.8k56) | answered Oct 08 '12, 10:54 a.m.
JAZZ DEVELOPER
Yep, you moved on to a new problem, 401 (permissions).   Is this the whole log?

If it is indeed running well from the command line, and not from BF (which invokes the same command line), than there is some differences in the ENVIRONMENT while running from BF,

permanent link
Alex Seriy (122) | answered Oct 08 '12, 10:57 a.m.
Here is the entire log:

export PATH=${RECOUTILS_HOME}/bin:${JAVA_HOME}/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
assetpublish -ramurl ${RAM_PROD_URL} -user {RAM_PROD_USER} -pass ${RAM_PROD_PASSWD} -assetid "${RAM_ASSET_UID}" -assetver ${BF_TAG} -artifact artifacts.zip -depends ../ramassets.txt -assetname "${RAM_ASSET_DESCRIPTION}" -assetdesc "${RAM_ASSET_DESCRIPTION}"
start [/bfbuilds/RECO_Utilities_1.0/1.0.0.15/RAMUtilities@chapdt3utrec6a]
- Unable to determine Web WAR path
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code:  401
{http://xml.apache.org/axis/}HttpErrorCode:401
(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at com.ibm.ram.internal.client.RAMHTTPSender.invoke(RAMHTTPSender.java:46)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.ibm.ram.repository.web.ws.core.v72.RAM1SoapBindingStub.getServerPath(RAM1SoapBindingStub.java:5746)
at com.ibm.ram.internal.access.ws.RAMv72.getServerPath(RAMv72.java:35)
at com.ibm.ram.internal.client.RAMClient.initialize(RAMClient.java:271)
at com.ibm.ram.client.RAMSession.createClient(RAMSession.java:344)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:309)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:282)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
at org.tiaa.reco.ram.utils.AssetPublish.run(AssetPublish.groovy:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:793)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:776)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:394)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.tiaa.reco.ram.utils.AssetPublish.main(AssetPublish.groovy)
- RAM Runtime Exception.
com.ibm.ram.common.data.exception.RAMRuntimeException: URL specified for the connection is invalid.
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:312)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:282)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
at org.tiaa.reco.ram.utils.AssetPublish.run(AssetPublish.groovy:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:793)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:776)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:394)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.tiaa.reco.ram.utils.AssetPublish.main(AssetPublish.groovy)
Caused by: com.ibm.ram.internal.client.RAMServiceException: URL specified for the connection is invalid.[10005]
at com.ibm.ram.internal.client.RAMClient.initialize(RAMClient.java:287)
at com.ibm.ram.client.RAMSession.createClient(RAMSession.java:344)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:309)
... 27 more
Exception in thread "main" com.ibm.ram.common.data.exception.RAMRuntimeException: URL specified for the connection is invalid.
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:312)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:282)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
at org.tiaa.reco.ram.utils.AssetPublish.run(AssetPublish.groovy:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:793)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:776)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:394)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.tiaa.reco.ram.utils.AssetPublish.main(AssetPublish.groovy)
Caused by: com.ibm.ram.internal.client.RAMServiceException: URL specified for the connection is invalid.[10005]
at com.ibm.ram.internal.client.RAMClient.initialize(RAMClient.java:287)
at com.ibm.ram.client.RAMSession.createClient(RAMSession.java:344)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:309)
... 27 more
end [/bfbuilds/RECO_Utilities_1.0/1.0.0.15/RAMUtilities@chapdt3utrec6a]
1 (1)


permanent link
Alex Seriy (122) | answered Oct 08 '12, 12:36 p.m.
And here is the entire log from the Build Forge step:
Step Result: FAILED

Step using selector 'chapdt3utrec6a'.
BF_AGENT_VERSION=7.1.3.2-0-0012
BF_JOBS=1
BF_LAST_REFRESH=1349702170
BF_LAST_UPDATE=1349702170
BF_LOADRATIO=0.25
BF_NAME=chapdt3utrec6a_02
Pool=B
set user account to AD\ser_bfbuild
BF_AGENT_VERSION=7.1.3.2-0-0012
BF_AGENT_PLATFORM=linux 2.6.18-238.19.1.el5 #1 SMP Sun Jul 10 08:43:41 EDT 2011
BF_D=121008
BF_T=095106
BF_J=281
BF_W=1
BF_PROJECTNAME=RECO Utilities 1.0
BF_USER=ser_bfbuild
BF_USER_LOGIN=ser_bfbuild
BF_USER_EMAIL=
BF_CLASS=RTC Build
BF_BID=30040ba30c5d1000920843cc25e225e2
BF_PID=1cf03cd00c5d1000c45e43cc24982498
BF_SID=5
BF_SSID=1cf03d010c5d1000c47743cc24982498
BF_SUID=34F75562-114F-11E2-B79C-AE1356EB585B
BF_SPID=1cf03cd00c5d1000c45e43cc24982498
BF_BLOCK=
BF_CONSOLE_VERSION=7.130006
BF_STEP_TYPE=REGULAR
BF_ONFAIL=Halt
BF_PROJECTNAME_PHYS=RECO_Utilities_1.0
BF_TAG_PHYS=1.0.0.15
BF_STEPNAME=Publish Aftifact to RAM
BF_STEP_ROOT=/bfbuilds/RECO_Utilities_1.0/1.0.0.15/RAMUtilities
BF_ROOT=/bfbuilds/RECO_Utilities_1.0/1.0.0.15
BF_ENGINE=EABF4914-9854-11E1-B2C4-F399CCEEB40B
BF_THRESHOLD_COUNT=0
BF_SERVER_ROOT=/bfbuilds
BF_SERVER=chapdt3utrec6a_02
BF_HOST=chapdt3utrec6a.ops.tiaa-cref.org:15558
BF_LASTRUN=2012-10-08 08:32:34
BF_LASTUNIX=1349699554
BF_LASTTAG=1.0.0.14
BF_LASTGOODTAG=1.0.0.14
BF_LASTGOODUNIX=1349699554
BF_LASTGOODRUN=2012-10-08 08:32:34
BF_TAG=1.0.0.15
B=15
BF_T=085103
BF_D=121008
BF_W=1
BF_J=281
SONAR_RUNNER=/app/sonar-runner-1.2
SONAR_USER=sonar
SONAR_PASSWD=*****
RAM_PROD_URL=https://ram-1.ops.tiaa-cref.org:9443/ram.ws
RAM_PROD_USER=ser_bfbuild
RAM_PROD_PASSWD=*****
Build_User=ser_bfbuild
Repository_Address=https://ccm-1.ops.tiaa-cref.org:9443/ccm
Build_Password=*****
RAM_ASSET_UID=1DA74BF2-CE8B-CC97-7A69-792F7B642CFE
PROJECT=RECO Utilities 1.0
engineUUID=_unqYsPasEeGB6OYvpZ_99w
buildResultUuid=_LJIlABFPEeKyv6ag9W884w
buildRequesterUserId=seriy
buildResultUUID=_LJIlABFPEeKyv6ag9W884w
team_scm_acceptBeforeFetch=true
team_scm_buildOnlyIfChanges=true
team_scm_deleteDestinationBeforeFetch=false
team_scm_fetchDestination=.
team_scm_workspaceUUID=_tOVBwA5nEeKyv6ag9W884w
personalBuild=false
scheduledBuild=false
Current_Date=10-08-12.09:52:03 [.date %m-%d-%y.%H:%M:%S]
RTC_REPOSITORY=https://ccm-1.ops.tiaa-cref.org:9443/ccm
Fetch_Dir=RECO_Utilities_1.0/1.0.0.15
Build_Toolkit_Path=/app/IBM/TeamConcertBuild/buildsystem/buildtoolkit
RTC_WORKSPACE_DIR=/tmp/workspace-build
Build_Engine_Path=/app/IBM/TeamConcertBuild/buildsystem/buildengine/eclipse
BFServer=chapdt3utrec6a_02
Last_Run=10-07-12.17:29:47
RTC_SCMPATH=/app/IBM/TeamConcert/scmtools/eclipse
ANT_HOME=/app/apache-ant-1.7.1
GRADLE_HOME=/app/gradle-1.1
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk.x86_64
ANT_HOME=/app/apache-ant-1.7.1
WL_HOME=/app/Oracle/Middleware
RAM_ASSET_DESCRIPTION=RECO Utilities
_NO_PREPARSE_COMMAND=1
RECOUTILS_HOME=/app/recoutils
Locale set to 'C'
Using plaintext communication.
ANT_HOME=/app/apache-ant-1.7.1
B=15
BFServer=chapdt3utrec6a_02
BF_AGENT_PLATFORM=linux 2.6.18-238.19.1.el5 #1 SMP Sun Jul 10 08:43:41 EDT 2011
BF_AGENT_VERSION=7.1.3.2-0-0012
BF_BID=30040ba30c5d1000920843cc25e225e2
BF_BLOCK=
BF_CLASS=RTC Build
BF_CONSOLE_VERSION=7.130006
BF_D=121008
BF_ENGINE=EABF4914-9854-11E1-B2C4-F399CCEEB40B
BF_HOST=chapdt3utrec6a.ops.tiaa-cref.org:15558
BF_J=281
BF_LASTGOODRUN=2012-10-08 08:32:34
BF_LASTGOODTAG=1.0.0.14
BF_LASTGOODUNIX=1349699554
BF_LASTRUN=2012-10-08 08:32:34
BF_LASTTAG=1.0.0.14
BF_LASTUNIX=1349699554
BF_ONFAIL=Halt
BF_PID=1cf03cd00c5d1000c45e43cc24982498
BF_PROJECTNAME=RECO Utilities 1.0
BF_PROJECTNAME_PHYS=RECO_Utilities_1.0
BF_ROOT=/bfbuilds/RECO_Utilities_1.0/1.0.0.15
BF_SERVER=chapdt3utrec6a_02
BF_SERVER_ROOT=/bfbuilds
BF_SID=5
BF_SPID=1cf03cd00c5d1000c45e43cc24982498
BF_SSID=1cf03d010c5d1000c47743cc24982498
BF_STEPNAME=Publish Aftifact to RAM
BF_STEP_ROOT=/bfbuilds/RECO_Utilities_1.0/1.0.0.15/RAMUtilities
BF_STEP_TYPE=REGULAR
BF_SUID=34F75562-114F-11E2-B79C-AE1356EB585B
BF_T=085103
BF_TAG=1.0.0.15
BF_TAG_PHYS=1.0.0.15
BF_THRESHOLD_COUNT=0
BF_USER=ser_bfbuild
BF_USER_EMAIL=
BF_USER_LOGIN=ser_bfbuild
BF_W=1
Build_Engine_Path=/app/IBM/TeamConcertBuild/buildsystem/buildengine/eclipse
Build_Password=*****
Build_Toolkit_Path=/app/IBM/TeamConcertBuild/buildsystem/buildtoolkit
Build_User=ser_bfbuild
Current_Date=10-08-12.09:52:03
Fetch_Dir=RECO_Utilities_1.0/1.0.0.15
GRADLE_HOME=/app/gradle-1.1
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk.x86_64
LANG=C
Last_Run=10-07-12.17:29:47
PROJECT=RECO Utilities 1.0
RAM_ASSET_DESCRIPTION=RECO Utilities
RAM_ASSET_UID=1DA74BF2-CE8B-CC97-7A69-792F7B642CFE
RAM_PROD_PASSWD=*****
RAM_PROD_URL=https://ram-1.ops.tiaa-cref.org:9443/ram.ws
RAM_PROD_USER=ser_bfbuild
RECOUTILS_HOME=/app/recoutils
REMOTE_HOST=10.65.106.209
RTC_REPOSITORY=https://ccm-1.ops.tiaa-cref.org:9443/ccm
RTC_SCMPATH=/app/IBM/TeamConcert/scmtools/eclipse
RTC_WORKSPACE_DIR=/tmp/workspace-build
Repository_Address=https://ccm-1.ops.tiaa-cref.org:9443/ccm
SONAR_PASSWD=*****
SONAR_RUNNER=/app/sonar-runner-1.2
SONAR_USER=sonar
WL_HOME=/app/Oracle/Middleware
_NO_PREPARSE_COMMAND=1
buildRequesterUserId=seriy
buildResultUUID=_LJIlABFPEeKyv6ag9W884w
buildResultUuid=_LJIlABFPEeKyv6ag9W884w
engineUUID=_unqYsPasEeGB6OYvpZ_99w
personalBuild=false
scheduledBuild=false
team_scm_acceptBeforeFetch=true
team_scm_buildOnlyIfChanges=true
team_scm_deleteDestinationBeforeFetch=false
team_scm_fetchDestination=.
team_scm_workspaceUUID=_tOVBwA5nEeKyv6ag9W884w
[/bfbuilds/RECO_Utilities_1.0/1.0.0.15] already exists and is a directory.
0 (0)
set user account to AD\ser_bfbuild
BF_AGENT_VERSION=7.1.3.2-0-0012
BF_AGENT_PLATFORM=linux 2.6.18-238.19.1.el5 #1 SMP Sun Jul 10 08:43:41 EDT 2011
BF_D=121008
BF_T=095106
BF_J=281
BF_W=1
BF_PROJECTNAME=RECO Utilities 1.0
BF_USER=ser_bfbuild
BF_USER_LOGIN=ser_bfbuild
BF_USER_EMAIL=
BF_CLASS=RTC Build
BF_BID=30040ba30c5d1000920843cc25e225e2
BF_PID=1cf03cd00c5d1000c45e43cc24982498
BF_SID=5
BF_SSID=1cf03d010c5d1000c47743cc24982498
BF_SUID=34F75562-114F-11E2-B79C-AE1356EB585B
BF_SPID=1cf03cd00c5d1000c45e43cc24982498
BF_BLOCK=
BF_CONSOLE_VERSION=7.130006
BF_STEP_TYPE=REGULAR
BF_ONFAIL=Halt
BF_PROJECTNAME_PHYS=RECO_Utilities_1.0
BF_TAG_PHYS=1.0.0.15
BF_STEPNAME=Publish Aftifact to RAM
BF_STEP_ROOT=/bfbuilds/RECO_Utilities_1.0/1.0.0.15/RAMUtilities
BF_ROOT=/bfbuilds/RECO_Utilities_1.0/1.0.0.15
BF_ENGINE=EABF4914-9854-11E1-B2C4-F399CCEEB40B
BF_THRESHOLD_COUNT=0
BF_SERVER_ROOT=/bfbuilds
BF_SERVER=chapdt3utrec6a_02
BF_HOST=chapdt3utrec6a.ops.tiaa-cref.org:15558
BF_LASTRUN=2012-10-08 08:32:34
BF_LASTUNIX=1349699554
BF_LASTTAG=1.0.0.14
BF_LASTGOODTAG=1.0.0.14
BF_LASTGOODUNIX=1349699554
BF_LASTGOODRUN=2012-10-08 08:32:34
BF_TAG=1.0.0.15
B=15
BF_T=085103
BF_D=121008
BF_W=1
BF_J=281
SONAR_RUNNER=/app/sonar-runner-1.2
SONAR_USER=sonar
SONAR_PASSWD=*****
RAM_PROD_URL=https://ram-1.ops.tiaa-cref.org:9443/ram.ws
RAM_PROD_USER=ser_bfbuild
RAM_PROD_PASSWD=*****
Build_User=ser_bfbuild
Repository_Address=https://ccm-1.ops.tiaa-cref.org:9443/ccm
Build_Password=*****
RAM_ASSET_UID=1DA74BF2-CE8B-CC97-7A69-792F7B642CFE
PROJECT=RECO Utilities 1.0
engineUUID=_unqYsPasEeGB6OYvpZ_99w
buildResultUuid=_LJIlABFPEeKyv6ag9W884w
buildRequesterUserId=seriy
buildResultUUID=_LJIlABFPEeKyv6ag9W884w
team_scm_acceptBeforeFetch=true
team_scm_buildOnlyIfChanges=true
team_scm_deleteDestinationBeforeFetch=false
team_scm_fetchDestination=.
team_scm_workspaceUUID=_tOVBwA5nEeKyv6ag9W884w
personalBuild=false
scheduledBuild=false
Current_Date=10-08-12.09:52:04 [.date %m-%d-%y.%H:%M:%S]
RTC_REPOSITORY=https://ccm-1.ops.tiaa-cref.org:9443/ccm
Fetch_Dir=RECO_Utilities_1.0/1.0.0.15
Build_Toolkit_Path=/app/IBM/TeamConcertBuild/buildsystem/buildtoolkit
RTC_WORKSPACE_DIR=/tmp/workspace-build
Build_Engine_Path=/app/IBM/TeamConcertBuild/buildsystem/buildengine/eclipse
BFServer=chapdt3utrec6a_02
Last_Run=10-07-12.17:29:47
RTC_SCMPATH=/app/IBM/TeamConcert/scmtools/eclipse
ANT_HOME=/app/apache-ant-1.7.1
GRADLE_HOME=/app/gradle-1.1
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk.x86_64
ANT_HOME=/app/apache-ant-1.7.1
WL_HOME=/app/Oracle/Middleware
RAM_ASSET_DESCRIPTION=RECO Utilities
_NO_PREPARSE_COMMAND=1
RECOUTILS_HOME=/app/recoutils
Locale set to 'C'
allocated pseudo-tty pipe
Using plaintext communication.
ANT_HOME=/app/apache-ant-1.7.1
B=15
BFServer=chapdt3utrec6a_02
BF_AGENT_PLATFORM=linux 2.6.18-238.19.1.el5 #1 SMP Sun Jul 10 08:43:41 EDT 2011
BF_AGENT_VERSION=7.1.3.2-0-0012
BF_BID=30040ba30c5d1000920843cc25e225e2
BF_BLOCK=
BF_CLASS=RTC Build
BF_CONSOLE_VERSION=7.130006
BF_D=121008
BF_ENGINE=EABF4914-9854-11E1-B2C4-F399CCEEB40B
BF_HOST=chapdt3utrec6a.ops.tiaa-cref.org:15558
BF_J=281
BF_LASTGOODRUN=2012-10-08 08:32:34
BF_LASTGOODTAG=1.0.0.14
BF_LASTGOODUNIX=1349699554
BF_LASTRUN=2012-10-08 08:32:34
BF_LASTTAG=1.0.0.14
BF_LASTUNIX=1349699554
BF_ONFAIL=Halt
BF_PID=1cf03cd00c5d1000c45e43cc24982498
BF_PROJECTNAME=RECO Utilities 1.0
BF_PROJECTNAME_PHYS=RECO_Utilities_1.0
BF_ROOT=/bfbuilds/RECO_Utilities_1.0/1.0.0.15
BF_SERVER=chapdt3utrec6a_02
BF_SERVER_ROOT=/bfbuilds
BF_SID=5
BF_SPID=1cf03cd00c5d1000c45e43cc24982498
BF_SSID=1cf03d010c5d1000c47743cc24982498
BF_STEPNAME=Publish Aftifact to RAM
BF_STEP_ROOT=/bfbuilds/RECO_Utilities_1.0/1.0.0.15/RAMUtilities
BF_STEP_TYPE=REGULAR
BF_SUID=34F75562-114F-11E2-B79C-AE1356EB585B
BF_T=085103
BF_TAG=1.0.0.15
BF_TAG_PHYS=1.0.0.15
BF_THRESHOLD_COUNT=0
BF_USER=ser_bfbuild
BF_USER_EMAIL=
BF_USER_LOGIN=ser_bfbuild
BF_W=1
Build_Engine_Path=/app/IBM/TeamConcertBuild/buildsystem/buildengine/eclipse
Build_Password=*****
Build_Toolkit_Path=/app/IBM/TeamConcertBuild/buildsystem/buildtoolkit
Build_User=ser_bfbuild
Current_Date=10-08-12.09:52:04
Fetch_Dir=RECO_Utilities_1.0/1.0.0.15
GRADLE_HOME=/app/gradle-1.1
JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk.x86_64
LANG=C
Last_Run=10-07-12.17:29:47
PROJECT=RECO Utilities 1.0
RAM_ASSET_DESCRIPTION=RECO Utilities
RAM_ASSET_UID=1DA74BF2-CE8B-CC97-7A69-792F7B642CFE
RAM_PROD_PASSWD=*****
RAM_PROD_URL=https://ram-1.ops.tiaa-cref.org:9443/ram.ws
RAM_PROD_USER=ser_bfbuild
RECOUTILS_HOME=/app/recoutils
REMOTE_HOST=10.65.106.209
RTC_REPOSITORY=https://ccm-1.ops.tiaa-cref.org:9443/ccm
RTC_SCMPATH=/app/IBM/TeamConcert/scmtools/eclipse
RTC_WORKSPACE_DIR=/tmp/workspace-build
Repository_Address=https://ccm-1.ops.tiaa-cref.org:9443/ccm
SONAR_PASSWD=*****
SONAR_RUNNER=/app/sonar-runner-1.2
SONAR_USER=sonar
WL_HOME=/app/Oracle/Middleware
_NO_PREPARSE_COMMAND=1
buildRequesterUserId=seriy
buildResultUUID=_LJIlABFPEeKyv6ag9W884w
buildResultUuid=_LJIlABFPEeKyv6ag9W884w
engineUUID=_unqYsPasEeGB6OYvpZ_99w
personalBuild=false
scheduledBuild=false
team_scm_acceptBeforeFetch=true
team_scm_buildOnlyIfChanges=true
team_scm_deleteDestinationBeforeFetch=false
team_scm_fetchDestination=.
team_scm_workspaceUUID=_tOVBwA5nEeKyv6ag9W884w
spawning shell [/bin/sh]
export PATH=${RECOUTILS_HOME}/bin:${JAVA_HOME}/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
assetpublish -ramurl ${RAM_PROD_URL} -user {RAM_PROD_USER} -pass ${RAM_PROD_PASSWD} -assetid "${RAM_ASSET_UID}" -assetver ${BF_TAG} -artifact artifacts.zip -depends ../ramassets.txt -assetname "${RAM_ASSET_DESCRIPTION}" -assetdesc "${RAM_ASSET_DESCRIPTION}"
start [/bfbuilds/RECO_Utilities_1.0/1.0.0.15/RAMUtilities@chapdt3utrec6a]
- Unable to determine Web WAR path
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
{}:return code:  401
{http://xml.apache.org/axis/}HttpErrorCode:401
(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at com.ibm.ram.internal.client.RAMHTTPSender.invoke(RAMHTTPSender.java:46)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.ibm.ram.repository.web.ws.core.v72.RAM1SoapBindingStub.getServerPath(RAM1SoapBindingStub.java:5746)
at com.ibm.ram.internal.access.ws.RAMv72.getServerPath(RAMv72.java:35)
at com.ibm.ram.internal.client.RAMClient.initialize(RAMClient.java:271)
at com.ibm.ram.client.RAMSession.createClient(RAMSession.java:344)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:309)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:282)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
at org.tiaa.reco.ram.utils.AssetPublish.run(AssetPublish.groovy:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:793)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:776)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:394)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.tiaa.reco.ram.utils.AssetPublish.main(AssetPublish.groovy)
- RAM Runtime Exception.
com.ibm.ram.common.data.exception.RAMRuntimeException: URL specified for the connection is invalid.
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:312)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:282)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
at org.tiaa.reco.ram.utils.AssetPublish.run(AssetPublish.groovy:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:793)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:776)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:394)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.tiaa.reco.ram.utils.AssetPublish.main(AssetPublish.groovy)
Caused by: com.ibm.ram.internal.client.RAMServiceException: URL specified for the connection is invalid.[10005]
at com.ibm.ram.internal.client.RAMClient.initialize(RAMClient.java:287)
at com.ibm.ram.client.RAMSession.createClient(RAMSession.java:344)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:309)
... 27 more
Exception in thread "main" com.ibm.ram.common.data.exception.RAMRuntimeException: URL specified for the connection is invalid.
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:312)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:282)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)
at org.tiaa.reco.ram.utils.AssetPublish.run(AssetPublish.groovy:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:793)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:776)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:394)
at org.codehaus.groovy.runtime.InvokerHelper$runScript.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at org.tiaa.reco.ram.utils.AssetPublish.main(AssetPublish.groovy)
Caused by: com.ibm.ram.internal.client.RAMServiceException: URL specified for the connection is invalid.[10005]
at com.ibm.ram.internal.client.RAMClient.initialize(RAMClient.java:287)
at com.ibm.ram.client.RAMSession.createClient(RAMSession.java:344)
at com.ibm.ram.client.RAMSession.<init>(RAMSession.java:309)
... 27 more
end [/bfbuilds/RECO_Utilities_1.0/1.0.0.15/RAMUtilities@chapdt3utrec6a]
1 (1)

Your answer


Register or to post your answer.