Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
17,234


Introduction

 

When communicating with SAP Product Support, on some occasions you may be asked to capture & provide traces along with system component information. Without adequate guidance and knowledge the process of collecting such information data can prove to be time consuming.

SAP Product Support has developed & released the SAP NW Java Support Tool to help simplify the process of collecting traces, logs, and system component information.  The SAP NW Java Support Tool also provides a guided means of enabling customers to self-troubleshoot problematic scenarios and issues.

The NW Java Support Tool is a java based utility that can be used by SAP customers, NetWeaver consultants/administrators, and Support Engineers.  The Support Tool connects to a NetWeaver Application Server JAVA system before automatically collecting essential information required to troubleshoot an issue. After all relevant information has been gathered and captured it can be subsequently uploaded to SAP Product Support. The tool also provides the basis guidance required to implement Patch Level Releases & Dependencies if required.

For the detail operation, please find SCN WIKI here.



























Before After
A Customer may not be aware of the information required as an attachment to an Incident for analysis and troubleshooting surrounding an issue. The Tool is self-guided in terms of walkthrough steps with selectable options on which information needed to be attached based on specific customer scenarios.
A Customer may send incomplete trace or application log files to SAP for analysis which may cause key troubleshooting information to be missed therefore affecting root cause analysis. The Tool collects complete standardized information and creates the analysis package for SAP.
A Customer may have to refer to multiple KBA’s and notes to gain the knowledge needed to attach required troubleshooting information. The Tool collects all the required information by connecting to the j2ee system in one simple click.
Customer applied a patch for a certain component, but such an action can make the component become inconsistent e.g. due to missing dependencies. Tool helps to identify and find all dependent component patches and provides the reference download link.

Features:

  • Automatic gathering of traces, logs and Software Component information based on different problem scenarios.

  • Allows screen recording while reproducing issues.

  • Provides different ways to upload collected troubleshooting information to SAP Product Support, allowing you to review the information before the upload and make changes if necessary.

  • Provides a comprehensive list of the latest patches available for your present configuration and is able to calculate all relevant dependent patches in case you need to apply a specific fix. It also provides the corresponding download reference links and the option to add patches to the download basket through an intuitive user interface.

  • Contains troubleshooting guides for different scenarios.


Preparation

  • Operation System: Any OS with a JRE 1.7 or higher installed.

  • Network:

    • Access to the Internet to retrieve information about patches from SAP Product Support and to upload the collected information.




(Set the proxy server in the proxy settings if required.)




  • Access to the NW AS JAVA system to be analyzed is required. Port 5XX14 (XX = instance number) needs to be enabled as per SAP note #1439348.


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




  • NW AS JAVA Settings:

    • Supported versions are described in SAP note #2181113.
      Please note that if your current SP Level is below those highlighted in the Note, the tool provides a workaround which can be followed as an alternative. The workaround offered is based upon copying the Tool’s designated .jar files to the server on which your NW AS Java System is located.

    • SDEFAULT option is enabled for sapstartsrv as per SAP note #1439348.



  • Downloading:


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

Use Case:

Outlined below is a working example scenario based upon how an administrator (for the sake of simplicity let’s call him now Kevin) can use and interact with the SAP NW Java Support Tool to troubleshoot & resolve an “OutOfMemory” Error exception occurrence.

Use Case: Issue Scenario

  • As of this morning all end-users are not able to logon to the Enterprise Portal which is affecting business operations and processes

  • After performing some high level analysis the system administrator, Kevin has found that the Java instance performed an unexpected and unprecedented restart.




In an attempt to resolve the issue, Kevin proceeds to run and open the ‘SAP NW Java Support Tool’, and selects the guided troubleshooting ‘Crashing’ option.



The ‘SAP NW Java Support Tool’ through an automated process gathers and collects core developer traces and subsequently creates a generated collection of ‘AnalysisPackages’.

  1. After following the troublshooitng guided in association to the ‘SAP NW Java Support Tool’, Kevin has pinpointed the ‘OutOfMemoryError’ within the generated ‘AnalysisPackages’ and link this reference to the instance restart. The AnalysisPackages also highlight an underlying BufferOverflowException output frequently noted in the std_server.out, dev_server.out, default traces.

  2. In an attempt to find a resolution Kevin performs an “Xsearch” based upon on this “BufferOverflow” Exception and identifies the solution SAP Note: 1914693. In Accordance to the note, the resolution is to apply the Patch Release on Component CORE-TOOLS 7.40 SP2.

  3. From prior experiences Kevin is aware that certain NW (Netweaver) Components share strong dependencies to other component listings (particularly core SC). If Kevin proceeds to only patch one Component this may cause subsequent component inconsistencies therefore causing an unstable NW environment. Therefore Kevin decides to run the ‘SC Patch Tools’ option in the support tool, which returns comprehensive component dependency listings.

  4. Kevin can now proceed to download the compatible Patch Listings directly from the support tool and apply them to the NW enviornment which will resolve the issue and prevent future reocrruences.


Feedback

We are very much interested about receiving feedback and comments.

Should you have any questions or highlight the need to report a bug or log an enhancement request, please leave a comment on this blog.

96 Comments
ErvinSzolke
Product and Topic Expert
Product and Topic Expert

Great Blog, Victor! 😉

Former Member
0 Kudos
hi,

when I click the 'startup',it appear the error.and I followed the steps.put the three file into configtool direcoty.but it faied agined.Can you give me any suggestion ?I will be very grateful.
0 Kudos
Hi Wang-want wwnw,

Thanks for using the Support Tool. We have resolved known issue in the Get Component Information function. Please first ensure you are using the latest version from here.

If you have copied the files in the latest version but same error occurs, please send us the pst.log file.

Regards,
Victor
Former Member
0 Kudos
Hello Victor,

I have downloaded the latest version of the support tool.  And as suggested, have copied the required files to configtool directory. But still when i am trying to run the SC Patch Tool option from the NW Java Support tool, getting below error. Can you please suggest.



Regards,

Shashank
Former Member
0 Kudos
Hello Victor,

Please ignore the previous request. The issue was due to incorrect environment variable set for <sid>adm user as we were not even able to run configtool as well. The issue is resolved now and the tool is running fine.

Regards

Shashank

 
Manigandan02
Explorer
0 Kudos
 

Dears,

 

getting below error while selecting SC PATCH TOOLS

 



 

thanks

ahmed
StefanKulcsar
Explorer
0 Kudos
 

Hi,

our proxyserver requirs username/password for accessing internet (sap) sites, is it possible to enter the user/password combination for the proxy server somewhere?

--
Stefan
Former Member
0 Kudos
Hi Victor,

We have highly restricted environment, due to which we don't have internet access enabled on server. When I run the tool as get error "Client received SOAP Fault from Server: Permission denied please see server log to find more details"

We have NW running on Windows server , services are running with .\SAPService<SID> , as local user.

Thanks
0 Kudos
I am getting Permission denied error while trying to connect to the tool.

 



 



 

[11:20:44.158] SAP NW JAVA SUPPORT TOOL - 1.0.20170512182128[11:20:44.158] SAP NW JAVA SUPPORT TOOL - 1.0.20170512182128[11:20:44.160] Java Version: 1.7.0_79[11:20:44.162] Java Home: C:\Program Files (x86)\Java\jre7[11:20:44.164] Loading proxy settings...[11:20:47.498] Close Information/Agreement Popup[11:20:47.507] Login[11:20:47.657] Loading System Connection Informations...[11:20:57.325] Validate Certificate Disabled![11:20:57.348] Information Popup: This tool communicates with the NW AS Java instance using a secure (encrypted) communication (HTTPS).
By disabling certificate validation, there is no guarantee that you are connecting to the server you intended to. Consequently, you run the risk of exposing your data, including your logon data, to a third party.[11:20:58.714] Close Information/Agreement Popup[11:20:59.460] Execute Login[11:20:59.468] Connecting...[11:21:00.663] 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

 

We have another Dual Stack instance and I am able to connect to that without any issues.

 

Thanks,

Bala
0 Kudos
Is SAP NW JAVA Support Tool  paid?
philip_seman
Explorer
0 Kudos
While running the SC Patch Tools, it starts just fine, and then gives me an unknown server error part way through the detection. Anyone else have this issue?
0 Kudos
Dear Victor,

 

We have installed SAP NW JAVA Support Tool in our system, and we are facing logon issue and hence we are not able to move on.

we are using our domain sidadm user ID and password. Credentials are correct. but tool is giving permission denied error. Attached is the error screenshot.

Error: Client received SOAP fault server: Start server runs with administrative privileges , OS Execute disabled.
0 Kudos
Hello,

 

Can you pls reply on this SAP NW JAVA Support tool's logon issue asap

We are still facing this issue  : Error: Client received SOAP fault server: Start server runs with administrative privileges , OS Execute disabled.

Pls help in prompt, Thanks ......

Aehraz
Former Member
0 Kudos
Would appreciate a quick help -



I've ensured that <sidadm> user-id/password and the S-user-ID/password are all correct.

Error Log -

[10:49:29.976] SAP NW JAVA SUPPORT TOOL - 1.0.20170512182128
[10:49:29.978] Java Version: 1.8.0_161
[10:49:29.978] Java Home: C:\Program Files (x86)\Java\jre1.8.0_161
[10:49:29.979] Loading proxy settings...
[10:49:33.322] Close Information/Agreement Popup
[10:49:33.333] Login
[10:49:33.481] Loading System Connection Informations...
[10:49:46.244] Validate Certificate Disabled!
[10:49:46.262] Information Popup: This tool communicates with the NW AS Java instance using a secure (encrypted) communication (HTTPS).

By disabling certificate validation, there is no guarantee that you are connecting to the server you intended to. Consequently, you run the risk of exposing your data, including your logon data, to a third party.
[10:49:47.323] Close Information/Agreement Popup
[10:49:48.799] Execute Login
[10:49:48.802] Connecting...
[10:49:51.203] Connected!
[10:49:51.218] Saving System Connection Informations...
[10:49:51.223] Connected to instance 00 of system XXX
[10:49:51.484] System Time: [10:49:51.000]
[10:49:51.486] Creating package [XXX_00_2018_03_20_10_49_51_C9AB]...
[10:49:51.487] Select Operation
[10:49:52.531] Login SMP
[10:50:16.177] Operation Status
[10:50:16.291] Getting Software Component Information...
[10:50:16.359] Loading information from the system...
[10:50:16.360] osExecute: /usr/sap/XXX/J00/j2ee/configtool/batchconfig.csh -task get.versions.of.deployed.units
[10:50:37.163] Parsing result...
[10:50:37.168] Getting the Latest Patches...
[10:50:37.466] Getting latest patch for SCA (001/137): AJAX-RUNTIME
[10:50:37.957] 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$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!
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$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)

 
0 Kudos
 
Hi,


I don’t understand why we should use Java Support Tool to calcultate dependency of our SCA.

This should be handled by the Maintenance planner. It doesn’t make any sense to have a tool to plan upgrade that is not calculating patch dependency.



Also, this tool doesn’t work with administrative privilege on the sap services. Any documentation on what to change on the user to get this working ? Because we never manually modified the SAPserviceSID user and he doesn’t have the right permission to OS execute. We will not modify our SAPService user without knowing the impact of that. And normally the SWPM should create those users with the right roles.



Error :

” Client received SOAP Fault from server: Start Service runs with administrative privileges, OSExecute disabled ”



Please do the appropriate so the maintenance planner can really be used to calculate dependency or fix the tool so it will work with all SAP instance created with SWPM.
Matt_Fraser
Active Contributor

Everyone,

If you are having issues running the tool, please start a new Question here in the Community against tags “SAP NetWeaver for Java, support tool” and “SAP NetWeaver Application Server for Java.” This is more likely to get you the help you seek than asking in the comment thread on this blog post.

I also recommend that you check Note 2352717 and the tool’s Wiki at https://wiki.scn.sap.com/wiki/display/ASJAVA/SAP+NW+Java+Support+Tool. One thing you may notice that might apply to many of the issues being reported is that the tool is not supposed to be installed on your NetWeaver Java server — it is supposed to be executed on your desktop PC and then connect remotely to your AS Java system.

Cheers,
Matt Fraser
SAP Community Moderator

0 Kudos
There is a workaround described for that in the wiki:

https://wiki.scn.sap.com/wiki/display/ASJAVA/Proxy+Setting

Bernd

 

 
0 Kudos
In short, the answer is no. If you have a NW AS JAVA, you can use it.
bruno_mendonca70
Discoverer
0 Kudos
Hi,

I am getting the same error.

If you have any advice on how to fix this that would be great.

Thanks and best Regards

Bruno
SAA
Explorer
0 Kudos

Hi

We are  facing connection time out error while selecting SC PATCH TOOLS.

Can you anyone help us to resolve the issue

Regards

Surendar

former_member232565
Discoverer
0 Kudos


Hi I’m getting that error

[11:08:02.266] Getting the Latest Patches…
[11:08:02.715] Getting latest patch for SCA (001/071): ADSSAP
[11:08:03.307] Server returned 401. User authentication seemed to be failed.
com.sap.tools.dc.InvalidUserCredentialException_Exception: Server returned 401. User authentication seemed to be failed.

Can anyone tell me solution to it ?

 
former_member548204
Participant
0 Kudos
hi All,

 

Am getting the same error while calculating the patches.if anyone knows about this solution, please respond here.
former_member589487
Discoverer
0 Kudos
Hi All,

I am also facing the same issue please update the workaround if anyone knows.. Thank you

13:33:43.561] Getting latest patch for SCA (001/076): J2EE-FRMW
[13:33:44.823] Server returned 401. User authentication seemed to be failed.
com.sap.tools.dc.InvalidUserCredentialException_Exception: Server returned 401. User authentication seemed to be failed.

Do we need any additional privileges to S-USER ID.. ?

Thanks,
Jay
former_member548204
Participant
0 Kudos
any solution for this error.
0 Kudos
Hi All,

someone have a solution for that issue?

com.sap.tools.dc.InvalidUserCredentialException_Exception: Server returned 401. User authentication seemed to be failed.

It seems that it happen when I had to change password for SUSER, since that time i couldn't have access using NW Support Tool or also to "old" marketplace website (e.g. https://websmp230.sap-ag.de), but i can correctly login to launchpad.support.sap.com

It is possible that in some way when we change SUSER password it is not syncronized with some OSS old link?

Do you know a workaround?

Thank you,

Alberto
former_member232565
Discoverer
0 Kudos
You have got right in that matter, that error is related to S-user password because when I've changed mine password problem with NWJST started. Question is why is it happening and if there is any solution to that problem because it is irritating and blocking updates to AS JAVA components.
juri_kopkin
Discoverer
0 Kudos
Same issue. Any updates?

 
Getting latest patch for SCA (001/088): AJAX-RUNTIME
Server returned 401. User authentication seemed to be failed.
0 Kudos
 

I solve the issue changing the password not just on launchpad but also in the old OSS Marketplace a link like: https://websmp206.sap-ag.de

Unfortunately i don't remember the exact link, i simply noticed that also when i tried to see OSS note or OSS Patch from launchpad, sometimes it tried to redirect me on the old Marketplace and from there i simply click on forgot password and another page to reset password appeared (different from the paunchpad page).

Alberto
0 Kudos
Hi Juri,

For the 401 authentication error, that means

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, access the following URL:
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/new_user_pass/userid_password_reset.htm

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

 

Best regards,

Victor
thiago_pereira
Explorer
0 Kudos
Hello Victor, i have the same password in Launchpad and Marketplace, and continuous with the same error. I need to update the PO and this error is making this impossible.

 

Tks,

THIAGO
Sivakumar_Kannan
Explorer
0 Kudos

Hi Team

 

I’m too getting the same error , my password is same in both Marketplace & launchpad.

Only difference is that i dont get the 401 authentication error while “Getting the latest Patch for SCA

step” but  i’m getting the 401 authentication error, when adding the selected patches to my

“DOWNLOAD BASKET”

 

 

 

bruno_mendonca70
Discoverer
0 Kudos
Hi team,

I'm facing a problem when the tool tries to get the latest patches, but the error has no number:



As a result, the patch information is not gathered from SAP.

Any idea about this error?

Thanks in advance.

Bruno Mendonça
0 Kudos
Hi Victor,

The S-User ID have all the authorizations and the password is same for the SAP and launchpad but we are facing the same error.

Getting the Latest Patches...
Getting latest patch for SCA (001/097): ADSSAP
Server returned 401. User authentication seemed to be failed.

Please help us with a solution.

 

Regards,

Pavan Kumar M

 
former_member598896
Discoverer
0 Kudos

Hi Team,

Two weeks back the java support tool was able to pick up latest patch level from SMP..But now it is not able to show latest patch level of SAP. Can you please check it.

Thanks

Praveen

 

 

philip_seman
Explorer
0 Kudos
After updating my password on the marketplace, using the link of https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/new_user_pass/userid_password_reset.htm , I was able to retrieve the components just fine.

Why doesn't SAP sync the marketplace and launchpad passwords automatically when changed? It seems they need to be in order for this to work.

 
0 Kudos

Hi all,

 

Even I thought that my passwords are in sync on SMP and SAP Launchpad, I reset the password on SAP Launchpad according Note:

2791505 – Server returning 401 error in NW JAVA Support Tool

https://launchpad.support.sap.com/#/notes/2791505

 

Resolution

This issue generally resolves by changing the passwords in both the places (SAP Market Place and SAP ONE Support Launchpad)  for the same S-user ID and giving the same passwords in both the places.

In order to avoid this issue, 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

To reset the password for SAP Market Place ...

To reset the password on SAP ONE Support Launchpad ...

 

and error 401 is gone.

 

BR

Friend

Sivakumar_Kannan
Explorer
0 Kudos
Team

 

I just downloaded the Latest version , but still unable to go past the below screen. I did extract the jar file and placed under the confgtool, but still no luck.

 

I have attached the content of the

 



 

[17:27:56.399] Loading information from the system...
[17:27:56.399] osExecute: /usr/sap/SID/JXX/j2ee/configtool/GetCompInfo.sh /usr/sap/SID/JXX/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$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)
[17:27:57.068] 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.
[17:27:58.901] Close Information/Agreement Popup
[17:27:59.661] Select Operation
0 Kudos
Hi
When I am using the tool I got some problems about retrieve information for patch levels

And then I get this error from one module

[09:20:02.789] Getting latest patch for SCA (121/148): SOAMON
[09:20:03.432] Getting latest patch for SCA (122/148): SOAMONBASIC
[09:20:04.030] Getting latest patch for SCA (123/148): SOAPJmsAdapterModule
[09:20:04.054] Error
[09:20:04.055] Getting latest patch for SCA (124/148): SR-UI
[09:20:04.694] Getting latest patch for SCA (125/148): SSOAUTHLIB
[09:20:05.309] Getting latest patch for SCA (126/148): SSOEXTLIB

The tool stoppes and it is not possible to se the result.

How can I solve this problem

Regards Lars
former_member645600
Discoverer
0 Kudos

Hello,

We are getting wsdl error while connect to a system with NW JST.

[07:14:55.720] SAP NW JAVA SUPPORT TOOL – 1.0.20190228144625
[07:14:55.722] Java Version: 1.8.0_151
[07:14:55.722] Java Home: C:\Program Files\Java\jre1.8.0_151
[07:14:55.722] Loading proxy settings…
[07:14:58.941] Close Information/Agreement Popup
[07:14:58.943] Login
[07:14:59.106] Loading System Connection Informations…
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sap.com.pst.core.VersionChecker.hasInternetAccess(VersionChecker.java:68)
at sap.com.pst.core.VersionChecker.getServerVersion(VersionChecker.java:31)
at sap.com.pst.core.VersionChecker.isUpToDate(VersionChecker.java:58)
at sap.com.pst.fx.services.CheckForUpdate$1.call(CheckForUpdate.java:30)
at sap.com.pst.fx.services.CheckForUpdate$1.call(CheckForUpdate.java:26)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.concurrent.Service.lambda$null$491(Service.java:725)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.concurrent.Service.lambda$executeTask$492(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)
[07:15:20.844] Information Popup: This tool needs access to internet in order to send through FTP and Document Center, the content (e.g. traces, logs, etc.) retrieved from the NW AS Java Instance.

Please ensure the tool has the required proxy settings using the Proxy Settings option.
[07:15:20.865] Internet not accessible!
[07:16:06.111] Close Information/Agreement Popup
[07:16:07.639] Validate Certificate Disabled!
[07:16:07.682] Information Popup: This tool communicates with the NW AS Java instance using a secure (encrypted) communication (HTTPS).

By disabling certificate validation, there is no guarantee that you are connecting to the server you intended to. Consequently, you run the risk of exposing your data, including your logon data, to a third party.
[07:16:09.280] Close Information/Agreement Popup
[07:16:33.790] Execute Login
[07:16:33.792] Connecting…
[07:16:34.080] Unexpected error!
[07:16:34.107] Information Popup: Failed to access the WSDL at: https://hostname:50014/?wsdl. It failed with:
Invalid WSDL  expecteddefinitions found html at (lineLine number = 1

Column number = 7
System Id =
Location Uri=
CharacterOffset = 10
).

java.lang.Exception: Failed to access the WSDL at:  It failed with:
Invalid WSDL

expected {http://schemas.xmlsoap.org/wsdl/}definitions found html at (lineLine number = 1
Column number = 7
System Id = https://host:50014/?wsdl
Public Id = null

CharacterOffset = 10
).

at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:100)
at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:29)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://host:50014/?wsdl. It failed with:
Invalid WSDL https://host:50014/?wsdl, expected {http://schemas.xmlsoap.org/wsdl/}definitions found html at (lineLine number = 1
Column number = 7
System Id =
Public Id = null
Location Uri= https host:50014/?wsdl
CharacterOffset = 10
).
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(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)
… 4 more
Caused by: javax.xml.stream.XMLStreamException: Invalid WSDL https://host:50014/?wsdl, expected {http://schemas.xmlsoap.org/wsdl/}definitions found html at (lineLine number = 1
Column number = 7
System Id = https://host:50014/?wsdl
Public Id = null
Location Uri= https://host:50014/?wsdl
CharacterOffset = 10
)
… 16 more
[07:16:37.549] Close Information/Agreement Popup

former_member645600
Discoverer
0 Kudos
Hi All,

Has anyone else faced the same issue. Can you please revert
ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi marcos.fernandes , can you please take a look? Cheers, Ervin
former_member353872
Discoverer
0 Kudos

Hi,

which parameter & port to enable in the profile parameter for the below error?

I not found any information in the KBA 936273

marcosfernand
Advisor
Advisor
0 Kudos
Hi Naresh,

I hope you are doing well.

The SAP Note 936273 provides an overview about the SAPControl (sapstartsrv), the important information for us are:

"...
When it is started, sapstartsrv reads the start profile of its instance and opens its Web service interface on the port sapctrl<instance no.> (http, default: 5XX13), and provided that SSL is configured sapctrls<instance no.> (https, default: 5XX14). The start service then waits for incoming requests from the Web service clients and processes these requests.
..."

Please check if the port 5XX14 is active in the target system.
Please check if there is no restriction to access this port. Please see 1439348 - Extended security settings for sapstartsrv

Thanks and Regards,
Marcos
marcosfernand
Advisor
Advisor
0 Kudos
Hi Gurinder,

The tool is receiving an invalid WSDL. This might be caused becase the Host field is not being filled with the physical system/instance hostname. Maybe you are using a reverse proxy or load balancing hostname.

As test purpose you can try accessing the https://host:50014/?wsdl in the web browser and check the results, we expect a XML be loaded.

Thanks and Regards,
Marcos,
mjunaidniazi
Newcomer
0 Kudos
Hi
While using SAP NW JAVA Support Tool to download AS Java patches I get error "Server returned 401. User authentication seemed to be failed." which led to S-NOTE 2791505.


According to this S-Note this issue generally resolves by changing the passwords in both the places (SAP Market Place and SAP ONE Support Launchpad)  for the same S-user ID and giving the same passwords in both the places. But SAP Market Place and SAP ONE Support Launchpad have two different password policies, which makes it impossible to assign same password on both places.Could please help here or update the S-Note.
fatihyar
Explorer
0 Kudos
Hi,

Although i applied steps in note 2791505 - Server returning 401 error in NW JAVA Support Tool (I reset My passwords in launchpad and SMP) i still encounter Server returned 401. User authentication seemed to be failed.error. Do you have any workaround for that?
tanmeya_mohan
Advisor
Advisor
0 Kudos
Dear colleagues,

I am trying to run the SAP NW JAVA Support Tool for an AS JAVA system & facing the below error -

 

[18:16:20.544] Getting the Latest Patches...
[18:16:20.771] Getting latest patch for SCA (001/133): AJAX-RUNTIME
[18:16:21.517] Getting latest patch for SCA (002/133): BASETABLES
[18:16:22.145] Getting latest patch for SCA (003/133): BI-BASE-B
[18:16:22.803] Getting latest patch for SCA (004/133): BI-BASE-E
[18:16:23.520] Getting latest patch for SCA (005/133): BI-BASE-S
[18:16:23.615] 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)
[18:16:25.872] Select Operation

 

I have already followed the SAP Note#  2791505 - Server returning 401 error in NW JAVA Support Tool, and ensured that the password for my S-User ID is same for SAP One Support Launchpad & SAP Market Place, but the issue still persists, and also follows the password policy listed in the Resolution section.

Could you please help suggest a fix?

Also, is it possible to add multiple exceptions for Proxy?

My landscape falls under the below category -







The PC requires proxy to connect internet

The PC does not require proxy to connect J2EE
"HTTP/HTTPS proxy" - has to be set

"Exceptions" - Add the AS Java engine's host name to the list of sites bypassed by proxy

I have added my hostname to the exception list, but I could see that there is a list of exceptions maintained in my browser.

If I try to append the list of exceptions to the hostname using a semi-colon, the tool starts throwing an error about the AS JAVA system being accessed via proxy & should be added to the exception list.

Please suggest,

 

Thanks & Best Regards,

Tanmeya
tanmeya_mohan
Advisor
Advisor
0 Kudos
Hello colleagues,

Any update on this issue, please?

 

Thanks & Best Regards,

Tanmeya
0 Kudos

Dear Victor,

I am using domain <sid>adm user ID and password to connect to the SAP NW Java Support Tool.
But the following error occurred.

Client received SOAP Fault from server :Start Service runs with administrative privileges, OSExecute disabled Please see the server log to find more detail regarding exact cause of the failure.

Please help us with a solution.

PST.log

[17:06:31.655] SAP NW JAVA SUPPORT TOOL – 1.0.20190228144625
[17:06:31.656] Java Version: 1.8.0_261
[17:06:31.656] Java Home: C:\Program Files\Java\jre1.8.0_261
[17:06:31.657] Loading proxy settings…
[17:06:34.946] Close Information/Agreement Popup
[17:06:34.962] Login
[17:06:35.170] Loading System Connection Informations…
[17:07:06.714] Validate Certificate Disabled!
[17:07:06.758] Information Popup: This tool communicates with the NW AS Java instance using a secure (encrypted) communication (HTTPS).

By disabling certificate validation, there is no guarantee that you are connecting to the server you intended to. Consequently, you run the risk of exposing your data, including your logon data, to a third party.
[17:07:08.081] Close Information/Agreement Popup
[17:07:11.865] Execute Login
[17:07:11.870] Connecting…
[17:07:13.747] Unexpected error!
[17:07:13.798] Information Popup: Client received SOAP Fault from server: Start Service runs with administrative privileges, OSExecute disabled Please see the server log to find more detail regarding exact cause of the failure.

java.lang.Exception: Client received SOAP Fault from server: Start Service runs with administrative privileges, OSExecute disabled Please see the server log to find more detail regarding exact cause of the failure.

at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:100)
at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:29)
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Start Service runs with administrative privileges, OSExecute disabled Please see the server log to find more detail regarding exact cause of the failure.
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(Unknown Source)
at com.sun.xml.internal.ws.client.sei.StubHandler.readResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.deserializeResponse(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at com.sun.proxy.$Proxy29.osExecute(Unknown Source)
at sap.com.pst.fx.tasks.ExecuteLoginTask.call(ExecuteLoginTask.java:76)
… 4 more
[17:07:17.505] Close Information/Agreement Popup

 

Regards

0 Kudos
Most likely you did not set the execution permission to the files:

-rwxr-xr-x 1 nwjadm sapsys 758 Dec 2 10:46 configtool.bat
-rwxr-xr-x 1 nwjadm sapsys 222 Dec 2 10:46 configtool.sh
-rwxr-xr-x 1 nwjadm sapsys 767 Dec 2 10:46 consoleconfig.bat