This is a more a HOW-TO than a question.

We installed Jenkins 1.549 in IBM WebSphere 8.5 under IBM AIX 6.1 with Java 
1.6 some weeks ago. After adding the first jobs we noticed that a refresh 
of the jobs overview takes very long. While searching in the forum we also 
identified the missing JNA support and the command line fall back as the 
the root cause. Calls like "getLastStableBuild" took about 200ms (I added 
some logger statements in between in order to isolate the time consuming 
sections). 

Upgrading to Java 1.7 was no option for us as we had other dependencies / 
applications on the server and as we are still under AIX 6.1 SL4, this 
would be not so easy. 

In order to solve the issue I have done the following:
- catched the JNA source from https://github.com/twall/jnac
- build the JNA (had to replace the MD5 hash for the JNI in the build.xml)
- placed the resulting build/aix-ppc64.jar and jna.jar in the 
.../jenkins_war.ear/jenkins.war/WEB-INF/lib directory
- removed the jna-3.3.0-jenkins-3.jar from the lib directory
- restarted the application by the WAS console.

After those steps the response time is sub-second for our 20+ jobs.

Thanks,
Christian

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to