wildfly

What are all the settings that i should take care of for Wildfly standalone-ha cluster

落爺英雄遲暮 提交于 2019-12-25 02:49:28
问题 i am trying to set cluster of Wildfly 9.0.0Final standanlone servers. I am using httpd2.2. and modcluster1.2.6. before them for load balancing. Cluster works fine until i am deploying simple war only app that can be found on link Session replication works fine. After deployment i load page put.jsp and then i kill server on which page was served. Then i go and load page get.jsp that shows me same date and hour and i know that session was saved since this request was served from other node in

wildfly quickstart fails from the offset

[亡魂溺海] 提交于 2019-12-25 01:22:09
问题 i just downloaded wildfly 9.02 with the quickstarts and the jboss developer studio. I am a total newbie to jboss, i am following the guide on github https://github.com/wildfly/quickstart/ to build and deploy the sources. i got my maven installed (v 3.3.3) with java 8. settings.xml copied to my $HOME/.m2 directory but it seems to me that the urls of the artifcats are all broken [ERROR] The project org.wildfly.quickstarts:wildfly-helloworld:10.0.0-SNAPSHOT (C:\jboss\quickstart\helloworld\pom

Configuring security to access EJB through WS — WFLYEJB0364 Connection rejected

白昼怎懂夜的黑 提交于 2019-12-25 00:21:55
问题 I have followed this tutorial to configure an user ejbuser with password 12345678 and role appCitas . The instructions that I followed are: C:\wildfly-14.0.1.Final\bin>jboss-cli.bat You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect [standalone@localhost:9990 /] /subsystem=elytron/filesystem-realm=proxyRealm:add(path=proxy-realm-users,relative-to=jboss.server.config.dir) {"outcome" => "success"}

Wildfly 15 external Artemis ActiveMQ destination not found

馋奶兔 提交于 2019-12-25 00:17:29
问题 I have a wildfly 15 with an external ActiveMQ and use a resource adapter. But i cannot get a connection to a queue to write on. But I can listen at the queue. here is my configuration: ironjacamar.xml: <admin-objects> <admin-object class-name="org.apache.activemq.command.ActiveMQQueue" jndi-name="java:jboss/activemq/queue/HELLOWORLDMDBQueue1234"> <config-property name="PhysicalName"> activemq/queue/HELLOWORLDMDBQueue </config-property> </admin-object> </admin-objects> ra.xml: <adminobject>

Wildfly Artemis ActiveMQ lookup fail

▼魔方 西西 提交于 2019-12-25 00:15:58
问题 My lookup for a que fail. The que is registered in the wildfly and configured with ironjacamar.xml wildfly output on start: Bound JCA AdminObject [java:jboss/activemq/queue/HELLOWORLDMDBQueue] ironjacamar config: <admin-object class-name="org.apache.activemq.command.ActiveMQQueue" jndi-name="java:jboss/activemq/queue/HELLOWORLDMDBQueue"> <config-property name="PhysicalName"> activemq/queue/HELLOWORLDMDBQueue </config-property> </admin-object> ra.xml: <adminobject> <adminobject-interface>javax

wildfly load balancer failover

左心房为你撑大大i 提交于 2019-12-24 20:53:54
问题 I have setup wildfly16 cluster,this includes 3 nodes node1-wildfly load balancer node2,node3- deployed application war Now what if load balancer failed? This setup works fine even if one node fails, the load balancer will manage the session. But the problem is what if load balancer fails?? it will become single point failure . I have followed below link https://docs.jboss.org/author/display/WFLY/Using+Wildfly+as+a+Load+Balancer Also is there any other way to do clustering without load

CDI Beans Serialization issue on Cluster

本小妞迷上赌 提交于 2019-12-24 17:28:22
问题 I'm facing a big issue when I tried to run my EJB+CDI+JSF application on Wildfly 9.2 (Also I tried 10.0) on Standalone Clustered mode. The issue happens when my cluster container tries to deserialize my session scoped CDI beans, it throws the following exception : 2016-02-06 02:17:22,650 ERROR [io.undertow.request] (default task-9) UT005071: Undertow request failed HttpServerExchange{ GET /login.xhtml request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8]

java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class

白昼怎懂夜的黑 提交于 2019-12-24 16:40:29
问题 When I deploy my war file in wildfly9.0 I get following error; Any clue? Hibernate version=5.0.1.Final Hibernate validator version =5.2.1.Final 09:57:34,368 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 64) MSC000001: Failed to start service jboss.persistenceunit."test2dbwar.war#test2dbwar-persistence-unit": org.jboss.msc.service.StartException in service jboss.persistenceunit."test2dbwar.war#test2dbwar-persistence-unit": java.lang.ClassCastException: sun.reflect.generics

Wildfly Form Auth fails when using special characters

最后都变了- 提交于 2019-12-24 16:26:29
问题 We are deploying our GWT app to a Wildly 8.1.0 server and are using form authentication for security. Our problem is that every time our customer has a special character (æøåäëö, etc.) in their username or password, they cannot login. I have seen other people having the same issue: https://developer.jboss.org/thread/42859?tstart=0 UTF-8 encoded j_security_check username incorrectly decoded as Latin-1 in Tomcat realm Spring security: Form login special characters but they are using Tomcat

JPA entity classes residing in a Wildfly module are not scanned

走远了吗. 提交于 2019-12-24 11:06:15
问题 I have some JPA entity classes residing in a Wildfly module. Although there are entity classes in this module, there's no JPA deployment descriptor (persistence.xml file) in the module. Here's the complete path of the module: {Wildfly_installation}/modules/system/layers/base/br/edu/ufca/main/ufca.jar The module descriptor (located in the same folder): <?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.3" name="br.edu.ufca"> <resources> <resource-root path="ufca.jar"/> <