Hello all:

For several months I've been using 3270 object within servlets to
perform screen scraping.  This object actually uses AWT components and
therefore it needs a windowing environment to connect to.  Up until
recently this hasn't been a problem.  1 of 2 things happens now, either
the servlet throws a NoClassDefFound Exception claming it cannot find
sun.awt.X11GraphicsEnvironment and sometimes it throws an IOException
claming it cannot connect to the DISPLAY variable.  The NoClassDefFound
Exception doesn't really make any sense as
sun.awt.X11GraphicsEnvironment is contained in rt.jar.  By the way, I'm
using JRun on a Sun Solaris box.

I know the right thing to do would be to start using a 3270 screen
scraping object that doesn't need AWT, but we've got a considerable
amount of code written for this object.  If anyone has any suggestions
as to a good screen scraping object/bean that doesn't use AWT, please
send them to me offline.

Can anyone help me with determining exactly what the Servlet engine
needs in order to find the X11GraphicsEnvironment object?

Any help would be appreciated.

Thanks,

Brian

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to