Problem of running CAS server and CAS management in one machine

170 views
Skip to first unread message

Tsogbadrakh Chinzorig

unread,
Jan 24, 2017, 7:19:37 PM1/24/17
to CAS Community
I got following error.
Copying configuration files from etc/cas to /etc/cas
'etc/cas/config/log4j2-mgmt.xml' -> '/etc/cas/config/log4j2-mgmt.xml'
'etc/cas/config/management.properties' -> '/etc/cas/config/management.properties'
'etc/cas/config/users.properties' -> '/etc/cas/config/users.properties'
ERROR
: transport error 202: bind failed: Address already in use
ERROR
: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP
exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]

I have set 
CAS server side
cas.server.name: https://localhost:8443
cas.server.prefix: https://localhost:8443/cas

cas.adminPagesSecurity.ip=127\.0\.0\.1

logging.config: file:/etc/cas/config/log4j2-srvr.xml
# cas.serviceRegistry.config.location: classpath:/services

CAS management side

cas.server.name: https://localhost:8443
cas.server.prefix: https://localhost:8443/cas

cas.mgmt.adminRoles=ROLE_ADMIN
cas.mgmt.userPropertiesFile=file:/etc/cas/config/users.properties
cas.mgmt.serverName=https://localhost:8877

server.context-path=/cas-management
server.port=8877

spring.thymeleaf.mode=HTML
logging.config=file:/etc/cas/config/log4j2-mgmt.xml

Thank you for consideration.

Tsogbadrakh Chinzorig

unread,
Jan 25, 2017, 5:24:20 AM1/25/17
to CAS Community
I could solve edit the port inside of ./build.sh 
d_sock
Reply all
Reply to author
Forward
0 new messages