[jboss-jira] [JBoss JIRA] (AS7-5403) CLONE - Adding modcluster via the CLI fails.

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Apr 11 05:22:55 EDT 2013


    [ https://issues.jboss.org/browse/AS7-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766401#comment-12766401 ] 

RH Bugzilla Integration commented on AS7-5403:
----------------------------------------------

Michal Babacek <mbabacek at redhat.com> made a comment on [bug 900801|https://bugzilla.redhat.com/show_bug.cgi?id=900801]

Guys, no. It is still broken. (EAP6.1.0.ER4)

1) connector is ajp implicitly idea: Does not work.
/subsystem=modcluster:add()                
{
    "outcome" => "failed",
    "failure-description" => "JBAS014746: connector may not be null",
    "rolled-back" => true
}

2) let's add it in disabled state idea: Does not work.
/subsystem=modcluster:add(enable=false)
Operation 'add' does not expect any property.


3) let's add it with connector=ajp idea: Does not work.
/subsystem=modcluster:add(connector=ajp)
Operation 'add' does not expect any property.

4) with the "configuration" level, similar to 3), Does not work.
/subsystem=modcluster:add(configuration=[{advertise-socket=modcluster,connector=ajp}])
Operation 'add' does not expect any property.

5) composite operation idea: Does not work.

[standalone at localhost:9999 / #] list-batch
#1 /:composite(steps=[{"operation" => "add", "address" => [ ("subsystem" => "modcluster") ] },{ "operation" => "add", "address" => [ ("subsystem" => "modcluster"), ("mod-cluster-config" => "configuration") ], "connector" => "ajp"}])

[standalone at localhost:9999 / #] run-batch
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"JBAS014671: Failed services" => {"jboss.mod-cluster" => "org.jboss.msc.service.StartException in service jboss.mod-cluster: java.lang.IllegalStateException
    Caused by: java.lang.IllegalStateException"}}}}}}

In log further:
10:59:56,694 INFO  [org.jboss.as.modcluster] (management-handler-thread - 4) JBAS011704: Mod_cluster uses default load balancer provider
10:59:56,698 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.mod-cluster: org.jboss.msc.service.StartException in service jboss.mod-cluster: java.lang.IllegalStateException
	at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:87) [jboss-as-clustering-common-7.2.0.Final-redhat-4.jar:7.2.0.Final-redhat-4]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_15]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
Caused by: java.lang.IllegalStateException
	at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
	at org.jboss.as.modcluster.ModClusterService.start(ModClusterService.java:94)
	at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:82) [jboss-as-clustering-common-7.2.0.Final-redhat-4.jar:7.2.0.Final-redhat-4]
	... 4 more


Yes, I have /extension=org.jboss.as.modcluster:add() in place :-)
Yes, I have /subsystem=web/connector=ajp:add(name=ajp,protocol=ajp,scheme=ajp,socket-binding=ajp) in place.

Conclusion: I am not able to add modcluster subsystem via CLI while having standalone.xml configuration in place.
                
> CLONE - Adding modcluster via the CLI fails.
> --------------------------------------------
>
>                 Key: AS7-5403
>                 URL: https://issues.jboss.org/browse/AS7-5403
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CLI, Clustering
>    Affects Versions: 7.1.2.Final (EAP)
>            Reporter: Tom Fonteyne
>            Assignee: Radoslav Husar
>             Fix For: 8.0.0.Alpha1
>
>
> Adding modcluster via the CLI fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list