- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Java/JBoss profiling
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 11:58 PM
тАО02-10-2010 11:58 PM
Re: Java/JBoss profiling
These are fragments of the correspondence with HP:
The problem is Java is asking the CRTL to iconv_open(├в ASCII├в ,├в UTF-8├в ) and iconv_open(├в UTF-8├в , ├в ASCII├в )
It appears they are not supported on a standard openvms system.
First it requests for ASCII , but on OpenVMS that Character set is really 8859-1.
If the logical is defined, the java application should work because it is going to get ISO8859-1 as the default language.
Actually we should call decc$iconv_open(├в ISO8859-1├в , ├в UTF-8├в ) and decc$iconv_open(├в UTF-8├в , ├в ISO8859-1├в ),
But both should work.
Since Java gets the default lang first, the JBOSS debugger shouldn├в t fail if sys$lang EN_US_ISO8859-1
-Kristen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 08:13 AM
тАО02-11-2010 08:13 AM
Re: Java/JBoss profiling
thanks for the reply.
The names of codesets are implementation-defined, including the codeset associated with program's default locale. Attached shapshot illustrates it. The thing is that Linux (and, probably, other platforms) provides codeset converters for codeset associated with program's default locale while VMS does not.
There is no standard requirement I know of to provide codeset converters for any particular codeset, including the default codeset, but not providing converters for default codeset looks like a deficiency to me. It is, actually, easy to fix: create codeset convertes for ASCII as symbolic links to codeset converters for ISO8859-1:
ASCII_UCS-2.ICONV -> ISO8859-1_UCS-2.ICONV
ASCII_UCS-4.ICONV -> ISO8859-1_UCS-4.ICONV
ASCII_UTF-8.ICONV -> ISO8859-1_UTF-8.ICONV
UCS-2_ISO8859-1.ICONV -> UCS-2_ASCII.ICONV
...
> Actually we should call decc$iconv_open(├Г┬в├В ├В ISO8859-1├Г┬в├В ├В , ├Г┬в├В ├В UTF-8├Г┬в├В ├В ) and decc$iconv_open(├Г┬в├В ├В UTF-8├Г┬в├В ├В , ├Г┬в├В ├В ISO8859-1├Г┬в├В ├В ),
Yes, I think this is the right fix, instead of defining sys$lang logical. Except decc$ prefix is unnecessary.
Thanks again,
-Boris
x.c
---
#include
#include
#include
int main() {
setlocale(LC_ALL, "");
puts(nl_langinfo(CODESET));
}
VMS
---
$ run x.exe
ASCII
$ define sys$lang EN_US_ISO8859-1
$ run x.exe
ISO8859-1
$
$ dir SYS$I18N_ICONV:*ASCII*.ICONV
%DIRECT-W-NOFILES, no files found
$
Linux
-----
$ x.out
ANSI_X3.4-1968
$ export LANG=en_US
$ x.out
ISO-8859-1
$
$ iconv --list | grep ANSI_X3.4-1968
ANSI_X3.4-1968//
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 03:30 PM
тАО09-13-2010 03:30 PM
Re: Java/JBoss profiling
Thanks,
Cass
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2011 03:04 PM
тАО07-19-2011 03:04 PM
Re: Java/JBoss profiling
Hi,
My article I recently wrote after discovering the original post in Google's comp.os.vms news group is coming late. Anyhow here it is : http://vouters.dyndns.org/tima/OpenVMS-Java-JBoss-JBoss_Profiler_2_causing_a_JVM_crash_dump.html
If this can also help someone or leadstoward the solution I will be glad.
Philippe
- « Previous
-
- 1
- 2
- Next »