Re: Framework Permission Issue

Jean-François Veillette <[email protected]> Wed, 23 Jun 2004 13:38:19 -0400
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
on OS-X, it's the permission the owner of the process have with the 
window-server.
to access and use the window-server, the owner of a process have to be 
the same user as the one graphicaly logged in, or be root.

so if nobody is logged on that machine, and that the process that start 
the woapp is not root, then most likely this is the cause.
To fix it, you have to graphicaly login on that machine as the same 
user on that start your woapps, or start your woapps as root.

- jfv

Le 04-06-23, à 13:27, Dave Edwards a écrit :

> I am using the QTJava.zip framework, so that I can do image resizing 
> from within my application... now I have it working just fine on my 
> Dev and Production boxes, but I keep getting an exception on my test 
> server.  As long as it works on Production I am happy, but the fact 
> that it doesn't work on all is annoying to me...  This is the error 
> that I get:
>
>  com.webobjects.foundation.NSForwardException 
> [java.lang.InternalError] Can't connect to window server - not enough 
> permissions.
>
> The permissions are set the same on the framework file for each box... 
> and the file itself is located at 
> /System/Library/Java/Extensions/QTJava.zip
>
> I am not familiar with this error, and was wondering if anyone could 
> give me any ideas what the problem might be, thanks!
>
> -Dave
> _______________________________________________
> WebObjects-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-admin
>