cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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|; 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]

#1#com.sap.engine.frame.ServiceException: <Localization failed: ResourceBundle='com.sap.engine.frame.KernelResourceBundle', ID='UME initialization failed.', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key UME initialization failed.

* at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:372)*

* at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)*

* at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)*

* at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)*

* at com.sap.engine.frame.core.thread.Task.run(Task.java:64)*

* at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)*

* at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:105)*

Caused by: com.sap.security.core.persistence.datasource.PersistenceException: 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

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2770

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 111

ERRNO TEXT Connection refused

COUNTER 2

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 configtool.sh and get the following:

n4shost:n4sadm 69> configtool.sh

java.lang.reflect.InvocationTargetException

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

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.

Cheers,

Steve

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hallo Steve, please try this:

1. Go to your folder /usr/sap/N4S/DVEBMGS01/j2ee/configtool where your startscript configtool.sh is standing.

2. Type following on the unix command line: xterm -geometry 11 -n login -display

this is a sample command in the manual description for xtinit ( suse ).

3. Now, a new Xwindow will start. In the new window write "configtool.sh" and your admin tool will start.

4. The administration of the j2ee administration Tool will be possible by the serveral Error Messages you will see...:-)

Good luck

bonnmike

P.s. Tell me, weather it works. bonnmike at web