Skip to Content
Former Member
Jan 25, 2008 at 03:09 PM

SAP Netweaver 2004s Java ABAP on VMware - Java stack fails to start


Hi All,

I'm struggling with the Java and ABAP stack on VMware. I've finally managed to get the ABAP stack to work after reading [this thread|corrupt ? : Java and ABAP Trial Version on Linux - VMware Edition; but I have a bunch of problems with the Java side:

1 - I'm assuming the correct way to start the Java stack is to switch to the n4sadm user and use startsap ALL n4shost. If I do this I get loads of CPU activity and the default trace reports the following:

[EXCEPTION] < Localization failed: ResourceBundle='', ID='UME initialization failed.', Arguments: [] > : Can't find resource for bundle java.util.PropertyResourceBundle, key UME initialization failed.

* at*

* at*

* at*

* at*

* at*

* at*

* at*

Caused by: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=localhost SYSNR=42 GWHOST=localhost GWSERV=sapgw42 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR partner 'localhost:sapgw42' not reached

TIME Tue Oct 9 15:10:47 2007


COMPONENT NI (network interface)


RC -10

MODULE nixxi.cpp

LINE 2770

DETAIL NiPConnect2



ERRNO TEXT Connection refused


I checked that sapgw42 is defined in the services file. Can anyone suggest what is wrong?

2 - I can't start any of the Java-based tools like configtool and va. I'm not a linux user so not sure im doing it right, but I start xterm (which can runs xclock ok) and I set the DISPLAY value using setenv DISPLAY localhost:0.0 and then run and get the following:

n4shost:n4sadm 69>


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(

at sun.reflect.DelegatingMethodAccessorImpl.invoke(

at java.lang.reflect.Method.invoke(


Caused by: java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable

3 - I installed the license key via SAPGui tx SLICENSE and get the license listed with a green status light and with the correct start/expiry dates and saying its valid, but I can still only login to the ABAP stack as SAP* and get 'Logon not possible (error in license check)' if I try with anyone else e.g. developer/developer.

4 - I want to increase the VMware screen size and have changed the monitor and screenresolution but on pressing Save I get this: 'Configuration Saved - Your modifications will take effect next time the graphics system is restarted'. My VMware instance doesnt seem to want to shutdown so I'm not sure how to restart the graphics system. Anyone got any ideas? Should I be able to shutdown?

Any help much appreciated.