You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Eyal Safran (JIRA)" <ji...@apache.org> on 2009/04/01 11:21:13 UTC

[jira] Created: (FTPSERVER-284) Service fails to start

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


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.


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


Re: [jira] Updated: (FTPSERVER-284) Service fails to start

Posted by David Latorre <dv...@gmail.com>.
Hello Eyal,

 I followed the following steps:

  1) Downloaded the latest snapshot of FtpServer from SVN.
  2) Run mvn install from the base directory (Actually, I used
-Dmaven.test.skip=true so I could install this quickly)
  3) Unzipped the resulting archive to c:/ftpserver1.0.0)
  4)  C:\ftpserver-1.0.0> bin\service.bat install ftpd res\conf\ftpd-typical.xml
  5) net start ftpd

The service is running  for me   and I'm able to connect to port 21
using anonymous login.
Can you include the log file in res/log for any insights?



2009/4/2 Eyal Safran (JIRA) <ji...@apache.org>:
>
>     [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Eyal Safran updated FTPSERVER-284:
> ----------------------------------
>
>    Description:
> 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.
>
>
>
>
>  was:
> 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.
>
>
>
> Added a description how I set up the FTP Server
>
>> 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
>>
>> 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.
>
>

[jira] Commented: (FTPSERVER-284) Service fails to start

Posted by "David Latorre (JIRA)" <ji...@apache.org>.
    [ 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.


[jira] Updated: (FTPSERVER-284) Service fails to start

Posted by "Eyal Safran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eyal Safran updated FTPSERVER-284:
----------------------------------

    Description: 
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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.




  was:
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.



Added a description how I set up the FTP Server

> 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
>
> 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.


[jira] Updated: (FTPSERVER-284) Service fails to start

Posted by "Eyal Safran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eyal Safran updated FTPSERVER-284:
----------------------------------

    Attachment: FileList.txt

Attached is a text file showing the files I have under the Apache folder and their hierarchy.
Gathered using:
Dir /s /x /b > FileList.txt

Best Regards,

Eyal Safran,
Project Manager
DVTel ltd.




> 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.


[jira] Commented: (FTPSERVER-284) Service fails to start

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694696#action_12694696 ] 

Niklas Gustavsson commented on FTPSERVER-284:
---------------------------------------------

Could you please provide a description of how you have set up FtpServer on your computer?

> 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
>
> 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.

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


[jira] Commented: (FTPSERVER-284) Service fails to start

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
    [ 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.


[jira] Updated: (FTPSERVER-284) Service fails to start

Posted by "Eyal Safran (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eyal Safran updated FTPSERVER-284:
----------------------------------

    Attachment: jakarta_service_20090402.log

D:\>cd apache

D:\apache>bin\service.bat install ftpd res\conf\ftpd-typical.xml
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.

D:\apache>net start ftpd
The Apache FtpServer ftpd service is starting.
The Apache FtpServer ftpd service could not be started.

A service specific error occurred: 0.

More help is available by typing NET HELPMSG 3547.


D:\apache>



Best Regards,

Eyal Safran,
Project Manager
DVTel ltd.




> 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: 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.


[jira] Updated: (FTPSERVER-284) Service fails to start

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated FTPSERVER-284:
----------------------------------------

    Priority: Major  (was: Blocker)

Downgrade the issue to 'Major'. It's barely a blocker, when a standard installation works.

> 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
>         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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.


[jira] Commented: (FTPSERVER-284) Service fails to start

Posted by "Eyal Safran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694964#action_12694964 ] 

Eyal Safran commented on FTPSERVER-284:
---------------------------------------

1) yeah, the apache/lib folder was my test to shorten the classpath a bit
2) Classpath environment:
.;C:\Program Files\Java\j2re1.4.2\lib\ext\QTJava.zip

3) I don't have a JDK installed

4) in the ftpdw.exe under the Java tab, the Java Classpath is:
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

Best Regards,

Eyal Safran,
Project Manager
DVTel ltd.



> 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.


[jira] Commented: (FTPSERVER-284) Service fails to start

Posted by "Eyal Safran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694906#action_12694906 ] 

Eyal Safran commented on FTPSERVER-284:
---------------------------------------

I've added the description to the open bug

If you need further information let me know.

Best Regards,

Eyal Safran,
Project Manager
DVTel ltd.



> 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
>
> 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.


[jira] Commented: (FTPSERVER-284) Service fails to start

Posted by "David Latorre (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694925#action_12694925 ] 

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

Hello Eyal,

 I've followed your steps ( using net start ftpd to start the service)   but building ftpserver myself with provided maven files and the service is working correctly.

 Can you attach the log file in res/log/ to check if there is any hint there of what's happening?
 
 

> 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
>
> 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/%3Cd10461fc0810041030t64e0ad02s259ea4df512138d3@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.