Consultor Eletrônico



Kbase 18998: Apptivity avoiding abUtil.setResolution for abEnv
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/27/1999
Apptivity avoiding abUtil.setResolution for abEnv

Apptivity avoiding abUtil.setResolution for abEnv

This document applies to: Apptivity

Version and Release Number: 3.01 and 3.1

When creating an abEnv instance while creating an abProject
on a non GUI display environment causes because of the
abUtil.setResolution(1000) call inside abEnv the Application
to exit depending on the operating system and JDK version
with several error messages if the client is not a SmartBean
or a HTML agent.
Known error messages are:

On Linux (not supported yet):

/green_threads/libawt.so: undefined symbol:
XtShellStrings (libawt.so)

Or on some other Unix systems:
java.lang.InternalError: Can't connect to X11 window
server using ':0.0' as the value of the DISPLAY variable.

*** Space for further error messages ***


Solution:

Because the problem doesn't happen with SmartBeans and
SmartAgents as long as there is no explicit usage of
the abUtil.setResolution telling abEnv over it's properties
that the Application is a SmartBean or SmartAgent
will solve the problem. That is especially usefully if
the client project to construct is not an Apptivity
client GUI project.
There exists two possible properties to set inside the
<project>.properties file to do that:

apptivity.clientIsAgent=true

or

apptivity.clientIsSmartBean=true

References To Written Documentation or Other KnowledgeBase Documents:

KB 18687 Apptivity Error: connection to ":0.0" refused by server
KB 18975 Error 503 deploying Apptivity HTML Project on Solaris

DISCLAIMER

The origins of this information may be internal or external to
Progress Software Corporation. Progress Software Corporation makes
all reasonable efforts to verify this information. However, the

information provided in this document is for your information only.
Progress Software Corporation makes no explicit or implied claims to
the validity of this information.

Any trademarks referenced in this document are the property of their
respective owners. Consult your product manuals for complete
trademark information.

Copyright 1998 Progress Software Corporation, Inc.
All Rights Reserved.