Technology Blogs by SAP
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.
cancel
Showing results for 
Search instead for 
Did you mean: 


Introduction

 

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.



  • Downloading:


The tool can be downloaded from the SAP Software Download Center: Please find the download link in SCN WIKI

Use Case:

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’.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

96 Comments
0 Kudos
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.

 

Regards
0 Kudos
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.
maurice_o
Member
0 Kudos
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.
former_member350035
Discoverer
0 Kudos

Hello SAP Colleagues,

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)

 

Thanks,

Karthik

0 Kudos
Hi Karthik,

 

We are also facing the same issue

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."

do we have solution for the error
0 Kudos
Hi All,

 

Any response on this
0 Kudos
Hi Marcos,

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.
marcosfernand
Advisor
Advisor
0 Kudos
Hi Alex,

the error related to 401 unauthorized has two possible causes, in which is approached in the SAP KBA below:

2791505 - Server returning 401 error in NW JAVA Support Tool

Thanks and Regards,

Marcos.
0 Kudos
Hi Marcos,

Thanks for your information.

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)

 

Please advise further
hetgala1
Discoverer
0 Kudos
Hi Victor/SAP,

We are also getting the same error.

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?

Thanks

Het

 
marcosfernand
Advisor
Advisor
0 Kudos
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.

Thanks and Regards,

Marcos.
roy_wu1
Advisor
Advisor
0 Kudos
Hi Het,

Thank you for bringing the problem to our attention.

I just did some changes on the server-side.

Could you please help to validate now again?

Best regards,
Roy
hetgala1
Discoverer
Thanks Roy.

backend error has been resolved. we are able to determine SCA dependency now.

 

Thanks

Het
basis_citec
Explorer
0 Kudos
Hello, we have installed OpenJDK 11 & OpenJFX 17 and are getting the error below when trying to start the jar file - any help is appreciated!

 

java --module-path D:\Software\OpenjavaFX\openjfx-17_windows-x64_bin-sdk\javafx-sdk-17\lib --add-modules javafx.fxml,javafx.web -jar D:\NWJavaSupportTool.jar

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

C:\Windows\system32>
marcosfernand
Advisor
Advisor
0 Kudos
Hello,

I hope you are doing well.

You are facing a ClassNotFoundException for javax.xml.ws.Service. As far as I know this class is only shipped on Oracle Java.

Thanks and Regards,
Marcos.
former_member829497
Discoverer
0 Kudos
Dear User/SAP,

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?

Thanks and Best Regards,
Balint
marcosfernand
Advisor
Advisor
0 Kudos
Hi Balint,

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.

Thanks and Regards,

Marcos.
former_member829497
Discoverer
0 Kudos
Hi Marcos,

The current Java version I'm using is:

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)

Thanks and Best Regards,

Balint
andreewitch
Discoverer
0 Kudos
Hi Team,

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)

java version "1.8.0_351"

Would be great to have a working tool again.

Many thanks and best regards

Andreas
marcosfernand
Advisor
Advisor
0 Kudos
Hi Balint,

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

Thanks and Regards,
Marcos.
marcosfernand
Advisor
Advisor
0 Kudos
Hi Andreas,

thanks for the heads up.

We will check the server and let you know.

Thanks and Regards,
Marcos.
roy_wu1
Advisor
Advisor
0 Kudos
Hi Andreas,

Could you please try again? It seems that there was a network issue on the BTP side.

Best regards,
Roy
andreewitch
Discoverer
0 Kudos

Hi Roy,

unfortunately the same problem persists.

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)

 

Best regards

Andreas

 

former_member797199
Discoverer
0 Kudos
Hi,

I am facing issue with SC patch tools:

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.

 

Is there a way to fix this? Thanks
saxasda
Member
0 Kudos
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.

https://host:50014/?wsdl
http://host:50013/?wsdl

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.

java.lang.Exception: Failed to access the WSDL at: https://host:50114/?wsdl. It failed with:

Thanks for your help.

-Kumar Nadella

 

 
roy_wu1
Advisor
Advisor
0 Kudos
Hi Igor Grgic,

May I know your s-user id?

Best regards,
Roy
roy_wu1
Advisor
Advisor
0 Kudos
Hi Andreas,

Sorry for the late response. How about now?
If you are still failing, please provide us the s-user id of your user

Best regards,
Roy
roy_wu1
Advisor
Advisor
0 Kudos
Hi marcos.fernandes

Could you please help here?

Best regards,
Roy
andreewitch
Discoverer
0 Kudos
Hi Roy,

 

it worked 2 days latery.

But the dependency check also selected this time some components which aren't installed on this Java Systeme. So a manually delection was need.

Thanks for checking and fixing htis issue.

Best regards,

Andreas
marcosfernand
Advisor
Advisor
0 Kudos
Hi Kumar,

I hope you are doing well.

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.


Thanks and Regards,
Marcos.
0 Kudos

Hello,

SAP Support redirect me here.

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:

Thanks for your support,

Aidan

 

C:\Users\<deleted>\Downloads>java -version
openjdk version "17.0.4.1" 2022-08-12
OpenJDK Runtime Environment Temurin-17.0.4.1+1 (build 17.0.4.1+1)
OpenJDK Client VM Temurin-17.0.4.1+1 (build 17.0.4.1+1, mixed mode, emulated-client)

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

C:\Users\<deleted>\Downloads>
marcosfernand
Advisor
Advisor
0 Kudos
Hi Aidan,

I hope you are doing well.

I am afraid that OpenJDK does not have the required libraries. You probably need to use the Oracle version.

Thanks and Regards,
Marcos.
vratislav_1
Discoverer
0 Kudos
Please Support,

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

KR,
Vratislav
marcosfernand
Advisor
Advisor
0 Kudos
Hi Vratislav,

I hope you are doing well.

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.

Thanks and Regards,
Marcos.
vratislav_1
Discoverer
0 Kudos
Hi Marcos,

I did that already, but there is no improvement.

We also cross checked with an installation of NW JAVA Support Tool on a different PC and with a different S-user but have received the same result.

Running the check on a different SAP system has resulted in the same error message.

Thank you & KR,

Vratislav
roy_wu1
Advisor
Advisor
0 Kudos
Hi Vratislav,

Could you please try again?

Best regards,
Roy
vratislav_1
Discoverer
0 Kudos
Hi Roy,

sure, same result though

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.


 

KR,

Vratislav
yunjun_yu
Discoverer
0 Kudos
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.
former_member851492
Discoverer
0 Kudos
Hi All,

 

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.

 
marcosfernand
Advisor
Advisor
0 Kudos
Hi Imtiyaz,

I hope you are doing well.

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

I hope it helps.

Thanks and Regards,
Marcos.
former_member851492
Discoverer
0 Kudos
Hi Marcos ,

 

We are not upgrading anything now as we can see sapnote is related to upgrade and in execution of upgrade we can see the steps .

we are trying to connect system via SAP NW java tool for extraction of Messaging component dependencies .

Thanks .

 
former_member182505
Contributor
0 Kudos

Hi

 

I am running tool using command below on windows server 12.

java.exe --module-path G:\SE\javafx-sdk-20.0.1\lib --add-modules=javafx.controls,javafx.fxml,javafx.web -jar G:\SE\NWTOOL\NWJavaSupportTool.jar

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.

 

 

Please help me to fix it ,

 

Thanks

Sadiq

 

 

mdkh2004
Discoverer
0 Kudos

Hello Roy,

 

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.

SAP has to either retire this or fix these bugs.

 

Regards

 

mdkh2004
Discoverer
0 Kudos
Logs for the weird behavior.

[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)
stephen_glenton
Newcomer
0 Kudos

Hello, is it possible to make NWJavaSupportTool.jar work with a free and fully patched version of Java please?

The new patched versions of Oracle JRE 8 require license fee's.

We would be happy to use Open JDK or Oracle JDK 21.

Thanks for your time.

roy_wu1
Advisor
Advisor
0 Kudos

Hi @stephen_glenton 

Thanks for your comment. But we don't have plan to support later JDKs.
You may use the SAPJVM8 as a workaround.

Best regards,
Roy