Thanks to Chris and Phil. Your guess was right. I was trying to catch the
exception with Exception class, and when I changed it to Throwable, I got
the error as: 
"java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment"

Our WAS server is running on AIX 5.2, and it has JDK1.4.1 .
Looks like the options we have here are, either run X11 server or run jvm in
headless mode.

Does anyone know if the ibm jvm 1.4 for aix supports a headless mode and how
to set it on AIX? 
Please reply to me only at '[EMAIL PROTECTED]', so that we can avoid
cluttering all the mailboxes.

Thanks
Narsa Gaddam
Ph (Wilson): 252-246-5260
Ph (Raleigh): 919-716-6231
EMail: [EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Phillip Rhodes
Sent: Wednesday, June 08, 2005 1:47 PM
To: Research Triangle Java User's Group mailing list.
Subject: Re: [Juglist] Problem in creating Frame


Gaddam, Narsa wrote:


> 
>         Frame frame =* **new* Frame();
> It works fine on WSAD environment on test server when we run our
> application. But when we deployed EAR on websphere app server 5.0, we 
> are getting HTTP 500 - Internal server error right at the frame() call, 
> no exception thrown or any other error message.

My hunch is that an Exception (or Error) is being thrown. If you're not
seeing it in the logs, I'd guess it's either because it's being eaten by an
empty catch block, or the WAS logging configuration is setup in such a way
that it's not being logged.


> Since this can be easily reproduced thought of posting here so that I
> can get some help. Please let me know, if anyone know what could be the 
> problem here.

What operating system is your WAS server on? If it's any flavor of Unix or
Linux, I'd take a guess that you might be seeing the old "Unable to connect
to X Server" error, and would need to set the JVM property for headless
mode.  Otherwise, I'm not sure what might be happening.


TTYL,


Phil
-- 
North Carolina - First In Freedom

Free America - Vote Libertarian
www.lp.org


_______________________________________________
Juglist mailing list
[email protected] http://trijug.org/mailman/listinfo/juglist_trijug.org

_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to