Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
When communicating with SAP Product Support, on some occasions you may be asked to capture & provide traces along with system component information. Without adequate guidance and knowledge the process of collecting such information data can prove to be time consuming.
SAP Product Support has developed & released the SAP NW Java Support Tool to help simplify the process of collecting traces, logs, and system component information. The SAP NW Java Support Tool also provides a guided means of enabling customers to self-troubleshoot problematic scenarios and issues.
The NW Java Support Tool is a java based utility that can be used by SAP customers, NetWeaver consultants/administrators, and Support Engineers. The Support Tool connects to a NetWeaver Application Server JAVA system before automatically collecting essential information required to troubleshoot an issue. After all relevant information has been gathered and captured it can be subsequently uploaded to SAP Product Support. The tool also provides the basis guidance required to implement Patch Level Releases & Dependencies if required.
For the detail operation, please find SCN WIKI here.
Before
After
A Customer may not be aware of the information required as an attachment to an Incident for analysis and troubleshooting surrounding an issue.
The Tool is self-guided in terms of walkthrough steps with selectable options on which information needed to be attached based on specific customer scenarios.
A Customer may send incomplete trace or application log files to SAP for analysis which may cause key troubleshooting information to be missed therefore affecting root cause analysis.
The Tool collects complete standardized information and creates the analysis package for SAP.
A Customer may have to refer to multiple KBA’s and notes to gain the knowledge needed to attach required troubleshooting information.
The Tool collects all the required information by connecting to the j2ee system in one simple click.
Customer applied a patch for a certain component, but such an action can make the component become inconsistent e.g. due to missing dependencies.
Tool helps to identify and find all dependent component patches and provides the reference download link.
Features:
Automatic gathering of traces, logs and Software Component information based on different problem scenarios.
Allows screen recording while reproducing issues.
Provides different ways to upload collected troubleshooting information to SAP Product Support, allowing you to review the information before the upload and make changes if necessary.
Provides a comprehensive list of the latest patches available for your present configuration and is able to calculate all relevant dependent patches in case you need to apply a specific fix. It also provides the corresponding download reference links and the option to add patches to the download basket through an intuitive user interface.
Contains troubleshooting guides for different scenarios.
Preparation
Operation System: Any OS with a JRE 1.7 or higher installed.
Network:
Access to the Internet to retrieve information about patches from SAP Product Support and to upload the collected information.
(Set the proxy server in the proxy settings if required.)
Access to the NW AS JAVA system to be analyzed is required. Port 5XX14 (XX = instance number) needs to be enabled as per SAP note #1439348.
(If you use a proxy you might have to define an exception in the proxy settings.)
NW AS JAVA Settings:
Supported versions are described in SAP note #2181113.
Please note that if your current SP Level is below those highlighted in the Note, the tool provides a workaround which can be followed as an alternative. The workaround offered is based upon copying the Tool’s designated .jar files to the server on which your NW AS Java System is located.
SDEFAULT option is enabled for sapstartsrv as per SAP note #1439348.
Outlined below is a working example scenario based upon how an administrator (for the sake of simplicity let’s call him now Kevin) can use and interact with the SAP NW Java Support Tool to troubleshoot & resolve an “OutOfMemory” Error exception occurrence.
Use Case: Issue Scenario
As of this morning all end-users are not able to logon to the Enterprise Portal which is affecting business operations and processes
After performing some high level analysis the system administrator, Kevin has found that the Java instance performed an unexpected and unprecedented restart.
In an attempt to resolve the issue, Kevin proceeds to run and open the ‘SAP NW Java Support Tool’, and selects the guided troubleshooting ‘Crashing’ option.
The ‘SAP NW Java Support Tool’ through an automated process gathers and collects core developer traces and subsequently creates a generated collection of ‘AnalysisPackages’.
After following the troublshooitng guided in association to the ‘SAP NW Java Support Tool’, Kevin has pinpointed the ‘OutOfMemoryError’ within the generated ‘AnalysisPackages’ and link this reference to the instance restart. The AnalysisPackages also highlight an underlying BufferOverflowException output frequently noted in the std_server.out, dev_server.out, default traces.
In an attempt to find a resolution Kevin performs an “Xsearch” based upon on this “BufferOverflow” Exception and identifies the solution SAP Note: 1914693. In Accordance to the note, the resolution is to apply the Patch Release on Component CORE-TOOLS 7.40 SP2.
From prior experiences Kevin is aware that certain NW (Netweaver) Components share strong dependencies to other component listings (particularly core SC). If Kevin proceeds to only patch one Component this may cause subsequent component inconsistencies therefore causing an unstable NW environment. Therefore Kevin decides to run the ‘SC Patch Tools’ option in the support tool, which returns comprehensive component dependency listings.
Kevin can now proceed to download the compatible Patch Listings directly from the support tool and apply them to the NW enviornment which will resolve the issue and prevent future reocrruences.
Feedback
We are very much interested about receiving feedback and comments.
Should you have any questions or highlight the need to report a bug or log an enhancement request, please leave a comment on this blog.
Hi, we are getting the following error message when validating the latest available patches from SAP:
Server returned 401. User authentication seemed to be failed.
We have updated the OSS user that we use in SAP Market Place and SAP ONE Support Launchpad. Last week we were able to connect successfully.
If we go several times to retry, it is check some patches and the error is intermittent when it has already validated some patches, but there are 126 patches to check.
We have opened a note to sap and it refers us to this blog for any problem.
Please make the tool dependent on either SAP ONE Support Launchpad or on SAP Market Place as changing password and making it same for both is a hassle.
Or
Allow to enter password for both SAP Market Place and SAP ONE Support Launchpad separately in a dialog box.
We are using the SAP NW Java Support Tool 1.0.20190228144625. No issues in the past. Recently when using the SC Patch Tools for checking patches of the connected JAVA system the tool ends with an error: Some unknown server error occurred while processing the request.
We tried several JAVA systems, different technical users with a password of 8 characters in capitals. Also when entering a wrong user/password we get the same error.
Expert > Component Info - provides the list of the available Components in the JAVA system. There are no issues connecting the JAVA system.
It looks like an issue connecting the SAP Backbone to verify for latest packages.
Could it be that the URLs the tool is using are outdated?
The Version Check URL and Dependency Check URL can be changed via Expert > General Settings.
Same issue as posted by Maurice Oerlemans, we are observing since last few days. No issue with Server details or the S-User credential. Was successfully using the tool since a week before and the issue is observed in last few days.
Error log from PST.log file is given below which reports "Unknown Source" while collecting latest patches from Marketplace.
NW-Tool-Error
java.lang.Exception: Error while Getting the Latest Patches! at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:203) at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:43) at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:37) at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) at java.util.concurrent.FutureTask.run(Unknown Source) at javafx.concurrent.Service.lambda$null$492(Service.java:725) at java.security.AccessController.doPrivileged(Native Method) at javafx.concurrent.Service.lambda$executeTask$493(Service.java:724) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Process of getting latest patches started!
Getting the Latest Patches...
Getting latest patch for SCA (001/192): ADSSAP
Some unknown server error occurred while processing the request."
I have also Encountered the same issue "SAPControl refused the connection!". I was able to connect to the rest of the Java system except for one system which giving me the above pop-up. It was running on the NW 7.31.
Gone through the SAP notes 936273 and 1439348. Ports 5XX13 and 5XX14 are running fine. I was able to invoke the ports on the browser and able to login using SIDADM user through the MMC in the browser.
Not sure where the issue exist. Any idea how I can overcome or analyze this issue.
I have done 2791505 now i am getting below error now
Process of collecting system information started!
Getting Software Component Information...
Loading information from the system...
Parsing result...
Process of collecting system information finished!
Process of getting latest patches started!
Getting the Latest Patches...
Getting latest patch for SCA (001/149): ADSSAP
Some unknown server error occurred while processing the request.
Error Log
[11:06:02.436] Close Information/Agreement Popup
[11:06:03.758] Execute Login
[11:06:03.763] Connecting...
[11:06:07.298] Connected!
[11:06:07.323] Saving System Connection Informations...
[11:06:07.325] Connected to instance 00 of system POD
[11:06:07.519] System Time: [11:06:07.000]
[11:06:07.522] Creating package TroubleshootingInfo[POD00_20210607_110607_52FB]...
[11:06:07.529] Select Operation
[11:06:10.221] Login SMP
[11:06:40.911] Operation Status
[11:06:41.037] Getting Software Component Information...
[11:06:41.085] Loading information from the system...
[11:06:41.086] osExecute: /usr/sap/POD/J00/j2ee/configtool/batchconfig.csh -task get.versions.of.deployed.units
[11:07:04.557] Parsing result...
[11:07:04.562] Getting the Latest Patches...
[11:07:05.278] Getting latest patch for SCA (001/149): ADSSAP
[11:07:06.185] Some unknown server error occurred while processing the request.
com.sap.tools.dc.SMPException_Exception: Some unknown server error occurred while processing the request.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at com.sun.proxy.$Proxy40.getLatestPatch(Unknown Source)
at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:191)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:43)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:37)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.concurrent.Service.lambda$null$6(Service.java:725)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.concurrent.Service.lambda$executeTask$7(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.Exception: Error while Getting the Latest Patches!
at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:203)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:43)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:37)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.concurrent.Service.lambda$null$6(Service.java:725)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.concurrent.Service.lambda$executeTask$7(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Some unknown server error occurred while processing the request.
com.sap.tools.dc.SMPException_Exception: Some unknown server error occurred while processing the request.
Other global users have also raised the same issue, it seems the error has started from 1st June 2021.
SAP support has declined to support this issue. can you please check at the earliest?
Hi Alex, (and anyone facing the SMPException_Exception as well),
this is a very new issue, and it is happening at the service responsible to validate and describe the latest patches available for SCAs. The root cause is being investigated.
As for now, in case of latest patch and dependency validation, please try the manual approach described in the point 2) in SAP KBA ##2791505.
Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: javax/xml/ws/Service
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3061)
at java.base/java.lang.Class.getDeclaredFields(Class.java:2248)
at javafx.fxml/javafx.fxml.FXMLLoader$ControllerAccessor.addAccessibleFields(FXMLLoader.java:3556)
at javafx.fxml/javafx.fxml.FXMLLoader$ControllerAccessor$1.run(FXMLLoader.java:3540)
at javafx.fxml/javafx.fxml.FXMLLoader$ControllerAccessor$1.run(FXMLLoader.java:3536)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.fxml/javafx.fxml.FXMLLoader$ControllerAccessor.addAccessibleMembers(FXMLLoader.java:3535)
at javafx.fxml/javafx.fxml.FXMLLoader$ControllerAccessor.getControllerFields(FXMLLoader.java:3473)
at javafx.fxml/javafx.fxml.FXMLLoader.injectFields(FXMLLoader.java:1169)
at javafx.fxml/javafx.fxml.FXMLLoader$ValueElement.processValue(FXMLLoader.java:868)
at javafx.fxml/javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:776)
at javafx.fxml/javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2924)
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2639)
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
at javafx.fxml/javafx.fxml.FXMLLoader.load(FXMLLoader.java:2516)
at sap.com.pst.fx.Main.processLogin(Main.java:216)
at sap.com.pst.fx.SplashPopupController$1.handle(SplashPopupController.java:56)
at javafx.graphics/com.sun.scenario.animation.shared.TimelineClipCore.visitKeyFrame(TimelineClipCore.java:239)
at javafx.graphics/com.sun.scenario.animation.shared.TimelineClipCore.playTo(TimelineClipCore.java:180)
at javafx.graphics/javafx.animation.Timeline.doPlayTo(Timeline.java:172)
at javafx.graphics/javafx.animation.AnimationAccessorImpl.playTo(AnimationAccessorImpl.java:39)
at javafx.graphics/com.sun.scenario.animation.shared.SingleLoopClipEnvelope.timePulse(SingleLoopClipEnvelope.java:103)
at javafx.graphics/javafx.animation.Animation.doTimePulse(Animation.java:1189)
at javafx.graphics/javafx.animation.Animation$1.lambda$timePulse$0(Animation.java:207)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/javafx.animation.Animation$1.timePulse(Animation.java:206)
at javafx.graphics/com.sun.scenario.animation.AbstractPrimaryTimer.timePulseImpl(AbstractPrimaryTimer.java:343)
at javafx.graphics/com.sun.scenario.animation.AbstractPrimaryTimer$MainLoop.run(AbstractPrimaryTimer.java:266)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:571)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:555)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:548)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(QuantumToolkit.java:353)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: javax.xml.ws.Service
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 46 more
I'm facing the exact same issue. I was trying different approaches, including newer Java versions, but nothing worked so far.
Could you possibly provide some workaround for this issue?
I hope you are doing well, and thanks for using the tool.
In the PC you are facing the issue, could you please run the following command in the prompt command:
java -version
Please attach the output of this command here. This command shows the vendor and version of Java runtime being used to run the tool. It will let us know if it is a supported Java runtime.
java version "18.0.2.1" 2022-08-18
Java(TM) SE Runtime Environment (build 18.0.2.1+1-1)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.2.1+1-1, mixed mode, sharing)
first of all i would like to thank you for this tool.
unfortianatly this is not working for me now. 2-3 weeks ago it worked for me. but today i have the issue which are mentioned a year ago
Process of getting latest patches started! Getting the Latest Patches... Getting latest patch for SCA (001/086): AJAX-RUNTIME Some unknown server error occurred while processing the request.
[14:56:45.500] Getting latest patch for SCA (001/086): AJAX-RUNTIME [14:57:45.018] Some unknown server error occurred while processing the request. com.sap.tools.dc.SMPException_Exception: Some unknown server error occurred while processing the request.
...
at java.lang.Thread.run(Unknown Source) java.lang.Exception: Error while Getting the Latest Patches! at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:203)
my sugestion is try "forcing" running the tool with the above installed JVM, as sometimes just clicking over the jar file lets the operating system choose another/not supported JVM.
In the command prompt try:
<complete path to the above JVM bin folder>/java -jar <complete path to tool's folder>/NWJavaSupportTool.jar
Process of getting latest patches started! Getting the Latest Patches... Getting latest patch for SCA (001/067): AJAX-RUNTIME Some unknown server error occurred while processing the request.
[16:56:34.581] Getting latest patch for SCA (001/067): AJAX-RUNTIME [16:57:34.027] Some unknown server error occurred while processing the request. com.sap.tools.dc.SMPException_Exception: Some unknown server error occurred while processing the request. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
I get error after 1st component:Server returned 401. User authentication seemed to be failed.
I have reset my S user password exactly as per note 2791505 - Server returning 401 error in NW JAVA Support Tool.
But it didn't help. Now I get error after 4th component:
Process of getting latest patches started!
Getting the Latest Patches...
Getting latest patch for SCA (001/166): ADSSAP
Getting latest patch for SCA (002/166): AJAX-RUNTIME
Getting latest patch for SCA (003/166): BASETABLES
Getting latest patch for SCA (004/166): BI-BASE-B
Server returned 401. User authentication seemed to be failed.
Hello Victor/Marcos - I am getting below error when I run Java support tool from my windows desktop which has internet access and trying to connect NW Java stack PO system. Running with http and https proxy host and port info (this is the same info that I use with sap download manager tool which works fine) and with exceptions set to NW Java PO host name.
"Failed to access the WSDL at: https://host:50114/?wsdl. It failed with:
Server returned HTTP response code: 503 for URL: https://host:50114/?wsdl."
Had verified that the wsdl itself is working fine both via https and http as well. I am able to access below links from desktop browser just fine.
Is there a reason as why tool is failing to access wsdl?.
Went through all the blog posts and didn't find any solution that's applicable for me. Confirmed that this is not a password mismatch issue between sap one and sap market place. Desktop java version (see below) that I am running is the one that is compatible with the tool.
java version "1.8.0_351"
Java(TM) SE Runtime Environment (build 1.8.0_351-b10)
Java HotSpot(TM) Client VM (build 25.351-b10, mixed mode)
See below log for further details.
{15:17:29.212] SAP NW JAVA SUPPORT TOOL - 1.0.20190228144625
[15:17:29.216] Java Version: 1.8.0_351
[15:17:29.218] Java Home: C:\Program Files (x86)\Java\jre1.8.0_351
[15:17:29.221] Loading proxy settings...
[15:17:32.738] Close Information/Agreement Popup
[15:17:32.759] Login
[15:17:32.936] Loading System Connection Informations...
[15:17:37.749] Proxy Settings
[15:17:37.807] Loading proxy settings...
[15:17:46.555] Saving proxy settings...
[15:17:46.594] Information Popup: Proxy Settings Updated!
[15:17:48.086] Close Information/Agreement Popup
[15:17:49.764] Login
[15:17:49.856] Loading System Connection Informations...
[15:18:15.967] Execute Login
[15:18:15.975] Connecting...
[15:20:46.872] Unexpected error!
[15:20:46.961] Information Popup: Failed to access the WSDL at: https://host:50114/?wsdl. It failed with:
Server returned HTTP response code: 503 for URL: https://host:50114/?wsdl.
As per my understanding the hostname of your PO system is "host". Honestly, it is a strange hostname :-). Anyway, if you are able to reach the WSDL directly in your web browser using this hostname, it is ok.
Well, you are probably not able to reach the system from the tool because of some proxy setting that might be required in your network.
My suggestions:
Try using the full qualified host name of your PO system instead of just "host".
I would like to ask you to engage some person from your IT responsible for the network, in order to check if you need to configure proxy in the tool.
Firstly I've used that tool in the past and it was fine. I have a new use case where the dependency checker will come in handy - however I cannot start the tool.
I've tried with several recent JRE (OpenJDK, SAPJVM), but keep getting the following error:
C:\Users\<deleted>\Downloads>java -jar "C:\Users\<deleted>\SAP NW Java Support Tool\NWJavaSupportTool.jar"
Error: JavaFX runtime components are missing, and are required to run this application
I am receiving authorization error when running the "SC Patch Tool" in the "SAP NW Java Support Tool" to check dependencies for SAP Java Patches for our SAP Java system.
The error is "Server returned 401. User authentication seemed to be failed.".
In an attempt to fix this, I have followed steps in below S-note but this provided no resolution.
2791505 - Server returning 401 error in NW JAVA Support Tool
In case you are facing the symptom #1 as per SAP KBA #2791505, updating the password should be helpful. It might take some time to have the passwords updated, please ensure you are following the rules to define the password.
Process of collecting system information started! Getting Software Component Information... Loading information from the system... Parsing result... Process of collecting system information finished! Process of getting latest patches started! Getting the Latest Patches... Getting latest patch for SCA (001/100): ADSSAP Getting latest patch for SCA (002/100): AJAX-RUNTIME Getting latest patch for SCA (003/100): BASETABLES Server returned 401. User authentication seemed to be failed.
HI:
Through the retry button, the results obtained each time are different, and ultimately are
Server returned 401. User authentication seemed to be failed.
[10:57:08.421] Getting the Latest Patches...
[10:57:09.630] Getting latest patch for SCA (001/135): ADSSAP
[10:57:11.431] Getting latest patch for SCA (002/135): AJAX-RUNTIME
[10:57:12.457] Getting latest patch for SCA (003/135): BASETABLES
[10:57:13.484] Getting latest patch for SCA (004/135): BI-BASE-B
[10:57:14.476] Getting latest patch for SCA (005/135): BI-BASE-E
[10:57:15.498] Getting latest patch for SCA (006/135): BI-BASE-S
[10:57:16.540] Getting latest patch for SCA (007/135): BI-WDALV
[10:57:17.615] Getting latest patch for SCA (008/135): BI-WDEXT
[10:57:18.601] Getting latest patch for SCA (009/135): BI_UDI
[10:57:18.903] Server returned 401. User authentication seemed to be failed.
com.sap.tools.dc.InvalidUserCredentialException_Exception: Server returned 401. User authentication seemed to be failed.
[10:57:21.061] Getting the Latest Patches...
[10:57:22.211] Getting latest patch for SCA (001/135): ADSSAP
[10:57:23.087] Getting latest patch for SCA (002/135): AJAX-RUNTIME
[10:57:23.948] Getting latest patch for SCA (003/135): BASETABLES
[10:57:24.983] Getting latest patch for SCA (004/135): BI-BASE-B
[10:57:25.851] Getting latest patch for SCA (005/135): BI-BASE-E
[10:57:26.164] Server returned 401. User authentication seemed to be failed.
com.sap.tools.dc.InvalidUserCredentialException_Exception: Server returned 401. User authentication seemed to be failed.
We are facing issue while connecting to SAP NW java support tool .
03:16:03.161] SAP NW JAVA SUPPORT TOOL - 1.0.20190228144625
[03:16:03.162] Java Version: 1.8.0_231
[03:16:03.162] Java Home: C:\Java
[03:16:03.162] Loading proxy settings...
[03:16:06.286] Close Information/Agreement Popup
[03:16:06.291] Login
[03:16:06.360] Loading System Connection Informations...
[03:16:29.177] Validate Certificate Disabled!
[03:16:29.191] Information Popup: This tool communicates with the NW AS Java instance using a secure (encrypted) communication (HTTPS).
By disabling certificate validation, there is no guarantee that you are connecting to the server you intended to. Consequently, you run the risk of exposing your data, including your logon data, to a third party.
[03:16:31.022] Close Information/Agreement Popup
[03:16:31.864] Execute Login
[03:16:31.867] Connecting...
[03:16:32.649] Unexpected error!
[03:16:32.660] Information Popup: Client received SOAP Fault from server: Start Service runs with administrative privileges, OSExecute disabled Please see the server log to find more detail regarding exact cause of the failure.
java.lang.Exception: Client received SOAP Fault from server: Start Service runs with administrative privileges, OSExecute disabled Please see the server log to find more detail regarding exact cause of the failure.
at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:100)
at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:29)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Start Service runs with administrative privileges, OSExecute disabled Please see the server log to find more detail regarding exact cause of the failure.
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at com.sun.proxy.$Proxy29.osExecute(Unknown Source)
at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:76)
... 4 more
suggest how we can proceed -as other system are connecting and we are able to run the tool and extract the details.
It is not an issue with the SAP NW Java Support Tool itself, it is a problem with the system the NWJST is trying to connect to.
I would like to ask you to carefully check the SAP KBA below. The NWJST acts in the same way as SUM as per described in the KBA, it is a client that tries to connect to the system.
#2480903 - "FAIL: Start Service runs with administrative privileges, OSExecute disabled" Error during upgrade
while running i am getting below screen and when clicking to OK , it disappears,
C:\Program Files\Java\jdk-18.0.2.1\bin>java.exe --module-path G:\SE\javafx-sdk-2 0.0.1\lib --add-modules=javafx.controls,javafx.fxml,javafx.web -jar G:\SE\NWTOOL \NWJavaSupportTool.jar java.io.IOException: Access is denied at java.base/java.io.WinNTFileSystem.createFileExclusively(Native Method ) at java.base/java.io.File.createNewFile(File.java:1043) at sap.com.pst.fx.Main.initializeLogging(Main.java:132) at sap.com.pst.fx.Main.initializeTool(Main.java:110) at sap.com.pst.fx.Main.start(Main.java:106) at javafx.graphics@20.0.1/com.sun.javafx.application.LauncherImpl.lambda $launchApplication1$9(LauncherImpl.java:839) at javafx.graphics@20.0.1/com.sun.javafx.application.PlatformImpl.lambda $runAndWait$12(PlatformImpl.java:483) at javafx.graphics@20.0.1/com.sun.javafx.application.PlatformImpl.lambda $runLater$10(PlatformImpl.java:456) at java.base/java.security.AccessController.doPrivileged(AccessControlle r.java:399) at javafx.graphics@20.0.1/com.sun.javafx.application.PlatformImpl.lambda $runLater$11(PlatformImpl.java:455) at javafx.graphics@20.0.1/com.sun.glass.ui.InvokeLaterDispatcher$Future. run(InvokeLaterDispatcher.java:95) at javafx.graphics@20.0.1/com.sun.glass.ui.win.WinApplication._runLoop(N ative Method) at javafx.graphics@20.0.1/com.sun.glass.ui.win.WinApplication.lambda$run Loop$3(WinApplication.java:185) at java.base/java.lang.Thread.run(Thread.java:833) [10:25:06.144] Information Popup: This tool needs access to your PC file system in order to write the content (e.g. traces, logs, etc.) retrieved from the NW AS Java Instance.
Please ensure your OS user has the required rights to write in file system, and the folder the application is installed allows write operation.
I have reset my password according to the OSS note 2791505 and still i get 401 error.
Sometimes it calculates dependency for 1 patch and gives error & sometimes 7 patches and throws 401. How is this tool working? I am sorry to say that the tool is not reliable at all.
Also how much time is needed to sync passwords? I had my lunch and come back and its still the same.
[09:15:32.400] Parsing result...
[09:15:32.405] Getting the Latest Patches...
[09:15:32.996] Getting latest patch for SCA (001/136): AJAX-RUNTIME
[09:15:34.786] Getting latest patch for SCA (002/136): BASETABLES
[09:15:36.098] Getting latest patch for SCA (003/136): BI-BASE-B
[09:15:37.269] Getting latest patch for SCA (004/136): BI-BASE-E
[09:15:38.604] Getting latest patch for SCA (005/136): BI-BASE-S
[09:15:38.856] Server returned 401. User authentication seemed to be failed.
com.sap.tools.dc.InvalidUserCredentialException_Exception: Server returned 401. User authentication seemed to be failed.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at com.sun.proxy.$Proxy40.getLatestPatch(Unknown Source)
at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:191)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:43)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:37)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.concurrent.Service.lambda$null$6(Service.java:725)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.concurrent.Service.lambda$executeTask$7(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.Exception: Error while Getting the Latest Patches!
at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:203)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:43)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:37)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.concurrent.Service.lambda$null$6(Service.java:725)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.concurrent.Service.lambda$executeTask$7(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[09:15:43.278] Getting the Latest Patches...
[09:15:43.750] Getting latest patch for SCA (001/136): AJAX-RUNTIME
[09:15:44.965] Getting latest patch for SCA (002/136): BASETABLES
[09:15:46.488] Getting latest patch for SCA (003/136): BI-BASE-B
[09:15:47.738] Getting latest patch for SCA (004/136): BI-BASE-E
[09:15:49.004] Getting latest patch for SCA (005/136): BI-BASE-S
[09:15:50.151] Getting latest patch for SCA (006/136): BI-WDALV
[09:15:51.880] Getting latest patch for SCA (007/136): BI-WDEXT
[09:15:53.632] Getting latest patch for SCA (008/136): BI_UDI
[09:15:56.125] Getting latest patch for SCA (009/136): BPEM-ACC
[09:15:57.322] Getting latest patch for SCA (010/136): BPEM-BASE
[09:15:58.745] Getting latest patch for SCA (011/136): BPEM-BUILDT
[09:15:59.990] Getting latest patch for SCA (012/136): BPEM-COLLAB
[09:16:01.250] Getting latest patch for SCA (013/136): BPEM-CONTENT
[09:16:02.624] Getting latest patch for SCA (014/136): BPEM-CORE
[09:16:03.876] Getting latest patch for SCA (015/136): BPEM-CUUI
[09:16:04.054] Server returned 401. User authentication seemed to be failed.
com.sap.tools.dc.InvalidUserCredentialException_Exception: Server returned 401. User authentication seemed to be failed.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at com.sun.proxy.$Proxy40.getLatestPatch(Unknown Source)
at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:191)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:43)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:37)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.concurrent.Service.lambda$null$6(Service.java:725)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.concurrent.Service.lambda$executeTask$7(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.Exception: Error while Getting the Latest Patches!
at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:203)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:43)
at sap.com.pst.fx.services.GetLatestPatchesService$1.call(GetLatestPatchesService.java:37)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.concurrent.Service.lambda$null$6(Service.java:725)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.concurrent.Service.lambda$executeTask$7(Service.java:724)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)