[ 
https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694981#action_12694981
 ] 

Emmanuel Lecharny commented on FTPSERVER-284:
---------------------------------------------

Ok, it's not explicit on the web site (yet), but MINA 2.0.0-M4 , the underlying 
network layer, requires Java 5.

You should _always_ add this information when creating a JIRA or posting on the 
ML. This is not necessarily the reason of the error, but at least, it helps us 
to avoid spending precious time speculating on what could possibly goes wrong 
with your inbstallation. Thanks.

> Service fails to start
> ----------------------
>
>                 Key: FTPSERVER-284
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-284
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>         Environment: Windows XP & Windows Vista
>            Reporter: Eyal Safran
>            Priority: Blocker
>         Attachments: FileList.txt, jakarta_service_20090402.log
>
>
> After installing the FtpServer as a service, When trying to run the service, 
> it won't start and the log shows:
> [2009-04-01 12:11:00] [info] Service ftpd name Apache FtpServer
> [2009-04-01 12:11:00] [info] Service ftpd installed
> [2009-04-01 12:11:00] [info] Procrun finished.
> [2009-04-01 12:11:00] [info] Updating service...
> [2009-04-01 12:11:01] [info] Service ftpd updated
> [2009-04-01 12:11:01] [info] Update service finished.
> [2009-04-01 12:11:01] [info] Procrun finished.
> [2009-04-01 12:11:28] [info] Running Service...
> [2009-04-01 12:11:28] [info] Starting service...
> [2009-04-01 12:11:28] [458  javajni.c] [error] FindClass 
> org/apache/ftpserver/main/Daemon failed
> [2009-04-01 12:11:28] [958  prunsrv.c] [error] Failed loading main 
> org/apache/ftpserver/main/Daemon class 
> D:\apache\common\classes;D:\apache\common\lib\aopalliance-1.0.jar;D:\apache\common\lib\ftplet-api-1.0.0.jar;D:\apache\common\lib\ftpserver-core-1.0.0.jar;D:\apache\common\lib\jcl-over-slf4j-1.5.2.jar;D:\apache\common\lib\log4j-1.2.14.jar;D:\apache\common\lib\mina-core-2.0.0-M4.jar;D:\apache\common\lib\slf4j-api-1.5.2.jar;D:\apache\common\lib\slf4j-log4j12-1.5.2.jar;D:\apache\common\lib\spring-beans-2.5.5.jar;D:\apache\common\lib\spring-context-2.5.5.jar;D:\apache\common\lib\spring-core-2.5.5.jar
> [2009-04-01 12:11:28] [1202 prunsrv.c] [error] ServiceStart returned 3
> [2009-04-01 12:11:28] [info] Run service finished.
> [2009-04-01 12:11:28] [info] Procrun finished.
> ---------------------------------------------------------------------------------------------------------------
> Installation procedure:
> 1) I've extracted the content of the ftpserver-1.0.0.zip file in drive D:
> 2) I've renamed the folder to: "Apache" (at first i tried without renaming, 
> and when it didn't work I googled for a solution and saw this link, that's 
> why I renamed it, to make the path shorter):
> http://mail-archives.apache.org/mod_mbox/mina-ftpserver-users/200810.mbox/%[email protected]%3e
> 3) I opened command prompt
> 4) changed directory to: d:\Apache
> 5) typed:
> D:\apache>bin\service.bat install ftpd res\conf\ftpd-typical.xml
> 6) got the result:
> Installing the service 'ftpd' ...
> Using FTPD_HOME:        D:\apache
> Using JAVA_HOME:
> Using JVM:              auto
> start
> start;res\conf\ftpd-typical.xml
> start;res\conf\ftpd-typical.xml
> The service 'ftpd' has been installed.
> 7) the service did not start
> 8) I went to services and tried to start the service, and the service did not 
> start.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to