KB Article #176167
FTP Server is not starting
Problem
FtpServerApplication is not starting for TSIM SP2.Error is observed:
ERROR 2014-06-13 11:01:12,855 de.axway.ec.server.EdiEcServer [Thread-292] - Socket is closed - java.net.SocketException: Socket is closed
Parameter CHECK_PID is enabled. Looking for running servers (de.axway.ec.server.EdiEcServer) in process list.
INFO 2014-06-13 11:01:25,615 de.axway.lib.ec.server.CoreCommandHandler [Thread-294] - Received 'ping' command for the server core.
INFO 2014-06-13 11:01:25,624 de.axway.lib.ec.server.CoreCommandHandler [Thread-295] - Received 'start' command for application 'FtpServerApplication'.
INFO 2014-06-13 11:01:25,634 de.axway.ec.server.EdiEcServer [pool-40-thread-1] - Loading application: de.axway.ajas.applicationadapter.ApplicationAdapter
INFO 2014-06-13 11:01:25,641 de.axway.ajas.applicationadapter.ApplicationAdapter [pool-40-thread-1] - No entry in AppConf.properties for serverId = 4242
INFO 2014-06-13 11:01:25,644 de.axway.ajas.applicationadapter.ApplicationAdapter [pool-40-thread-1] - FtpServerApplication (1.26.2.27): Copyright (c) 1985-2014 Axway GmbH
ERROR 2014-06-13 11:01:25,671 de.axway.ajas.applicationadapter.ApplicationAdapter [pool-40-thread-1] - Application start failed: E_51612:Configuration failed.java.lang.Integer cannot be cast to java.lang.String
ERROR 2014-06-13 11:01:25,671 de.axway.ajas.applicationadapter.ApplicationAdapter [pool-40-thread-1] - FtpServerApplication - Application stopped !
ERROR 2014-06-13 11:01:25,671 de.axway.lib.ec.server.CoreCommandHandler [Thread-295] - de.axway.ajas.core.api.exceptions.ServiceException: The start of the application FtpServerApplication failed: de.axway.ajas.core.api.exceptions.ServiceException: Failed to start the service 'FtpServerApplication'. startfailed() was called by the application. See WEAS.log for details.
de.axway.ajas.core.api.exceptions.ServiceException: The start of the application FtpServerApplication failed: de.axway.ajas.core.api.exceptions.ServiceException: Failed to start the service 'FtpServerApplication'. startfailed() was called by the application. See WEAS.log for details.
at de.axway.lib.ec.server.Server.startupService(Server.java:1394)
at de.axway.lib.ec.server.CoreCommandHandler.Ô00000(CoreCommandHandler.java:344)
at de.axway.lib.ec.server.CoreCommandHandler.handleCommand(CoreCommandHandler.java:202)
at de.axway.lib.ec.server.Server.processConnection(Server.java:862)
at de.axway.lib.ec.server.Server$_oo.run(Server.java:1999)
Caused by: java.util.concurrent.ExecutionException: de.axway.ajas.core.api.exceptions.ServiceException: Failed to start the service 'FtpServerApplication'. startfailed() was called by the application. See WEAS.log for details.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:202)
at de.axway.lib.ec.server.Server.startupService(Server.java:1388)
... 4 more
Caused by: de.axway.ajas.core.api.exceptions.ServiceException: Failed to start the service 'FtpServerApplication'. startfailed() was called by the application. See WEAS.log for details.
at de.axway.lib.ec.server.Server.o00000(Server.java:1187)
at de.axway.lib.ec.server.Server.o00000(Server.java:1138)
at de.axway.lib.ec.server.Server.startApplication(Server.java:1076)
at de.axway.lib.ec.server.Server$_Oo.super(Server.java:1361)
at de.axway.lib.ec.server.Server$_Oo.call(Server.java:1354)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
ERROR 2014-06-13 11:01:25,673 de.axway.ec.server.EdiEcServer [Thread-295] - Socket is closed - java.net.SocketException: Socket is closed
ERROR: 1 -- The start of the application FtpServerApplication failed: de.axway.ajas.core.api.exceptions.ServiceException: Failed to start the service 'FtpServerApplication'. startfailed() was called by the application. See WEAS.log for details.Cause: de.axway.ajas.core.api.exceptions.ServiceException: Failed to start the service 'FtpServerApplication'. startfailed() was called by the application. See WEAS.log for details.
INFO 2014-06-13 11:01:29,599 de.axway.lib.ec.server.CoreCommandHandler [Thread-298] - Received 'ping' command for the server core.
INFO 2014-06-13 11:01:30,504 de.axway.amg.lib.poa [Thread-301] - Start prepared command: ksh -c cp -f /home/qqaiman/internet/server/classes/EdiEcServ.properties /home/qqaiman/spool/ac/1/1-edislave/internet/server/classes/EdiEcServ.properties; echo rccode=$?
INFO 2014-06-13 11:01:30,547 de.axway.lib.ec.server.Server [AsciiHandler-300] - importOneParfile Start import of parfile internet/server/classes/EdiEcServ.properties (instance of internet/server/classes/EdiEcServ.properties)...
INFO 2014-06-13 11:01:30,967 de.axway.webedi.resourcemanager.ResourceManager [CoreRM-27] - Max memory: 3728384 KiB, total memory: 532480 KiB, free memory: 231898 KiB, used memory: 300581 KiB
INFO 2014-06-13 11:01:30,967 de.axway.webedi.resourcemanager.ResourceManager [CoreRM-27] - Threads:157
INFO 2014-06-13 11:01:30,978 de.axway.lib.ec.server.Server [AsciiHandler-300] - OK: importOneParfile End import of parfile internet/server/classes/EdiEcServ.properties (type=ST) rc-code = 0 (OK)
WARN 2014-06-13 11:01:31,011 de.axway.amg.lib.poa [AsciiHandler-300] - paramImportOne - LogDatei: spool/log/param_syntax_check
INFO 2014-06-13 11:01:31,839 de.axway.lib.ec.server.Server [AsciiHandler-303] - LockManager.handleAsciiRequest()
Resolution
Activation has failed for some reasons. Start Activation for FTPSERVER.After it is finished start the FTPServer again(ajas start FtpServerApplication).