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:
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
COMPONENT NI (network interface)
SYSTEM CALL connect
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 configtool.sh and get the following:
n4shost:n4sadm 69> configtool.sh
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
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.