I am getting this error thrown on the 6.1 server when Running on SunOS
Same code works with no issues when running on local computert on the 6.1 server.
We have tried setting java.awt.Headless=true and that did not help at all.
Pinned topic java.awt.HeadlessException on the Websphere 6.1
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-04-15T22:18:10Z at 2010-04-15T22:18:10Z by alexbag
SystemAdmin 110000D4XK37422 Posts
Re: java.awt.HeadlessException on the Websphere 6.12010-04-15T13:35:26ZThis is the accepted answer. This is the accepted answer.Hello,
Try technote java.awt.HeadlessException on WebSphere Application Server V6.1 at http://www.ibm.com/support/docview.wss?uid=swg21248987.
WebSphere Portal support
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.
azaretskiy 110000BA6H1 Post
Re: java.awt.HeadlessException on the Websphere 6.12010-04-15T21:31:47ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
I have found this article on ibm site as well:
It make sense to set headless to true since we are runing on Sun server that does not have keybord, mouse and etc.
Any other suggestions? Any special properties on server we can set?
Again this totally works on my local workstation, without even this headless property set, and does not on the Sun server.
alexbag 110000GFX513 Posts
Re: java.awt.HeadlessException on the Websphere 6.12010-04-15T22:18:10ZThis is the accepted answer. This is the accepted answer.
- azaretskiy 110000BA6H
HeadlessException - if GraphicsEnvironment.isHeadless() returns true
Not all operations are supported in headless mode.