Opened 6 years ago

Last modified 6 years ago

#220 new defect

Failure running ECS 2.0 TCPIP Configuration Application

Reported by: taf Owned by:
Priority: Feedback Pending Milestone: Enhanced
Component: general Version: 1.6.0 Build 27 GA5
Severity: medium Keywords: jdk6 tcpip TCPCFG2
Cc:

Description

I'm trying to upgrade my ECS 2.0 system to Java 6. I've installed the OpenJDK6 package and it's co-requisites. Some applications run ok (Tomcat, for instance), but...

When I run the TCPIP configuration application I get a failure (very probably a user setup error):

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x134bb10c, pid=150, tid=983040
4
#
# JRE version: 6.0-b22
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode os2-x86 )
# Problematic frame:
# V [JVM+0x25b10c]
#
# An error report file with more information is saved as:
# D:\ecs\bin\hs_err_pid150.log (pasted here)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x134bb10c, pid=150, tid=9830404
#
# JRE version: 6.0-b22
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode os2-x86 )
# Problematic frame:
# V [JVM+0x25b10c]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#


Current thread (0x00b1a800): JavaThread? "main" [_thread_in_vm, id=9830404, stack(0x02fa0000,0x030b0000)]

siginfo: ExceptionCode?=0xc0000005, writing address 0x00000009

Registers:
EAX=0x00000008, EBX=0x00b1a800, ECX=0x00000012, EDX=0x00000001
ESP=0x0309f3cc, EBP=0x0309f458, ESI=0x00b1b1dc, EDI=0x00b1b1d8
EIP=0x134bb10c, EFLAGS=0x00010202

Register to memory mapping:

EAX=0x00000008
0x00000008 is pointing to unknown location

EBX=0x00b1a800
"main" prio=6 tid=0x00b1a800 nid=0x960004 runnable [0x0309f000]

java.lang.Thread.State: RUNNABLE

ECX=0x00000012
0x00000012 is pointing to unknown location

EDX=0x00000001
0x00000001 is pointing to unknown location

ESP=0x0309f3cc
0x0309f3cc is pointing into the stack for thread: 0x00b1a800
"main" prio=6 tid=0x00b1a800 nid=0x960004 runnable [0x0309f000]

java.lang.Thread.State: RUNNABLE

EBP=0x0309f458
0x0309f458 is pointing into the stack for thread: 0x00b1a800
"main" prio=6 tid=0x00b1a800 nid=0x960004 runnable [0x0309f000]

java.lang.Thread.State: RUNNABLE

ESI=0x00b1b1dc
0x00b1b1dc is pointing to unknown location

EDI=0x00b1b1d8
0x00b1b1d8 is pointing to unknown location

Top of Stack: (sp=0x0309f3cc)
0x0309f3cc: 00000000 00000000 00000000 00000000
0x0309f3dc: 00000000 00000000 00000000 00000000
0x0309f3ec: 00000000 00000000 00000000 00000000
0x0309f3fc: 00000000 00000000 00000000 00000000
0x0309f40c: 00000000 00000000 00000000 00000000
0x0309f41c: 00000000 00000000 00000000 00000000
0x0309f42c: 00000000 00000000 00000000 00000000
0x0309f43c: 00000000 00000000 00000000 00000000

Instructions: (pc=0x134bb10c)
0x134bb0fc: 95 cc 66 90 55 a1 94 90 cb 13 89 e5 8b 55 08 5d
0x134bb10c: 8b 04 02 c3 3c 6e 75 6c 6c 3e 00 4c 00 3b 00 cc

Stack: [0x02fa0000,0x030b0000], sp=0x0309f3cc, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [JVM+0x25b10c]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

Change History (2)

comment:1 Changed 6 years ago by dmik

  • Priority changed from major to Feedback Pending

The TCP/IP setup application is known to work with GA5. What may break it is the CLASSPATH setting pointing to old Java11 classes or such. Please provide a full command line (+ a list of environment variables) that you use to start it with GA5.

comment:2 Changed 6 years ago by taf

Thanks very much for your help!

Here's classpath from my config.sys:

SET CLASSPATH=D:\IBMGSK\CLASSES\SRIP.JAR;D:\IBMGSK\CLASSES\SGUIDE.ZIP;D:\IBMGSK\CLASSES\CSSGKEY.JAR;D:\os2\javaapps\lvmgui.zip;D:\TCPIP\java;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\charsets.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\jce.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\jsse.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\management-agent.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\resources.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\rt.jar;

and here's PATH:
SET PATH=D:\MPTN\BIN;D:\ECS\BIN;D:\TCPIP\BIN;D:\IBMCOM;D:\IBMLAN\NETPROG;D:\IBMGSK50\BIN;D:\IBMGSK40\BIN;D:\IBMGSK\BIN;D:\MUGLIB;D:\EMX\BIN;D:\OS2;D:\OS2\SYSTEM;D:\OS2\INSTALL;D:\;D:\OS2\MDOS;D:\OS2\APPS;D:\ECS\KLIBC\BIN;I:odin-0.8.9\SYSTEM32;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\bin;D:\PROGRAMS\RSJCD;D:\MMOS2\FREEDB;D:\MMOS2;D:\MMOS2\MMPLAYER;D:\OS2TK45\SOM\COMMON;D:\OS2TK45\SOM\BIN;D:\OS2TK45\BIN;

tho' I think the startup routine TCPCFG2.CMD builds and supplies a -classpath string of it's own...

Here's the -classpath string from the failing command:

-classpath D:\TCPIP\java\tcpauth.jar;D:\TCPIP\java\jvc2.jar;D:\TCPIP\java\ddnssgui.jar;D:\TCPIP\java\Tcpcfg2.jar;D:\TCPIP\java\en_US\cfg2res.jar;D:\TCPIP\java\netdiver.jar;D:\TCPIP\java\en_US\tcpares.jar;D:\IBMGSK\CLASSES\SRIP.JAR;D:\IBMGSK\CLASSES\SGUIDE.ZIP;D:\IBMGSK\CLASSES\CSSGKEY.JAR;D:\os2\javaapps\lvmgui.zip;D:\TCPIP\java;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\charsets.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\jce.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\jsse.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\management-agent.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\resources.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\rt.jar;

The entire command line is:

"@call I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\bin\java.exe -classpath D:\TCPIP\java\tcpauth.jar;D:\TCPIP\java\jvc2.jar;D:\TCPIP\java\ddnssgui.jar;D:\TCPIP\java\Tcpcfg2.jar;D:\TCPIP\java\en_US\cfg2res.jar;D:\TCPIP\java\netdiver.jar;D:\TCPIP\java\en_US\tcpares.jar;D:\IBMGSK\CLASSES\SRIP.JAR;D:\IBMGSK\CLASSES\SGUIDE.ZIP;D:\IBMGSK\CLASSES\CSSGKEY.JAR;D:\os2\javaapps\lvmgui.zip;D:\TCPIP\java;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\charsets.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\jce.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\jsse.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\management-agent.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\resources.jar;I:\java6\openjdk6_b22_sdk_os2_ga-20110627\jre\lib\rt.jar; COM.ibm.raleigh.tcp.tcpcfg2.client.Tcpcfg2c en_US local notrace > nul"

Note: See TracTickets for help on using tickets.