APAR status
Closed as program error.
Error description
IllegalArgumentException when creating DBCS Server with Jython
- Bring up wsadmin with jython
- run "AdminConfig.create("Server",node,[["name",DBCS_name]])
Results in IllegalArgumentException:
java.lang.IllegalArgumentException: WASX7122E
If DBCS_name is replaced with a single byte character set name,
the problem does not occur. This is a problem resulted from an
incompatibility between Java and Jython in the handing of
Unicode strings.
Local fix
None documented.
Problem summary
****************************************************************
* USERS AFFECTED: Those doing admin scripting using Jython *
* scripting language on operating systems *
* enabled for DBCS. *
****************************************************************
* PROBLEM DESCRIPTION: IllegalArgumentException when *
* creating DBCS server with Jython. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
BSF was incorrectly assuming that scripts passed to Jython would
be represented in a single byte character set. Fix was to
'byteify' scripts represented in unicode/DBCS before passing
them to the Jython interpreter.
Problem conclusion
Code chaneg was made to bsf.jar to 'byteify' scripts
represented in unicode/DBCS before passing them to the Jython
interpreter.
Temporary fix Comments
APAR information |
APAR number |
PQ83830 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
10A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-01-27 |
Closed date |
2004-03-17 |
Last modified date |
2004-03-17 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|