Page tree
Skip to end of metadata
Go to start of metadata

 

The SAP NW Java Support Tool connects to a NW AS JAVA system and automatically collects the information required for you to troubleshoot an issue before uploading such data to SAP Product Support. It also provides guidance and assistance in the case of needing to apply a patch and analyzing all patch dependencies.

 

Download:
Click here to download the latest version (released on April 17th, 2019) directly from SAP Software Downloads.
(Alternatively, open One Support Launchpad Software Downloads, choose "Products", type "sap nw java support tool" as search term, and open the "Downloads" tab).

 

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 the collected information to SAP Product Support while enabling you to review such information before the upload.
  • Provides a list of the latest patches available for your configuration and calculates all dependent patches in case you need to apply a specific patch. It also provides the corresponding download links with an option to add patches to the download basket.
  • Works even if the the system is down or unresponsive.
  • Contains troubleshooting guides for different scenarios.

 

Environment:
  • The tool is a standalone java application (.jar file) and is supposed to be run on your desktop. It does not require installation or deployment and can be executed on any computer with a Java Runtime Environment installed on it.
  • If the JRE is the default application for .jar files in your OS, you can execute the program by just double-clicking on it. Otherwise, the following command can be used:
    > java -jar NwSupportTool.jar

Requirements:
  • Operation Systems:
    Any OS with a JRE 1.7 or higher installed.
  • 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 SAPControl Web Service Interface of the NW AS JAVA system to be analyzed is required. Port 5XX14 (XX = instance number) needs to be enabled for that as per SAP note #936273.
    (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. For releases prior to 7.10 the retrieval of the software component information does not work.

    If your release is 7.10 or higher and your support package level is below the ones mentioned in note #2181113, a workaround will be offered by the tool at the time the software component information is retrieved. The workaround consists of copying three files contained in the .jar file to the server on which your NW AS JAVA system is located. The three files are called GetCompInfo.jar, GetCompInfo.bat and GetCompInfo.sh. They are located in the folder 'sap/com/pst/resources/' of the jar file and shall be copied to folder 'usr/sap/<SID>/<INSTANCE_NUMBER>/j2ee/configtool/' on the server. It is important that these 3 files get the same permissions as the other files in that folder. In particular, the file GetCompInfo.bat (Windows) and GetCompInfo.sh (Unix / Linux) need to be executable. The 3 files will be obsolete once you are on one of the support package levels mentioned in note #2181113 and can be removed then.

Screenshots:

 

                                    


Feedback
Problems and suggestions for improvement along with any other feedback can be reported at the bottom of this page, using the 'Write a comment' function. You need to be logged on for it to appear.

 

 

 

 

 

 

 

 

 

 

 

  • No labels

95 Comments

  1. Hi 

     

    I'm getting next error:

     

    [13:14:38.709] Information Popup: Client received SOAP Fault from server: Permission denied Please see the server log to find more detail regarding exact cause of the failure.

    Tip: Please ensure you are using the <SID>adm user, or a user with the same permissions as <SID>adm.
    java.lang.Exception: Client received SOAP Fault from server: Permission denied Please see the server log to find more detail regarding exact cause of the failure.

    Tip: Please ensure you are using the <SID>adm user, or a user with the same permissions as <SID>adm.
    at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:92)
    at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:29)
    at javafx.concurrent.Task$TaskCallable.call(Unknown Source)
    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: Permission denied 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

     

     

    I'm trying with SIDADM and the credentials are the correct one,  I have test with other Java system with their SIDADM and it work without problems.

     

    please help us

     

    best regards

    1. Hi Ortiz,

      Thanks for using the NW Java support tool.

      The error looks like the SIDADM user does not have enough permission (to sapconrol) rather than wrong password.

      Could you check whether you are able to connect to sapconcrol of the Java instance that you are correctly loging on, with this user and execute commands?

      Best regards,
      Victor

    2. Hi Alfredo,

      For your case, we found out that the service "sapstartsrv" (SAP<SID>_<IID>) is currently running with administrative privileges, and as consequence it disables the OSExecute method, causing the "Permission denied" error in the NWJST.

      In order to avoid this error, it is required to ensure that the "sapstartsrv" (SAP<SID>_<IID>) is being started/running with the SAPService<DIP> user.

      Thanks and Best Regards,
      Marcos Fernandes.

  2. Thanks Victor Chang

     

    I performed some tests to connect to sapcontrol and I could't execute some sapcontrol commands it triggered message:  http unahutorized,  so I look for a solution and I have changed the parameter service/protectedwebmethods = DEFAULT,   now I can execute sapcontrol commands but    SAP NW Java Support Tool  is still failing with the same error.

     

    best regards

    Alfredo

    1. Hi Alfredo,

      *just to update this specific thread.

      As per already described in your first thread, for your case, we found out that the service "sapstartsrv" (SAP<SID>_<IID>) is currently running with administrative privileges, and as consequence it disables the OSExecute method, causing the "Permission denied" error in the NWJST.

      In order to avoid this error, it is required to ensure that the "sapstartsrv" (SAP<SID>_<IID>) is being started/running with the SAPService<DIP> user.

      Thanks and Best Regards,
      Marcos Fernandes.

  3. Dear Victor,

    after copying the files GetCompInfo.jar, GetCompInfo.bat and GetCompInfo.sh. from the folder 'sap/com/pst/resources/'  to folder 'usr/sap/<SID>/<INSTANCE_NUMBER>/j2ee/configtool/' I am still receiving the error> Any idea how to resolve it? It says, "it was not possible to complete the tasks. Retry?" I have tried with both 755 and 777 permissions to these files, but still I am geeting the error.

     

    Regards,

    Kabeer Ahmed

    1. Hi Kabeer,

      could you please let us know the version you are using there? It is located below the SAP logo in the main screen.

      Thanks and Best Regards,

      Marcos Fernandes.

      1. Dear Marcos,

        Below is the version I am using.

        1.0.20161128132113.

        Regards,

        Kabeer Ahmed

        1. Hi Ahmed,
          thanks for registering the issue. I would like to inform you that the fix for the problem you were facing will be formally available in the next version.
          Thanks for your cooperation.
          Best Regards,
          Marcos Fernandes.

  4. Former Member

    Hi Colleagues,

    We tried several attempts to be able to run this tool, but with no success.

    Port 50014 is opened, I've tried it for different systems (all the pure Java As 7.31-7.4), even tried to run this tool directly from the application server - no success.

    Both with OS admin user and SIDadm.

    Client received SOAP Fault from server: Permission denied Please see the server log to find more detail regarding exact cause of the failure.

    Tip: Please ensure you are using the <SID>adm user, or a user with the same permissions as <SID>adm.
    Can anybody contact me via e-mail/Skype (internally) to try to debug it together?

    1. Hi Maksim,

      If you are on lower version of NW 7.4, then you have to copy the files GetCompInfo.jar, GetCompInfo.bat and GetCompInfo.sh. whichh are located in the folder 'sap/com/pst/resources/' to 'usr/sap/<SID>/<INSTANCE_NUMBER>/j2ee/configtool/' The permissions of the files at os level should have the same permissions as its parent directory (of configtool)

       

      Regards,

      Kabeer Ahmed

      1. Former Member

        Hi Kabeer,

        Unfortunately it didn't help. Tried both with Windows (NW 7.31 ) and Linux (NW 7.4) - no progress.

        Web access (via 50014 port) works without issues. Therefore I assume that port should be accessible

        To whom I need to contact to have a debug session?

         

        Regards, Maks

        1. Hi Maksin,

          One of our customers (Ortiz Saenz Alfredo) complained about the very exactly error you are facing.

          I would like to suggest you to execute the following checks:

          1) Please check if the service "sapstartsrv" (SAP<SID>_<INST_NUM>) is being started (running) with the user SAPService<SID>.

          2) If so, please ensure that this user does not belongs to any administrators group.

          You will find additional information in the following SAP Note:
          #1116057 - Remove SAPService admin privileges on Windows

          Please let me know your advances.
          Marcos Fernandes.

  5. Hi Marcos, I am unable to launch the tool, with the error failed to access wsdl at https://host:50014/?wsdl. Return code is 503. The HTTPS is configured at the server level as I can access https://host:50001/ page without any issue, but I can't access https://host:50014/?wsdl. Could you please guide how to fix this?

    1. Hi Shekhar,

      Actually, the HTTPS port 50001 is not used by the tool. The tool needs access to HTTPS port 50014, which belongs to SAPControl Web Service.

      I would like to ask you to ensure the access to the SAPControl web service interface as per described in the requirement (described in this wiki):

      "...
      Access to the SAPControl Web Service Interface of the NW AS JAVA system to be analyzed is required. Port 5XX14 (XX = instance number) needs to be enabled for that as per SAP note #936273.

      (If you use a proxy you might have to define an exception in the proxy settings.)
      ..."

      Thanks and Best Regards,
      Marcos Fernandes.

  6. I am getting the following error when trying to use the SC Patch Tools:

    10:43:53.479] Parsing result... [10:43:53.488] Getting the Latest Patches... javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://wsa583547cd.hana.ondemand.com/ws/dc?wsdl. It failed with:  Got Server returned HTTP response code: 403 for URL: https://wsa583547cd.hana.ondemand.com/ws/dc?wsdl while opening stream from https://wsa583547cd.hana.ondemand.com/ws/dc?wsdl.

    I verified My S user and password.  My S user has full auths.

     

     

     

    1. Hi Amy,

      I have checked the services for "SC Patch Tools", and they are working fine. The error you are facing could be caused by either S user limitation, or some proxy/firewall restriction. I am still checking this, and as soon as we have some finding I will update this thread.

      Thanks and Best Regards,
      Marcos Fernandes. 

  7. Former Member

    Hi Marcos,

    I am facing the same problem with the services for the "SC Patch Tools". In my case the limitation does not reside on the S-user, at least, but on the user credentials for the proxy.

    Best regards and thanks in advance,

    Adolfo

  8. Hi Adolfo,

    I regret to inform you that currently the tool does not provide an option to enter proxy user credentials. As workaround, you can either:

    1) In case you have an additional proxy in your network that does not needs credentials, try using it. Or:

    2) I am not 100% sure it will work, but try the following:

    -> Run the NWJST using the following command:

    java -Dhttp.proxyUser=<USER> -Dhttp.proxyPassword=<PASSWORD> -Dhttps.proxyUser=<USER> -Dhttps.proxyPassword=<PASSWORD> -cp NWJavaSupportTool.jar sap.com.pst.fx.Main

    *Adjust the command with the required <USER> and <PASSWORD> for both Dhttp and Dhttps. It is expected that the above command could setup the user credentials.

    -> Ensure the proxy settings for host and port, for HTTP and HTTPS, are configured in "Proxy Settings" option in the tool.

    Thanks and Best Regards,
    Marcos Fernandes.

    1. Former Member

      Hi Marcos,

      thanks very much for the trick (smile) First I started the NWJST supplying the proxy credentials via command line as you mentioned:

      C:\ProgramData\Oracle\Java\javapath\java.exe -Dhttp.proxyUser="<USER>" -Dhttp.proxyPassword="<PASSWORD>" -Dhttps.proxyUser="<USER>" -Dhttps.proxyPassword="<PASSWORD>" -verbose -cp U:\zProgramme\SAPNWASJavaSupportTool\NWJavaSupportTool.jar sap.com.pst.fx.Main

      Then I gave in the system parameters of a given java system (hostname, instance number, etc.) but with no other inplace proxy settings via tool. So I could connect and log into the system directly.

      Only then I adjusted the proxy host, port and exceptions inplace and started the SC Patch Tool providing the corresponding OSS credential and, voila, the tool could retrieve all the dependencies via web service, "https://wsa583547cd.hana.ondemand.com/ws/dc?wsdl" (smile)

      Thanks very much!!

      (smile)

  9. hi,

    I need to do some Java patching and problem is how to clear out dependencies between component I'm about to upgrade and rest of the system. This tool was advised to be used for this purpose by SAP Support.

    However, running the dependency tool hangs because lack of access to SAP backend. Our enviroment does not have access to INternet. Is it possible to just run the tool off-line and get information about system and then use this information in other system having INternet access to clear out dependencies?

    It not, what is your suggestion to patch one Java component?

     

    regards, Ari

    1. Hi Ari,

      The tool needs to be run from a computer that has access to the internet and the Netweaver AS Java server, not necessarily the server itself though. Most people run it from the PC they work on. It needs access to the internet in order to retrieve the information about the latest patches and their dependencies from the SAP support portal, and it needs access to the server in order to retrieve the software component information which is required to find out which patches are already applied.

      Best Regards
      Bernd Harder  

  10. hi,

    Based on your reply, the  tool works as I have understood. There is no off-line mode that would first allow  gathering of environment from SAP Java server and after that, move results to open environment where needed patches could be calculated / retrieved from SAP marketplace. 

    Unfortunately environment is such that tool cannot be used in online mode. No such workstation that would have access to internet AND SAP server port 50013/14 at the same time.

    I have looked another ways to analyse dependencies between SAP JAva components. So far I know only "SCA Dependecy Analysis" on download page. This however does not show whole dependency chain on one list but needs manual work. Is there any tool that would show whole dependency tree for certain SCA-archive?

    regards, Ari

  11. Former Member

    Well - i dont think the tool is working. i entered the correct password for the sidadm and was trying for the "SC Patch Tools" - but if fails with the "batchconfig" message and note 2181133. I did copied the files as well to the OS level as a workaround. The permissions are correct as well.  But it just dont work at all. 

    egtadm> ll Get* configtool.sh
    -rwxr-xr-x 1 egtadm sapsys 150 Jul 19 11:25 GetCompInfo.bat
    -rwxr-xr-x 1 egtadm sapsys 8222 Jul 19 11:25 GetCompInfo.jar
    -rwxr-xr-x 1 egtadm sapsys 151 Jul 19 11:25 GetCompInfo.sh
    -rwxr-xr-x 1 egtadm sapsys 222 May 28 2015 configtool.sh

     

    thnx and regards,

    Ajay

    1. Hi Ajay,

      I sent an email to you requesting some information. Please let me know you received it.

      Thanks and Best Regards,
      Marcos Fernandes.

  12. Hi

    During the dependency check the tool reports

    Getting the Latest Patches finished!
    Process of getting latest patches finished!

    All Tasks successfully completed!Press continue.

    But nothing happens when I press continue and the pst.log shows:

    [14:39:09.826] Latest Patches
    com.sun.javafx.fxml.PropertyNotFoundException: Property "style" does not exist or is read-only.
    at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(Unknown Source)
    at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(Unknown Source)
    at javafx.fxml.FXMLLoader$ValueElement.processEndElement(Unknown Source)
    at javafx.fxml.FXMLLoader.processEndElement(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at javafx.fxml.FXMLLoader.load(Unknown Source)
    at sap.com.pst.fx.Main.processLatestPatchOperation(Main.java:272)
    at sap.com.pst.fx.Main.executeNextScreen(Main.java:614)
    at sap.com.pst.fx.OperationStatusController.handleContinueAction(OperationStatusController.java:75)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    at javafx.event.Event.fireEvent(Unknown Source)
    at javafx.scene.Node.fireEvent(Unknown Source)
    at javafx.scene.control.Button.fire(Unknown Source)
    at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
    at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
    at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    at javafx.event.Event.fireEvent(Unknown Source)
    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
    at javafx.scene.Scene$MouseHandler.process(Unknown Source)
    at javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
    at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
    at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
    at com.sun.glass.ui.View.notifyMouse(Unknown Source)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

     

    KR

    Walter


     

    1. Hi Walter,

      I would like to have a look in the entire PST.log. To do so, please upload it to the following SAP Mobile Documents Link:

      https://mdocs.sap.com/mcm/public/v1/open?shr=9NnPKKZ0elK8o0SmxRxcOo0eRdcLpr7pFjlggnpkLfY

      *The uploaded files will be visible only for me.

      Thanks and Best Regards,
      Marcos.

  13. Hi Marcos
    Did you find anything in my PST.log?

    Thank you

    Walter

    1. Hi Walter,

      As we do not have a service in the SAP Mobile Documents that informs us about uploaded content, I just figured out that the trace was already available after your latest reply.
      Anyway, I downloaded the trace, and I am executing an analysis. As soon as I have some finding I will let you know.

      Thanks and Best Regards,
      Marcos.

    2. Hi Walter,

      I have checked the traces, and there is no additional evidence besides the "com.sun.javafx.fxml.PropertyNotFoundException: Property "style" does not exist or is read-only".
      I am wondering about this error because the property "style" is there, and if there is some problem about read access, you should not be able to run the tool. Besides of that, there are others JFX elements that use the very exactly property, and the error does not occur.
      Anyway, I would like to suggest you to try using a 64bit 1.8 JVM instead of 32bit 1.7. Please also ensure the jar file is located in a folder with full access.

      Thanks and best Regards,
      Marcos Fernandes.

  14. Former Member

    Does this tool work for newly upgraded solution manager 7.2 Java stack? I tried to use it for the Java stack in solution manager 7.2 which is on NW 7.4 SP13 and the tool behaves kind of weird.

    According to the note #2181113 this should be supported but not sure why it won't work.

     

     

    ....................................................................

    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 collecting system information started!
    Getting Software Component Information...
    Loading information from the system...
    Parsing result...
    Process of collecting system information finished!

     

    ..........................................................................

    All is get after this is a retry option.

     

    This is the log I saw in the tool while trying to use it for patching software components.

    Please see if you can help with this.

    1. Hi Robin,

      could you please upload to the SAP Mobile Documents below the following information:

      • A screenshot of the unexpected behavior, 
      • The PST.log located in same folder you have the application.

      https://mdocs.sap.com/mcm/public/v1/open?shr=9NnPKKZ0elK8o0SmxRxcOo0eRdcLpr7pFjlggnpkLfY

      Thanks and Best Regards,

      Marcos Fernandes
      SAP NWJST Development Team

    2. Former Member

      Hi Guys,

       

      Just an update. The issue I faced was due to the config tool not able to connect to the DB. Someone had changed the password for the DB user which prevented the tool to login to DB. I updated the password in the config tool and all worked smoothly.

       

      So in-short the tool works fine for solman 7.2 as well.

      Thanks Marcos for you help (smile)

      Learning : If you face the error that I got then its probably a DB connection error.

       

      Regards
      Robin Singh

      1. Hi Robin, thanks for your feedback!

        Marcos Fernandes
        SAP NWJST Development Team

  15. For AMy and any other that had the issue with "failed to access WSDL https://..." Make sure tou also put a proxy setting for HTTPS, don't leave it empty

    1. Thanks for sharing your experience!

      Marcos Fernandes
      SAP NWJST Development Team

  16. Hi 

    Thank you for the explanation.

    According to the SAP Note : 1974464, 

    • If a dependent Software Component Version is not installed in your system, you can ignore the corresponding download object

    But when we are using the Netweaver Support Tool, it is showing even the components which are not installed in the system as dependencies, Which are not required.

    This will be confusing for any new learners and might install the components which in turn they don't need in their system like NWDS or SAP XI components.

    As the Tool is already logged in to our system, why cannot it verify if the component is installed in our system or not

    1. Hi Pavan,

      Thanks for this important feedback. We are checking a way to adjust the tool to list only the SCAs relevant to the system it is connected.

      Marcos Fernandes
      SAP NWJST Development Team

    2. Hi Pavan,

      we would like to inform you that we adjusted the dependency check web service, and as from now on, the tool will list only dependency software components deployed in the system.

      *IMPORTANT: As the adjustment was over a web service, it is not required to update the tool.

      Once again thanks for your feedback.

      Best Regards,

      Marcos Fernandes
      SAP NWJST Development Team

  17. Former Member

    Hi All,

    I am also getting message 'Start Service runs with administrative privileges, OSExecute disabled" when I run NW Java support tool.

    I already checked OSS 2480903 - "FAIL: Start Service runs with administrative privileges, OSExecute disabled" Error during upgrade and  OSS 1116057 - Remove SAPService admin privileges on Windows 

    But I am working in Highly secured environment and process driver environment. so getting sapservice<SID> user out of admin access is bit lengthy/difficult.

    Is there any other way for this issue?

    Thanks & Best regards

    Manoj

    1. Hi Manoj,

      in order to avoid this behavior, there is only one approach: It is required to ensure the user SAPService<DIP> is being used to start the service SAP<SID>_<IID>. It is also required to remove any administrator role of user SAPService<DIP>. After any change, the SAPService<DIP> must be restarted.

      Thanks and best Regards,
      Marcos Fernandes
      SAP NWJST Development Team

  18. Former Member

    Hi,

    I get the below error "Client received SOAP Fault from server: Permission denied Please see the server log to find more detail regarding exact cause of the failure"  though i have verified all the steps mentioned in the thread . 

    Any help would be appreciated . 

     

    Thanks

    Ramesh

    1. Hi Team,

      could you please upload to the SAP Mobile Documents below the PST.log located in same folder you have the NWJST? Please update this thread as soon as you have it uploaded.

      https://mdocs.sap.com/mcm/public/v1/open?shr=9NnPKKZ0elK8o0SmxRxcOo0eRdcLpr7pFjlggnpkLfY

      Thanks and Best Regards,

      Marcos Fernandes
      SAP NWJST Development Team

  19.  

    Hi 

    I am able calculate the dependency but while adding .SCA files into Download Basket Failed with error.  connection timeout.

     Unable to attach screen shot here.

     

     

    thanks

    Syed

     

    1. Hi Syed,

      I saw your screenshot in the other post... The service that you are timing out on is up and running. Are you sure that you set up the right proxy settings?
      Please check the requirements section in the wiki above...

      Best Regards
      Bernd Harder

  20. Former Member

    Hello team,

    I'm facing error while executing the Java Support Tool as below:

    -------------------------------------------------

    [10:52:55.917] Getting the Latest Patches... com.sun.xml.internal.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,63] Message: White spaces are required between publicId and systemId.  

    at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.wrapException(Unknown Source)  

    at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.next(Unknown Source)  

    at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextContent(Unknown Source)  

    at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextElementContent(Unknown Source)  

    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.hasWSDLDefinitions(Unknown Source)  

    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)  

    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)  

    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)  

    at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)  

    at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)

    at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)  

    at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)  

    at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)  

    at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)

    at javax.xml.ws.Service.<init>(Unknown Source)  at com.sap.tools.dc.DCService.<init>(DCService.java:46)  

    at sap.com.pst.core.DependencyChecker.getLatestPatch(DependencyChecker.java:181)

    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)

    Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,63] Message: White spaces are required between publicId and systemId.  

    at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown Source)  

    at com.sun.xml.internal.ws.util.xml.XMLStreamReaderFilter.next(Unknown Source)  

    ... 26 more

    -------------------------------------------------

     

    Can someone please guide me how to overcome with this issue "White space required...." ?

     

    Regards,

    1. Hi Ravindra,

      the NWJST is trying to call the web service responsible to check the latest patches available for the software components installed in the system.

      The NWJST might be receiving an unexpected answer, which seems to be not from web service, maybe it could be from a proxy or firewall in front the NWJST.

      Could you please check you have a proxy or firewall in your network that could be blocking the web service call?

      Marcos Fernandes
      SAP NWJST Development Team

  21. Former Member

    Guys ,

    Please make sure the parameter value is set a Default  service/protectedwebmethods = DEFAULT in Default profile .. 

    This helped me get rid of the SOAP ERROR . 

     

    Thanks

    Ramesh

    1. Hi Ramesh, thanks for sharing your experience.

      Marcos Fernandes
      SAP NWJST Development Team

  22. Former Member

    Hello Marcos,

    between my local host and SAP NW system there is no proxy or firewall.

    This error is during step, Login NWJST > SC Patch Tools > (asked for S-User ID) > Login and then error screen as i mentioned in link below:

    https://ibb.co/kUhsgR

    Can you please guide?

     

    Regards,

     

    1. Hi Ravindra,

      the web service I mentioned in my latest reply actually is located in the internet. It means that the NWJST requires access to the internet in order to call this web service.

      In such situation, usually a proxy and/or firewall could be between the NWJST and internet. In would like to suggest to engage your network tem in order to check it.

      Marcos Fernandes
      SAP NWJST Development Team

  23. Hello,

     

    has anybody gotten the tool to work with newer versions of JAVA and OpenJFX? 


    $ java -version
    openjdk version "11.0.5" 2019-10-16 LTS
    OpenJDK Runtime Environment (build 11.0.5+10-LTS-sapmachine)
    OpenJDK 64-Bit Server VM (build 11.0.5+10-LTS-sapmachine, mixed mode)

    $ java -jar NWJavaSupportTool.jar
    Error: JavaFX runtime components are missing, and are required to run this application

    $ java --module-path ../javafx-sdk-11.0.2/lib --add-modules javafx.controls -jar NWJavaSupportTool.jar
    Exception in Application start method
    java.lang.reflect.InvocationTargetException
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
     at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
     at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
    Caused by: java.lang.RuntimeException: Exception in Application start method
     at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
     at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
     at java.base/java.lang.Thread.run(Thread.java:834)
    Caused by: java.lang.NoClassDefFoundError: javafx/fxml/FXMLLoader
     at sap.com.pst.fx.Main.showSplash(Main.java:189)
     at sap.com.pst.fx.Main.initializeTool(Main.java:115)
     at sap.com.pst.fx.Main.start(Main.java:106)
     at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
     at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
     at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
     at java.base/java.security.AccessController.doPrivileged(Native Method)
     at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
     at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
     at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
     at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
     ... 1 more
    Caused by: java.lang.ClassNotFoundException: javafx.fxml.FXMLLoader
     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:521)
     ... 12 more
    Exception running application sap.com.pst.fx.Main
    $

     

     

    Regards

    Willem Brown

  24. I would like to use the NW JAVA Support tool for collecting depending java packages for a patch upgrade (see note 2352717  for this tool).

    During this process a connection is made with the SAP Support portal and the service user credentials have to be inserted. When I use my s-number for this I always get following error:

    Server returned 401. User authentication seemed to be failed.

    I'm sure I'm using the correct password because it works on the SAP Support portal. In the past I have tried to reset my s-user password but this didn't bring any solution. For my collegue the connection is still working

    What do I have to do to use this tool again?

    1. Hi Johan,

      the NWJST uses the S-User credentials to call services from SAP Market Place (Legacy) and SAP ONE Support Launchpad. These services are required to get information about latest software component patches and dependencies of each other.

      You are facing this issue because your S-User has different passwords for SAP Market Place and SAP ONE Support Launchpad.

      In order to avoid it, the password for the S-User must be the same for SAP Market Place and SAP ONE Support Launchpad. The password must meet the following guide lines:

      - Must be EXACTLY 8 characters long
      - Include at least one letter A-Z (Password must not contain lower-case letters)
      - Include 1 number (0-9)
      - Include at least 1 special character from the following:
      ! \ " @ $ % & / ( { [ ] } ) + - * = ? ' ~ # _ . , ; : < >
      - Must not start with ? or !
      - Must not contain any blanks
      - Must not begin with 3 identical characters
      - Must be different from the last 5 passwords
      - Only one password change allowed per day

      In order to reset the password on SAP Market Place (Legacy), access the following URL:
      https://launchpad.support.sap.com/#/umsetpassword

      In order to reset the password on SAP ONE Support Launchpad, access the following URL:
      https://accounts.sap.com/ui/createForgottenPasswordMail?spId=55365985e4b07dc3abdfc16c&targetUrl=&sourceUrl

      Thanks and regards,
      Marcos

      1. I am getting same error while tool calculating patch using this tool.

        SAP Market Place and SAP ONE Support Launchpad password is same and meet the following guide lines too:

        - Must be EXACTLY 8 characters long
        - Include at least one letter A-Z (Password must not contain lower-case letters)
        - Include 1 number (0-9)
        - Include at least 1 special character from the following:
        ! \ " @ $ % & / ( { [ ] } ) + - * = ? ' ~ # _ . , ; : < >
        - Must not start with ? or !
        - Must not contain any blanks
        - Must not begin with 3 identical characters
        - Must be different from the last 5 passwords
        - Only one password change allowed per day

        In order to reset the password on SAP Market Place (Legacy), acce



        Process of getting latest patches started!
        Getting the Latest Patches...
        Getting latest patch for SCA (001/091): AJAX-RUNTIME
        Getting latest patch for SCA (002/091): BASETABLES
        Server returned 401. User authentication seemed to be failed.

  25. Hi Marcos,

    Thanks for your help! I could solve the problem by resetting the SAP Market Place password. The problem is also described in note 2791505, but the link for resetting the password is wrong in this note. SAP should update this note.

    Thanks a lot,

    Johan

    1. Hi Johan,

      thanks for the update. I am glad to know you are able to use the Tool. Enjoy.

      BTW, thanks for your feedback about 2791505, just updated it.

      Thanks and regards,
      Marcos.

  26. Hello,

    I'd like to know which site (FQDN hostname) will be accessed by the support tool?

    Our company tightly restricted http/https access, and no option for proxy. So I need a specific hostname if possible.

    Thanks and best regards,

    Tetsuya


    1. Hi Tetsuya,

      sure, here you go:

      wsa583547cd.hana.ondemand.com

      Thanks and regards,
      Marcos.

      1. Hello Marcos,

        Thank you very much for your reply!

        Best regards,

        Tetsuya


  27. I am getting same error while calculating patch using this tool.

    SAP Market Place and SAP ONE Support Launchpad password is same and meet the following guide lines too:

    - Must be EXACTLY 8 characters long
    - Include at least one letter A-Z (Password must not contain lower-case letters)
    - Include 1 number (0-9)
    - Include at least 1 special character from the following:
    ! \ " @ $ % & / ( { [ ] } ) + - * = ? ' ~ # _ . , ; : < >
    - Must not start with ? or !
    - Must not contain any blanks
    - Must not begin with 3 identical characters
    - Must be different from the last 5 passwords
    - Only one password change allowed per day


    Even tried resetting password described in note 2791505 but same error.


    Process of getting latest patches started!
    Getting the Latest Patches...
    Getting latest patch for SCA (001/091): AJAX-RUNTIME
    Getting latest patch for SCA (002/091): BASETABLES
    Server returned 401. User authentication seemed to be failed.

    1. Hi Sunil,

      we are currently checking this.

      Could you please reproduce the issue, and share the following information?

      1) The time and date you reproduced

      2) The last four characters of the S-User name/id being used to login to the tool? E.g. SXXXXXX1234

      We will use this information to check the reason the service failed for your user.

      Thanks and Regards,
      Marcos.

    2. Hi Sunil,

      thanks for using the NWJST.

      You are facing the same problem as Eugenio and other users. The 401 error is occurring after a successful patch check for the firstly SCAs. I will paste the template I am using to describe this issue below:

      "In such situation, the problem is caused by a known issue in which we are already working on, but we don't have a precise date when the fix will be available.

      As for now, please calculate the patch dependencies manually. You will find more details in the following SAP KBA 2791505."

      Thanks and Regards,
      Marcos.

  28. Hi Marcos,

    Per this above comment in the beginning of this blog "The 3 files will be obsolete once you are on one of the support package levels mentioned in note #2181113 and can be removed then." We are on a higher support pack (NW 7.50 SP16) so we removed those GetCompInfo* files from configtool folder but the tool is complaining it needs those files and failing either way with the same message (Information Popup: It was not possible to retrieve the component information from the system! Maybe the system does not have the "batchconfig" implemented as per SAP Note #2181113.).

    Our tool version: SAP NW JAVA SUPPORT TOOL - 1.0.20190228144625

    Please let me know if you have any further ideas on how to run this tool on NW7.5 JAVA system. Appreciate your feedback!

    Thanks

    Ravindra

    1. Hi Ravindra,

      as the system is currently in a higher support package (NW 7.50 SP16), we confirmed that the tool is able to work without the "3 files" described in the beginning of this blog.

      The problem here is that the system contains some software components installed, that do not follow the standard SAP versioning, in which is expected by the tool.

      After adjusting the tool to deal with such cases, we were able to overcome the situation.

      The new version of NWJST containing this fix will be available sooner.

      Thanks and Regards,
      Marcos.

  29. Hi Marcos, I think I might have the same problem as described above from Ravindra since I'm also on the latest SP for NW 7.5, but I can also so the following information in the PST.log file:

    [20:54:06.702] Getting Software Component Information...

    [20:54:06.857] Loading information from the system...
    [20:54:06.860] osExecute: /usr/sap/ZZZ/J10/j2ee/configtool/batchconfig.csh -task get.versions.of.deployed.units
    [20:54:18.038] Parsing result...
    java.lang.ArrayIndexOutOfBoundsException: 1
    at sap.com.pst.core.BatchConfigCaller.parseResponseLine(BatchConfigCaller.java:127)
    at sap.com.pst.core.BatchConfigCaller.getSoftwareComponentInfo(BatchConfigCaller.java:84)
    at sap.com.pst.core.ComponentInfoLoader.getSoftwareComponentInfo(ComponentInfoLoader.java:66)
    at sap.com.pst.fx.services.GetComponentInfoAndSaveService$1.call(GetComponentInfoAndSaveService.java:55)
    at sap.com.pst.fx.services.GetComponentInfoAndSaveService$1.call(GetComponentInfoAndSaveService.java:40)
    at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at javafx.concurrent.Service.lambda$null$493(Service.java:725)
    at java.security.AccessController.doPrivileged(Native Method)
    at javafx.concurrent.Service.lambda$executeTask$494(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)
    [20:54:18.299] Loading information from the system...
    [20:54:18.301] osExecute: /usr/sap/ZZZ/J10/j2ee/configtool/GetCompInfo.sh /usr/sap/ZZZ/J10/exe/sapjvm_8
    java.lang.Exception: Error while Getting Software Component Information! ExitCode: 1
    at sap.com.pst.fx.services.GetComponentInfoAndSaveService$1.call(GetComponentInfoAndSaveService.java:74)
    at sap.com.pst.fx.services.GetComponentInfoAndSaveService$1.call(GetComponentInfoAndSaveService.java:40)
    at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at javafx.concurrent.Service.lambda$null$493(Service.java:725)
    at java.security.AccessController.doPrivileged(Native Method)
    at javafx.concurrent.Service.lambda$executeTask$494(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)
    [20:54:20.001] Information Popup: It was not possible to retrieve the component information from the system! Maybe the system does not have the "batchconfig" implemented as per SAP Note #2181113. As workaround, please:

    1. Unpack the tool executable (NwSupportTool.jar) using some file archiver tool (zip/rar).

    2. Open the folder "/sap/com/pst/resources/", and locate the following files:
    - GetCompInfo.bat
    - GetCompInfo.sh
    - GetCompInfo.jar

    3. Copy/Update the above files to Config Tool folder in the system: "usr/sap/<SID>/<INSTANCE_NUMBER>/j2ee/configtool/".

    4. Then press Retry.


    Can you confirm that this is part of the same problem which will be adressed in an upcoming patch to NWJST?


    Best Regards

    Tomas

    1. Hi Tomas,

      I hope you are doing well.

      Based on the exception stack you shared, I confirm that you are facing the very exactly problem as Ravindra.

      The new version of NWJST containing this fix will be available sooner. But as for now, at least for this system, I would like to suggest you to use the manual dependency check.

      Thanks and Regards,
      Marcos.

  30. Hi Team,

    Can you please help to fix the below error which we are receiving while trying to connect to java system host

    1. All prerequisites are met
    2. Not using certificate or proxy options.

    PST log :

    [13:16:49.583] Execute Login
    [13:16:49.599] Connecting...
    [13:16:50.742] Information Popup: com/sun/istack/internal/logging/Logger
    java.lang.NoClassDefFoundError: com/sun/istack/internal/logging/Logger
    at com.sun.xml.internal.ws.policy.jaxws.PolicyWSDLParserExtension.<clinit>(Unknown Source)
    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.<init>(Unknown Source)
    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
    at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
    at javax.xml.ws.Service.<init>(Unknown Source)
    at sap.com.pst.sapcontrolws.SAPControl.<init>(SAPControl.java:52)
    at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:68)
    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)


    Regards,

    Hari

    1. Hi Hari,

      this is Marcos, I hope you are doing well.

      This is the first time I see this error in the tool. Maybe it is related to JVM incompatibility. Could you please share the first 3 lines from the PST.log?

      Thanks and Regards,
      Marcos.

      1. Hi Marcos,

        Thanks for attending this issue . I'm doing well and hope you are doing well.

        Please see first three lines of PST file,.

        [18:15:46.757] SAP NW JAVA SUPPORT TOOL - 1.0.20190228144625
        [18:15:46.760] Java Version: 1.8.0_251
        [18:15:46.762] Java Home: C:\Program Files\Java\jre1.8.0_251


        Regards,

        Hari

  31. Hello - I get below issue with NW Java Support tool, PST.log file error

    javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://wsa583547cd.hana.ondemand.com/ws/dc?wsdl. It failed with:
    wsa583547cd.hana.ondemand.com.

    at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)

    Caused by: java.net.UnknownHostException: wsa583547cd.hana.ondemand.com

    I tried to set my proxy with below command

    C:\ProgramData\Oracle\Java\javapath\java.exe -Dhttp.proxyUser="USER" -Dhttp.proxyPassword="pass" -verbose -cp C:\Users\user\Downloads\NWJavaSupportTool.jar sap.com.pst.fx.Main

    Also reset my S-USER password in both places as mentioned in one of the earlier post, but still get the same error.. What could be the reason and how to fix it?

  32. Hi Sathiyaraj,

    I hope you are doing well.

    • The command only setup the user and password for the proxy.
    • You must setup the user and password for both HTTP and HTTPS (see the command below).
    • Besides of this, the proxy host and port must be maintained within the tool.

    Please proceed with the points below, in case the issue persists you need to engage your network basis:

    1) Run the NWJST using the following command:

    java -Dhttp.proxyUser=<USER> -Dhttp.proxyPassword=<PASSWORD> -Dhttps.proxyUser=<USER> -Dhttps.proxyPassword=<PASSWORD> -cp NWJavaSupportTool.jar sap.com.pst.fx.Main

    *Adjust the command with the required <USER> and <PASSWORD> for both Dhttp and Dhttps. It is expected that the above command could setup the user credentials.

    2) Ensure the proxy settings for host and port, for HTTP and HTTPS, are configured in "Proxy Settings" option in the tool.

    Thanks and Regards,
    Marcos.

  33. Hello Marcos, 

    while getting the information for the SP Patch tools, i am getting the below error. 

    Getting latest patch for SCA (001/068): ADSSAP 
    Getting latest patch for SCA (002/068): AJAX-RUNTIME 
    Server returned 401. User authentication seemed to be faile

    I followed the below note, and reset the password accordingly, it's still not working, may be password takes time to sync or some other issue.

    2791505 - Server returning 401 error in NW JAVA Support Tool

    Regards

    Munish Jindal







  34. Hello, 

    I'm having same 401 error:

    Getting latest patch for SCA (002/068): AJAX-RUNTIME 
    Server returned 401. User authentication seemed to be failed

    I also followed SAP Note: 2791505

    Any hint, how to solve that?

    Kind regards

    Eduardo Jarauta

  35. I was hopeful to use this tool, but .. as many other users I am getting 401 error, even though I reset my passwords to be the same.

    "

    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/057): AJAX-RUNTIME
    Server returned 401. User authentication seemed to be failed.

    "

    Any solution ?

    Any news about new NWJST version ?


  36. Hello,

    While I am trying to retrieve Patch information from NWJST tool ( SC Patch tools  ), I am getting the below error.

    I have reset the password in both SAP legacy support portal & SAP One launch pad portal to the same and according to the password set rules as per the note 2791505.

    Can you please let me know what might be causing this issue? Appreciate your help in this matter.

    SAP NW JAVA SUPPORT TOOL - 1.0.20190228144625

    [20:49:45.085] Select Operation
    [21:39:08.116] Operation Status
    [21:39:08.278] Getting the Latest Patches...
    [21:39:09.171] Getting latest patch for SCA (001/095): ADSSAP
    [21:39:09.638] 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)




  37. Marcos Fernandes  - I am not sure if you checking the below issue reported. I have the same issue and cannot use this tool. Would you possibly fix this sooner or we need to ignore the tool completely as it is not in working condition?

    Also SAP Note mentioned above to fix this error also not available to view - "You are not entitled to access SAP Note/KBA 2791505"

    Getting the Latest Patches...

    Getting latest patch for SCA (001/057): AJAX-RUNTIME

    Server returned 401. User authentication seemed to be failed.

    Can you check and revert your help?

    1. Hi Sathiyaraj,

      thanks for using the NWJST.

      You can now access the SAP KBA 2791505. Please carefully read it. It approaches two possible scenarios for the 401 error, validate the scenario in which you are facing the error and consider the next steps accordingly.

      The tool is in work condition, you might be facing an issue in which afectes just one of its features.

      Thanks and Regards,
      Marcos.

      1. Hello Marcos,

        Thanks for your reply. I could open the SAP Note. Now I face the second scenario mentioned in the Note, so I had to wait until you fix the issue below,

        Getting latest patch for SCA (001/145): AJAX-RUNTIME
        Getting latest patch for SCA (002/145): BASETABLES
        Server returned 401. User authentication seemed to be failed.

        Please keep us posted once you could resolve this issue.


  38. I am facing a 401 error with the java support tool and I can no longer access SAP note 2791505.

    I put in a ticket to SAP support and here is their reply:

    Dear Customer,

    Thank you for contacting SAP support, your incident is now in process in BC-JAS-COR.

    Please note the NW Support team is not support by SAP product support. Support for the tool is solely 
    within the wiki: ##https://wiki.scn.sap.com/wiki/display/ASJAVA/SAP+NW+Java+Support+Tool

    Please let my colleagues know what issue you are facing in the comment section of this wiki.

    Thank you in advance for your cooperation and I hope you have a lovely day!

    Best Regards,
    Colm 
    SAP Product Support

    My question is do you still support this tool or am I wasting my time pursuing this issue?


    Regards,

    Peter McDermott

    1. Hi Peter,

      first of all thanks for using the NWJST.

      The SAP KBA 2791505 you mentioned is available again. I would like to ask you to carefully read it and validate the scenario in which you are facing the 401, and consider the next steps accordingly.

      Even though it is an official SAP software, the tool itself is a not a business application, for this reason we do not provide support to it through standard SAP support channels such as SAP Incident. However, we try to make it as available as possible, and provide to our customers an automated way to execute tasks that usually must be done manually.

      Thanks and Regards,
      Marcos.

  39. Hi !

    We need to run SAP NW Java Support Tool to calcule the dependency analysis.

    But we cannot finish the execution due the following error: Error while Getting the Latest Patches!

    Process of getting latest patches started!
    Getting the Latest Patches...
    Getting latest patch for SCA (001/081): LM-MODEL-NW
    Getting latest patch for SCA (002/081): LM-CTS
    Getting latest patch for SCA (003/081): LM-SLD
    Getting latest patch for SCA (004/081): PIB2BSFTP
    Getting latest patch for SCA (005/081): CU-BASE-JAVA
    Server returned 401. User authentication seemed to be failed.


    SAP Market Place and SAP ONE Support Launchpad password is same.


    The error occurs in the middle of the process. 

    How to solve this issue ?

    Thanks,

    Eugenio

    1. Hi Eugenio,

      thanks for using the NWJST.

      In your case, as some other customers as well, the 401 error is occurring after a successful patch check for the firstly SCAs.

      In such situation, the problem is caused by a known issue in which we are already working on, but we don't have a precise date when the fix will be available.

      As for now, please calculate the patch dependencies manually. You will find more details in the following SAP KBA 2791505.

      Thanks and Regards,
      Marcos.

  40. hi im getting next error:


    erver 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.$Proxy45.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$493(Service.java:725)
    at java.security.AccessController.doPrivileged(Native Method)
    at javafx.concurrent.Service.lambda$executeTask$494(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!



    I have tested user and password and it is correct, could you help me please?

  41. Hello all,

    I get this error when trying to logon:

    09:16:54.906] Information Popup: Permission denied

    Tip: Please ensure you are using the <SID>adm user, or a user with the same permissions as <SID>adm.
    java.lang.Exception: Permission denied

    Tip: Please ensure you are using the <SID>adm user, or a user with the same permissions as <SID>adm.
    at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:92)
    at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:29)
    at javafx.concurrent.Task$TaskCallable.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: javax.xml.ws.soap.SOAPFaultException: Permission denied
    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.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.$Proxy28.osExecute(Unknown Source)
    at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:76)
    ... 4 more
    [09:16:56.202] Close Information/Agreement Popup

    I am connecting using the <sid>adm with the correct password. Target is a Linux server, to the issue with the SAPService<SID> user doesn't apply.


    Kindest regards, Wilbert

  42. Hello experts,


    Hope you are well.


    Upon checking on the requirements for the password, I have the feeling that the instructions can be a bit misleading.

    The S-user password must be set identically in both Market Place and ONE Support Launchpad and follow a certain set of rules - including one that says "Password must not contain lower-case letters"


    The issue is that SAP ONE Support Launchpad password policy requires lower-case letter, opposing the instruction line that says "Include at least one letter A-Z (Password must not contain lower-case letters)".


    Would you be able to check and confirm if indeed the password must not contain lower-case letters? 


    Thank you and kind regards,


    Jonas

  43. Hi Jonas,

    Yes, I agree with you. For example, note 2791505 explanation is inconsistent.

    2791505 - Server returning 401 error in NW JAVA Support Tool
    https://launchpad.support.sap.com/#/notes/2791505

    However, as of yesterday, I have changed the password of SAP Marketplace
    since my password was not changed after SAP ONE Support Launchpad password change.
    (I need to use NW JAVA support tool but got 401 error, so found that I need to change it...)

    My password has a lower case of a letter, but it can be used on NW JAVA tool.
    I assume we can use the lower case of the letter in the SMP password.

    Anyway, I was a little surprised that we still need to maintain two passwords...
    I hope this inconvenience fixed soon.

    Best regards,
    Tetsuya

    1. Hi Tetsuya,

      the inconsistency in the SAP KBA 2791505 was fixed and now reflects the current password rules.

      Regarding to maintain two passwords, the NWJST requires access to different services in order to execute the software component dependency analysis, some of these services has different user base. Anyway, we are planning to provide a new version of NWJST that, besides of some fixes, will use a common user base, not requiring to have password maintained in different places. However, we don't have an estimated date to have this new version available. As for now, it is required to maintain the passwords in both places.

      Thanks and Regards,
      Marcos.

      1. Hello Marcos,


        Thank you very much for your reply and the fix of the 2791505.

        I will wait patiently for the new version of NWJST. As long as the current NWJST works fine, I have no problem.


        Thanks again and best regards,

        Tetsuya



  44. Hello Tetsuya,


    Thank you for the information! This helped me a lot!

    Now we know that the documentation is not fully correct and indeed needs corrections.


    Kind regards,


    Jonas

    1. Hi Jonas,


      I'm glad it was helpful.


      Best regards,

      Tetsuya



  45. Hello

    Its not possible to change the S-User password in the User Legacy Repository 

    https://launchpad.support.sap.com/#/umsetpassword refered to in SAP KBA 2791505. Is there an alternative?

    Thanks & kind Regards, 


    Mwangi

    1. Thanks SAP!

      The link https://launchpad.support.sap.com/#/umsetpassword  is now working and I can now successfully login with my S-User using the NWJST Tool. However the tool doesn't retrieve the latest Software-Component Patchlevels. 

      Could you please look into this?

      Thanks and kind Regards,

      Mwangi

  46. Hello,

    I have a problem with the NWJST. On Thursday I did the password change on both sites and it worked correctly, but today, 4 days later, it fails again with error 401.
    Should I change the password again?
    How can I make the change immediate? I change the password on both sites but it takes me one day to synchronize, I can’t use the NWJST until the next day.

    Thank you and Best Regards,

    Lali