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

David Latorre commented on FTPSERVER-284:
-----------------------------------------

The only difference I see with my config is that I have JAVA_HOME set, try 
setting it to a suitable JDK (5/6).
Other than that, you may want to remove apache/lib directory but it shouldn't 
be in the classpath ( I don't know what your CLASSPATH variable looks like 
anyway).





> 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/%3cd10461fc0810041030t64e0ad02s259ea4df51213...@mail.gmail.com%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