Check the host name in the slave configuration of your slave slave4_windows. I doubt your machine is named like that.
Vincent 2013/1/23 Chanda Unmack <cha...@lytro.com> > I have this working in my setup but I don't remember changing the jnlp > port; I have both running as a service on the windows slaves. > > I made sure the root fs was different for each instance of Jenkins, > modified the jenkins-slave.xml on the slave to change the name & id of one > of the services and manually installed the service. > > hth > chanda > > > > On Tue, Jan 22, 2013 at 5:13 PM, zw <mpc8...@gmail.com> wrote: > >> Hi All >> >> We have 2 Jenkins instances wanting to connect to the same windows box. >> 1 Jenkins instance connects fine. >> But the error has this below: >> >> Connecting to slave4_windows >> ERROR: Unexpected error in launching a slave. >> java.net.UnknownHostException: slave4_windows >> at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) >> at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849) >> at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1202) >> at java.net.InetAddress.getAllByName0(InetAddress.java:1153) >> at java.net.InetAddress.getAllByName(InetAddress.java:1083) >> at java.net.InetAddress.getAllByName(InetAddress.java:1019) >> at java.net.InetAddress.getByName(InetAddress.java:969) >> at >> hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:122) >> at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:194) >> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >> at java.lang.Thread.run(Thread.java:662) >> >> >> We double checked and we made sure TCP port for JNLP slave agents for >> each of them is different; one uses 7777 other uses 7778. >> >> What are we doing wrong ? >> >> Thanks >> > > > > -- > *Confidentiality Notice*: This e-mail, including all attachments, is > confidential information of Lytro, Inc. If the reader of this e-mail is not > the intended recipient or its authorized agent, the reader is hereby > notified that any dissemination, distribution or copying of this e-mail is > prohibited. If you have received this e-mail in error, please notify the > sender by replying to this message and delete this e-mail immediately. >