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.
95 Comments
Ortiz Saenz Alfredo
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
Victor Chang
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
Marcos Fernandes
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.
Ortiz Saenz Alfredo
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
Marcos Fernandes
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.
Kabeer Ahmed
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
Marcos Fernandes
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.
Kabeer Ahmed
Dear Marcos,
Below is the version I am using.
1.0.20161128132113.
Regards,
Kabeer Ahmed
Marcos Fernandes
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.
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?
Kabeer Ahmed
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
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
Marcos Fernandes
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.
Shekhar Gupta
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?
Marcos Fernandes
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.
Amy Abner
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.
Marcos Fernandes
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.
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
Marcos Fernandes
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.
Former Member
Hi Marcos,
thanks very much for the trick
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"
Thanks very much!!
Ari Lehtola
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
Bernd Harder
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
Ari Lehtola
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
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
Marcos Fernandes
Hi Ajay,
I sent an email to you requesting some information. Please let me know you received it.
Thanks and Best Regards,
Marcos Fernandes.
Walter Sonderegger Larsen
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
Marcos Fernandes
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.
Walter Sonderegger Larsen
Hi Marcos
Did you find anything in my PST.log?
Thank you
Walter
Marcos Fernandes
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.
Marcos Fernandes
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.
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.
Marcos Fernandes
Hi Robin,
could you please upload to the SAP Mobile Documents below the following information:
https://mdocs.sap.com/mcm/public/v1/open?shr=9NnPKKZ0elK8o0SmxRxcOo0eRdcLpr7pFjlggnpkLfY
Thanks and Best Regards,
Marcos Fernandes
SAP NWJST Development Team
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
Learning : If you face the error that I got then its probably a DB connection error.
Regards
Robin Singh
Marcos Fernandes
Hi Robin, thanks for your feedback!
Marcos Fernandes
SAP NWJST Development Team
Loukas Karabelas
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
Marcos Fernandes
Thanks for sharing your experience!
Marcos Fernandes
SAP NWJST Development Team
Pavan kumar Yadav S
Hi
Thank you for the explanation.
According to the SAP Note : 1974464,
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
Marcos Fernandes
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
Marcos Fernandes
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
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
Marcos Fernandes
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
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
Marcos Fernandes
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
Syed Naeem
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
Bernd Harder
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
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,
Marcos Fernandes
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
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
Marcos Fernandes
Hi Ramesh, thanks for sharing your experience.
Marcos Fernandes
SAP NWJST Development Team
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,
Marcos Fernandes
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
Willem Brown
Hello,
has anybody gotten the tool to work with newer versions of JAVA and OpenJFX?
Regards
Willem Brown
Marcos Fernandes
Hi Willem ,
I would like to suggest you to try the suggestions described in the following sources:
https://stackoverflow.com/questions/51478675/error-javafx-runtime-components-are-missing-and-are-required-to-run-this-appli
https://forums.linuxmint.com/viewtopic.php?t=298514
https://forums.opensuse.org/showthread.php/536667-JavaFX-runtime-components-are-missing
Thanks and regards,
Marcos.
Johan Winkelmans
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?
Marcos Fernandes
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
Sunil Pandey
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.
Johan Winkelmans
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
Marcos Fernandes
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.
TETSUYA OKA
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
Marcos Fernandes
Hi Tetsuya,
sure, here you go:
wsa583547cd.hana.ondemand.com
Thanks and regards,
Marcos.
TETSUYA OKA
Hello Marcos,
Thank you very much for your reply!
Best regards,
Tetsuya
Sunil Pandey
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.
Marcos Fernandes
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.
Marcos Fernandes
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.
Ravindra Gokina
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
Marcos Fernandes
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.
Tomas Lindberg
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
Marcos Fernandes
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.
Harishankar Dhulipudi
Hi Team,
Can you please help to fix the below error which we are receiving while trying to connect to java system host
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
Marcos Fernandes
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.
Harishankar Dhulipudi
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
Sathiyaraj Jagadesh
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?
Marcos Fernandes
Hi Sathiyaraj,
I hope you are doing well.
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.
HCL Himanshu Singh
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
Eduardo Jarauta
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
Mirza Balic
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 ?
Hariharanatha Buggana
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)
Sathiyaraj Jagadesh
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?
Marcos Fernandes
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.
Sathiyaraj Jagadesh
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.
Peter McDermott
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
Marcos Fernandes
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.
Eugenio da Costa Araujo
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
Marcos Fernandes
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.
Ortiz Saenz Alfredo
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?
Wilbert Jeuken
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
Jonas Ben
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
TETSUYA OKA
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
Marcos Fernandes
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.
TETSUYA OKA
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
Jonas Ben
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
TETSUYA OKA
Hi Jonas,
I'm glad it was helpful.
Best regards,
Tetsuya
Mwangi Wanjohi
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
Mwangi Wanjohi
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
SSM CTTI HP
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