junnichi@vt04:/tmp$ docker run jboss/wildfly
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss/wildfly
JAVA: /usr/lib/jvm/java/bin/java
JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED --add-modules=java.se
=========================================================================
13:15:40,585 INFO [org.jboss.modules] (main) JBoss Modules version 1.8.7.Final
13:15:41,287 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final
13:15:41,299 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.2.Final
13:15:41,490 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 15.0.1.Final (WildFly Core 7.0.0.Final) starting
13:15:42,714 INFO [org.wildfly.security] (ServerService Thread Pool -- 27) ELY00001: WildFly Elytron version 1.7.0.Final
13:15:43,555 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
13:15:43,608 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 34) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
13:15:43,725 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
13:15:43,754 INFO [org.xnio] (MSC service thread 1-5) XNIO version 3.6.5.Final
13:15:43,766 INFO [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.6.5.Final
13:15:43,833 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 49) WFLYCLINF0001: Activating Infinispan subsystem.
13:15:43,879 INFO [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 58) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
13:15:43,866 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 51) WFLYRS0016: RESTEasy version 3.6.2.Final
13:15:43,903 INFO [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 61) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
13:15:43,913 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 62) WFLYNAM0001: Activating Naming Subsystem
13:15:43,916 INFO [org.jboss.as.security] (ServerService Thread Pool -- 68) WFLYSEC0002: Activating Security Subsystem
13:15:43,920 INFO [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.11.Final)
13:15:43,914 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 56) WFLYJSF0007: Activated the following JSF Implementations: [main]
13:15:43,929 INFO [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 59) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
13:15:43,936 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
13:15:43,954 INFO [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool -- 60) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem
13:15:43,950 INFO [org.jboss.as.security] (MSC service thread 1-5) WFLYSEC0001: Current PicketBox version=5.0.3.Final
13:15:43,951 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 70) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
13:15:43,952 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 50) WFLYIO001: Worker 'default' has auto-configured to 12 core threads with 96 task threads based on your 6 available processors
13:15:44,010 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 72) WFLYWS0002: Activating WebServices Extension
13:15:44,041 INFO [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service
13:15:44,050 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
13:15:44,049 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 42) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
13:15:44,063 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0003: Undertow 2.0.15.Final starting
13:15:44,072 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.8.Final
13:15:44,078 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2
13:15:44,092 INFO [io.smallrye.metrics] (MSC service thread 1-2) Converted [2] config entries and added [4] replacements
13:15:44,097 INFO [io.smallrye.metrics] (MSC service thread 1-2) Converted [3] config entries and added [18] replacements
13:15:44,221 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
13:15:44,346 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 24 (per class), which is derived from the number of CPUs on this host.
13:15:44,352 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 96 (per class), which is derived from thread worker pool sizing.
13:15:44,419 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 71) WFLYUT0014: Creating file handler for path '/opt/jboss/wildfly/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
13:15:44,433 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.
13:15:44,448 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0018: Host default-host starting
13:15:44,565 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTP listener default listening on 0.0.0.0:8080
13:15:44,673 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0493: EJB subsystem suspension complete
13:15:44,750 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
13:15:44,939 INFO [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
13:15:44,964 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-6) WFLYDM0111: Keystore /opt/jboss/wildfly/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
13:15:44,973 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/jboss/wildfly/standalone/deployments
13:15:45,070 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTPS listener https listening on 0.0.0.0:8443
13:15:45,155 INFO [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBossWS 5.2.4.Final (Apache CXF 3.2.5.jbossorg-1)
13:15:45,248 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
13:15:45,252 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
13:15:45,252 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
13:15:45,253 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 15.0.1.Final (WildFly Core 7.0.0.Final) started in 5135ms - Started 309 of 530 services (321 services are lazy, passive or on-demand)
2019年2月25日月曜日
WildFly 15
月日が過ぎ去るのは早く、知らないうちに 15 まで WildFly のバージョンが上がっていた。
2018年3月22日木曜日
WildFly12 を起動してみたよ。
docker run するだけで試せるのは良い世の中になりました。
起動メッセージには、12.0.0.Final が起動しているよってなってるけど、welcome ページを参照すると「Your WildFly 11 is running.」・・・・ですって。苦笑
バグ?
WildFly 12 で、EE8 したらしいので、少しずつ追いかけてみます。
起動メッセージには、12.0.0.Final が起動しているよってなってるけど、welcome ページを参照すると「Your WildFly 11 is running.」・・・・ですって。苦笑
バグ?
WildFly 12 で、EE8 したらしいので、少しずつ追いかけてみます。
$ docker pull jboss/wildfly
Using default tag: latest
latest: Pulling from jboss/wildfly
5e35d10a3eba: Pull complete
7a2fa01e4d40: Pull complete
e7494fe8235d: Pull complete
e0f510da7606: Pull complete
c03649af48fc: Pull complete
Digest: sha256:100353f23980bdaf24026760efbfb23b17272410fc851ce3690c27b7a9536eab
Status: Downloaded newer image for jboss/wildfly:latest
$ docker run -p 20080:8080 -it jboss/wildfly /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss/wildfly
JAVA: /usr/lib/jvm/java/bin/java
JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
11:20:45,716 INFO [org.jboss.modules] (main) JBoss Modules version 1.7.0.Final
11:20:45,997 INFO [org.jboss.msc] (main) JBoss MSC version 1.3.2.Final
11:20:46,007 INFO [org.jboss.threads] (main) JBoss Threads version 2.3.1.Final
11:20:46,133 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 12.0.0.Final (WildFly Core 4.0.0.Final) starting
11:20:47,639 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
11:20:47,670 INFO [org.wildfly.security] (ServerService Thread Pool -- 19) ELY00001: WildFly Elytron version 1.2.2.Final
11:20:47,704 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 29) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
11:20:47,789 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
11:20:47,805 INFO [org.xnio] (MSC service thread 1-4) XNIO version 3.6.2.Final
11:20:47,812 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.6.2.Final
11:20:47,864 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
11:20:47,874 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016: RESTEasy version 3.5.0.Final
11:20:47,876 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42) WFLYCLINF0001: Activating Infinispan subsystem.
11:20:47,896 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007: Activated the following JSF Implementations: [main]
11:20:47,911 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.5.Final
11:20:47,920 INFO [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.7.Final)
11:20:47,949 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 58) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
11:20:47,954 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001: Activating Naming Subsystem
11:20:47,959 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
11:20:47,957 INFO [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002: Activating Security Subsystem
11:20:47,977 INFO [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=5.0.2.Final
11:20:47,994 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 60) WFLYWS0002: Activating WebServices Extension
11:20:48,002 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 2.0.0.Final starting
11:20:48,004 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2
11:20:48,066 INFO [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service
11:20:48,088 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
11:20:48,241 INFO [org.jboss.as.ejb3] (MSC service thread 1-6) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
11:20:48,242 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
11:20:48,360 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59) WFLYUT0014: Creating file handler for path '/opt/jboss/wildfly/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
11:20:48,366 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server.
11:20:48,372 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting
11:20:48,552 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0006: Undertow HTTP listener default listening on 0.0.0.0:8080
11:20:48,674 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0493: EJB subsystem suspension complete
11:20:48,837 INFO [org.jboss.as.patching] (MSC service thread 1-6) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
11:20:48,865 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
11:20:48,885 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore /opt/jboss/wildfly/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
11:20:49,124 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-6) WFLYDS0013: Started FileSystemDeploymentService for directory /opt/jboss/wildfly/standalone/deployments
11:20:49,225 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTPS listener https listening on 0.0.0.0:8443
11:20:49,325 INFO [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBossWS 5.2.0.Final (Apache CXF 3.2.2)
11:20:49,450 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
11:20:49,455 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
11:20:49,464 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
11:20:49,465 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 12.0.0.Final (WildFly Core 4.0.0.Final) started in 4121ms - Started 292 of 513 services (308 services are lazy, passive or on-demand)
2016年2月1日月曜日
WildFly 10 !
WildFly 10.0.0.Final がリリースされたのでいつもの起動テスト。
Windows 10 で WildFly 10 を起動します。
8秒・・・・遅いと思ったけど、前のバージョンのログ観てもそんなもんだった。
Windows 10 で WildFly 10 を起動します。
8秒・・・・遅いと思ったけど、前のバージョンのログ観てもそんなもんだった。
Calling "C:\usr\local\jboss\wildfly-10.0.0.Final\bin\standalone.conf.bat" JAVA_HOME is not set. Unexpected results may occur. Set JAVA_HOME to the directory of your local JDK to avoid this message. =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: "C:\usr\local\jboss\wildfly-10.0.0.Final" JAVA: "java" JAVA_OPTS: "-Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman" =============================================================================== 14:26:53,780 INFO [org.jboss.modules] (main) JBoss Modules version 1.5.1.Final 14:26:54,499 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final 14:26:54,633 INFO [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) starting 14:26:57,439 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 14:26:57,471 INFO [org.xnio] (MSC service thread 1-6) XNIO version 3.3.4.Final 14:26:57,486 INFO [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.3.4.Final 14:26:57,642 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique. 14:26:57,674 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors 14:26:57,689 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension 14:26:57,721 INFO [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem 14:26:57,721 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem. 14:26:57,705 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem 14:26:57,799 INFO [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=4.9.4.Final 14:26:57,814 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 1.3.15.Final starting 14:26:57,814 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0003: Undertow 1.3.15.Final starting 14:26:57,877 INFO [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.2.Final) 14:26:57,846 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main] 14:26:58,080 INFO [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 4.0.18.Final 14:26:58,205 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 14:26:58,221 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2 14:26:58,267 INFO [org.jboss.as.mail.extension] (MSC service thread 1-6) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 14:26:58,267 INFO [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service 14:26:58,564 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path 'C:\usr\local\jboss\wildfly-10.0.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]'] 14:26:58,721 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012: Started server default-server. 14:26:58,846 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting 14:26:58,908 INFO [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing. 14:26:58,908 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host. 14:26:59,033 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080 14:26:59,471 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 14:26:59,502 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory C:\usr\local\jboss\wildfly-10.0.0.Final\standalone\deployments 14:26:59,971 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-5) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final 14:26:59,971 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-4) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final 14:26:59,971 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-6) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final 14:26:59,986 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-7) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final 14:27:00,434 INFO [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBossWS 5.1.3.Final (Apache CXF 3.1.4) 14:27:01,055 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management 14:27:01,055 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990 14:27:01,055 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) started in 8041ms - Started 267 of 553 services (371 services are lazy, passive or on-demand)
2015年3月2日月曜日
WildFly 8.2.0.Final on Raspberry pi 2
Raspberry pi 2 がリリースされ、RAM が 1GB になった。
普通に Java の AP サーバーが動いちゃうじゃないか。
・・・・・ということで、ポチっとしちゃいました。
確かにちっちゃい。今更だけどw
で、やらずには居られないいつもの結果です。
普通に Java の AP サーバーが動いちゃうじゃないか。
・・・・・ということで、ポチっとしちゃいました。
確かにちっちゃい。今更だけどw
で、やらずには居られないいつもの結果です。
pi@raspberrypi /usr/local/jboss/wildfly-8.2.0.Final/bin $ ./standalone.sh -b 192.168.1.18630秒か~なんとか使えなくもないかな?
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss/wildfly-8.2.0.Final
JAVA: java
JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
11:25:13,595 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final
11:25:16,599 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final
11:25:17,395 INFO [org.jboss.as] (MSC service thread 1-5) JBAS015899: WildFly 8.2.0.Final "Tweek" starting
11:25:26,121 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
11:25:26,292 INFO [org.xnio] (MSC service thread 1-3) XNIO version 3.3.0.Final
11:25:26,710 INFO [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.3.0.Final
11:25:26,968 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.
11:25:27,013 INFO [org.jboss.as.security] (ServerService Thread Pool -- 45) JBAS013171: Activating Security Subsystem
11:25:27,025 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
11:25:27,087 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
11:25:27,161 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
11:25:27,208 INFO [org.jboss.as.security] (MSC service thread 1-5) JBAS013170: Current PicketBox version=4.0.21.Final
11:25:27,212 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 31) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
11:25:27,261 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 38) JBAS012615: Activated the following JSF Implementations: [main]
11:25:27,531 INFO [org.jboss.as.connector.logging] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.9.Final)
11:25:27,608 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) JBAS017502: Undertow 1.1.0.Final starting
11:25:27,620 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 47) JBAS017502: Undertow 1.1.0.Final starting
11:25:27,777 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
11:25:27,823 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010417: Started Driver service with driver-name = h2
11:25:27,951 INFO [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service
11:25:27,996 INFO [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/Default]
11:25:28,217 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 4.0.6.Final
11:25:29,174 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 47) JBAS017527: Creating file handler for path /usr/local/jboss/wildfly-8.2.0.Final/welcome-content
11:25:29,269 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017525: Started server default-server.
11:25:29,435 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) JBAS017531: Host default-host starting
11:25:38,190 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017519: Undertow HTTP listener default listening on /192.168.1.186:8080
11:25:39,958 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory /usr/local/jboss/wildfly-8.2.0.Final/standalone/deployments
11:25:40,699 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
11:25:42,458 INFO [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.2.Final
11:25:43,037 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
11:25:43,041 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
11:25:43,044 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.2.0.Final "Tweek" started in 33060ms - Started 184 of 234 services (82 services are lazy, passive or on-demand)
2014年6月8日日曜日
JBoss EAP 6.2 -> 6.2.x へのバージョンアップ
知らないうちに、patch を当てる形式になってたんですね。6.2 からかな?(*1)
https://access.redhat.com/site/documentation//en-US/JBoss_Enterprise_Application_Platform/6.2/html/Installation_Guide/Installing_Patches_in_Zip_Form_Using_the_patch_Command.html
成功するとこんな感じ(パッチファイルのパス削ってるので読み替えてね)
JBoss を再起動すると・・・・
6.2.3.GA に代わります。
(*1) 中の人から下記情報を戴きました^^。やっぱり 6.2 かららしいです。
https://access.redhat.com/site/ja/articles/643163
https://access.redhat.com/site/documentation//en-US/JBoss_Enterprise_Application_Platform/6.2/html/Installation_Guide/Installing_Patches_in_Zip_Form_Using_the_patch_Command.html
成功するとこんな感じ(パッチファイルのパス削ってるので読み替えてね)
JBoss を再起動すると・・・・
6.2.3.GA に代わります。
(*1) 中の人から下記情報を戴きました^^。やっぱり 6.2 かららしいです。
https://access.redhat.com/site/ja/articles/643163
2014年2月14日金曜日
2014年2月12日水曜日
2013年12月25日水曜日
WildFly 8.0.0.CR1
ようやく出てたのでとりあえずいつものブート。
久しぶりに、ZIP 版が生きてましたw
Final は1月末みたいですね。
https://issues.jboss.org/browse/WFLY?selectedTab=com.atlassian.jira.plugin.system.project%3Aroadmap-panel&_sscc=t
久しぶりに、ZIP 版が生きてましたw
Final は1月末みたいですね。
https://issues.jboss.org/browse/WFLY?selectedTab=com.atlassian.jira.plugin.system.project%3Aroadmap-panel&_sscc=t
2013年11月13日水曜日
RESTEasy の Bean Validation
そんなの API で受けてから手動でやりなさいよ!と言われるかもしれないけどできることなら冗長なコードは排除したい。
そんなあなたに ExceptionMapper を使う方法を。
使い方が変わったようなので新旧書いときます。(大体同じようなことはしてますが全く同じではないので注意)
※RESTEasy 2.3 の方は EJB との組み合わせに問題がある・・・・ので、できれば RESTEasy 3 の方がおすすめです。
□WildFly 8.0.0.Beta1 & RESTEasy 3.0.4.Final
□JSON 出力のためのドメインクラス
□pom.xml(RESTEasy 3.0.4.Final)
そんなあなたに ExceptionMapper を使う方法を。
使い方が変わったようなので新旧書いときます。(大体同じようなことはしてますが全く同じではないので注意)
※RESTEasy 2.3 の方は EJB との組み合わせに問題がある・・・・ので、できれば RESTEasy 3 の方がおすすめです。
□WildFly 8.0.0.Beta1 & RESTEasy 3.0.4.Final
@Provider□JBoss AS 7.1.x & RESTEasy 2.3.x
public class ValidationExceptionHandler implements
ExceptionMapper<ResteasyViolationException> {
@Override
@Produces(MediaType.APPLICATION_JSON)
public Response toResponse(ResteasyViolationException exception) {
ValidateMessage errors = new ValidateMessage();
for (ResteasyConstraintViolation violation : exception.getViolations()) {
errors.getMessages().add(
new Message(String.format("%s:%s:%s:%s", violation
.getPath(), violation.getConstraintType().name(),
violation.getValue(), violation.getMessage())));
}
return Response.status(Status.BAD_REQUEST).entity(errors).build();
}
}
@Provider
public class ValidationExceptionHandler implements
ExceptionMapper<MethodConstraintViolationException> {
@Override
@Produces({ MediaType.APPLICATION_JSON })
public Response toResponse(MethodConstraintViolationException ex) {
ValidateMessage errors = new ValidateMessage();
for (MethodConstraintViolation<?> violation : ex
.getConstraintViolations()) {
errors.getMessages().add(
new Message(String.format("%s:%s:%s:%s", violation
.getMethod().getName(), violation
.getParameterName(), violation.getInvalidValue(),
violation.getMessage())));
}
return Response.status(Status.BAD_REQUEST).entity(errors).build();
}
}
□JSON 出力のためのドメインクラス
@XmlRootElement(name = "validate_message")
public class ValidateMessage implements Serializable {
private static final long serialVersionUID = 1L;
private List<Message> messages = new ArrayList<Message>();
public static class Message {
private String message;
public Message() {
}
public Message(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
@XmlElementWrapper(name = "messages")
@XmlElement(name = "message")
public List<Message> getMessages() {
return messages;
}
public void setMessages(List<Message> messages) {
this.messages = messages;
}
}
□pom.xml(RESTEasy 3.0.4.Final)
<dependency>□pom.xml(RESTEasy 2.3.x)
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-validator-provider-11</artifactId>
<version>3.0.4.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-hibernatevalidator-provider</artifactId>
<version>2.3.7.Final</version>
</dependency>
2013年9月30日月曜日
2013年9月26日木曜日
SwitchYard on OpenShift
デモビデオが出てたので貼っときます。
http://vimeo.com/75402902#
え。でも、OpenShift の SwitchYard って 0.4 じゃなかった?
・・・・と思ったら、0.8 に上がってました。なぜ 1.0 じゃない?w
あ、ここに纏められるみたいですね^^
https://community.jboss.org/wiki/SwitchYardVideoSeries
http://vimeo.com/75402902#
え。でも、OpenShift の SwitchYard って 0.4 じゃなかった?
・・・・と思ったら、0.8 に上がってました。なぜ 1.0 じゃない?w
あ、ここに纏められるみたいですね^^
https://community.jboss.org/wiki/SwitchYardVideoSeries
2013年9月11日水曜日
最近困っている不具合一覧
■解決して助かった問題
- Make RESTeasy gateway aware of runtime and application faults
https://issues.jboss.org/browse/SWITCHYARD-1601
- Server-side parallel REST accesses cause IllegalStateException
https://issues.jboss.org/browse/SWITCHYARD-1677
- It seems that RESTEasy binding builds nested javax.ws.rs.core.Response
https://issues.jboss.org/browse/SWITCHYARD-1679
- Asynchronous processing support for RESTEasy binding
https://issues.jboss.org/browse/SWITCHYARD-1684
2013年8月8日木曜日
Support injection of JMSContext
WildFly で JMS の @Inject アノテーションによるインジェクションができないという問題(正確には、JMS 2.0 機能が満たせてないだけ)があったのですが、対応が入ったみたいです。
https://issues.jboss.org/browse/WFLY-1286
コード量が少し減りますかね。
https://issues.jboss.org/browse/WFLY-1286
コード量が少し減りますかね。
2013年7月29日月曜日
2013年6月24日月曜日
WildFly 8.0.0.Alpha2
リリースされてますね~
http://www.wildfly.org/download/
https://github.com/wildfly/wildfly/tree/8.0.0.Alpha2
あー、なんか Alpha1 で作ってたプロジェクトはそのままじゃ動かんな~w
http://www.wildfly.org/download/
https://github.com/wildfly/wildfly/tree/8.0.0.Alpha2
あー、なんか Alpha1 で作ってたプロジェクトはそのままじゃ動かんな~w
2013年6月13日木曜日
OpenShift!
正式発表された、OpenShift にスモールサイズのインスタンスを作ってみたよ!
URL こういうの意外と取れるのねw
http://hoge-fuga.rhcloud.com/
さて・・・・置くモノが無いなw
URL こういうの意外と取れるのねw
http://hoge-fuga.rhcloud.com/
さて・・・・置くモノが無いなw
2013年5月18日土曜日
WildFly 8.0.0.Alpha1 をビルド
WildFly 8.0.0.Alpha1 のタグ付けがされたようなので、早速ビルドしてみたよ!
ビルドが終わったら、以下のようにしてインストール先にバイナリを移動します。
で、起動
以下が表示されれば起動完了!
$ cd /path/to
$ git clone https://github.com/wildfly/wildfly.git
$ cd wildfly
$ git tag
7.0.0.Alpha1
7.0.0.Alpha1-final
7.0.0.Beta1
7.0.0.Beta1-prerelease
7.0.0.Beta2
7.0.0.Beta2-prerelease
7.0.0.Beta3
7.0.0.CR1
7.0.0.Final
7.0.0.Final-prerelease
7.0.0.Final-prerelease2
7.0.0.Final-prerelease3
7.0.1.Final
7.0.2.Final
7.0.2.Final-prerelease
7.0.2.SP1-prerelease
7.1.0.Alpha1
7.1.0.Beta1
7.1.0.Beta1b
7.1.0.Beta1b-prerelease
7.1.0.CR1
7.1.0.CR1b
7.1.0.Final
7.1.0.Final-prerelease
7.1.0.Final-prerelease2
7.1.1.Final
7.1.2-prerelease
7.1.2.Final
7.1.3.Beta1
7.1.3.CR1
7.1.3.Final
7.2.0.Final
7.2.0.Final-prerelease1
7.2.0.Final-testsuite-fix
8.0.0.Alpha1
$ git checkout -b new 8.0.0.Alpha1
$ JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 ./build.sh -DskipTests
ビルドが終わったら、以下のようにしてインストール先にバイナリを移動します。
$ mv build/target/wildfly-8.0.0.Alpha1/ /usr/local/jboss/
で、起動
$ cd /usr/local/jboss/wildfly-8.0.0.Alpha1
$ JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 ./standalone.sh
以下が表示されれば起動完了!
15:40:49,486 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Alpha1 "WildFly" started in 5917ms - Started 154 of 191 services (57 services are lazy, passive or on-demand)
2013年4月11日木曜日
Atmosphere-jsr356
Atomosphere の JSR356 対応版の github を発見。
https://github.com/Atmosphere/atmosphere-jsr356
今のところ、クラスが2つ入っているだけのラッパーみたいだけど、JBoss でも JSR356 できそうな?
https://github.com/Atmosphere/atmosphere-jsr356
今のところ、クラスが2つ入っているだけのラッパーみたいだけど、JBoss でも JSR356 できそうな?
登録:
投稿 (Atom)









.png)