cancel
Showing results for 
Search instead for 
Did you mean: 

startInstGui.sh error - exception thrown

Former Member
0 Kudos

OS ver: HP-UX 11.23

NW ver: 7.0 SR2

I am trying to kick off the installation process for WebAS ABAP 7.0 SR2 on the HP-UX server.

In the first terminal session, I have



While inside tmp/sapinst_instdir:

# /usr/sap/sapcds/Bussuite2005installmaster/IM_HPUX_IA64/sapinst
[==============================] - extracting...  done!

Starting GuiServer using:
/opt/java1.4/jre/bin/java -cp /tmp/sapinst_exe.18344.1208269292/JAR/instgui.jar:/tmp/sapinst_exe.18344.1208269292/JAR/inqmyxml.jar -Djava.security.egd=file:/dev/urandom SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true

load resource pool /usr/sap/sapcds/Bussuite2005installmaster/IM_HPUX_IA64/resourcepool.xml

guiengine: no GUI connected; waiting for a connection on host R3ereprd, port 21200 to continue with the installation

While inside the installation master directory, when I try to execute script startInstGui.sh in another terminal session, it says:


Start mode: gui (GUI only)
Connection parameters:
  GUIServer host: localhost
  GUIServer port: 21212
Starting...
Exception in thread "main" java.lang.NoClassDefFoundError: SDTGui

Can anyone please suggest what could possibly be wrong?

Thanks and regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shehryar

Please try to switch to the cd directory before starting sapinst

# cd /usr/sap/sapcds/Bussuite2005installmaster/IM_HPUX_IA64
# ./sapinst

Sapinst should normally auto start the gui. Please post, if it still doesn't work.

Regards

Michael

Former Member
0 Kudos

Hi,

Thanks for response. If I try to execute the script ./sapinst from within the installation master directory, I get an error which says:


Starting GuiServer using:
/opt/java1.5//bin/java -cp /tmp/sapinst_exe.17734.1208268586/JAR/instgui.jar:/tmp/sapinst_exe.17734.1208268586/JAR/inqmyxml.jar -Djava.security.egd=file:/dev/urandom SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true

103 controller.xmlToObject.XmlFileIsNotAControlXml /usr/sap/sapcds/Bussuite2005installmaster/IM_HPUX_IA64/product.catalog, 85
103 controller.xmlToObject.XmlFileIsNotAControlXml /usr/sap/sapcds/Bussuite2005installmaster/IM_HPUX_IA64/product.catalog, 85

My own understanding was that sapinst should start the GUI but that wasn't happening. And until I switched to the tmp directory, it kept in giving me the above mentioned error. Any ideas what I am missing here?

Thanks and regards,

Shehryar

Former Member
0 Kudos

Hi again

The only thing i can imagine, is a problem with your installation master dvd. I just tried it at my place and it works, i attach the file sizes and the output of sapinst, maybe you see something:


BS_2005_SR2_SAP_Installation_Master/IM_HPUX_IA64# ll
total 94768
drwxrwxrwx   3 root       sys             96 Jun 26  2006 COMMON
drwxrwxrwx   3 root       sys             96 Jun 26  2006 CRM05
drwxrwxrwx   3 root       sys             96 Jun 26  2006 CRM52
drwxrwxrwx   4 root       sys             96 Jul 17  2006 ERP05
drwxrwxrwx   2 root       sys             96 Jun 26  2006 JAR
-rwxrwxrwx   1 root       sys             36 Sep 12  2006 LABEL.ASC
drwxrwxrwx   3 root       sys             96 Jun 26  2006 NW04S
drwxrwxrwx   3 root       sys             96 Jun 26  2006 SCM05
drwxrwxrwx   3 root       sys             96 Jun 26  2006 SOLMAN40
drwxrwxrwx   3 root       sys             96 Jun 26  2006 SRM05
drwxrwxrwx   3 root       sys             96 Jun 26  2006 SRM60
drwxrwxrwx   2 root       sys             96 Jun 26  2006 TRANS
-rwxrwxrwx   1 root       sys           2292 Dec 29  2005 catalog.dtd
-rwxrwxrwx   1 root       sys           1035 Sep 12  2006 messages.dtd
-rwxrwxrwx   1 root       sys         700374 Oct  4  2006 messages.xml
-rwxrwxrwx   1 root       sys        1763586 Oct  8  2006 product.catalog
-rwxrwxrwx   1 root       sys         546679 Sep 11  2006 resourcepool.xml
-rwxrwxrwx   1 root       sys           1084 Dec 29  2005 resources.dtd
-rwxrwxrwx   1 root       sys        45455045 Oct  5  2006 sapinst
-rwxrwxrwx   1 root       sys           7946 Sep  8  2006 startInstGui.sh

BS_2005_SR2_SAP_Installation_Master/IM_HPUX_IA64# ./sapinst
[==============================] - extracting...  done!

Starting GuiServer using:
/opt/java/bin/java -cp /tmp/sapinst_exe.20527.1208271611/JAR/instgui.jar:/tmp/sapinst_exe.20527.1208271611/JAR/inqmyxml.jar -Djava.security.egd=file:/dev/urandom SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true

load resource pool /sapcd/ERP2005SR2_INST_IA64/BS_2005_SR2_SAP_Installation_Master/IM_HPUX_IA64/resourcepool.xml

guiengine: no GUI connected; waiting for a connection on host host1, port 21200 to continue with the installation

guiengine: login in process.

Regards Michael

Former Member
0 Kudos

Thanks. For me, ll shows:


# ll
total 94696
-rw-r--r--   1 knl3373    root          2292 Apr 15 14:11 catalog.dtd
drwxr-xr-x   3 knl3373    root            96 Apr 15 14:12 common
drwxr-xr-x   3 knl3373    root            96 Apr 15 14:14 crm05
drwxr-xr-x   3 knl3373    root            96 Apr 15 14:14 crm52
drwxr-xr-x   4 knl3373    root            96 Apr 15 14:15 erp05
drwxr-xr-x   2 knl3373    root            96 Apr 15 14:15 jar
-rw-r--r--   1 knl3373    root            36 Apr 15 14:11 label.asc
-rw-r--r--   1 knl3373    root          1035 Apr 15 14:11 messages.dtd
-rw-r--r--   1 knl3373    root        700374 Apr 15 14:11 messages.xml
drwxr-xr-x   3 knl3373    root            96 Apr 15 14:15 nw04s
-rw-r--r--   1 knl3373    root       1763586 Apr 15 14:11 product.catalog
-rw-r--r--   1 knl3373    root        546679 Apr 15 14:11 resourcepool.xml
-rw-r--r--   1 knl3373    root          1084 Apr 15 14:11 resources.dtd
-rwxr-xr-x   1 knl3373    root       45455045 Apr 15 14:12 sapinst
drwxr-xr-x   3 knl3373    root            96 Apr 15 14:16 scm05
drwxr-xr-x   3 knl3373    root            96 Apr 15 14:16 solman40
drwxr-xr-x   3 knl3373    root            96 Apr 15 14:16 srm05
drwxr-xr-x   3 knl3373    root            96 Apr 15 14:17 srm60
-rwxr-xr-x   1 knl3373    root          7946 Apr 15 14:12 startInstGui.sh
-rw-r-----   1 root       sapinst         55 Apr 15 14:43 start_dir.cd
drwxr-xr-x   2 knl3373    root            96 Apr 15 14:17 trans

So the authorizations are different. Do you suggest that might be an issue?

Regards

Former Member
0 Kudos

Hi,

Tracefile called sdtstart.err contains the following when I execute the script from within the installation master directory:


15/Apr/2008 21:43:57 error in:
Class   : com.sap.sdt.server.core.SDTServer
Name    : main
Static  : true
class [Ljava.lang.String; - [Ljava.lang.String;@4413ee

java.lang.RuntimeException: invocation target exception: Provider com.sap.engine
.lib.jaxp.SAXParserFactoryImpl not found
        at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:110)
        at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:107)
        at SDTServer.main(SDTServer.java:49)

Looks like a problem with the version of JAVA or missing libraries. My version is 1.5.0.09. Which version are you using?

Regards

Former Member
0 Kudos

and when I run the sapinst script from tmp/sapinst_instdir, the script stops with the message "guiengine: no GUI connected..". In this case, when I execute script startInstGui.sh, sdtstart.err says:


java.lang.RuntimeException: invocation target exception: Can't connect to X11 window server using 'R3ereprd:0.0' as the value of the DISPLAY variable.
        at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:110)
        at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:107)
        at SDTGui.main(SDTGui.java:46)

Former Member
0 Kudos

I have tried running sapinstgui from a windows desktop to connect to HP-UX box. It connects fine and SAPInst dialog box comes up fine. But when I select the installation option, it fails with error that "103 syslib.filesystem.nodeDoesNotExist".

So this indicates there is something wrong with my JAVA version as well as display settings. Can you please confirm your JAVA version and display settings? Moreover, which shell are you using to execute the scripts?

Regards

Former Member
0 Kudos

Hi

What is your Java version ? It can be between 1.4.2.12 - 1.4.2.17.

What is OS patch levels on you HP-UX box does it meet the prerequisite check.

Former Member
0 Kudos

Hi again

At the box where i tested it, i had this version:

root# java -version
java version "1.4.2.17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.17-071106-02:40)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.17-071106-08:12-IA64N IA64, mixed mode)

So this one is definitely working.

Regards Michael

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

I got the same error starting ./sapinst on:

OS ver: HP-UX 11.23

NW ver: 7.0 SR2

I look's like java could not access the product.catalog.

Changing to the /tmp directory and than starting sapinst

I could start the sapinst and the GUI comes up, but during choosing something, I got file not found !

Any solution ?

Thanks and regards

Former Member
0 Kudos

When i started sapinst from a different location, other than the install master dvd, i had to specify the path to the original product.catalog file:

./sapinst <your_path_to_install_master_here>/product.catalog

Maybe this helps, regards

Michael