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.

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.

51 Comments

Former Member

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.

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.

Former Member

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.

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.

Former Member

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.

Former Member

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 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)

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.

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"

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?

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.

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?

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.

[14:39:09.826] Latest Patchescom.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)

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.

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.

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!

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.

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.

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 .

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