You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Created) (JIRA)" <ji...@apache.org> on 2011/10/03 18:57:34 UTC

[jira] [Created] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

prunsrv error 1067 and crash on Windows 7
-----------------------------------------

                 Key: DAEMON-219
                 URL: https://issues.apache.org/jira/browse/DAEMON-219
             Project: Commons Daemon
          Issue Type: Bug
          Components: Procrun
    Affects Versions: 1.0.7
         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Maven home: C:\Java\apache-maven-3.0.3\bin\..
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
            Reporter: Gary D. Gregory


I've defined attached cmd file on Windows 7 to install a service.
I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
Attaching all details.
Is there more debug logging I can turn on? The current debug output seems minimal.
This is probably a configuration user error but I cannot tell due to the lack of logging.
Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory reopened DAEMON-219:
------------------------------------


I must be loosing my marbles. 

I am attaching a new version of the project that uses --StopClass and it still crashes on service start up.

This is with 1.0.7.

Everything looks good on start up too:

{noformat}
[2011-11-04 12:11:28] [debug] ( prunsrv.c:1519) Commons Daemon procrun log initialized
[2011-11-04 12:11:28] [info]  (          :0   ) Commons Daemon procrun (1.0.7.0 64-bit) started
[2011-11-04 12:11:28] [info]  (          :0   ) Running 'Daemon219' Service...
[2011-11-04 12:11:28] [debug] ( prunsrv.c:1259) Inside ServiceMain...
[2011-11-04 12:11:28] [info]  (          :0   ) Starting service...
[2011-11-04 12:11:28] [debug] ( javajni.c:206 ) loading jvm 'C:\Program Files\Java\jdk1.6.0_29\jre\bin\server\jvm.dll'
[2011-11-04 12:11:28] [debug] ( javajni.c:660 ) Jvm Option[0] -Xrs
[2011-11-04 12:11:28] [debug] ( javajni.c:660 ) Jvm Option[1] -Djava.endorsed.dirs=C:\Users\ggregory\Documents\eclipse\LDE\Daemon-219\lde_home\lib\endorsed
[2011-11-04 12:11:28] [debug] ( javajni.c:660 ) Jvm Option[2] -Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl
[2011-11-04 12:11:28] [debug] ( javajni.c:660 ) Jvm Option[3] -Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger
[2011-11-04 12:11:28] [debug] ( javajni.c:660 ) Jvm Option[4] -Djava.class.path=C:\Users\ggregory\Documents\eclipse\LDE\Daemon-219\lde_home\lib\daemon-219.jar
[2011-11-04 12:11:29] [debug] ( javajni.c:844 ) argv[0] = --config
[2011-11-04 12:11:29] [debug] ( javajni.c:844 ) argv[1] = C:\Users\ggregory\Documents\eclipse\LDE\Daemon-219\src\test\config
[2011-11-04 12:11:29] [debug] ( javajni.c:896 ) Java Worker thread started test/Daemon219StartService:main
{noformat}

The Event Log is not much help:

{code:xml}
 <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /> 
  <EventID Qualifiers="49152">7034</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8080000000000000</Keywords> 
  <TimeCreated SystemTime="2011-11-04T16:11:29.114553200Z" /> 
  <EventRecordID>106250</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="700" ThreadID="9424" /> 
  <Channel>System</Channel> 
  <Computer>us-l-gg03.rocketsoftware.com</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data Name="param1">Daemon-219</Data> 
  <Data Name="param2">2</Data> 
  </EventData>
  </Event>
{code}

Then I get the same 1067 crash
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>             Fix For: 1.0.8
>
>         Attachments: Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment:     (was: install-lde-service.cmd)
    
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144424#comment-13144424 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

Look for yourself:

C:\Users\ADMINI~1\DAEMON~1>ver
Microsoft Windows [Version 6.1.7601]

C:\Users\ADMINI~1\DAEMON~1>java -version
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)

C:\Users\ADMINI~1\DAEMON~1>register
C:\Users\ADMINI~1\DAEMON~1>set HOME=C:\Users\ADMINI~1\DAEMON~1\
C:\Users\ADMINI~1\DAEMON~1>set LDE_HOME=C:\Users\ADMINI~1\DAEMON~1\lde_home
C:\Users\ADMINI~1\DAEMON~1>set LDE_CONFIG=C:\Users\ADMINI~1\DAEMON~1\src\test\config
C:\Users\ADMINI~1\DAEMON~1>set PR_HOME=C:\Users\ADMINI~1\DAEMON~1\bin

C:\Users\ADMINI~1\DAEMON~1>"C:\Users\ADMINI~1\DAEMON~1\bin\prunsrv.exe" //IS//Daemon219   --Dis
playName="Daemon-219"   --Install="C:\Users\ADMINI~1\DAEMON~1\\bin\prunsrv.exe"   --Jvm="\jre\bi
n\server\jvm.dll"   --StartMode=jvm   --StopMode=jvm   --StartClass=test.Daemon219StartService
 --StopClass=test.Daemon219StopService   --StartParams="--config#C:\Users\ADMINI~1\DAEMON~1\src\
test\config"   --Classpath="C:\Users\ADMINI~1\DAEMON~1\lde_home\lib\*"   --JvmOptions=-Xrs   ++J
vmOptions=-Djava.endorsed.dirs="C:\Users\ADMINI~1\DAEMON~1\lde_home\lib\endorsed"   ++JvmOptions
=-Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.SmartTransformerFactoryImp
l   ++JvmOptions=-Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger   --LogPath=C
:\Users\ADMINI~1\DAEMON~1\logs   --StdOutput=auto   --StdError=auto   --Type=interactive   --Pid
File=pid.txt   --LogLevel=Debug

C:\Users\ADMINI~1\DAEMON~1>bin\prunsrv.exe //TS//Daemon219
args[0] = --config
args[1] = C:\Users\ADMINI~1\DAEMON~1\src\test\config

C:\Users\ADMINI~1\DAEMON~1>bin\prunsrv.exe //VS
Commons Daemon Service Runner version 1.0.7.0/Win64 (Aug  2 2011)
Copyright (c) 2000-2011 The Apache Software Foundation.


I copied prunsrv.exe to you bin directory and modify the register.cmd
to reflect that (only change)

So it works on Windows 2008R2 64-bit (that's server version of Windows7)
Also tested on Windows XP/32-bit
No core dumps. I don't wish to speculate why are you getting one.


However
C:\Users\ADMINI~1\DAEMON~1>net start Daemon219
The Daemon-219 service is starting.
The Daemon-219 service could not be started.

A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.


But that means that the process has ended. It didn't crashed.
The main method should not return until you get stop command.
However you just print arguments and call System.exit(0)

Try with --StartClass test.Daemon219StopService
(Yes I know, but there you have sleep) so you will get:

C:\Users\ADMINI~1\DAEMON~1>net start Daemon219
The Daemon-219 service is starting...
The Daemon-219 service was started successfully.


Regarding DAEMON-219 that's all from me.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>             Fix For: 1.0.8
>
>         Attachments: Daemon-219.zip, Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119610#comment-13119610 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

Hm, Ok,

# What should go in {{HKLM\Software\A S F\Procrun 2.0\YourServiceName}}, exactly?
# Why was this reg entry not created? Is that a bug?
# If the entry could not be created, shouldn't this important information be logged as an error?
# Shouldn't we log an error message instead of crashing when a reg entry is not found?

Which of these deserve a JIRA?

Thank you
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119473#comment-13119473 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

Ok.
Could you export the following registry keys and attach them?
HKLM\Software\Apache Software Foundation\Procrun 2.0\LdeService3
and
HKLM\System\CurrentControlSet\Services\LdeService3

Right click on the key and then Export (select Save as Type: .txt)
Thanks
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120923#comment-13120923 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

Hello, 

Is anyone contemplating answers to these questions?

Gary
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119576#comment-13119576 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

Look, unless you have the Registry key inside
HKLM\Software\A S F\Procrun 2.0\YourServiceName
there's no point to continue this.
prunsrv breaks in //TS// probably because the registry is corrupted
or missing like in your case.



                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment: Daemon-219.zip

Reproduces the issue. See readme.txt in the ZIP for instructions.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143145#comment-13143145 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

Sure, I mean any class would do which causes the core on your box.
You can name it the same, but it can have some dummy methods just to cause procrun to break

                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved DAEMON-219.
--------------------------------

    Resolution: Fixed

No it doesn't crash any more.
Tested your latest .zip and it works both with trunk and 1.0.7
Please do not reopen this issue.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>             Fix For: 1.0.8
>
>         Attachments: Daemon-219.zip, Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119522#comment-13119522 ] 

Gary D. Gregory edited comment on DAEMON-219 at 10/3/11 7:51 PM:
-----------------------------------------------------------------

I followed your instructions but the result is the same. I am on Windows 7 with UAC off. 

This might help (or not):
{noformat}
>	prunsrv.exe!000000014000a460() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for prunsrv.exe]	
 	prunsrv.exe!000000014000d33f() 	
 	prunsrv.exe!000000014000daba() 	
 	prunsrv.exe!000000014000debd() 	
 	prunsrv.exe!000000014000e3b9() 	
 	kernel32.dll!0000000076eb652d() 	
 	ntdll.dll!0000000076fec521() 	
{noformat}

Can you tell where that is? Can we guard against this bomb and log something?

Bombs at 000000014000A460 in this subset of the whole thing:
{noformat}
000000014000A448  mov         rbp,qword ptr [rsp+40h]  
000000014000A44D  mov         rsi,qword ptr [rsp+48h]  
000000014000A452  add         rsp,20h  
000000014000A456  pop         r12  
000000014000A458  ret  
000000014000A459  int         3  
000000014000A45A  int         3  
000000014000A45B  int         3  
000000014000A45C  int         3  
000000014000A45D  int         3  
000000014000A45E  int         3  
000000014000A45F  int         3  
000000014000A460  cmp         byte ptr [rcx],0  
000000014000A463  mov         rax,rcx  
000000014000A466  je          000000014000A490  
000000014000A468  nop         dword ptr [rax+rax]  
000000014000A470  movzx       r9d,byte ptr [rcx]  
000000014000A474  cmp         r9b,dl  
000000014000A477  jne         000000014000A47E  
000000014000A479  mov         byte ptr [rax],r8b  
000000014000A47C  jmp         000000014000A481  
000000014000A47E  mov         byte ptr [rax],r9b  
{noformat}

                
      was (Author: garydgregory):
    I followed your instructions but the result is the same. I am on Windows 7 with UAC off. 
Attaching a new mini dump: C:\Users\ggregory\AppData\Local\Temp\WEREF1.tmp.mdmp
                  
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment: install-lde-service.cmd
                ldeservice3-stdout.2011-10-03.log
                ldeservice3-stderr.2011-10-03.log
                commons-daemon.2011-10-03.log
                WERA3BD.tmp.mdmp
                WERA3BC.tmp.appcompat.txt
                WER8D3F.tmp.WERInternalMetadata.xml
    
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143159#comment-13143159 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

Ok, I'll put something together.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143007#comment-13143007 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

It would be really helpful if you could attach the registry data for the service.
Note that it should be inside
HKLM\Software\Wow6432Node\Apache Software Foundation\Procrun 2.0\LdeService3

                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144328#comment-13144328 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

Thank you for checking my latest test zip.

The test still crashes here every single time.

What is your set up? Are you on Windows 7 64 bit too? 

What other debug information can I capture?

If not in this issue, do you suggest I open a new issue? With what title? It's the same from my POV.

Please advise.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>             Fix For: 1.0.8
>
>         Attachments: Daemon-219.zip, Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119513#comment-13119513 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

So it seems your service didn't get properly installed.
I suppose that Windows 2008 and UAC is enabled, so you cannot install services from cmd.exe

You can try copying cmd.exe to cmda.exe inside \Windows\System32 and
then right click on cmda,.exe and select 'Run As Administrator'
Doing that on cmd.exe won't help cause it has to be different .exe name.
Well, it might not work on your box ;)


                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119522#comment-13119522 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

I followed your instructions but the result is the same. I am on Windows 7 with UAC off. 
Attaching a new mini dump: C:\Users\ggregory\AppData\Local\Temp\WEREF1.tmp.mdmp
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment: install-lde-service.cmd
    
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119422#comment-13119422 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

1. Use prunsrv //TS//LdeService3,  not prunsrv //TS/LdeService3!
2. Inside install
   --Install="%PR_HOME%\prunsrv"
   to
   --Install="%PR_HOME%\prunsrv.exe"

 
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139192#comment-13139192 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

Working on it. Will be fixed in 1.0.8

                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119410#comment-13119410 ] 

Sebb commented on DAEMON-219:
-----------------------------

Seems to be a minor bug in the ,cmd file:

"%PR_HOME%\prunsrv" //DS//LdeService
"%PR_HOME%\prunsrv" //IS//LdeService3^

Note the different service names; however this may not be significant.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment:     (was: CurrentControlSet.reg)
    
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143114#comment-13143114 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

Unfortunately, I cannot provide com.seagullsw.appinterface.server.AppInterfaceServer because it is at the core of our proprietary product. It also depends on 60 megs of jars and has a complex configuration.

If you describe what you need, I can create something. Is testing with a stub class that does only the sleep help? That would be one .class file, or a jar with one class file. I would hope that such a class would just work and that the problem is somewhere in between the simple and complex example.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119494#comment-13119494 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

>From the dump file: 
{noformat}
Dump Summary
------------
Dump File:	WERA3BD.tmp.mdmp : C:\test\WinService\WERA3BD.tmp.mdmp
Last Write Time:	10/3/2011 14:43:46 PM
Process Name:	prunsrv.exe : C:\Java\commons-daemon-1.0.7\win\amd64\prunsrv.exe
Process Architecture:	x64
Exception Code:	0xC0000005
Exception Information:	The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information:	Not Present

System Information
------------------
OS Version:	6.1.7601
CLR Version(s):	

Modules
-------
Module Name	Module Path	Module Version
-----------	-----------	--------------
prunsrv.exe	C:\Java\commons-daemon-1.0.7\win\amd64\prunsrv.exe	1.0.7.0
ntdll.dll	C:\Windows\System32\ntdll.dll	6.1.7601.17514
kernel32.dll	C:\Windows\System32\kernel32.dll	6.1.7601.17651
KERNELBASE.dll	C:\Windows\System32\KERNELBASE.dll	6.1.7601.17651
advapi32.dll	C:\Windows\System32\advapi32.dll	6.1.7600.16385
msvcrt.dll	C:\Windows\System32\msvcrt.dll	7.0.7600.16385
sechost.dll	C:\Windows\System32\sechost.dll	6.1.7600.16385
rpcrt4.dll	C:\Windows\System32\rpcrt4.dll	6.1.7601.17514
shell32.dll	C:\Windows\System32\shell32.dll	6.1.7601.17514
shlwapi.dll	C:\Windows\System32\shlwapi.dll	6.1.7601.17514
gdi32.dll	C:\Windows\System32\gdi32.dll	6.1.7601.17514
user32.dll	C:\Windows\System32\user32.dll	6.1.7601.17514
lpk.dll	C:\Windows\System32\lpk.dll	6.1.7600.16385
usp10.dll	C:\Windows\System32\usp10.dll	1.626.7601.17514
imm32.dll	C:\Windows\System32\imm32.dll	6.1.7600.16385
msctf.dll	C:\Windows\System32\msctf.dll	6.1.7600.16385
nvinitx.dll	C:\Windows\System32\nvinitx.dll	8.17.12.5738
{noformat}
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: CurrentControlSet.reg, NoKey.PNG, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved DAEMON-219.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.8

Fixed in the trunk.

You were missing --StopClass which was causing procrun to crash. Now it defaults to java.lang.System, and stopping
service will call System.exit.
Implement your own StopClass that will exit the main method cleanly. If you need further assistance use commons users list.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>             Fix For: 1.0.8
>
>         Attachments: Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144644#comment-13144644 ] 

Sebb commented on DAEMON-219:
-----------------------------

bq. I hope you consider updating the documentation so that other users will avoid the traps I fell in, especially the bit about --StopClass and System.exit().

Documentation patches welcome!
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>             Fix For: 1.0.8
>
>         Attachments: Daemon-219.zip, Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143872#comment-13143872 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

Well first of all your example just doesn't work.
Try using simple java -cp "%CD%\lde_home\lib" test.Deamon219
This can't work cause you have .jar files there, etc...

Anyhow, procrun cores, but just because it presumes you will give him
something meaningful. I'll try to figure out how to fix that and possibly
print the stack trace.

                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment: unregister.cmd
                register.cmd
                LdeServer3.reg

Regedit export and cmd files.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143061#comment-13143061 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

I just attached a regedit export for the requested key. I also attached cmd files that register and unregister the service.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143527#comment-13143527 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

This was in the Windows event log for the error:
{code:xml}
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2011-11-03T19:56:17.000000000Z" /> 
  <EventRecordID>15806</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>us-l-gg03.rocketsoftware.com</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>prunsrv.exe</Data> 
  <Data>1.0.7.0</Data> 
  <Data>4e3782fe</Data> 
  <Data>prunsrv.exe</Data> 
  <Data>1.0.7.0</Data> 
  <Data>4e3782fe</Data> 
  <Data>c0000005</Data> 
  <Data>000000000000a460</Data> 
  <Data>303c</Data> 
  <Data>01cc9a62a551a9ea</Data> 
  <Data>C:\Java\commons-daemon-1.0.7\win\amd64\prunsrv.exe</Data> 
  <Data>C:\Java\commons-daemon-1.0.7\win\amd64\prunsrv.exe</Data> 
  <Data>e3babb7d-0655-11e1-8b15-f0def14aec54</Data> 
  </EventData>
  </Event>
{code}
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119413#comment-13119413 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

You are correct, but it does not matter. You can remove the "DS" line.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119486#comment-13119486 ] 

Gary D. Gregory edited comment on DAEMON-219 at 10/3/11 7:00 PM:
-----------------------------------------------------------------

I attached:
- SystemLdeService3.txt for {{HKLM\System\CurrentControlSet\Services\LdeService3}}
- A screen shot that shows that no entry is present for {{HKLM\Software\Apache Software Foundation\Procrun 2.0\LdeService3}}

Thank you,
Gary

                
      was (Author: garydgregory):
    I attached:
- CurrentControlSet.reg for {{HKLM\System\CurrentControlSet\Services\LdeService3}}
- A screen shot that shows that no entry is present for {{HKLM\Software\Apache Software Foundation\Procrun 2.0\LdeService3}}

Thank you,
Gary

                  
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment: Daemon-219.zip

Using --StopClass still causes a 1067 error.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>             Fix For: 1.0.8
>
>         Attachments: Daemon-219.zip, Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119443#comment-13119443 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

AFAIK, this kind of stuff does not matter on Windows. The shell with find EXE and CMD files, you do not need to specify the file extension. Never the less, I've tried it and it gives me the same results. I've updated the cmd file in this ticket.
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119486#comment-13119486 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

I attached:
- CurrentControlSet.reg for {{HKLM\System\CurrentControlSet\Services\LdeService3}}
- A screen shot that shows that no entry is present for {{HKLM\Software\Apache Software Foundation\Procrun 2.0\LdeService3}}

Thank you,
Gary

                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: CurrentControlSet.reg, NoKey.PNG, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment: SystemLdeService3.txt
    
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment: NoKey.PNG
                CurrentControlSet.reg
    
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: CurrentControlSet.reg, NoKey.PNG, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Mladen Turk (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143081#comment-13143081 ] 

Mladen Turk commented on DAEMON-219:
------------------------------------

OK, so it seems the registry is there after all ;). The bug is not in the
configuration stage. Is there any option for you to provide those classes with
some dummy executor so I can debug the procrun?
I see you are executing your com.seagullsw.appinterface.server.AppInterfaceServer
so if you can just provide that class with some sleep(10000000) instead actual run
that should do.

                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138568#comment-13138568 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

Bueller? Anyone?
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>         Attachments: NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated DAEMON-219:
-----------------------------------

    Attachment: Daemon-219.zip

New version of the test zip which is a little cleaner and generates procrun logs in a logs folder in the project (included).
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>         Attachments: Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (DAEMON-219) prunsrv error 1067 and crash on Windows 7

Posted by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144538#comment-13144538 ] 

Gary D. Gregory commented on DAEMON-219:
----------------------------------------

Thank you for your time Mladen. You've been a great help.

"But that means that the process has ended. It didn't crashed."

Ah, I did not realize that! There must have been other errors in my configuration that caused my server to quit and do a System.exit(0). Our server does a System.exit on normal termination. I've changed that so that my StopService class does not cause System.exit() to be called.

I can now do a 'net start' for my server service and it starts and can process requests including a stop service request!

I found another bug in my set up: in a previous iteration I did not have a '*' at the end of my classpath. I added it to the test example a while back which explains why the simple test started working.

Now I need to find out why 'net stop' on my server service fails with:

{noformat}
System error 109 has occurred.

The pipe has been ended.
{noformat}

Any quick advice on this one? 

I hope you consider updating the documentation so that other users will avoid the traps I fell in, especially the bit about --StopClass and System.exit().
                
> prunsrv error 1067 and crash on Windows 7
> -----------------------------------------
>
>                 Key: DAEMON-219
>                 URL: https://issues.apache.org/jira/browse/DAEMON-219
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.7
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
> Maven home: C:\Java\apache-maven-3.0.3\bin\..
> Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_24\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Gary D. Gregory
>            Assignee: Mladen Turk
>             Fix For: 1.0.8
>
>         Attachments: Daemon-219.zip, Daemon-219.zip, Daemon-219.zip, LdeServer3.reg, NoKey.PNG, SystemLdeService3.txt, WER8D3F.tmp.WERInternalMetadata.xml, WERA3BC.tmp.appcompat.txt, WERA3BD.tmp.mdmp, commons-daemon.2011-10-03.log, install-lde-service.cmd, ldeservice3-stderr.2011-10-03.log, ldeservice3-stdout.2011-10-03.log, register.cmd, unregister.cmd
>
>
> I've defined attached cmd file on Windows 7 to install a service.
> I try to run the service with "prunsrv //TS/LdeService3" and I get "Commons Daemon Service Runner has stopped working"
> Attaching all details.
> Is there more debug logging I can turn on? The current debug output seems minimal.
> This is probably a configuration user error but I cannot tell due to the lack of logging.
> Thank you.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira