Hudson 1.69: slaves do not work because of missing libs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Hudson 1.69: slaves do not work because of missing libs

Wolfram Kroll-2
Hi users,

did someone figure out, which libraries the slave.jar needs on its classpath? A simple call
   java -jar slave.jar
does not work in my environment.

At least some retrotranslator classes could not be found...

Any suggestions?

Wolfram
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson 1.69: slaves do not work because of missing libs

Wolfram Kroll-2

> -----Ursprüngliche Nachricht-----
> Von: [hidden email]
> Gesendet: 05.01.07 10:05:50
> An: [hidden email]
> Betreff: Hudson 1.69: slaves do not work because of missing libs


> Hi users,
>
> did someone figure out, which libraries the slave.jar needs on its classpath? A simple call
>    java -jar slave.jar
> does not work in my environment.
>
> At least some retrotranslator classes could not be found...

Now I use a wrapper to put all jars from the lib folder on the classpath, but again libraries cannot be found. We don't do J2EE, so it misses some javax.servlet.* stuff.
I'll be installing J2EE now accessible from the slaves...

Wolfram

>
> Any suggestions?
>
> Wolfram
> _______________________________________________________________________
> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson 1.69: slaves do not work because of missing libs

sjoerdbakker
Hi Wolfram,

I encountered the same problem with the released version of 1.69, which does not happen if I use a local build of the slave jarfile. I guess something went wrong during the packaging (?).

I guess you best wait for Kohsuke to answer the question before changing your environment drastically ;-)

Regards,
Sjoerd


----- Original Message -----
From: "Wolfram Kroll" <[hidden email]>
To: <[hidden email]>
Sent: Friday, January 05, 2007 10:49 AM
Subject: Re: Hudson 1.69: slaves do not work because of missing libs


>
>> -----Ursprüngliche Nachricht-----
>> Von: [hidden email]
>> Gesendet: 05.01.07 10:05:50
>> An: [hidden email]
>> Betreff: Hudson 1.69: slaves do not work because of missing libs
>
>
>> Hi users,
>>
>> did someone figure out, which libraries the slave.jar needs on its classpath? A simple call
>>    java -jar slave.jar
>> does not work in my environment.
>>
>> At least some retrotranslator classes could not be found...
>
> Now I use a wrapper to put all jars from the lib folder on the classpath, but again libraries cannot be found. We don't do J2EE, so it misses some javax.servlet.* stuff.
> I'll be installing J2EE now accessible from the slaves...
>
> Wolfram
>
>>
>> Any suggestions?
>>
>> Wolfram
>> _______________________________________________________________________
>> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
>> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> ______________________________________________________________________
> XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
> Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date: 4-1-2007 13:34
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date: 4-1-2007 13:34
>
>

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hudson 1.69: slaves do not work because of missing libs

Wolfram Kroll-2
In reply to this post by Wolfram Kroll-2

> -----Ursprüngliche Nachricht-----
> Von: [hidden email]
> Gesendet: 05.01.07 11:07:29
> An: <[hidden email]>
> Betreff: Re: Hudson 1.69: slaves do not work because of missing libs


> Hi Wolfram,
>
> I encountered the same problem with the released version of 1.69, which does not happen if I use a local build of the slave jarfile. I guess something went wrong during the packaging (?).
>
> I guess you best wait for Kohsuke to answer the question before changing your environment drastically ;-)

Good idea, but I am curious to see it running :-)
I now have a folder like this to run the slave:
.
|-- lib (from hudson.war/WEB_INF)
|   |-- activation-1.1.jar
....
...these 2 jars added from my JBoss installation:
|   |-- javax.servlet.jar
|   |-- javax.servlet.jsp.jar
.......
|   |-- xpp3-1.1.3.3.jar
|   `-- xstream-1.1.3.jar

|-- slave.jar
`-- slave.sh

1 directory, 60 files

and my wrapper shell script "slave.sh" is:
----------------------------------------------------------------------
#!/bin/sh
BIN=$(cd `dirname $0`; pwd)
LIBS=$(cd ${BIN}; find lib -name \*.jar)
CP=""
for L in $LIBS
        do CP=${CP}:${L}
done

cd ${BIN}
java -cp ${CP}:slave.jar hudson.remoting.Launcher
----------------------------------------------------------------------

Now it works!

Of course, Kohsuke will fix the packaging of slave.jar and we'll be better off then!

Wolfram


>
> Regards,
> Sjoerd
>
>
> ----- Original Message -----
> From: "Wolfram Kroll" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, January 05, 2007 10:49 AM
> Subject: Re: Hudson 1.69: slaves do not work because of missing libs
>
>
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: [hidden email]
> >> Gesendet: 05.01.07 10:05:50
> >> An: [hidden email]
> >> Betreff: Hudson 1.69: slaves do not work because of missing libs
> >
> >
> >> Hi users,
> >>
> >> did someone figure out, which libraries the slave.jar needs on its classpath? A simple call
> >>    java -jar slave.jar
> >> does not work in my environment.
> >>
> >> At least some retrotranslator classes could not be found...
> >
> > Now I use a wrapper to put all jars from the lib folder on the classpath, but again libraries cannot be found. We don't do J2EE, so it misses some javax.servlet.* stuff.
> > I'll be installing J2EE now accessible from the slaves...
> >
> > Wolfram
> >
> >>
> >> Any suggestions?
> >>
> >> Wolfram
> >> _______________________________________________________________________
> >> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
> >> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >>
> >
> >
> > ______________________________________________________________________
> > XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
> > Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date: 4-1-2007 13:34
> >
> >
> >
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date: 4-1-2007 13:34
> >
> >


__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson 1.69: slaves do not work because of missing libs

Kohsuke Kawaguchi-2
In reply to this post by sjoerdbakker
Sjoerd Bakker wrote:
> Hi Wolfram,
>
> I encountered the same problem with the released version of 1.69, which
> does not happen if I use a local build of the slave jarfile. I guess
> something went wrong during the packaging (?).

I didn't realize that slave.jar has dependencies to servlet. In fact it
shouldn't. It sounds like there's something more fishy going on, like a
bug in the remotable classloader implementation.

Wolfram, you said simple "java -jar slave.jar" doesn't work. Does that
mean this command immediately fails with some kind of error message? Do
you get any stack trace from any of your error?


> I guess you best wait for Kohsuke to answer the question before changing your environment drastically ;-)
>
> Regards,
> Sjoerd
>
>
> ----- Original Message -----
> From: "Wolfram Kroll" <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, January 05, 2007 10:49 AM
> Subject: Re: Hudson 1.69: slaves do not work because of missing libs
>
>
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: [hidden email]
>>> Gesendet: 05.01.07 10:05:50
>>> An: [hidden email]
>>> Betreff: Hudson 1.69: slaves do not work because of missing libs
>>
>>
>>> Hi users,
>>>
>>> did someone figure out, which libraries the slave.jar needs on its classpath? A simple call
>>>    java -jar slave.jar
>>> does not work in my environment.
>>>
>>> At least some retrotranslator classes could not be found...
>>
>> Now I use a wrapper to put all jars from the lib folder on the classpath, but again libraries cannot be found. We don't do J2EE, so it misses some javax.servlet.* stuff.
>> I'll be installing J2EE now accessible from the slaves...
>>
>> Wolfram
>>
>>>
>>> Any suggestions?
>>>
>>> Wolfram
>>> _______________________________________________________________________
>>> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
>>> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>>
>> ______________________________________________________________________
>> XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
>> Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date: 4-1-2007 13:34
>>
>>
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date: 4-1-2007 13:34
>>
>>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hudson 1.69: slaves do not work because of missing libs

Wolfram Kroll-2

Am 05.01.2007 um 18:16 schrieb Kohsuke Kawaguchi:

> Sjoerd Bakker wrote:
>> Hi Wolfram,
>> I encountered the same problem with the released version of 1.69,  
>> which does not happen if I use a local build of the slave jarfile. I  
>> guess something went wrong during the packaging (?).
>
> I didn't realize that slave.jar has dependencies to servlet. In fact  
> it shouldn't. It sounds like there's something more fishy going on,  
> like a bug in the remotable classloader implementation.
>
> Wolfram, you said simple "java -jar slave.jar" doesn't work. Does that  
> mean this command immediately fails with some kind of error message?  
> Do you get any stack trace from any of your error?

Yes, I could see a class not found error. Stack traces everytime.

A class from retrotranslator was missing. I added the jar from "lib" to  
the classpath, but it needed another one (don't remember). Then I added  
simply _all_ jars from "lib". Now the client would start. But when I  
accessed a workspace the JVM gave a class not found error.

Tomorrow when at work I can send you complete messages if needed.

Wolfram

>
>
>> I guess you best wait for Kohsuke to answer the question before  
>> changing your environment drastically ;-)
>> Regards,
>> Sjoerd
>> ----- Original Message ----- From: "Wolfram Kroll"  
>> <[hidden email]>
>> To: <[hidden email]>
>> Sent: Friday, January 05, 2007 10:49 AM
>> Subject: Re: Hudson 1.69: slaves do not work because of missing libs
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: [hidden email]
>>>> Gesendet: 05.01.07 10:05:50
>>>> An: [hidden email]
>>>> Betreff: Hudson 1.69: slaves do not work because of missing libs
>>>> Hi users,
>>>> did someone figure out, which libraries the slave.jar needs on its  
>>>> classpath? A simple call
>>>>    java -jar slave.jar
>>>> does not work in my environment.
>>>> At least some retrotranslator classes could not be found...
>>> Now I use a wrapper to put all jars from the lib folder on the  
>>> classpath, but again libraries cannot be found. We don't do J2EE, so  
>>> it misses some javax.servlet.* stuff.
>>> I'll be installing J2EE now accessible from the slaves...
>>> Wolfram
>>>> Any suggestions?
>>>> Wolfram
>>>> ____________________________________________________________________
>>>> ___
>>>> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und  
>>>> kostenlos.
>>>> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>>>> --------------------------------------------------------------------
>>>> -
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>> _____________________________________________________________________
>>> _
>>> XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!  
>>> Jetzt gratis testen!  
>>> http://freemail.web.de/home/landingpad/?mc=021130
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>> --
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date:  
>>> 4-1-2007 13:34
>>> --
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date:  
>>> 4-1-2007 13:34
>>>
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   [hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson 1.69: slaves do not work because of missing libs

Kohsuke Kawaguchi-2

I think I fixed the problem now. I'll release 1.70, so if you still see
the problem with 1.70, please let me know.

Wolfram Kroll wrote:

> Am 05.01.2007 um 18:16 schrieb Kohsuke Kawaguchi:
>
>> Sjoerd Bakker wrote:
>>> Hi Wolfram,
>>> I encountered the same problem with the released version of 1.69,  
>>> which does not happen if I use a local build of the slave jarfile. I  
>>> guess something went wrong during the packaging (?).
>>
>> I didn't realize that slave.jar has dependencies to servlet. In fact  
>> it shouldn't. It sounds like there's something more fishy going on,  
>> like a bug in the remotable classloader implementation.
>>
>> Wolfram, you said simple "java -jar slave.jar" doesn't work. Does that  
>> mean this command immediately fails with some kind of error message?  
>> Do you get any stack trace from any of your error?
>
> Yes, I could see a class not found error. Stack traces everytime.
>
> A class from retrotranslator was missing. I added the jar from "lib" to  
> the classpath, but it needed another one (don't remember). Then I added  
> simply _all_ jars from "lib". Now the client would start. But when I  
> accessed a workspace the JVM gave a class not found error.
>
> Tomorrow when at work I can send you complete messages if needed.
>
> Wolfram
>
>>
>>
>>> I guess you best wait for Kohsuke to answer the question before  
>>> changing your environment drastically ;-)
>>> Regards,
>>> Sjoerd
>>> ----- Original Message ----- From: "Wolfram Kroll"  
>>> <[hidden email]>
>>> To: <[hidden email]>
>>> Sent: Friday, January 05, 2007 10:49 AM
>>> Subject: Re: Hudson 1.69: slaves do not work because of missing libs
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: [hidden email]
>>>>> Gesendet: 05.01.07 10:05:50
>>>>> An: [hidden email]
>>>>> Betreff: Hudson 1.69: slaves do not work because of missing libs
>>>>> Hi users,
>>>>> did someone figure out, which libraries the slave.jar needs on its  
>>>>> classpath? A simple call
>>>>>    java -jar slave.jar
>>>>> does not work in my environment.
>>>>> At least some retrotranslator classes could not be found...
>>>> Now I use a wrapper to put all jars from the lib folder on the  
>>>> classpath, but again libraries cannot be found. We don't do J2EE, so  
>>>> it misses some javax.servlet.* stuff.
>>>> I'll be installing J2EE now accessible from the slaves...
>>>> Wolfram
>>>>> Any suggestions?
>>>>> Wolfram
>>>>> ____________________________________________________________________
>>>>> ___
>>>>> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und  
>>>>> kostenlos.
>>>>> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>>>>> --------------------------------------------------------------------
>>>>> -
>>>>> To unsubscribe, e-mail: [hidden email]
>>>>> For additional commands, e-mail: [hidden email]
>>>> _____________________________________________________________________
>>>> _
>>>> XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!  
>>>> Jetzt gratis testen!  
>>>> http://freemail.web.de/home/landingpad/?mc=021130
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>> --
>>>> No virus found in this incoming message.
>>>> Checked by AVG Free Edition.
>>>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date:  
>>>> 4-1-2007 13:34
>>>> --
>>>> No virus found in this incoming message.
>>>> Checked by AVG Free Edition.
>>>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date:  
>>>> 4-1-2007 13:34
>>>>
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   [hidden email]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hudson 1.69: slaves do not work because of missing libs

Wolfram Kroll-2

Am 06.01.2007 um 19:57 schrieb Kohsuke Kawaguchi:

>
> I think I fixed the problem now. I'll release 1.70, so if you still  
> see the problem with 1.70, please let me know.

Okay, thanks. Yesterday I forgot that it's saturday where I'm not at  
work. I'll check it with release 1.70 when it's out.

Wolfram

>
> Wolfram Kroll wrote:
>> Am 05.01.2007 um 18:16 schrieb Kohsuke Kawaguchi:
>>> Sjoerd Bakker wrote:
>>>> Hi Wolfram,
>>>> I encountered the same problem with the released version of 1.69,  
>>>> which does not happen if I use a local build of the slave jarfile.  
>>>> I  guess something went wrong during the packaging (?).
>>>
>>> I didn't realize that slave.jar has dependencies to servlet. In fact  
>>>  it shouldn't. It sounds like there's something more fishy going on,  
>>>  like a bug in the remotable classloader implementation.
>>>
>>> Wolfram, you said simple "java -jar slave.jar" doesn't work. Does  
>>> that  mean this command immediately fails with some kind of error  
>>> message?  Do you get any stack trace from any of your error?
>> Yes, I could see a class not found error. Stack traces everytime.
>> A class from retrotranslator was missing. I added the jar from "lib"  
>> to  the classpath, but it needed another one (don't remember). Then I  
>> added  simply _all_ jars from "lib". Now the client would start. But  
>> when I  accessed a workspace the JVM gave a class not found error.
>> Tomorrow when at work I can send you complete messages if needed.
>> Wolfram
>>>
>>>
>>>> I guess you best wait for Kohsuke to answer the question before  
>>>> changing your environment drastically ;-)
>>>> Regards,
>>>> Sjoerd
>>>> ----- Original Message ----- From: "Wolfram Kroll"  
>>>> <[hidden email]>
>>>> To: <[hidden email]>
>>>> Sent: Friday, January 05, 2007 10:49 AM
>>>> Subject: Re: Hudson 1.69: slaves do not work because of missing libs
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: [hidden email]
>>>>>> Gesendet: 05.01.07 10:05:50
>>>>>> An: [hidden email]
>>>>>> Betreff: Hudson 1.69: slaves do not work because of missing libs
>>>>>> Hi users,
>>>>>> did someone figure out, which libraries the slave.jar needs on  
>>>>>> its  classpath? A simple call
>>>>>>    java -jar slave.jar
>>>>>> does not work in my environment.
>>>>>> At least some retrotranslator classes could not be found...
>>>>> Now I use a wrapper to put all jars from the lib folder on the  
>>>>> classpath, but again libraries cannot be found. We don't do J2EE,  
>>>>> so  it misses some javax.servlet.* stuff.
>>>>> I'll be installing J2EE now accessible from the slaves...
>>>>> Wolfram
>>>>>> Any suggestions?
>>>>>> Wolfram
>>>>>> __________________________________________________________________
>>>>>> __ ___
>>>>>> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und  
>>>>>> kostenlos.
>>>>>> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>>>>>> ------------------------------------------------------------------
>>>>>> -- -
>>>>>> To unsubscribe, e-mail: [hidden email]
>>>>>> For additional commands, e-mail: [hidden email]
>>>>> ___________________________________________________________________
>>>>> __ _
>>>>> XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE  
>>>>> Club!  Jetzt gratis testen!  
>>>>> http://freemail.web.de/home/landingpad/?mc=021130
>>>>> -------------------------------------------------------------------
>>>>> --
>>>>> To unsubscribe, e-mail: [hidden email]
>>>>> For additional commands, e-mail: [hidden email]
>>>>> --
>>>>> No virus found in this incoming message.
>>>>> Checked by AVG Free Edition.
>>>>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date:  
>>>>> 4-1-2007 13:34
>>>>> --
>>>>> No virus found in this incoming message.
>>>>> Checked by AVG Free Edition.
>>>>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release Date:  
>>>>> 4-1-2007 13:34
>>>>>
>>>
>>>
>>> --
>>> Kohsuke Kawaguchi
>>> Sun Microsystems                   [hidden email]
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   [hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Hudson 1.69: slaves do not work because of missing libs

Wolfram Kroll-2

Am 06.01.2007 um 21:36 schrieb Wolfram Kroll:

>
> Am 06.01.2007 um 19:57 schrieb Kohsuke Kawaguchi:
>
>>
>> I think I fixed the problem now. I'll release 1.70, so if you  
>> still see the problem with 1.70, please let me know.
>
> Okay, thanks. Yesterday I forgot that it's saturday where I'm not  
> at work. I'll check it with release 1.70 when it's out.

This seems to be working fine with hudson 1.72 (already in 1.70). I  
tested it with a very simple test setup with master and slave on the  
same host.

Wolfram

>
> Wolfram
>
>>
>> Wolfram Kroll wrote:
>>> Am 05.01.2007 um 18:16 schrieb Kohsuke Kawaguchi:
>>>> Sjoerd Bakker wrote:
>>>>> Hi Wolfram,
>>>>> I encountered the same problem with the released version of  
>>>>> 1.69,  which does not happen if I use a local build of the  
>>>>> slave jarfile. I  guess something went wrong during the  
>>>>> packaging (?).
>>>>
>>>> I didn't realize that slave.jar has dependencies to servlet. In  
>>>> fact  it shouldn't. It sounds like there's something more fishy  
>>>> going on,  like a bug in the remotable classloader implementation.
>>>>
>>>> Wolfram, you said simple "java -jar slave.jar" doesn't work.  
>>>> Does that  mean this command immediately fails with some kind of  
>>>> error message?  Do you get any stack trace from any of your error?
>>> Yes, I could see a class not found error. Stack traces everytime.
>>> A class from retrotranslator was missing. I added the jar from  
>>> "lib" to  the classpath, but it needed another one (don't  
>>> remember). Then I added  simply _all_ jars from "lib". Now the  
>>> client would start. But when I  accessed a workspace the JVM gave  
>>> a class not found error.
>>> Tomorrow when at work I can send you complete messages if needed.
>>> Wolfram
>>>>
>>>>
>>>>> I guess you best wait for Kohsuke to answer the question  
>>>>> before  changing your environment drastically ;-)
>>>>> Regards,
>>>>> Sjoerd
>>>>> ----- Original Message ----- From: "Wolfram Kroll"  
>>>>> <[hidden email]>
>>>>> To: <[hidden email]>
>>>>> Sent: Friday, January 05, 2007 10:49 AM
>>>>> Subject: Re: Hudson 1.69: slaves do not work because of missing  
>>>>> libs
>>>>>>> -----Ursprüngliche Nachricht-----
>>>>>>> Von: [hidden email]
>>>>>>> Gesendet: 05.01.07 10:05:50
>>>>>>> An: [hidden email]
>>>>>>> Betreff: Hudson 1.69: slaves do not work because of missing libs
>>>>>>> Hi users,
>>>>>>> did someone figure out, which libraries the slave.jar needs  
>>>>>>> on its  classpath? A simple call
>>>>>>>    java -jar slave.jar
>>>>>>> does not work in my environment.
>>>>>>> At least some retrotranslator classes could not be found...
>>>>>> Now I use a wrapper to put all jars from the lib folder on  
>>>>>> the  classpath, but again libraries cannot be found. We don't  
>>>>>> do J2EE, so  it misses some javax.servlet.* stuff.
>>>>>> I'll be installing J2EE now accessible from the slaves...
>>>>>> Wolfram
>>>>>>> Any suggestions?
>>>>>>> Wolfram
>>>>>>> ________________________________________________________________
>>>>>>> ____ ___
>>>>>>> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und  
>>>>>>> kostenlos.
>>>>>>> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?
>>>>>>> mc=022222
>>>>>>> ----------------------------------------------------------------
>>>>>>> ---- -
>>>>>>> To unsubscribe, e-mail: [hidden email]
>>>>>>> For additional commands, e-mail: [hidden email]
>>>>>> _________________________________________________________________
>>>>>> ____ _
>>>>>> XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE  
>>>>>> Club!  Jetzt gratis testen!  http://freemail.web.de/home/ 
>>>>>> landingpad/?mc=021130
>>>>>> -----------------------------------------------------------------
>>>>>> ----
>>>>>> To unsubscribe, e-mail: [hidden email]
>>>>>> For additional commands, e-mail: [hidden email]
>>>>>> --
>>>>>> No virus found in this incoming message.
>>>>>> Checked by AVG Free Edition.
>>>>>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release  
>>>>>> Date:  4-1-2007 13:34
>>>>>> --
>>>>>> No virus found in this incoming message.
>>>>>> Checked by AVG Free Edition.
>>>>>> Version: 7.5.432 / Virus Database: 268.16.5/616 - Release  
>>>>>> Date:  4-1-2007 13:34
>>>>>>
>>>>
>>>>
>>>> --
>>>> Kohsuke Kawaguchi
>>>> Sun Microsystems                   [hidden email]
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   [hidden email]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]