Checking existing JSF subsystem and default module
[jboss@69c9222702f3 bin]$ ./jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect 10.80.1.209:9990 Authenticating against security realm: ManagementRealm Username: admin Password: [standalone@10.80.1.209:9990 /] /subsystem=jsf/:list-active-jsf-impls { "outcome" => "success", "result" => ["main"] } [standalone@10.80.1.209:9990 /] /subsystem=jsf/:read-attribute(name=default-jsf-impl-slot) { "outcome" => "success", "result" => "main" } [standalone@10.80.1.209:9990 /]
Deploy new one v1.2 and restart Wildfly
[standalone@10.80.1.209:9990 /] deploy /install-mojarra-1.2_15.cli
-or- Download files from github
Verify installed module ,change default to new added and restart Wildfly
[jboss@69c9222702f3 bin]$ ./jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect 10.80.1.209:9990 Authenticating against security realm: ManagementRealm Username: admin Password: [standalone@10.80.1.209:9990 /] /subsystem=jsf/:list-active-jsf-impls { "outcome" => "success", "result" => [ "mojarra-1.2_15", "main" ] } [standalone@10.80.1.209:9990 /] /subsystem=jsf/:read-attribute(name=default-jsf-impl-slot) { "outcome" => "success", "result" => "main" } [standalone@10.80.1.209:9990 /] /subsystem=jsf/:write-attribute(name=default-jsf-impl-slot,value=mojarra-1.2_15) { "outcome" => "success", "response-headers" => { "operation-requires-reload" => true, "process-state" => "reload-required" } } [standalone@10.80.1.209:9990 /]
Confirm default to JSF 1.2
[jboss@69c9222702f3 bin]$ ./jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect 10.80.1.209:9990 Authenticating against security realm: ManagementRealm Username: admin Password: [standalone@10.80.1.209:9990 /] /subsystem=jsf/:read-attribute(name=default-jsf-impl-slot) { "outcome" => "success", "result" => "mojarra-1.2_15" }
Test JSF 1.2 Web Application
Reference Site : Steps to add any new JSF implementation or version to WildFly
No comments:
Post a Comment