Go Agent on IBMi

426 views
Skip to first unread message

Charles Martin

unread,
May 28, 2014, 4:01:46 AM5/28/14
to go...@googlegroups.com
Hi folks,

I am trying to run a go agent on an IBMi Power Server (see more here : http://www.redbooks.ibm.com/abstracts/sg247858.html).
As long as Java run on it, i expect it should work.
I am able to launch mthe agent, the server notice it, and add it to the agent list in pending state.
I enable it and add some resources to it.
Then i try to launch a pipeline on this agent.

The pipeline remain in "scheduled" state, and say about the agent it is "Not yet assigned (ip:Unknown)".
When i check the agent state, it is in "lost contact" state.

Could i get some help to do a diagnostic ?

The java version is 1.7.0.

Thank you.
Charles

Jyoti Singh

unread,
May 28, 2014, 4:47:50 AM5/28/14
to go...@googlegroups.com
Check if the agent process is still running. If its still running, agent logs should give you some hint about the what could causing this. 

Charles Martin

unread,
May 28, 2014, 8:29:30 AM5/28/14
to go...@googlegroups.com
After few minutes, the agent process is gone.

I have 2 logs :
---------------------
go-agent-launcher
--
2014-05-28 14:18:23,916 [main     ] INFO  cruise.agent.launcher.Lockfile:56 - Sleeping for 10000 secs to before 'last modified check'...
2014-05-28 14:18:33,949 [main     ] ERROR cruise.agent.launcher.Lockfile:143 - Already running agent launcher in this folder.
---------------------
go-agent-bootstrapper
--
[mer 28 mai 14:18:21 CEST 2014] Starting Go Agent Bootstrapper with command: /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/bin/java -jar "/usr/share/go-agent/agent-bootstrapper.jar" usewwmr002.si3si.int 8153
[mer 28 mai 14:18:21 CEST 2014] Starting Go Agent Bootstrapper in directory: /var/lib/go-agent
[mer 28 mai 14:18:21 CEST 2014] AGENT_STARTUP_ARGS=-Dcruise.console.publish.interval=10 -Xms128m -Xmx256m  
logFile Environment Variable= /var/log/go-agent/go-agent-bootstrapper.log
Logging to /var/log/go-agent/go-agent-bootstrapper.log
2014-05-28 14:18:23,655 [main     ] INFO  agent.common.util.JarUtil:52 - Attempting to load Go-Agent-Launcher-Class from d6950ea1-994c-4a5b-b4e6-678dffb1d125agent-launcher.jar File:
2014-05-28 14:18:23,666 [main     ] INFO  agent.common.util.JarUtil:61 - manifestLibDirKey: Go-Agent-Launcher-Lib-Dir: libs
2014-05-28 14:18:23,782 [main     ] INFO  agent.common.util.JarUtil:67 - manifestClassKey: Go-Agent-Launcher-Class: com.thoughtworks.cruise.agent.launcher.AgentLauncherImpl
2014-05-28 14:18:23,794 [main     ] INFO  agent.common.util.ParentClassAccessFilteringClassloader:27 - Loading com.thoughtworks.cruise.agent.common.launcher.AgentLauncher using com.simontuffs.onejar.JarClassLoader
2014-05-28 14:18:23,874 [main     ] INFO  cruise.agent.bootstrapper.AgentBootstrapper:56 - Attempting create and start launcher...
0 [main] INFO com.thoughtworks.cruise.agent.launcher.Lockfile  - Sleeping for 10000 secs to before 'last modified check'...
Already running agent launcher in this folder.
10033 [main] ERROR com.thoughtworks.cruise.agent.launcher.Lockfile  - Already running agent launcher in this folder.
2014-05-28 14:18:33,950 [main     ] INFO  cruise.agent.bootstrapper.AgentBootstrapper:60 - Launcher returned with code 12245933(0xBADBAD)
2014-05-28 14:18:33,973 [main     ] INFO  cruise.agent.bootstrapper.AgentBootstrapper:100 - Destroying launcher creator
2014-05-28 14:18:35,013 [main     ] INFO  cruise.agent.bootstrapper.DefaultAgentLauncherCreatorImpl:74 - Attempt No: 1 to cleanup launcher temp files
2014-05-28 14:18:35,053 [main     ] INFO  cruise.agent.bootstrapper.AgentBootstrapper:83 - Waiting for 10000 ms before re-launch....
2014-05-28 14:18:45,084 [main     ] INFO  cruise.agent.bootstrapper.AgentBootstrapper:100 - Destroying launcher creator
2014-05-28 14:18:45,085 [main     ] INFO  cruise.agent.bootstrapper.AgentBootstrapper:77 - Agent Bootstrapper stopped
---------------------

Sriram Narayanan

unread,
May 28, 2014, 8:41:07 AM5/28/14
to Charles Martin, go...@googlegroups.com
Looks like another process is already running:
10033 [main] ERROR com.thoughtworks.cruise.agent.
launcher.Lockfile  - Already running agent launcher in this folder.

Please check if there is another Java process.

On the Go server, check in the Agents tab if there is an agent connected from this machine's IP.

-- Ram



--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Charles Martin

unread,
May 28, 2014, 8:51:02 AM5/28/14
to go...@googlegroups.com, Charles Martin
Yes, there are other process.
What is weird is they appear when i try to stop the agent.

You should know that i tried to use the solaris shell script to start / stop the agent.
And thoses scripts didn't work (of course, i am not in a solaris environment), so i created thoses functions i use to start / stop the agent.


The script i created =>
----------------
#whoami is needed by the script but doesn't exist here
whoami() {
    id | cut -f1 -d" " | cut -f2 -d"(" | cut -f1 -d")"
}

gostart() {
    #/etc/init.d/go-agent start
    /usr/share/go-agent/agent.sh
}

gostop() {
    /usr/share/go-agent/stop-agent.sh
    rm -r /var/lib/go-agent/*
    rm -r /var/log/go-agent/*
}

goid() {
    cat /var/run/go-agent/go-agent.pid
}
----------------

When i use the gostop function, the new agent appear on the server.

Charles Martin

unread,
May 28, 2014, 8:56:11 AM5/28/14
to go...@googlegroups.com, Charles Martin
To be more accurate.


Please check if there is another Java process.
=> I see other process on the server, i am not sure how to check this on the client machine. Do you know how to do it on a linux like command ?


On the Go server, check in the Agents tab if there is an agent connected from this machine's IP.
=> On the server, i have this line :
hercule.si3si.int  /var/lib/go-agent   
OS/400  172.25.161.153     
pending   
0 bytes    
no resources specified       no environments specified
=> which will turn as "lost contact" as soon as i give it some work.

Aravind SV

unread,
May 29, 2014, 11:48:07 PM5/29/14
to Charles Martin, go...@googlegroups.com
Hi Charles,

A few things you can check:

1. Login to the agent box and run something like: ps -ef | grep -i go    OR    ps aux | grep -i go . This should work on a Unix. This should show running Go agent processes. What does it say?

2. You showed the line in the agents tab on the server. It says that the agent is: "Pending". You will need to select it and "Enable" it (a button on the top of the page).

3. You should be able to find some logs in /var/log/go-agent. Can you check whether they show something?

4. You mentioned the Java version, but not the kind. Meaning, whether it is IBM Java or Sun JRE or Open JRE. We do not support IBM Java. The fact that you've got the agent showing up on the Agents tab probably means that you don't have IBM Java. Is this right?

Cheers,
Aravind

Charles Martin

unread,
May 30, 2014, 4:02:03 AM5/30/14
to go...@googlegroups.com, charles....@gmail.com
Hi Aravind,

Here are the results of your questions.


1. Login to the agent box and run something like: ps -ef | grep -i go    OR    ps aux | grep -i go
. This should work on a Unix. This should show running Go agent processes. What does it say?

--------------------------------
ps -ef | grep -i go
------
-Before starting the agent-
go           140659        1 05-30-2014 09:15:54 go          00:00 cmd-qsh  
go                1        1 05-30-2014 09:15:57 go          00:00 grp-qezgrp
2                                                                           
go           140660   140659 05-30-2014 09:16:09 -           00:00 pgm-qzshsh
go           140666   140660 05-30-2014 09:19:04 -           00:00 pgm-ps   
go                1        1 05-30-2014 09:19:04 -           00:00 -   
-After starting the agent- (diff in bold green)
go           140659        1 05-30-2014 09:15:54 go          00:00 cmd-qsh  
go           140696   140694 05-30-2014 09:45:29 -           00:01 -        
go                1        1 05-30-2014 09:15:57 go          00:00 grp-qezgrp
2                                                                           
go           140660   140659 05-30-2014 09:16:09 -           00:00 pgm-qzshsh
go           140694        1 05-30-2014 09:45:29 -           00:00 pgm-jfromp
ase                                                                         
go           140697   140696 05-30-2014 09:45:38 -           00:03 -  
      
go           140699   140660 05-30-2014 09:48:25 -           00:00 pgm-ps   
go                1        1 05-30-2014 09:48:25 -           00:00 -        

--------------------------------

ps aux | grep -i go
------
-Before starting the agent-
  140659 go          00:00 cmd-qsh        deqa      104005/go/go     
       1 go          00:00 grp-qezgrp2    grp       104006/go/go     
  140660 -           00:00 pgm-qzshsh     evtw      104007/go/qzshsh 
  140668 -           00:00 pgm-ps         run       104016/go/qp0zspwp
       1 -           00:00 -              run       104017/go/qp0zspwp

-After starting the agent- (diff in bold green)
  140659 go          00:00 cmd-qsh        deqa      104005/go/go        
       1 go          00:00 grp-qezgrp2    grp       104006/go/go        
  140660 -           00:00 pgm-qzshsh     evtw      104007/go/qzshsh    
  140694 -           00:00 pgm-jfrompase  evtw      104059/go/qp0zspwp  
  140696 -           00:01 -              thdw      104061/go/qp0zspwp  
  140697 -           00:03 -              thdw      104062/go/qjvaexec  
  141228 -           00:00 pgm-ps         run       104590/go/qp0zspwp  
       1 -           00:00 -              run       104591/go/qp0zspwp  

--------------------------------


2. You showed the line in the agents tab on the server. It says that the agent is: "Pending". You will need to select it and "Enable" it (a button on the top of the page).
=> Yes, i know. When i enable an agent, it will get in "lost contact" state if i wait a little, or if i launch a pipeline on it, or if i disable it and reenable it.

3. You should be able to find some logs in /var/log/go-agent. Can you check whether they show something?
--------------------------------
go-agent-bootstrapper.log
------
[ven 30 mai 09:45:29 CEST 2014] Starting Go Agent Bootstrapper with command: /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/bin/java -jar "/usr/share/go-agent/agent-bootstrapper.jar" usewwmr002.si3si.int 8153
[ven 30 mai 09:45:29 CEST 2014] Starting Go Agent Bootstrapper in directory: /var/lib/go-agent
[ven 30 mai 09:45:29 CEST 2014] AGENT_STARTUP_ARGS=-Dcruise.console.publish.interval=10 -Xms128m -Xmx256m  
logFile Environment Variable= /var/log/go-agent/go-agent-bootstrapper.log
Logging to /var/log/go-agent/go-agent-bootstrapper.log
2014-05-30 09:45:32,485 [main     ] INFO  agent.common.util.JarUtil:52 - Attempting to load Go-Agent-Launcher-Class from 247f8b9f-78a5-4ec0-886f-49c655ffedf6agent-launcher.jar File:
2014-05-30 09:45:32,567 [main     ] INFO  agent.common.util.JarUtil:61 - manifestLibDirKey: Go-Agent-Launcher-Lib-Dir: libs
2014-05-30 09:45:32,684 [main     ] INFO  agent.common.util.JarUtil:67 - manifestClassKey: Go-Agent-Launcher-Class: com.thoughtworks.cruise.agent.launcher.AgentLauncherImpl
2014-05-30 09:45:32,695 [main     ] INFO  agent.common.util.ParentClassAccessFilteringClassloader:27 - Loading com.thoughtworks.cruise.agent.common.launcher.AgentLauncher using com.simontuffs.onejar.JarClassLoader
2014-05-30 09:45:32,787 [main     ] INFO  cruise.agent.bootstrapper.AgentBootstrapper:56 - Attempting create and start launcher...
2014-05-30 09:45:32,847 [main     ] INFO  agent.common.util.ParentClassAccessFilteringClassloader:27 - Loading com.thoughtworks.cruise.agent.common.launcher.AgentLaunchDescriptor using com.simontuffs.onejar.JarClassLoader
0 [TouchLoopThread-7] INFO com.thoughtworks.cruise.agent.launcher.Lockfile  - Using lock file: /var/lib/go-agent/.agent-bootstrapper.running
545 [main] INFO com.thoughtworks.cruise.agent.launcher.ServerBinaryDownloader  - download started at Fri May 30 09:45:33 CEST 2014
904 [main] INFO com.thoughtworks.cruise.agent.launcher.ServerBinaryDownloader  - got server response at Fri May 30 09:45:33 CEST 2014
4693 [main] INFO com.thoughtworks.cruise.agent.launcher.ServerBinaryDownloader  - pipe the stream to admin/agent at Fri May 30 09:45:37 CEST 2014
4694 [main] INFO com.thoughtworks.cruise.util.PerfTimer  - Performance: Downloading new admin/agent with md5 signature: S+RaRUd13Yka/+bxuUrbOg== took 4168ms
4697 [main] INFO com.thoughtworks.cruise.agent.common.util.JarUtil  - Attempting to load Go-Agent-Bootstrap-Class from agent.jar File:
4699 [main] INFO com.thoughtworks.cruise.agent.common.util.JarUtil  - manifestClassKey: Go-Agent-Bootstrap-Class: com.thoughtworks.cruise.agent.AgentProcessParentImpl
4708 [main] INFO com.thoughtworks.cruise.agent.AgentProcessParentImpl  - Agent is version: 13.4.1
5329 [main] INFO com.thoughtworks.cruise.agent.AgentProcessParentImpl  - Launching Agent with command: /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/jre/bin/java -Dcruise.console.publish.interval=10 -Xms128m -Xmx256m -Dagent.launcher.version=13.4.1 -Dagent.binary.md5=S+RaRUd13Yka/+bxuUrbOg== -Dagent.launcher.md5=7QboYxNj2yhgNhma0sUElw== -jar agent.jar https://usewwmr002.si3si.int:8154/go/
--------------------------------
go-agent-launcher.log
------
2014-05-30 09:45:32,848 [TouchLoopThread-7] INFO  cruise.agent.launcher.Lockfile:86 - Using lock file: /var/lib/go-agent/.agent-bootstrapper.running
2014-05-30 09:45:33,393 [main     ] INFO  cruise.agent.launcher.ServerBinaryDownloader:159 - download started at Fri May 30 09:45:33 CEST 2014
2014-05-30 09:45:33,752 [main     ] INFO  cruise.agent.launcher.ServerBinaryDownloader:165 - got server response at Fri May 30 09:45:33 CEST 2014
2014-05-30 09:45:37,541 [main     ] INFO  cruise.agent.launcher.ServerBinaryDownloader:168 - pipe the stream to admin/agent at Fri May 30 09:45:37 CEST 2014
2014-05-30 09:45:37,542 [main     ] INFO  thoughtworks.cruise.util.PerfTimer:37 - Performance: Downloading new admin/agent with md5 signature: S+RaRUd13Yka/+bxuUrbOg== took 4168ms
2014-05-30 09:45:37,545 [main     ] INFO  agent.common.util.JarUtil:52 - Attempting to load Go-Agent-Bootstrap-Class from agent.jar File:
2014-05-30 09:45:37,547 [main     ] INFO  agent.common.util.JarUtil:67 - manifestClassKey: Go-Agent-Bootstrap-Class: com.thoughtworks.cruise.agent.AgentProcessParentImpl
2014-05-30 09:45:37,556 [main     ] INFO  thoughtworks.cruise.agent.AgentProcessParentImpl:34 - Agent is version: 13.4.1
2014-05-30 09:45:38,177 [main     ] INFO  thoughtworks.cruise.agent.AgentProcessParentImpl:42 - Launching Agent with command: /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/jre/bin/java -Dcruise.console.publish.interval=10 -Xms128m -Xmx256m -Dagent.launcher.version=13.4.1 -Dagent.binary.md5=S+RaRUd13Yka/+bxuUrbOg== -Dagent.launcher.md5=7QboYxNj2yhgNhma0sUElw== -jar agent.jar https://usewwmr002.si3si.int:8154/go/
--------------------------------
go-agent-stderr.log
------
-empty-
--------------------------------
--------------------------------
go-agent-stdout.log
------
2014-05-30 09:45:44,766 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initializing new StandardEnvironment
2014-05-30 09:45:44,774 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
2014-05-30 09:45:44,774 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
2014-05-30 09:45:44,774 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-05-30 09:45:44,796 [main] INFO  org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@d641b6ec: startup date [Fri May 30 09:45:44 CEST 2014]; root of context hierarchy
2014-05-30 09:45:44,857 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initializing new StandardEnvironment
2014-05-30 09:45:44,857 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
2014-05-30 09:45:44,857 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
2014-05-30 09:45:44,857 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-05-30 09:45:44,858 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initializing new StandardEnvironment
2014-05-30 09:45:44,863 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
2014-05-30 09:45:44,863 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
2014-05-30 09:45:44,864 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-05-30 09:45:44,878 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext.xml]
2014-05-30 09:45:44,989 [main] DEBUG org.springframework.beans.factory.xml.DefaultDocumentLoader - Using JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
2014-05-30 09:45:45,095 [main] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResolver - Loading schema mappings from [META-INF/spring.schemas]
2014-05-30 09:45:45,104 [main] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResolver - Loaded schema mappings: {http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd=org/springframework/web/servlet/config/spring-mvc-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache.xsd=org/springframework/cache/config/spring-cache-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd, http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/task/spring-task-3.1.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd=org/springframework/jdbc/config/spring-jdbc-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-3.1.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd=org/springframework/web/servlet/config/spring-mvc-3.0.xsd, http://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd, http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd, http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd, http://www.springframework.org/schema/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd, http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-3.1.xsd, http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd, http://www.springframework.org/schema/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx-3.1.xsd=org/springframework/transaction/config/spring-tx-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd, http://www.springframework.org/schema/context/spring-context-3.1.xsd=org/springframework/context/config/spring-context-3.1.xsd, http://www.springframework.org/schema/util/spring-util-3.1.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd, http://www.springframework.org/schema/lang/spring-lang-3.1.xsd=org/springframework/scripting/config/spring-lang-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache-3.1.xsd=org/springframework/cache/config/spring-cache-3.1.xsd, http://www.springframework.org/schema/context/spring-context.xsd=org/springframework/context/config/spring-context-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd, http://www.springframework.org/schema/mvc/spring-mvc.xsd=org/springframework/web/servlet/config/spring-mvc-3.1.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc.xsd=org/springframework/jdbc/config/spring-jdbc-3.1.xsd, http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd, http://www.springframework.org/schema/aop/spring-aop-3.1.xsd=org/springframework/aop/config/spring-aop-3.1.xsd, http://www.springframework.org/schema/tx/spring-tx-3.0.xsd=org/springframework/transaction/config/spring-tx-3.0.xsd, http://www.springframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd, http://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd, http://www.springframework.org/schema/lang/spring-lang-3.0.xsd=org/springframework/scripting/config/spring-lang-3.0.xsd, http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd, http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd, http://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd}
2014-05-30 09:45:45,106 [main] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResolver - Found XML schema [http://www.springframework.org/schema/beans/spring-beans-2.5.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-2.5.xsd
2014-05-30 09:45:45,217 [main] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResolver - Found XML schema [http://www.springframework.org/schema/context/spring-context-2.5.xsd] in classpath: org/springframework/context/config/spring-context-2.5.xsd
2014-05-30 09:45:45,238 [main] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResolver - Found XML schema [http://www.springframework.org/schema/tool/spring-tool-2.5.xsd] in classpath: org/springframework/beans/factory/xml/spring-tool-2.5.xsd
2014-05-30 09:45:45,276 [main] DEBUG org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader - Loading bean definitions
2014-05-30 09:45:45,297 [main] DEBUG org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver - Loaded NamespaceHandler mappings: {http://www.springframework.org/schema/p=org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler, http://www.springframework.org/schema/mvc=org.springframework.web.servlet.config.MvcNamespaceHandler, http://www.springframework.org/schema/util=org.springframework.beans.factory.xml.UtilNamespaceHandler, http://www.springframework.org/schema/jee=org.springframework.ejb.config.JeeNamespaceHandler, http://www.springframework.org/schema/aop=org.springframework.aop.config.AopNamespaceHandler, http://www.springframework.org/schema/jdbc=org.springframework.jdbc.config.JdbcNamespaceHandler, http://www.springframework.org/schema/cache=org.springframework.cache.config.CacheNamespaceHandler, http://www.springframework.org/schema/c=org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler, http://www.springframework.org/schema/tx=org.springframework.transaction.config.TxNamespaceHandler, http://www.springframework.org/schema/task=org.springframework.scheduling.config.TaskNamespaceHandler, http://www.springframework.org/schema/lang=org.springframework.scripting.config.LangNamespaceHandler, http://www.springframework.org/schema/context=org.springframework.context.config.ContextNamespaceHandler}
2014-05-30 09:45:45,354 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor#f316fe]
2014-05-30 09:45:45,356 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [com.thoughtworks.cruise.util.SystemEnvironment#0]
2014-05-30 09:45:45,357 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [com.thoughtworks.cruise.util.URLService#0]
2014-05-30 09:45:45,357 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [com.thoughtworks.cruise.util.ZipUtil#0]
2014-05-30 09:45:45,357 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [com.thoughtworks.cruise.util.HttpService#0]
2014-05-30 09:45:45,363 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [com.thoughtworks.cruise.publishers.CruiseArtifactsManipulator#0]
2014-05-30 09:45:45,363 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [com.thoughtworks.cruise.agent.service.SslInfrastructureService#0]
2014-05-30 09:45:45,364 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [com.thoughtworks.cruise.config.DefaultAgentRegistry#0]
2014-05-30 09:45:45,368 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - No XML 'id' specified - using 'loopThread' as bean name and [] as aliases
2014-05-30 09:45:45,373 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.scheduling.timer.ScheduledTimerTask#1db5256b]
2014-05-30 09:45:45,374 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - No XML 'id' specified - using 'pingThread' as bean name and [] as aliases
2014-05-30 09:45:45,374 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.scheduling.timer.ScheduledTimerTask#f988ce74]
2014-05-30 09:45:45,375 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - No XML 'id' specified - using 'instructionExecuteThread' as bean name and [] as aliases
2014-05-30 09:45:45,376 [main] DEBUG org.springframework.beans.factory.xml.BeanDefinitionParserDelegate - Neither XML 'id' nor 'name' specified - using generated bean name [org.springframework.scheduling.timer.ScheduledTimerTask#939f5be8]
2014-05-30 09:45:45,376 [main] DEBUG org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 25 bean definitions from location pattern [applicationContext.xml]
2014-05-30 09:45:45,376 [main] DEBUG org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for org.springframework.context.support.ClassPathXmlApplicationContext@d641b6ec: org.springframework.beans.factory.support.DefaultListableBeanFactory@6f685f7b: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,log4jDirectConfigurer,buildLoopServer,com.thoughtworks.cruise.util.SystemEnvironment#0,com.thoughtworks.cruise.util.URLService#0,com.thoughtworks.cruise.util.ZipUtil#0,com.thoughtworks.cruise.util.HttpService#0,com.thoughtworks.cruise.publishers.CruiseArtifactsManipulator#0,com.thoughtworks.cruise.agent.service.SslInfrastructureService#0,com.thoughtworks.cruise.config.DefaultAgentRegistry#0,subprocessLogger,agentController,httpClient,httpConnectionManager,httpConnectionParams,agentControllerLooper,agentControllerPinger,agentControllerInstructionExecutor,loopThread,pingThread,instructionExecuteThread]; root of factory hierarchy
2014-05-30 09:45:45,424 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2014-05-30 09:45:45,424 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2014-05-30 09:45:45,446 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
2014-05-30 09:45:45,447 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2014-05-30 09:45:45,594 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'propertyConfigurer'
2014-05-30 09:45:45,594 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'propertyConfigurer'
2014-05-30 09:45:45,596 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'propertyConfigurer' to allow for resolving potential circular references
2014-05-30 09:45:45,663 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initializing new StandardEnvironment
2014-05-30 09:45:45,663 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
2014-05-30 09:45:45,663 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
2014-05-30 09:45:45,664 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-05-30 09:45:45,664 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initializing new StandardEnvironment
2014-05-30 09:45:45,665 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
2014-05-30 09:45:45,665 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
2014-05-30 09:45:45,665 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-05-30 09:45:45,666 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initializing new StandardEnvironment
2014-05-30 09:45:45,666 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
2014-05-30 09:45:45,666 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
2014-05-30 09:45:45,667 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-05-30 09:45:45,668 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initializing new StandardEnvironment
2014-05-30 09:45:45,673 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
2014-05-30 09:45:45,673 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
2014-05-30 09:45:45,674 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-05-30 09:45:45,674 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initializing new StandardEnvironment
2014-05-30 09:45:45,675 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
2014-05-30 09:45:45,675 [main] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
2014-05-30 09:45:45,675 [main] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
2014-05-30 09:45:45,694 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - No default init method named 'init' found on bean with name 'propertyConfigurer'
2014-05-30 09:45:45,694 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'propertyConfigurer'
2014-05-30 09:45:45,694 [main] INFO  org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from URL [onejar:main/main.jar/agent.properties]
2014-05-30 09:45:45,706 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
2014-05-30 09:45:45,706 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
2014-05-30 09:45:45,707 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
2014-05-30 09:45:45,707 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
2014-05-30 09:45:45,707 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
2014-05-30 09:45:45,707 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
2014-05-30 09:45:45,708 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
2014-05-30 09:45:45,708 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
2014-05-30 09:45:45,713 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
2014-05-30 09:45:45,713 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
2014-05-30 09:45:45,730 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
2014-05-30 09:45:45,730 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
2014-05-30 09:45:45,730 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
2014-05-30 09:45:45,731 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
2014-05-30 09:45:45,731 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references
2014-05-30 09:45:45,731 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
2014-05-30 09:45:45,734 [main] DEBUG org.springframework.context.support.ClassPathXmlApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@d41cab87]
2014-05-30 09:45:45,736 [main] DEBUG org.springframework.context.support.ClassPathXmlApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@ac4e7ab5]
2014-05-30 09:45:45,745 [main] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6f685f7b: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,propertyConfigurer,log4jDirectConfigurer,buildLoopServer,com.thoughtworks.cruise.util.SystemEnvironment#0,com.thoughtworks.cruise.util.URLService#0,com.thoughtworks.cruise.util.ZipUtil#0,com.thoughtworks.cruise.util.HttpService#0,com.thoughtworks.cruise.publishers.CruiseArtifactsManipulator#0,com.thoughtworks.cruise.agent.service.SslInfrastructureService#0,com.thoughtworks.cruise.config.DefaultAgentRegistry#0,subprocessLogger,agentController,httpClient,httpConnectionManager,httpConnectionParams,agentControllerLooper,agentControllerPinger,agentControllerInstructionExecutor,loopThread,pingThread,instructionExecuteThread,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
2014-05-30 09:45:45,745 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
2014-05-30 09:45:45,746 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
2014-05-30 09:45:45,746 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
2014-05-30 09:45:45,746 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
2014-05-30 09:45:45,746 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'propertyConfigurer'
2014-05-30 09:45:45,746 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating shared instance of singleton bean 'log4jDirectConfigurer'
2014-05-30 09:45:45,746 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Creating instance of bean 'log4jDirectConfigurer'
2014-05-30 09:45:45,754 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Eagerly caching bean 'log4jDirectConfigurer' to allow for resolving potential circular references
2014-05-30 09:45:45,756 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Invoking afterPropertiesSet() on bean with name 'log4jDirectConfigurer'
--------------------------------

4. You mentioned the Java version, but not the kind. Meaning, whether it is IBM Java or Sun JRE or Open JRE. We do not support IBM Java. The fact that you've got the agent showing up on the Agents tab probably means that you don't have IBM Java. Is this right?
--------------------------------
java -version
-------
java version "1.7.0"                                                        
Java(TM) SE Runtime Environment (build pap3270sr5-20130619_01(SR5))         
IBM J9 VM (build 2.6, JRE 1.7.0 OS/400 ppc-32 jvmap3270sr5-20130619_01 (JIT e
nabled, AOT enabled)                                                        
J9VM - R26_Java726_SR5_20130617_1436_B152572                                
JIT  - r11.b04_20130528_38954ifx1                                           
GC   - R26_Java726_SR5_20130617_1436_B152572                                
J9CL - 20130617_152572)                                                     
JCL - 20130616_01 based on Oracle 7u25-b12        
                          
--------------------------------
echo $JAVA_HOME
-------
/QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit
--------------------------------

"IBM J9 VM" is bad news, i guess. Anyway, i will check if i can use another java kind, like Sun Java or Open Java.

Charles Martin

unread,
May 30, 2014, 5:03:32 AM5/30/14
to go...@googlegroups.com, charles....@gmail.com

2. You showed the line in the agents tab on the server. It says that the agent is: "Pending". You will need to select it and "Enable" it (a button on the top of the page).
=> Yes, i know. When i enable an agent, it will get in "
lost contact" state if i wait a little, or if i launch a pipeline on it, or if i disable it and reenable it.


==> This is not entirely true. It seems if i enable the agent, it remain in idle state as long as i don't do anything with it.

Charles Martin

unread,
May 30, 2014, 6:13:30 AM5/30/14
to go...@googlegroups.com, charles....@gmail.com

Finally, i lost contact with the agent without doing anything.
2014-05-30 09:45:45,104 [main] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResolver - Loaded schema mappings: {http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd=org/springframework/web/servlet/config/spring-mvc-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache.xsd=org/springframework/cache/config/spring-cache-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd, http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/task/spring-task-3.1.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd=org/springframework/jdbc/config/spring-jdbc-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-3.1.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd=org/springframework/web/servlet/config/spring-mvc-3.0.xsd, http://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd, http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd, http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.xsd, http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd, <a href="http://www.springfra
...

Charles Martin

unread,
Jun 2, 2014, 8:44:29 AM6/2/14
to go...@googlegroups.com, charles....@gmail.com
I asked about using something else than IBM Java on an IBMi forum.

Here is what came out :
---------------------------------------------
Answer 1 :

My experience has been that if you find an incompatibility with IBM's J9 JVM then reporting it to IBM support generally gets it fixed.  Sometimes sooner, sometimes later.  Granted that my experience was with some JRuby J9 issues a year or so ago and things have changed (always change) at IBM...but it is worth it to get a test case put together and get a PMR going with IBM.  They are remarkable in their responsiveness (IMHO). Have you tried the app in Windows or Linux using the IBM JVM? 

http://www.ibm.com/developerworks/java/jdk/

Always worth it to find out whether it is an IBM i specific or J9 general issue....

Pete Helgren

www.petesworkshop.com

GIAC Secure Software Programmer-Java

---------------------------------------------
Answer 2 :

Theoretically,  you should be able to install an AIX port of either JVM in the QOpenSys file system. However, neither will be optimized for Power the way J9's are.

Pure Java apps will nearly always run on any JVM. Many apps, however, have JNI components developed for a specific processor or operating system. If that's the case, you'll have work to do to run on Power whatever JVM you choose. I'd do some digging to find out why these JVM's are preferred before spending time trying to install a "foreign" JVM on IBMi. You also have the option of running on a Linux partition.

---------------------------------------------


I am not a Java expert at all, i rely on you all.
What do you think ? I should try IBM Java anyway ? Or install Sun Java despite many issues ?
Or is it just a bad idea to try to make it work on an IBMi ?
2014-05-30 09:45:45,104 [main] DEBUG org.springframework.beans.factory.xml.PluggableSchemaResolver - Loaded schema mappings: {http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd=org/springframework/web/servlet/config/spring-mvc-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/cache/spring-cache.xsd=org/springframework/cache/config/spring-cache-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd, http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd, http://www.springframework.org/schema/task/spring-task-3.1.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd, http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd=org/springframework/jdbc/config/spring-jdbc-3.1.xsd, http://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd, http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.1.xsd, http://www.springframework.org/schema/jee/spring-jee-3.1.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd, http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd, http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd=org/springframework/web/servlet/config/spring-mvc-3.0.xsd, http://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd, http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd, http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config/spring-tx-2.5.xsd, http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd, http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd=org/springframework/jdbc/config/spring-jdbc-3.0.xsd, <a href="http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.springframework.org%2Fschema%2Ftool%2Fspring-tool-3.0.xsd%3Dorg%2Fspringframework%2Fbeans%2Ffactory%2Fxml%2Fspring-tool-3.0.xsd\46sa\75D\46sntz\0751\46usg\75AFQjCNHzrRbRoB1Ft6wB0B3cqD_qpdaHEw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.springframework.org%2Fschema%2Ftool%2Fspring-tool-3.0.xsd%3Dorg%2Fspringframework%2Fbeans%2Ffactory%2Fxml%2Fspring-tool-3.0.xsd\46sa\
...

Aravind SV

unread,
Jun 3, 2014, 11:58:25 PM6/3/14
to Charles Martin, go...@googlegroups.com
Hi Charles,

On Mon, Jun 2, 2014 at 6:14 PM, Charles Martin <charles....@gmail.com> wrote:
I am not a Java expert at all, i rely on you all.
What do you think ? I should try IBM Java anyway ? Or install Sun Java despite many issues ?
Or is it just a bad idea to try to make it work on an IBMi ?

I'm not sure about whether it is a bad idea to try on IBMi, yet. But, as I mentioned before, IBM Java is not supported at all. Not because of lack of effort. :) There is an incompatibility (at least one) between Sun/Open Java and IBM Java, regarding SSL. That's why IBM Java will not work with Go.

My guess, even though I cannot see anything wrong in the logs, is that the agent process is dying, and that's why it goes into "lost contact" mode. Sometimes, the kernel (at least on Linux) kills a process if the system is running out of memory. I don't know enough about the IBMi to tell you whether this is happening, though.

I'd try with Sun or Open JRE, before we give up completely. As you mentioned, there might be issues (especially of performance on the IBMi), but it might not affect you or it might not be noticeable in your use case.

- Aravind
Reply all
Reply to author
Forward
0 new messages