SAP Knowledge Base Article - Preview

3021129 - Failed to login into ASE from AMC with error "java.net.ConnectException: Connection refused" - SAP ASE

Symptom

  • Unable to login into ASE from Administration and Management Console (AMC) web interface during the installation.
  • The below is the errors noticed:

INFO 58827 --- [http-nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
INFO 58827 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
INFO 58827 --- [http-nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 10 ms
ERROR 58827 --- [http-nio-8080-exec-6] c.s.a.n.a.AuthenticationRepository       : Error in testConnection
INFO 58827 --- [http-nio-8080-exec-6] c.s.a.n.a.AuthenticationProcessor        : Login failed
ERROR 58827 --- [http-nio-8080-exec-6] c.s.a.n.AbstractApplicationProcessor     : DE:Unable to connect ASE server
com.sap.ase.nanna.ApplicationException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused (Connection refused) (local port nn to address 0:0:0:0:0:0:0:0, remote port 4901 to address(nn) (server_name))

at com.sap.ase.nanna.authentication.AuthenticationRepository.testConnection(AuthenticationRepository.java:44) ~[classes!/:1.0-SNAPSHOT]
at com.sap.ase.nanna.authentication.AuthenticationRepository$$FastClassBySpringCGLIB$$cf90dce4.invoke(<generated>) ~[classes!/:1.0-SNAPSHOT]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

#Name of the host machine where ASE and AMC.jar will run on. This value will be used to build the JDBC URL.
ase.host=<server_name>      
#Port to connect to ASE using JDBC.
ase.port=4901


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0 SP04
  • Administration and Management Console (AMC)
  • SAP NetWeaver (All versions)

Product

SAP Adaptive Server Enterprise 16.0 ; SAP NetWeaver 7.5

Keywords

AMC,connection refused monitor monitoring admin , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.