[jboss-jira] [JBoss JIRA] (WFLY-6953) Wildfly 10.1.0.CR1 does not start as a windows service

James Perkins (JIRA) issues at jboss.org
Mon Aug 15 12:29:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-6953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated WFLY-6953:
--------------------------------
    Description: 
Wildfly fails to start as a windows service.

Installation works fine:
{code}
.\service.bat install
Using the X86-64bit version of prunsrv

"C:\applications\wildfly-10.1.0.CR1-test\bin\service\amd64\wildfly-service" install Wildfly  --DisplayName=WildFly --Description=""WildFly Application Server"" --LogLevel=INFO --LogPath="C:\applications\wildfly-10.1.0.CR1-test\standalone\log" --LogPrefix=service --StdOutput=auto --StdError=auto --StartMode=exe --Startup=manual --StartImage=cmd.exe --StartPath="C:\applications\wildfly-10.1.0.CR1-test\bin" ++StartParams="/c#set#NOPAUSE=Y#&&#standalone.bat#-Djboss.server.base.dir=C:\applications\wildfly-10.1.0.CR1-test\standalone#--server-config=standalone.xml" --StopMode=exe --StopImage=cmd.exe --StopPath="C:\applications\wildfly-10.1.0.CR1-test\bin"  ++StopParams="/c jboss-cli.bat --controller=localhost:9990 --connect  --command=:shutdown"
Service Wildfly installed
{code}

Windows reports this error:
{quote}
Windows could not start the Wildfly on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code1.
{quote}

{code}
Event log report:
The Wildfly service terminated with the following service-specific error: 
Incorrect function.
  <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">7024</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2016-08-13T21:40:42.402218400Z"/>
        <EventRecordID>196500</EventRecordID>
        <Correlation/>
        <Execution ProcessID="668" ThreadID="10184"/>
        <Channel>System</Channel>
        <Computer>ITPC7.intra.rfgh.net</Computer>
        <Security/>
    </System>
    -
    <EventData>
        <Data Name="param1">Wildfly</Data>
        <Data Name="param2">%%1</Data>
        <Binary>570069006C00640066006C0079000000</Binary>
    </EventData>
</Event>
{code}


  was:
Wildfly fails to start as a windows service.

Installation works fine:
bq. .\service.bat install
bq. Using the X86-64bit version of prunsrv
bq. 
bq. "C:\applications\wildfly-10.1.0.CR1-test\bin\service\amd64\wildfly-service" install Wildfl
bq. y  --DisplayName=WildFly --Description=""WildFly Application Server"" --LogLevel=INFO --Lo
bq. gPath="C:\applications\wildfly-10.1.0.CR1-test\standalone\log" --LogPrefix=service --StdOu
bq. tput=auto --StdError=auto --StartMode=exe --Startup=manual --StartImage=cmd.exe --StartPat
bq. h="C:\applications\wildfly-10.1.0.CR1-test\bin" ++StartParams="/c#set#NOPAUSE=Y#&&#standal
bq. one.bat#-Djboss.server.base.dir=C:\applications\wildfly-10.1.0.CR1-test\standalone#--serve
bq. r-config=standalone.xml" --StopMode=exe --StopImage=cmd.exe --StopPath="C:\applications\wi
bq. ldfly-10.1.0.CR1-test\bin"  ++StopParams="/c jboss-cli.bat --controller=localhost:9990 --c
bq. onnect  --command=:shutdown"
bq. Service Wildfly installed
bq. 

Windows reports this error:
{{Windows could not start the Wildfly on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code1.
}}

Event log report:
The Wildfly service terminated with the following service-specific error: 
Incorrect function.

- <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">7024</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8080000000000000</Keywords> 
  <TimeCreated SystemTime="2016-08-13T21:40:42.402218400Z" /> 
  <EventRecordID>196500</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="668" ThreadID="10184" /> 
  <Channel>System</Channel> 
  <Computer>ITPC7.intra.rfgh.net</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data Name="param1">Wildfly</Data> 
  <Data Name="param2">%%1</Data> 
  <Binary>570069006C00640066006C0079000000</Binary> 
  </EventData>
  </Event>




> Wildfly 10.1.0.CR1 does not start as a windows service
> ------------------------------------------------------
>
>                 Key: WFLY-6953
>                 URL: https://issues.jboss.org/browse/WFLY-6953
>             Project: WildFly
>          Issue Type: Bug
>    Affects Versions: 10.1.0.CR1
>         Environment: Windows 8/Windows Server 2012
> Oracle Java 8
>            Reporter: Anton Yudin
>            Assignee: Jason Greene
>
> Wildfly fails to start as a windows service.
> Installation works fine:
> {code}
> .\service.bat install
> Using the X86-64bit version of prunsrv
> "C:\applications\wildfly-10.1.0.CR1-test\bin\service\amd64\wildfly-service" install Wildfly  --DisplayName=WildFly --Description=""WildFly Application Server"" --LogLevel=INFO --LogPath="C:\applications\wildfly-10.1.0.CR1-test\standalone\log" --LogPrefix=service --StdOutput=auto --StdError=auto --StartMode=exe --Startup=manual --StartImage=cmd.exe --StartPath="C:\applications\wildfly-10.1.0.CR1-test\bin" ++StartParams="/c#set#NOPAUSE=Y#&&#standalone.bat#-Djboss.server.base.dir=C:\applications\wildfly-10.1.0.CR1-test\standalone#--server-config=standalone.xml" --StopMode=exe --StopImage=cmd.exe --StopPath="C:\applications\wildfly-10.1.0.CR1-test\bin"  ++StopParams="/c jboss-cli.bat --controller=localhost:9990 --connect  --command=:shutdown"
> Service Wildfly installed
> {code}
> Windows reports this error:
> {quote}
> Windows could not start the Wildfly on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code1.
> {quote}
> {code}
> Event log report:
> The Wildfly service terminated with the following service-specific error: 
> Incorrect function.
>   <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">7024</EventID>
>         <Version>0</Version>
>         <Level>2</Level>
>         <Task>0</Task>
>         <Opcode>0</Opcode>
>         <Keywords>0x8080000000000000</Keywords>
>         <TimeCreated SystemTime="2016-08-13T21:40:42.402218400Z"/>
>         <EventRecordID>196500</EventRecordID>
>         <Correlation/>
>         <Execution ProcessID="668" ThreadID="10184"/>
>         <Channel>System</Channel>
>         <Computer>ITPC7.intra.rfgh.net</Computer>
>         <Security/>
>     </System>
>     -
>     <EventData>
>         <Data Name="param1">Wildfly</Data>
>         <Data Name="param2">%%1</Data>
>         <Binary>570069006C00640066006C0079000000</Binary>
>     </EventData>
> </Event>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list