Installing jenkins service from web start causes java.lang.error - windows

I can launch a jenkins slave on a windows 7 machine using Java Web Start. It works fine, but when I select to install it as a service I get this error:
It looks like there is a problem on the low level unpacking of data structures, but I have no idea what the root cause is. Both master and slave machines are windows 7.1. and the jenkins version is 1.588 (latest available).

This appears to have been filed as Jenkins JIRA Ticket 25492. Please see if that instance is the same as yours.

Related

Running an Apache Geode cluster in MAC OSX

I've tried downloading the binaries, and successfully started gfsh, but when I try to start locator or server, the cli just stays forever trying to finalize the startup, adding points to the "progress bar"...like this:
Starting a Geode Server in /Users/sezcurra/geode/march-powerful-kite...
.......................................................................
..............................<and goes on for ever>
Probably the answer is that it does not run on MAC OSX...
No, it runs using the Java Virtual Machine, which is available on OSX. So have you properly installed Java? Also, have you properly configured the cache xml config file.

Running Jenkins slave on different OS than master (and host)

I'm trying to introduce continuous integration in an old project, and we've got quite specific situation - it's possible to put the CI server only on our test server that runs on CentOS. The server has quite a lot of unused RAM and CPU capability.
However, we need to run Ant builds on Windows (this also used to be how the project did packaging before), however it turned out that not the same output (after binary compare) is produced by just using Unix versions of Java and Ant.
I drew up a diagram of how in my mind it could work, but I'm really wondering whether that is even possible (with already given tools).
The black part is implemented, I'm curious whether the red part could be possible. Could the Jenkins slave communicate with master on different OS?
It should be possible. I have a feeling you will need to play with your network settings. But if before you start changing anything see if you can start a headless slave by following these directions: https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machine
Using VirtualBox for CentOS, it will possible to run a Windows VM on your CentOS host.
I'm not sure you need Docker to launch your Jenkins slave.
It maybe better to use a standard JNLP Windows service to connect your Windows slave to Dockerised Jenkins master.
If the master is not able to view the Windows node using this method, you may have to tweak your network configuration on the Windows VM.
But I'm not sure it's necessary.

Jenkins Windows slave sometime hangs after second "Build on" step

I've a Windows Server 2012 R2 based Hyper-V Host, which contains a Windows Server 2012 R2 VM as a VPN using RRAS and another VM running Debian plus the Jenkins (latest version) master server. Using this VPN, a private hosted Windows Server 2012 R2 VM act as Jenkins slave using those VPN connection. For better distinction, call this one node1.
This is bascially working as expected, but there is a problem: Sometimes, when I start a buildjob on node1, it hangs. Only the first 2 steps (Started through user XYZ and Build on slave node1 in workspace C:\jenkins are shown in the log, then nothing happens. On the master, the node1 is shown as online and is connected to the VPN.
Currently I start Jenkins using a windows task. Using this method, the above happens only sometimes. But as I configured the server, I tried to solve this in a cleaner way by registering Jenkins as Windows Service. As Windows Service, I had the same behavior: In the web panel Node1 is shown as online, but when I start a job on it I only come to Build on slave node1 and then it stops.
Normally the next step should be fetching the latest source code from my git repo. I already had the problem but now found out that it has something to do how Jenkins is started. But for me it seems very strange because running the slave as a Windows Service hasn't worked at least one time, and by running it as a Task it works most of the time.
I only found out that the problem also occurs when I start a job directly after node1 boots. When I then cancel the hanging Job and start it again, it seems to work for a while.
There are few options that I can think of them. According to Jenkins Wiki
If the slave is supposed to start desktop applications you have to
allow the service to interact with the desktop
(Action->Properties->Logon->Allow service to interact with desktop).
Another option can be that Windows services don't have the ability to interact with the windows desktop, meaning that some UI tests might no work as you expect. Do any of the steps may need interacting with the desktop (Windows GUI)?
Just for the sports how about to setup a temporary clean windows server to act as node2 (Jenkins slave) and to check if the problem is been reproduced?

Xcode 5 continuous integration: The Xcode Service is not enabled on the server

I've just installed Xcode 5 and OS X Server and trying to set up continuous integration. I followed these steps but when I try to add server in Xcode I get the following error:
"The Xcode Service is not enabled on the server '...'. Contact the administrator for assistance."
The Xcode service appears to be up and running, it shows as "Available" in the Server app and is accessible through HTTP.
Is there any way this can be troubleshooted?
I had the same problem. It looks like there are network name resolving issues there. Try using server's IP address instead of its name. It worked for me.
Unfortunately, Server.app is strange and it does not directly report issues with embedded webserver. Therefore, if you are running some other Webserver (or something else on 80 / 443), whole Xcode CI will not start properly and Xcode will report this issue.
For me, shutting down Apache and restarting the Xcode Server part solved the issue, yet as I need Apache running on my computer, I'm not going to use CI in it's current state. :-(
Possibly, I have to find out how to change default port for Xcode CI.

Websphere registry and repository (WSRR)

I'm trying to install WSRR on Linux (Ubuntu 11.04), but without success. I think I'm lacking some important information about installation. I've read that it's a prerequisite to have WebSphere Application Server (WAS) and DB2 installed, but when I downloaded WSRR package it has its own version of WAS and during installation it offers me Derby DB. In order to install it I had to change bash for dash (or vice versa). In the end I tried create profile of standalone WSRR in Profile Management Tool but with no success. Did anybody success in installation of standalone WSRR? Please help me, I need it for my thesis.
Thank you.
So finally I managed to install and run WSRR.
First of all you have to have OpenSuse installed.
Log in as root
Reinstall you web browser (I changed mozilla 4 to mozilla 6)
Launch installation ./launchpad.sh
Create profile with Profile Management Tool GUI
Run First steps console => change directory to profile_root/firststeps/wsrr, for example, opt/IBM/WebSphere/ServiceRegistry/profiles/WSRRSrv01/firststeps/wsrr and ./launchpad.sh
Run server
Start the WSRR Web UI (if you have stand-alone server)
Not a final answer... it seems you're installing on an unsupported platform. Never try this with commercial software, you will fail or will need hours and hours to get it up and running.

Resources