cancel
Showing results for 
Search instead for 
Did you mean: 

Java export error- 401

Former Member
0 Kudos

Hi all,

We have a ESS-MSS systems,in which the Java portal connects to a ECC backend system,

We are trying to do a Java export and it is failing with the foloowing error

ERROR 2009-08-29 11:14:54

MUT-03011 Execution of the command "C:\j2sdk1.4.2_16-x64/bin/java.exe -classpath C:/WINDOWS/TEMP/4/sapinst_exe.6344.1251537197/JAR/ins-j2ee.jar com.sap.ins.j2ee.UrlReader http://hostname:50000/sap/monitoring/SystemInfoServlet Administrator XXXXXX" finished with return code 1. Output: com.sap.ins.j2ee.UrlReader: Error connecting to http://hostname:50000/sap/monitoring/SystemInfoServlet. Please check the URL specified.java.io.IOException: Server returned HTTP response code: 401 for URL: http://hostname:50000/sap/monitoring/SystemInfoServlet at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:808) at com.sap.ins.j2ee.UrlReader._doConnect(UrlReader.java:79) at com.sap.ins.j2ee.UrlReader.<init>(UrlReader.java:70) at com.sap.ins.j2ee.UrlReader.main(UrlReader.java:110)

The 401 for a http response is a unauthorised (authorisation error) code response

We get http://hostname:50000/sap/monitoring/SystemInfoServlet Administrator XXXXXX" finished with return code 1

We have notes which talk abt return code 2 which takes abt password expiry j2ee_admin or config tool secure store not having the correct password.Here this is not the case and we have already check it.

We saw a post which exaclty which matches our scenario

/message/4506533#4506533 [original link is broken]

but the solution given n that has already been tried and it does not work. We also tried 785848 note but it does not help.

Regards

BHarathwaj V

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Check SAPJSF user authorization in the correct client.

Former Member
0 Kudos

Dear Rohan,

Check SAPJSF user authorization in the correct client.

This has already been checked, do we have any other option ??

Regards

Bharathwaj V

Former Member
0 Kudos

can u check the note 970518

Former Member
0 Kudos

Dear Rohan

Thant note does not talk about the issue that we are facing and moreover the note is related to 700 release(2004s) and we are getting problem in 620/640 release.

Regards'

BHarathwaj V

Former Member
0 Kudos

1. check whether Administrator account is locked

2. check the JAVA path

pls. reply if it dosent work out.

Former Member
0 Kudos

Dear Rohan,

Java path is fine,administrator is not locked,the config tool has the correct password.

Any other options please? We have raised a SAP message and they are talking abt the security provider options in the visual admin at

Policy Configurations->component "sap.com/tcmonitoringsysteminfo*sap_monitoring".

Here they have asked us to check the templates

1) SPNegoLoginModule

2)CreateTicketLoginModule

3) Authentication template

We will check and let you know if the issue is resolved by changing something here.

Regards

Bharathwaj V

Former Member
0 Kudos

Dear All,

The issue has been resolved.We had implemenedt RUN SAP and in that there is one step on SSO setup and this had changed the authentication template to ticket.

Once we changed this back to no,our Export completed without any problem.

Regards

Bharathwaj V