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

IBM i Continuous Load - Jazz Build Engine

This build template is used to load i artifacts from a jazz repository workspace to IBM i libraries on a defined schedule.

As the online help said, I should set the i Project to library mapping in repository workspace properties page.

My question is : is there a way to batch set the "i Project to library mapping"? There are so many i Project in the repository workspace, set up the mapping one by one is a large work.

Thanks!

0 votes



8 answers

Permanent link
Currently there is no batch way to set the IBM i Project to library mappings. You must set them one by one.

Feel free to open an Enhancement request explaining what you mean by batch set in this case. Do all your IBM i Projects map to the same library in the end?

This build template is used to load i artifacts from a jazz repository workspace to IBM i libraries on a defined schedule.

As the online help said, I should set the i Project to library mapping in repository workspace properties page.

My question is : is there a way to batch set the "i Project to library mapping"? There are so many i Project in the repository workspace, set up the mapping one by one is a large work.

Thanks!

0 votes


Permanent link
Thanks for your reply, Kevin
Yes, the customer finally will load the i project code to the same library in product server environment. I will open one enhancement and will let you know.

And another question is when I set the library one by one, there is error so that I can not save the properties.

"CRCQP6006E: All i Projects must map to a unique library "

Do you know how to resolve it?

Thanks very much!


Currently there is no batch way to set the IBM i Project to library mappings. You must set them one by one.

Feel free to open an Enhancement request explaining what you mean by batch set in this case. Do all your IBM i Projects map to the same library in the end?

This build template is used to load i artifacts from a jazz repository workspace to IBM i libraries on a defined schedule.

As the online help said, I should set the i Project to library mapping in repository workspace properties page.

My question is : is there a way to batch set the "i Project to library mapping"? There are so many i Project in the repository workspace, set up the mapping one by one is a large work.

Thanks!

0 votes


Permanent link
Hi, Kevin

Is there a API to batch set the mapping?

Currently there is no batch way to set the IBM i Project to library mappings. You must set them one by one.

Feel free to open an Enhancement request explaining what you mean by batch set in this case. Do all your IBM i Projects map to the same library in the end?

This build template is used to load i artifacts from a jazz repository workspace to IBM i libraries on a defined schedule.

As the online help said, I should set the i Project to library mapping in repository workspace properties page.

My question is : is there a way to batch set the "i Project to library mapping"? There are so many i Project in the repository workspace, set up the mapping one by one is a large work.

Thanks!

0 votes


Permanent link
When I run the jbe.sh to start the engine, it prompts the java exceptions:
I tried the scm tool to connect and list stream with the same server in the same System i machine, scm tool works fine. But I do no know why jbe has exception. Is there any config I forget?

Thanks very much!

java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:197)
at java.util.StringTokenizer.<init>(StringTokenizer.java:219)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.startAnEngine(Sta
rtBuildEngine.java:540)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:279)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252
)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.as400.access.PortMapper.getSocketConnection(PortMapper.jav
a:265)
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:16
0)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote
.java:2279)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:2
197)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2884)
at com.ibm.as400.access.AS400.promptSignon(AS400.java:2496)
at com.ibm.as400.access.AS400.signon(AS400.java:3759)
at com.ibm.as400.access.ProgramCall.chooseImpl(ProgramCall.java:297)
at com.ibm.as400.access.ProgramCall.run(ProgramCall.java:623)
at com.ibm.as400.access.JobList.load(JobList.java:1549)
at com.ibm.as400.access.JobList.getJobs(JobList.java:992)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.isJobUsed(StartBu
ildEngine.java:813)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:291)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Unhandled exception caught in launchInstance(): No route to host
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252
)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.as400.access.PortMapper.getSocketConnection(PortMapper.jav
a:265)
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:16
0)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote
.java:2279)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:2
197)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2884)
at com.ibm.as400.access.AS400.promptSignon(AS400.java:2496)
at com.ibm.as400.access.AS400.signon(AS400.java:3759)
at com.ibm.as400.access.CommandCall.chooseImpl(CommandCall.java:259)
at com.ibm.as400.access.CommandCall.run(CommandCall.java:676)
at com.ibm.as400.access.CommandCall.run(CommandCall.java:710)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:411)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
$

0 votes


Permanent link
Note: It is best to start a new thread when you are starting a new topic.

Cheers,
Geoff

When I run the jbe.sh to start the engine, it prompts the java exceptions:
I tried the scm tool to connect and list stream with the same server in the same System i machine, scm tool works fine. But I do no know why jbe has exception. Is there any config I forget?

Thanks very much!

java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:197)
at java.util.StringTokenizer.<init>(StringTokenizer.java:219)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.startAnEngine(Sta
rtBuildEngine.java:540)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:279)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252
)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.as400.access.PortMapper.getSocketConnection(PortMapper.jav
a:265)
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:16
0)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote
.java:2279)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:2
197)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2884)
at com.ibm.as400.access.AS400.promptSignon(AS400.java:2496)
at com.ibm.as400.access.AS400.signon(AS400.java:3759)
at com.ibm.as400.access.ProgramCall.chooseImpl(ProgramCall.java:297)
at com.ibm.as400.access.ProgramCall.run(ProgramCall.java:623)
at com.ibm.as400.access.JobList.load(JobList.java:1549)
at com.ibm.as400.access.JobList.getJobs(JobList.java:992)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.isJobUsed(StartBu
ildEngine.java:813)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:291)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Unhandled exception caught in launchInstance(): No route to host
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252
)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.as400.access.PortMapper.getSocketConnection(PortMapper.jav
a:265)
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:16
0)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote
.java:2279)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:2
197)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2884)
at com.ibm.as400.access.AS400.promptSignon(AS400.java:2496)
at com.ibm.as400.access.AS400.signon(AS400.java:3759)
at com.ibm.as400.access.CommandCall.chooseImpl(CommandCall.java:259)
at com.ibm.as400.access.CommandCall.run(CommandCall.java:676)
at com.ibm.as400.access.CommandCall.run(CommandCall.java:710)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:411)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
$

0 votes


Permanent link
You can't set the same library for every IBM i Project with IBM i Continuous Load definition. This is what I was trying to understand by you wanting to do it in batch. Every IBM i Project must map to a unique library, which is why you are getting that error. There is no supported API for setting the mappings.

0 votes


Permanent link
When you ran jbe.sh did you get output like:

CRCQP3904I:The Jazz Build Engine instance job is 071469/JTSADMIN/QRTCIBE.
CRCQP3906I:The Jazz Build Engine instance process ID is 1985.

If so can you go to the following replacing JOBNAME with the name mentioned above. In my case QRTCIBE.

/qibm/proddata/rtc301/Build/jazz/buildsystem/buildengine/eclipse/RTCiLogs/JOBNAME

In that directory check if a file named jobname.txt was created and let us know what is in that file. It should not be empty.

If jobname.txt does not exist what was the command you entered for jbe.sh and all the parameters?

When I run the jbe.sh to start the engine, it prompts the java exceptions:
I tried the scm tool to connect and list stream with the same server in the same System i machine, scm tool works fine. But I do no know why jbe has exception. Is there any config I forget?

Thanks very much!

java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:197)
at java.util.StringTokenizer.<init>(StringTokenizer.java:219)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.startAnEngine(Sta
rtBuildEngine.java:540)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:279)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252
)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.as400.access.PortMapper.getSocketConnection(PortMapper.jav
a:265)
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:16
0)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote
.java:2279)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:2
197)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2884)
at com.ibm.as400.access.AS400.promptSignon(AS400.java:2496)
at com.ibm.as400.access.AS400.signon(AS400.java:3759)
at com.ibm.as400.access.ProgramCall.chooseImpl(ProgramCall.java:297)
at com.ibm.as400.access.ProgramCall.run(ProgramCall.java:623)
at com.ibm.as400.access.JobList.load(JobList.java:1549)
at com.ibm.as400.access.JobList.getJobs(JobList.java:992)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.isJobUsed(StartBu
ildEngine.java:813)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:291)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Unhandled exception caught in launchInstance(): No route to host
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252
)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.as400.access.PortMapper.getSocketConnection(PortMapper.jav
a:265)
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:16
0)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote
.java:2279)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:2
197)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2884)
at com.ibm.as400.access.AS400.promptSignon(AS400.java:2496)
at com.ibm.as400.access.AS400.signon(AS400.java:3759)
at com.ibm.as400.access.CommandCall.chooseImpl(CommandCall.java:259)
at com.ibm.as400.access.CommandCall.run(CommandCall.java:676)
at com.ibm.as400.access.CommandCall.run(CommandCall.java:710)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:411)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
$

0 votes


Permanent link
Hi, Kevin

I did not get the output of
CRCQP3904I:The Jazz Build Engine instance job is 071469/JTSADMIN/QRTCIBE.
CRCQP3906I:The Jazz Build Engine instance process ID is 1985.

The file named jobname.txt is empty.

I create another topic to follow this problem. Thanks!
https://jazz.net/forums/viewtopic.php?p=80355#80355

When you ran jbe.sh did you get output like:

CRCQP3904I:The Jazz Build Engine instance job is 071469/JTSADMIN/QRTCIBE.
CRCQP3906I:The Jazz Build Engine instance process ID is 1985.

If so can you go to the following replacing JOBNAME with the name mentioned above. In my case QRTCIBE.

/qibm/proddata/rtc301/Build/jazz/buildsystem/buildengine/eclipse/RTCiLogs/JOBNAME

In that directory check if a file named jobname.txt was created and let us know what is in that file. It should not be empty.

If jobname.txt does not exist what was the command you entered for jbe.sh and all the parameters?

When I run the jbe.sh to start the engine, it prompts the java exceptions:
I tried the scm tool to connect and list stream with the same server in the same System i machine, scm tool works fine. But I do no know why jbe has exception. Is there any config I forget?

Thanks very much!

java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:197)
at java.util.StringTokenizer.<init>(StringTokenizer.java:219)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.startAnEngine(Sta
rtBuildEngine.java:540)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:279)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252
)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.as400.access.PortMapper.getSocketConnection(PortMapper.jav
a:265)
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:16
0)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote
.java:2279)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:2
197)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2884)
at com.ibm.as400.access.AS400.promptSignon(AS400.java:2496)
at com.ibm.as400.access.AS400.signon(AS400.java:3759)
at com.ibm.as400.access.ProgramCall.chooseImpl(ProgramCall.java:297)
at com.ibm.as400.access.ProgramCall.run(ProgramCall.java:623)
at com.ibm.as400.access.JobList.load(JobList.java:1549)
at com.ibm.as400.access.JobList.getJobs(JobList.java:992)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.isJobUsed(StartBu
ildEngine.java:813)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:291)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Unhandled exception caught in launchInstance(): No route to host
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252
)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.as400.access.PortMapper.getSocketConnection(PortMapper.jav
a:265)
at com.ibm.as400.access.PortMapper.getServerSocket(PortMapper.java:16
0)
at com.ibm.as400.access.AS400ImplRemote.signonConnect(AS400ImplRemote
.java:2279)
at com.ibm.as400.access.AS400ImplRemote.signon(AS400ImplRemote.java:2
197)
at com.ibm.as400.access.AS400.sendSignonRequest(AS400.java:2884)
at com.ibm.as400.access.AS400.promptSignon(AS400.java:2496)
at com.ibm.as400.access.AS400.signon(AS400.java:3759)
at com.ibm.as400.access.CommandCall.chooseImpl(CommandCall.java:259)
at com.ibm.as400.access.CommandCall.run(CommandCall.java:676)
at com.ibm.as400.access.CommandCall.run(CommandCall.java:710)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.launchInstance(St
artBuildEngine.java:411)
at com.ibm.teami.build.engine.i5os.StartBuildEngine.start(StartBuildE
ngine.java:236)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa
ndle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp
plication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter
.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
$

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: May 02 '12, 10:44 a.m.

Question was seen: 5,484 times

Last updated: May 02 '12, 10:44 a.m.

Confirmation Cancel Confirm