cancel
Showing results for 
Search instead for 
Did you mean: 

UaServer does not start - Prepare

ThomasKjelsrud
Participant
0 Kudos

Hi all!

I have a problem when trying to start UaServer for Prepare. I am trying to start the PREPARE phase for upgrading to ERP 2005 from R/3 4.7 ext. set 200, and started the prepare.bat file from the root-directory of the Upgrade Master DVD. I am using JRE 1.5.0_6. I get as far as typing in the command java -cp C:\usr\sap\put\UA\ua.jar UaServer, and type in a password.

Then the following is displayed:

C:\Documents and Settings\t01adm>java -cp C:\usr\sap\put\UA\ua.jar UaServer

UaServer> Stable storage file 'C:\usr\sap\put\ua\UaState' not found

UaServer> Creating stable storage file 'C:\usr\sap\put\ua\UaState'

Please enter administrator password

Enter password:*********

Confirm password:********

UaServer> Temporary directory is 'C:\usr\sap\put\ua'

UaServer> Property file 'C:\usr\sap\put\ua\UaServer.properties' read

UaServer> Configuring HTTP server

UaServer> Using HTTP index file name: index.html

UaServer> Signing JAR file uagui.jar

com.sap.sdt.server.core.SDTServer.createService(SDTServer.java:281)

com.sap.sdt.server.core.SDTServer.startUaServer(SDTServer.java:126)

sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)

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

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav

a:25)

java.lang.reflect.Method.invoke(Method.java:585)

com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:80)

com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:76)

UaServer.main(UaServer.java:367)

msg.server.0002 com.sap.sdt.server.ext.r3up.R3upService

msg.diag.0002 java.lang.reflect.InvocationTargetException null

UaServer> ERROR:

com.sap.sdt.server.core.SDTServer.createService(SDTServer.java:281)

com.sap.sdt.server.core.SDTServer.startUaServer(SDTServer.java:126)

sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)

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

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav

a:25)

java.lang.reflect.Method.invoke(Method.java:585)

com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:80)

com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:76)

UaServer.main(UaServer.java:367)

msg.server.0002 com.sap.sdt.server.ext.r3up.R3upService

msg.diag.0002 java.lang.reflect.InvocationTargetException null

Seems to me that something goes wrong in the "UaServer> Signing JAR file uagui.jar" step. Does anyone know why this happends?

Please help!

Regards,

Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Also for a Windows Server 2003 64 Bit ist works !!!!!

Former Member
0 Kudos

Read this cmd session:

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\WINDOWS>java -classpath d:\usr\sap\put\UA\ua.jar UaServer
Exception in thread "main" java.lang.NoClassDefFoundError: u00FBclasspath

C:\WINDOWS>java classpath d:\usr\sap\put\UA\ua.jar UaServer
Exception in thread "main" java.lang.NoClassDefFoundError: classpath  

C:\WINDOWS>java --classpath d:\usr\sap\put\UA\ua.jar UaServer
Unrecognized option: --classpath
Could not create the Java virtual machine.    

C:\WINDOWS>java -classpath d:\usr\sap\put\UA\ua.jar UaServer
UaServer> Stable storage file 'd:\usr\sap\put\ua\UaState' read
UaServer> Temporary directory is 'd:\usr\sap\put\ua'
UaServer> Property file 'd:\usr\sap\put\ua\UaServer.properties' read
UaServer> Configuring HTTP server
UaServer> Using HTTP index file name: index.html
UaServer> Signing JAR file uagui.jar
UaServer> Creating JNLP file uagui.jnlp
UaServer> Starting HTTP server
UaServer> HTTP server started
UaServer> Ready

You can see, that I tried how to write it. (Stupid action, because I knew that the '-' is needed.) But as always this solved the problem because:

If you copy&paste the string to the console window as I did from windows xp via remote terminal into windows 2003 server, you can read "-classpath" but the console reads "u00FBclasspath". That is why java interprets this string as class and not as parameter!

This is the second time in my life, that by copy&paste via a microsoft remote terminal session the pasted result is different to the copied string. Never trust copy&paste over remote terminal session!

Just rewrite the "-classpath" section manually by keyboard >> not with copy & paste! And it will work fine. I guess you do not need 1.4.2_13 especially. I got this error on JAVA_6.12_JRE_x64 and on j2re-1_4_2_18. Finally I solved it under 1_4_2_18 by just manually typing the hyphen.

Best regards,

Stephan

ThomasKjelsrud
Participant
0 Kudos

Hi...

I replaced the java jre 1.5.0_06 with jre 1.4.2_13. Now it works!

Thomas