Bug 1577218 - appclient.sh fails with MSC000001: Failed to start service jboss.jacorb.poa-service.irpoa
Summary: appclient.sh fails with MSC000001: Failed to start service jboss.jacorb.poa-...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Application Client
Version: 6.4.20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: jboss-set
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-11 13:36 UTC by Jan Stourac
Modified: 2019-08-19 12:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:48:41 UTC
Type: Bug


Attachments (Terms of Use)
simple application jar file to reproduce this issue (3.50 KB, application/zip)
2018-05-11 13:37 UTC, Jan Stourac
no flags Details

Description Jan Stourac 2018-05-11 13:36:29 UTC
Description of problem:
Our smoke tests started to fail when executing simple app jar file via appclient.sh.


Version-Release number of selected component (if applicable):
EAP6.4.20
first ocurrence is in EAP6.4.14
last working version is EAP6.4.13


How reproducible:
Always

Steps to Reproduce:
1. copy attached app-1.0.jar file to your EAP_HOME/bin directory
2. cd to EAP_HOME/bin directory
3. execute: ./appclient.sh app-1.0.jar
4. see the output


Actual results:
$ ./appclient.sh app-1.0.jar 
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
15:23:42,903 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.10.Final-redhat-1
15:23:42,997 INFO  [org.jboss.msc] (main) JBoss MSC version 1.1.7.SP1-redhat-1
15:23:43,055 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss EAP 6.4.19.GA (AS 7.5.19.Final-redhat-2) starting
15:23:43,598 INFO  [org.jboss.as.jacorb] (ServerService Thread Pool -- 18) JBAS016300: Activating JacORB Subsystem
15:23:43,598 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 22) JBAS013371: Activating Security Subsystem
15:23:43,600 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 24) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.
15:23:43,603 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.41.Final-redhat-1)
15:23:43,605 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 21) JBAS011800: Activating Naming Subsystem
15:23:43,604 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 25) JBAS015537: Activating WebServices Extension
15:23:43,607 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013370: Current PicketBox version=4.1.6.Final-redhat-1
15:23:43,640 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 15) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
15:23:43,668 INFO  [org.jboss.as.naming] (MSC service thread 1-7) JBAS011802: Starting Naming Service
15:23:43,673 INFO  [org.jboss.jaxr] (MSC service thread 1-3) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory
15:23:43,781 INFO  [org.jboss.as.jacorb] (MSC service thread 1-6) JBAS016330: CORBA ORB Service started
15:23:43,865 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.jacorb.poa-service.namingpoa: org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.namingpoa: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
	at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:163)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2064) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1987) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
	at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
Caused by: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
	at org.jacorb.orb.ORB.create_policy(ORB.java:724)
	at org.jboss.as.jacorb.service.CorbaPOAService.createPolicies(CorbaPOAService.java:243)
	at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:160)
	... 5 more
 
15:23:43,865 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.jacorb.poa-service.irpoa: org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.irpoa: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
	at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:163)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2064) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1987) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
	at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
Caused by: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
	at org.jacorb.orb.ORB.create_policy(ORB.java:724)
	at org.jboss.as.jacorb.service.CorbaPOAService.createPolicies(CorbaPOAService.java:243)
	at org.jboss.as.jacorb.service.CorbaPOAService.start(CorbaPOAService.java:160)
	... 5 more
 
15:23:43,877 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("add") failed - address: ([("subsystem" => "jacorb")]) - failure description: {"JBAS014671: Failed services" => {
    "jboss.jacorb.poa-service.irpoa" => "org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.irpoa: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
    Caused by: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0",
    "jboss.jacorb.poa-service.namingpoa" => "org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.namingpoa: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
    Caused by: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0"
}}
15:23:43,901 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.jacorb.poa-service.irpoa: org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.irpoa: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
      service jboss.jacorb.poa-service.namingpoa: org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.namingpoa: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
 
15:23:43,905 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.4.19.GA (AS 7.5.19.Final-redhat-2) started (with errors) in 1217ms - Started 100 of 107 services (3 services failed or missing dependencies, 10 services are lazy, passive or on-demand)
15:23:43,918 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "app-1.0.jar" (runtime-name: "app-1.0.jar")
15:23:44,143 INFO  [org.jboss.as.server] (Thread-37) JBAS015859: Deployed "app-1.0.jar" (runtime-name : "app-1.0.jar")
15:23:44,144 INFO  [org.jboss.as.controller] (Thread-37) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.jacorb.poa-service.irpoa: org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.irpoa: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
      service jboss.jacorb.poa-service.namingpoa: org.jboss.msc.service.StartException in service jboss.jacorb.poa-service.namingpoa: org.omg.CORBA.PolicyError: IDL:omg.org/CORBA/PolicyError:1.0
 
15:23:44,147 INFO  [stdout] (Thread-44) Hello World Enterprise Application Client!
15:23:44,153 INFO  [org.jboss.jaxr] (MSC service thread 1-2) JBAS014002: UnBinding JAXR ConnectionFactory: java:jboss/jaxr/ConnectionFactory
15:23:44,156 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment app-1.0.jar (runtime-name: app-1.0.jar) in 5ms
15:23:44,159 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015950: JBoss EAP 6.4.19.GA (AS 7.5.19.Final-redhat-2) stopped in 10ms
15:23:44,166 INFO  [org.jboss.as.server] (Thread-2) JBAS015986: Host Controller shutdown has been requested via an OS signal

'Hellow World' string is present, although there are additional errors that are not expected, I guess.


Expected results:
No errors in the output with 'Hello World' included


Additional info:

Comment 1 Jan Stourac 2018-05-11 13:37:39 UTC
Created attachment 1434905 [details]
simple application jar file to reproduce this issue

Comment 2 Jan Stourac 2018-05-11 13:38:48 UTC
Content of the app-1.0.jar is trivial:

/*
 * Decompiled with CFR 0_128.
 */
package org.jboss.qa.micro_appclient.app;
 
import java.io.PrintStream;
 
public class Main {
    public static void main(String[] args) {
        System.out.println("Hello World Enterprise Application Client!");
    }
}


Note You need to log in before you can comment on or make changes to this bug.