[Issue 3170] New - Provide a launcher class with auto update

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 3170] New - Provide a launcher class with auto update

jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=3170
                 Issue #|3170
                 Summary|Provide a launcher class with auto update
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|master-slave
             Assigned to|issues@hudson
             Reported by|jhm






------- Additional comments from [hidden email] Fri Feb 27 14:53:29 +0000 2009 -------
Here a short main class which loads all required classes directly from the
Master. So it uses the actual slave.jar.

Maybe naive, but I was playing a little bit ...

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

Reply | Threaded
Open this post in threaded view
|

[Issue 3170] Provide a launcher class with auto update

jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=3170






------- Additional comments from [hidden email] Fri Feb 27 14:54:22 +0000 2009 -------
Created an attachment (id=580)
Java Source as implementation


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

Reply | Threaded
Open this post in threaded view
|

[Issue 3170] Provide a launcher class with auto update

Kohsuke Kawaguchi
Administrator
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=3170



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Sat Feb 28 17:37:13 +0000 2009 -------
Ah, with a bit of tweak, this is an interesting approach.

We could make slave.jar consists of two parts. The first part could be the
bootloader, which loads the real slave.jar over the channel, then the second
part does the real stuff.

We should be even able to do this without changing the current protocol with
slave.jar, for smoother user migration.

Would you be interested in pushing this a bit further?

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

Reply | Threaded
Open this post in threaded view
|

[Issue 3170] Provide a launcher class with auto update

jhm-4
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=3170






------- Additional comments from [hidden email] Mon Mar  2 06:04:37 +0000 2009 -------
I am evaluating CI servers at the moment and this is the result of a
two-day-play (plus some Synergy-Wiki-suggestions). Because the decision for a CI
tool is not made I cannot spent too much time on that.

But what are you meaning with "pushing further"?

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

Reply | Threaded
Open this post in threaded view
|

[Issue 3170] Provide a launcher class with auto update

jhm-4
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=3170






------- Additional comments from [hidden email] Wed Mar 25 07:30:07 +0000 2009 -------
I have finished the CI-tool evaluation and Hudson has won. So I cann spend more
time on Hudson now.

I set up Hudson in a Tomcat 6 instance.
Sadly this launcher does not work, because Tomcat does not allow accessing files
in WEB-INF. The first try has a running Hudson inside Winstone which allowed
that ...

I tried copying the slave.jar from WEB-INF to to root directory and that access
worked. Now I get

Failing to obtain http://MYHUDSON/computer/agent1/slave-agent.jnlp
java.io.IOException: http://MYHUDSON/computer/agent1/slave-agent.jnlp doesn't
look like a JNLP file; content type was text/html;charset=UTF-8
        at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:203)
        at hudson.remoting.Launcher.main(Launcher.java:179)


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

Reply | Threaded
Open this post in threaded view
|

[Issue 3170] Provide a launcher class with auto update

akostadinov
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=3170






------- Additional comments from [hidden email] Mon Apr  6 07:10:12 +0000 2009 -------
I've seen such issue with the javaws shipped with debian distro of openjdk
trying to start most of the jnlp files I've tried. Using netx (although javaws
in openjdk is based on it) with same java works though.
Not sure your problem is related though.

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

Reply | Threaded
Open this post in threaded view
|

[Issue 3170] Provide a launcher class with auto update

jhm-4
In reply to this post by jhm-4
https://hudson.dev.java.net/issues/show_bug.cgi?id=3170






------- Additional comments from [hidden email] Tue Apr  7 08:27:06 +0000 2009 -------
Collecting information ...

From the mailing list:
URL to retrieve the slave.jar: http://server/hudson/jnlpJars/slave.jar

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