Fix “ERROR: Unexpected error in launching a slave. This is probably a bug in Hudson.”By neokrates, written on April 27, 2010 |
howto |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Which frameworks do you use to test your web frontend?
- We use no test automation (92%, 12 Votes)
- Selenium (8%, 1 Votes)
- Windmill (0%, 0 Votes)
- FITnesse (0%, 0 Votes)
- WebDriver (0%, 0 Votes)
- Watir (0%, 0 Votes)
- Canoo Webtest (0%, 0 Votes)
- Sahi (0%, 0 Votes)
- Other framework (0%, 0 Votes)
Total Voters: 13
Loading ...
This is a fix for one specific reason of this problem, i.e. jdk/jvm version is different on slave and master in the way which makes hudson slave<->master data exchange impossible.
Software:
Ubuntu Linux
Hudson
Jdk
Should also work for:
Any OS
| 1 |
Step 1
Type on both slave and server
java -version
If versions differ, make them equal.
1 – To test, you may try to install additional jdk on the slave and make symlink to it;
2 – Make sure that active version is the same in both systems;
3 – IMPORTANT disconnect and reconnect hudson slave to make new environment available for the new builds.
| 2 |
Step 2
If Step 1 didn’t help you or maybe version seemed the same, I would suggest to install on both client and server fresh jdk from the same source.
You don’t need to remove the old one, just make sure new installation is active.
Then restart hudson master and try to run the server again.
Done.
|
LEARN MORE (amazon bookstore)
|
|
TAGS
|
|
RELATED
|
Pages
Posts
|
|
SOCIAL
|


















