cancel
Showing results for 
Search instead for 
Did you mean: 

Sapinst error

Former Member
0 Kudos

Hello,

could you please someone help me with installation of SAP? I downloaded trial version: SAP NetWeaver 7.02 SP6 64 bit Application Server ABAP Trial Version. I proceeded with installation according to the start.html file and kept the system requirements, but I meet with error by lunching sapinst aplication. Here is the output:

Program is starting... Please wait!


Starting GUIServer using:
  SAPinst port  : 21200
  GUIServer port: 21212
  HTTP port     : 4239
  GUI autostart : on
  GUI mode      : normal
  command       : "C:/Users/MAT~1/AppData/Local/Temp/sapinst_exe.1636.1339096153/jre\bin\java.exe" -cp "C:\Users\MAT~1\AppData\Local\Temp\sapinst_exe.1636.1339096153\jar\instgui.jar" -Xmx256M -Dsun.java2d.noddraw=true -Dsap.env.var.javahome=SAPINST_JRE_HOME SDTServer "rootdir=C:\Users\Matúš\.sdtgui" config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=localhost -srvarg=/SAPinstService/port=21200

load resource pool C:\Users\Matúš\Desktop\NWABAPTRIAL70206_64\SAP_NetWeaver_702e_Installation_Master\IM_WINDOWS_X86_64\resourcepool.xml

guiengine: No GUI server connected; waiting for a connection on host Matus, port 21200 to continue with the installation
Jun 7, 2012 9:09:39 PM [Error]: java.io.IOException: Invalid argument
Jun 7, 2012 9:09:40 PM [Error]: java.io.IOException: Invalid argument
Jun 7, 2012 9:09:40 PM [Error]: com.sap.sdt.server.core.admin.InitException
Jun 7, 2012 9:09:40 PM [Fatal]: Error during controller startup.
Jun 7, 2012 9:09:40 PM [Fatal]: SL Controller exiting.
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:597)
at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:73)
at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:68)
at SDTServer.main(SDTServer.java:49)
Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.sdt.server.core.config.ServerFileSystemIF.getSessionPasswordFile() of an object returned from com.sap.sdt.server.core.admin.SDTServerAdmin.getFileSystem()
at com.sap.sdt.server.core.admin.SDTServerAdmin.deleteSessionPasswordFile(SDTServerAdmin.java:474)
at com.sap.sdt.engine.core.admin.AbstractServerAdmin.exit(AbstractServerAdmin.java:398)
at com.sap.sdt.server.core.admin.SDTServerAdmin.start(SDTServerAdmin.java:188)
... 7 more
java.lang.NullPointerException: while trying to invoke the method com.sap.sdt.server.core.config.ServerFileSystemIF.getSessionPasswordFile() of an object returned from com.sap.sdt.server.core.admin.SDTServerAdmin.getFileSystem()
at com.sap.sdt.server.core.admin.SDTServerAdmin.deleteSessionPasswordFile(SDTServerAdmin.java:474)
at com.sap.sdt.engine.core.admin.AbstractServerAdmin.exit(AbstractServerAdmin.java:398)
at com.sap.sdt.server.core.admin.SDTServerAdmin.start(SDTServerAdmin.java:188)
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:597)
at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:73)
at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:68)
at SDTServer.main(SDTServer.java:49)
error in:
Class   : com.sap.sdt.server.core.admin.SDTServerAdmin
Name    : start
Target  : com.sap.sdt.server.core.admin.SDTServerAdmin@34b23d12
class [Ljava.lang.String; - [Ljava.lang.String;@21c783c5

java.lang.RuntimeException: invocation target exception: while trying to invoke the method com.sap.sdt.server.core.config.ServerFileSystemIF.getSessionPasswordFile() of an object returned from com.sap.sdt.server.core.admin.SDTServerAdmin.getFileSystem()
at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:95)
at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:68)
at SDTServer.main(SDTServer.java:49)

I have installed j2eesdk-1_4_03-windows.

Thank you for your help and comments.

Regards, Matus

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Matus,

1. Use JRE

2. Set JAVA_HOME variable **above the bin directory** (e.g: JAVA_HOME=C:\j2sdk1.4.2_16)

3. Logoff and then logon

4. Try Now.

Read this thread further if still facing issues: http://sap.ittoolbox.com/groups/technical-functional/sap-basis/no-gui-connected-waiting-for-a-connec...

former_member182034
Active Contributor
0 Kudos

HI Matus,

1st" check the SAP Note :709140.

2nd: You need to check and set the JAVA environmental variable in .bash_profile file.

like below

vim ~/.bash_profile

export JAVA_HOME=/usr/java/jdk_xyz

export PATH=$PATH:/usr/java/jdk_xyz

export SAPINST_JRE_HOME=/usr/java/jdk_xyz

reboot and start again sapinst with old installation.

Regards,

former_member189725
Active Contributor
0 Kudos

Please check this thread

http://scn.sap.com/thread/1992999

Regards

Ratnajit