There are a number of options to consider when setting the Synch
to OS Thread Allowed option.
With the Synch to OS Thread Allowed support:
- The application developer or assembler requests behavior by setting the
special application environment entry env-entry in the deployment descriptor: com.ibm.websphere.security.SyncToOSThread=true|false.
- The system administrator grants the request made by the application developer
or assembler using an application server configuration setting.
You can select the
Synch to OS Thread Allowed option at development
time or at assembly time:
- At development time, use Rational Application Developer to add an environment
entry (environment variable) to the Enterprise JavaBean (EJB) component or
Web application module.
Important: Environment entries (environment
variables) can be defined on individual EJB components but cannot be set on
individual Web components.
A Java 2 Platform, Enterprise Edition
(J2EE) standard deployment descriptor can be defined for each EJB component
and for each Web application module. Note that a Web component is either a
servlet or JavaServer Pages (JSP) files. For Web components, environment entries
(environment variables) can only be set on a Web application module. A Web
application module contains servlets and JSP files.
- At assembly time, you can add or change environment
entries (environment variables) using an assembly tool. For more information,
see Starting
an assembly tool.