search cancel

First time starting TAMz TAMSTC task results in SocketException: EDC111I Permission Denied

book

Article ID: 255133

calendar_today

Updated On:

Products

Trusted Access Manager for Mainframe

Issue/Introduction

Starting the TAMz TAMSTC task for the first time results in the following error trace:

JVMJZBL2010E Exception occurred invoking org.springframework.boot.loader.WarLauncher.main()

JVMJZBL2999T -> JniUtil.writeStackTrace()

JVMJZBL2007E Stack trace follows:

java.lang.reflect.InvocationTargetException

 Caused by: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is o

 rg.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat server

      ... 8 more

 Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat server

      ... 23 more

 Caused by: java.lang.IllegalArgumentException: standardService.connector.startFailed

      ... 25 more

 Caused by: org.apache.catalina.LifecycleException: Protocol handler start failed

      ... 27 more

 Caused by: java.net.SocketException: EDC5111I Permission denied.

      ... 29 more

What is causing this error?

Environment

Release : 1.1

Resolution

In most cases, the EDC5111I error is an indication that the port number is reserved for another task. Issue a TSO command netstat,portlist or OMVS command onestat -o to display what port numbers are reserved and for what job names. Port numbers are reserved in the TCPIP PROFILE and it could be that the TAMSTC default 8080 port is reserved for another task.