Question about JNLP solution in 1.81

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

Question about JNLP solution in 1.81

sjoerdbakker
>> resending this message, as it appears not to have been delivered earlier
>> today.

Hi,

I'm trying to use the JNLP client on my Windows client, and have some
(security) problems.

I can start the client, it asks me whether I want to trust and run the
webstart application, and the slave starts up and reports "connected".

When I look in my master webpage, I see that the slave is marked available,
but I can't see any information in the "System Information" page. Also the
log entry is completely empty.

When I try to start a build on the remote machine, the build ends very fast,
and the buildlog contains a message like below:
--------------
started
Building remotely on experimental
FATAL: access denied (java.io.FilePermission d:\temp\hudson\workspace\Java
Preferences Plugin read)
java.security.AccessControlException: access denied (java.io.FilePermission
d:\temp\hudson\workspace\Java Preferences Plugin read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkRead(Unknown Source)
    at java.io.File.exists(Unknown Source)
    at java.io.File.mkdirs(Unknown Source)
    at hudson.FilePath$3.invoke(FilePath.java:227)
    at hudson.FilePath$3.invoke(FilePath.java:225)
    at hudson.FilePath$1.call(FilePath.java:176)
    at hudson.remoting.UserRequest.perform(UserRequest.java:57)
    at hudson.remoting.UserRequest.perform(UserRequest.java:22)
    at hudson.remoting.Request$2.run(Request.java:167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
---------------------------

* The directory D:\temp\hudson is created, and afaik writable for all users.
* The gui of the slave does not change, nor does it show info on the
console.
* The jobs also fail when they do not contain spaces
* The jobs also fail on Linux.
* I'm using the released version of 1.81, but also in my custom build of 2
days ago it failed.

I guess I overlooked something, but I don't know what...

Can you please help troubleshoot this one?

Thanks,
Sjoerd

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

Re: Question about JNLP solution in 1.81

Kohsuke Kawaguchi-2

I think I probably just needed to test this better.

Looks like the JNLP agent is still not getting a full access to the
system. If you can file an issue for this, that would be great.

Sjoerd Bakker wrote:

> Hi,
>
> I'm trying to use the JNLP client on my Windows client, and have some
> (security) problems.
>
> I can start the client, it asks me whether I want to trust and run the
> webstart application, and the slave starts up and reports "connected".
>
> When I look in my master webpage, I see that the slave is marked available,
> but I can't see any information in the "System Information" page. Also the
> log entry is completely empty.
>
> When I try to start a build on the remote machine, the build ends very fast,
> and the buildlog contains a message like below:
> --------------
> started
> Building remotely on experimental
> FATAL: access denied (java.io.FilePermission d:\temp\hudson\workspace\Java
> Preferences Plugin read)
> java.security.AccessControlException: access denied (java.io.FilePermission
> d:\temp\hudson\workspace\Java Preferences Plugin read)
>     at java.security.AccessControlContext.checkPermission(Unknown Source)
>     at java.security.AccessController.checkPermission(Unknown Source)
>     at java.lang.SecurityManager.checkPermission(Unknown Source)
>     at java.lang.SecurityManager.checkRead(Unknown Source)
>     at java.io.File.exists(Unknown Source)
>     at java.io.File.mkdirs(Unknown Source)
>     at hudson.FilePath$3.invoke(FilePath.java:227)
>     at hudson.FilePath$3.invoke(FilePath.java:225)
>     at hudson.FilePath$1.call(FilePath.java:176)
>     at hudson.remoting.UserRequest.perform(UserRequest.java:57)
>     at hudson.remoting.UserRequest.perform(UserRequest.java:22)
>     at hudson.remoting.Request$2.run(Request.java:167)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
> ---------------------------
>
> * The directory D:\temp\hudson is created, and afaik writable for all users.
> * The gui of the slave does not change, nor does it show info on the
> console.
> * The jobs also fail when they do not contain spaces
> * The jobs also fail on Linux.
> * I'm using the released version of 1.81, but also in my custom build of 2
> days ago it failed.
>
> I guess I overlooked something, but I don't know what...
>
> Can you please help troubleshoot this one?
--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment