Thanks!

I just add and edit the code... I will look at what the heck they were including

j

On Feb 23, 2010, at 2:44 PM, Mike Schrag wrote:

> somehow whatever you did with your app is touching EOUserInterfaceParameters, 
> which touches the java.awt.Dimension class, which tries to initialize AWT. 
> you can avoid this by setting -Djava.awt.headless=true in your VM params, but 
> you're probably masking an actual problem. Some framework you're including 
> has a principal class that is touching one of those classes.
> 
> ms
> 
> On Feb 23, 2010, at 3:36 PM, James Cicenia wrote:
> 
>> This is a very simple app I am using to try to learn and test some AJAX 
>> stuff. I have never seen this error before and I certainly don't use Windows.
>> 
>> Thanks
>> James
>> 
>> 
>> 
>> Feb 23 14:19:37 N/A[N/A] (ERXNSLogLog4jBridge.java:43) WARN  NSLog  - A 
>> fatal exception occurred: Can't connect to window server - not enough 
>> permissions.
>> [2010-2-23 14:19:37 CST] <main> java.lang.InternalError: Can't connect to 
>> window server - not enough permissions.
>>       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>>       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
>>       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
>>       at java.lang.Runtime.loadLibrary0(Runtime.java:822)
>>       at java.lang.System.loadLibrary(System.java:993)
>>       at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
>>       at java.security.AccessController.doPrivileged(Native Method)
>>       at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
>>       at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
>>       at java.awt.Dimension.<clinit>(Dimension.java:68)
>>       at 
>> com.webobjects.eoapplication.EOUserInterfaceParameters.<clinit>(EOUserInterfaceParameters.java:94)
>>       at com.webobjects.eotool.EOToolFactory.<clinit>(EOToolFactory.java:46)
>>       at java.lang.Class.forName0(Native Method)
>>       at java.lang.Class.forName(Class.java:164)
>>       at 
>> com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:350)
>>       at 
>> com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:334)
>>       at 
>> com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:1671)
>>       at 
>> com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:436)
>>       at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:2112)
>>       at 
>> com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:116)
>>       at 
>> com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317)
>>       at 
>> com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743)
>>       at 
>> com.webobjects.appserver.WOApplication.<init>(WOApplication.java:779)
>>       at 
>> er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:22)
>>       at 
>> er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:938)
>>       at com.codefab.Application.<init>(Application.java:14)
>>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
>> Method)
>>       at 
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>       at 
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com
>> 
>> This email sent to [email protected]
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to