[
https://issues.jboss.org/browse/TEIID-3832?page=com.atlassian.jira.plugin...
]
Kylin Soong reassigned TEIID-3832:
----------------------------------
Issue Type: Bug (was: Quality Risk)
Description:
CLI command
{code}
/host=master:reload(restart-servers=true)
{code}
execute failed due to java.lang.ClassNotFoundException:
org.wildfly.clustering.jgroups.ChannelFactory from [Module
"org.jboss.teiid:main"
CLI failed log
{code}
{
"outcome" => "failed",
"result" => undefined,
"failure-description" => {"WFLYDC0074: Operation failed or was
rolled back on all servers. Server failures:" => {"server-group" =>
{"main-server-group" => {"host" => {"master" => {
"server-one" => "WFLYCTL0158: Operation handler failed:
java.lang.NoClassDefFoundError: org/wildfly/clustering/jgroups/ChannelFactory",
"server-two" => "WFLYCTL0158: Operation handler failed:
java.lang.NoClassDefFoundError: org/wildfly/clustering/jgroups/ChannelFactory"
}}}}}},
"rolled-back" => true,
"server-groups" => {"main-server-group" => {"host"
=> {"master" => {
"server-one" => {"response" => {
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler
failed: java.lang.NoClassDefFoundError:
org/wildfly/clustering/jgroups/ChannelFactory",
"rolled-back" => true,
"response-headers" => {"process-state" =>
"reload-required"}
}},
"server-two" => {"response" => {
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler
failed: java.lang.NoClassDefFoundError:
org/wildfly/clustering/jgroups/ChannelFactory",
"rolled-back" => true,
"response-headers" => {"process-state" =>
"reload-required"}
}}
}}}}
{code}
Server side error log
{code}
[Server:server-one] Caused by: java.lang.ClassNotFoundException:
org.wildfly.clustering.jgroups.ChannelFactory from [Module
"org.jboss.teiid:main" from local module loader @621be5d1 (finder: local module
finder @573fd745 (roots:
/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules,/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules/system/layers/dv,/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
[Server:server-two] Caused by: java.lang.ClassNotFoundException:
org.wildfly.clustering.jgroups.ChannelFactory from [Module
"org.jboss.teiid:main" from local module loader @621be5d1 (finder: local module
finder @573fd745 (roots:
/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules,/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules/system/layers/dv,/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
{code}
was:
I have found the following CLI are duplicated CLI in teiid-domain-mode-install.cli and
teiid-standalone-mode-install.cli:
{code}
connect
/extension=org.jboss.teiid:add(module=org.jboss.teiid)
/socket-binding-group=standard-sockets/socket-binding=teiid-jdbc:add(port=31000)
/socket-binding-group=standard-sockets/socket-binding=teiid-odbc:add(port=35432)
{code}
If execute both cli script against one JBoss server, the error may throw:
{code}
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0212: Duplicate resource
[(\"extension\" => \"org.jboss.teiid\")]",
"rolled-back" => true
}
{code}
Fix Version/s: 8.13
Summary: NoClassDefFoundError cause domain script run failed (was: Duplicated
CLI in teiid-domain-mode-install.cli and teiid-standalone-mode-install.cli)
Assignee: Ramesh Reddy (was: Steven Hawkins)
NoClassDefFoundError cause domain script run failed
----------------------------------------------------
Key: TEIID-3832
URL:
https://issues.jboss.org/browse/TEIID-3832
Project: Teiid
Issue Type: Bug
Components: Build/Kits
Affects Versions: 8.13
Reporter: Kylin Soong
Assignee: Ramesh Reddy
Fix For: 8.13
CLI command
{code}
/host=master:reload(restart-servers=true)
{code}
execute failed due to java.lang.ClassNotFoundException:
org.wildfly.clustering.jgroups.ChannelFactory from [Module
"org.jboss.teiid:main"
CLI failed log
{code}
{
"outcome" => "failed",
"result" => undefined,
"failure-description" => {"WFLYDC0074: Operation failed or was
rolled back on all servers. Server failures:" => {"server-group" =>
{"main-server-group" => {"host" => {"master" => {
"server-one" => "WFLYCTL0158: Operation handler failed:
java.lang.NoClassDefFoundError: org/wildfly/clustering/jgroups/ChannelFactory",
"server-two" => "WFLYCTL0158: Operation handler failed:
java.lang.NoClassDefFoundError: org/wildfly/clustering/jgroups/ChannelFactory"
}}}}}},
"rolled-back" => true,
"server-groups" => {"main-server-group" =>
{"host" => {"master" => {
"server-one" => {"response" => {
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler
failed: java.lang.NoClassDefFoundError:
org/wildfly/clustering/jgroups/ChannelFactory",
"rolled-back" => true,
"response-headers" => {"process-state" =>
"reload-required"}
}},
"server-two" => {"response" => {
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler
failed: java.lang.NoClassDefFoundError:
org/wildfly/clustering/jgroups/ChannelFactory",
"rolled-back" => true,
"response-headers" => {"process-state" =>
"reload-required"}
}}
}}}}
{code}
Server side error log
{code}
[Server:server-one] Caused by: java.lang.ClassNotFoundException:
org.wildfly.clustering.jgroups.ChannelFactory from [Module
"org.jboss.teiid:main" from local module loader @621be5d1 (finder: local module
finder @573fd745 (roots:
/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules,/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules/system/layers/dv,/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
[Server:server-two] Caused by: java.lang.ClassNotFoundException:
org.wildfly.clustering.jgroups.ChannelFactory from [Module
"org.jboss.teiid:main" from local module loader @621be5d1 (finder: local module
finder @573fd745 (roots:
/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules,/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules/system/layers/dv,/home/kylin/tmp2/teiid-8.13.0.Alpha1-SNAPSHOT/modules/system/layers/base))]
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)