commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soumen Choudhury (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DAEMON-360) Service creation failed with message "The data area passed to a system call is too small"
Date Sat, 10 Jun 2017 23:51:18 GMT

     [ https://issues.apache.org/jira/browse/DAEMON-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Soumen Choudhury updated DAEMON-360:
------------------------------------
    Summary: Service creation failed with message "The data area passed to a system call is
too small"  (was: Not able to create service)

> Service creation failed with message "The data area passed to a system call is too small"
> -----------------------------------------------------------------------------------------
>
>                 Key: DAEMON-360
>                 URL: https://issues.apache.org/jira/browse/DAEMON-360
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.15
>         Environment: Windows 7 64 bit
>            Reporter: Soumen Choudhury
>
> Trying to create a service using my java program. My code is executing fine and its doing
what is supposed to do, but at last prunsrv fail with message "The data area passed to a system
call is too small". Below is the log that I collected,
> [2017-06-10 11:46:09] [debug] ( prunsrv.c:1679) [ 9528] Commons Daemon procrun log initialized
> [2017-06-10 11:46:09] [info]  ( prunsrv.c:1683) [ 9528] Commons Daemon procrun (1.0.15.0
64-bit) started
> [2017-06-10 11:46:09] [debug] ( prunsrv.c:561 ) [ 9528] Installing service...
> [2017-06-10 11:46:09] [info]  ( prunsrv.c:600 ) [ 9528] Service Test name Test
> [2017-06-10 11:46:09] [info]  ( prunsrv.c:634 ) [ 9528] Service 'Test' installed
> [2017-06-10 11:46:09] [info]  ( prunsrv.c:1764) [ 9528] Commons Daemon procrun finished
> [2017-06-10 11:46:27] [debug] ( prunsrv.c:1679) [10468] Commons Daemon procrun log initialized
> [2017-06-10 11:46:27] [info]  ( prunsrv.c:1683) [10468] Commons Daemon procrun (1.0.15.0
64-bit) started
> [2017-06-10 11:46:27] [info]  ( prunsrv.c:725 ) [10468] Starting service 'Test' ...
> [2017-06-10 11:46:27] [warn]  ( service.c:140 ) [10468] Failed to obtain service description
> [2017-06-10 11:46:27] [debug] ( prunsrv.c:1679) [11128] Commons Daemon procrun log initialized
> [2017-06-10 11:46:27] [info]  ( prunsrv.c:1683) [11128] Commons Daemon procrun (1.0.15.0
64-bit) started
> [2017-06-10 11:46:27] [info]  ( prunsrv.c:1596) [11128] Running 'Test' Service...
> [2017-06-10 11:46:27] [debug] ( prunsrv.c:1374) [ 7236] Inside ServiceMain...
> [2017-06-10 11:46:27] [debug] ( prunsrv.c:844 ) [ 7236] reportServiceStatusE: 2, 0, 3000,
0
> [2017-06-10 11:46:27] [info]  ( prunsrv.c:1127) [ 7236] Starting service...
> [2017-06-10 11:46:27] [debug] ( javajni.c:233 ) [ 7236] loading jvm 'C:\Program Files\Java\jdk1.8.0_121\jre\bin\server\jvm.dll'
> [2017-06-10 11:46:27] [debug] ( javajni.c:704 ) [ 9968] Jvm Option[0] -Djava.class.path=C:\abc\Test\bin\TestServiceWrapper.jar
> [2017-06-10 11:46:27] [debug] ( javajni.c:704 ) [ 9968] Jvm Option[1] exit
> [2017-06-10 11:46:27] [debug] ( javajni.c:941 ) [ 9968] Java Worker thread started com/company/Test/service/WindowsServiceWrapper:start
> [2017-06-10 11:46:27] [debug] ( javajni.c:964 ) [ 9968] Java Worker thread finished com/company/Test/service/WindowsServiceWrapper:start
with status=0
> [2017-06-10 11:46:28] [debug] ( prunsrv.c:1186) [ 7236] Java started com/company/Test/service/WindowsServiceWrapper
> [2017-06-10 11:46:28] [info]  ( prunsrv.c:1284) [ 7236] Service started in 1107 ms.
> [2017-06-10 11:46:28] [debug] ( prunsrv.c:844 ) [ 7236] reportServiceStatusE: 4, 0, 0,
0
> [2017-06-10 11:46:28] [debug] ( prunsrv.c:1528) [ 7236] Waiting for worker to finish...
> [2017-06-10 11:46:28] [debug] ( prunsrv.c:1533) [ 7236] Worker finished.
> [2017-06-10 11:46:28] [debug] ( prunsrv.c:1559) [ 7236] Waiting for all threads to exit
> [2017-06-10 11:46:28] [debug] ( prunsrv.c:844 ) [ 7236] reportServiceStatusE: 3, 0, 0,
0
> [2017-06-10 11:46:28] [debug] ( prunsrv.c:1563) [ 7236] JVM destroyed.
> [2017-06-10 11:46:28] [debug] ( prunsrv.c:844 ) [ 7236] reportServiceStatusE: 1, 0, 0,
0
> [2017-06-10 11:46:28] [info]  ( prunsrv.c:1598) [11128] Run service finished.
> [2017-06-10 11:46:28] [info]  ( prunsrv.c:1764) [11128] Commons Daemon procrun finished
> [2017-06-10 11:46:30] [error] ( prunsrv.c:746 ) [10468] Failed to start 'Test' service
> [2017-06-10 11:46:30] [error] ( prunsrv.c:746 ) [10468] The data area passed to a system
call is too small.
> [2017-06-10 11:46:30] [info]  ( prunsrv.c:754 ) [10468] Start service finished.
> [2017-06-10 11:46:30] [error] ( prunsrv.c:1755) [10468] Commons Daemon procrun failed
with exit value: 5 (Failed to start service)
> [2017-06-10 11:46:30] [error] ( prunsrv.c:1755) [10468] The data area passed to a system
call is too small.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message