wildfly

Why JSF 2.2 takes more time partial rendering an ajax request on Wildfly

对着背影说爱祢 提交于 2019-12-04 09:11:35
I am working on migrating a project from (JSF 1.2, Richfaces 3.3.4 running on JBoss 4.2.3) to (JSF 2.2, Richfaces 4.5 running on Wildfly 8.1.0). After partially migrating some views I found that the performance of the application using JSF 2 is terrible. I noticed this issue when an ajax request is sent, JSF 2 is rendering the whole view although the render attribute is pointing to one outputText Example (Can be downloaded from HERE ) In my example I will use the same code sample for both JSF 1.2 and 2.2. Afterwards I will click on the ajax button multiple times and measure the response time

Using bootstrap 3 glypicons with webjars and jsf2.2

非 Y 不嫁゛ 提交于 2019-12-04 09:09:53
I'm trying to make a simple page with bootstrap and glypicons in jsf 2.2. I've included webjar's bootstrap dependency (and opening the jar I can see the fonts file are present). When deploying the app to wildfly, bootstrap css works correctly, but icons shown are horrible (like a default font or something). Looking at the network tab in the browser, I only see 404 errors: http://localhost:8080/proto/javax.faces.resource/bootstrap/3.1.1/fonts/glyphicons-halflings-regular.woff 404 http://localhost:8080/proto/javax.faces.resource/bootstrap/3.1.1/fonts/glyphicons-halflings-regular.ttf 404 I tried

Wildfly / Undertow : Multiple aliases for one host

天涯浪子 提交于 2019-12-04 09:07:52
In standalone/configuration/standalone-full.xml , I've declared the following host, that works <host name="webhost" alias="gateway.example.com" /> When I try to add another alias, I'm given Error 404. <host name="webhost" alias="gateway.example.com www.gateway.example.com"/> The DOCUMENTATION says list of aliases is whitespace separated. There was a bug in documentation. It is comma separated list of hosts not white space separated. example would be <host name="default-host" alias="localhost, some.host" > I also fixed documentation to to address this 来源: https://stackoverflow.com/questions

Wildfly and auto reconnect to the database

旧巷老猫 提交于 2019-12-04 08:51:39
问题 I've got a client, a server and a database. The client communicates with the server via a EJB remote interfaces. As the server - I use a Wildfly 8.2.0. As the database - I use a MySQL. The server communicates with the MySQL via a JPA/Hibernate. When I turn off the MySQL server - the Wildfly throws an exception, of course. But when I turn on the MySQL again - the Wildfly still throws the same ERROR. I've to turn off the Wildfly and turn it back that the Wildfly reconnect to the database. How

Db2 Driver/Datasource setup on wildfly: Failed to load module for driver [com.ibm]

时间秒杀一切 提交于 2019-12-04 07:59:14
I am wanting to configure the data source for db2 on my wildfly server (Wildfly.8.0.0-Final and 8.1.0 as well.) and am running into some problems doing so. My research tells me this is a two step process install the drivers as a module in the %JBOSS_HOME%/modules/com/ibm/main dir. configure the datasources subsystem to include this module as a driver in your connection settings. So far I have installed the module under the following structure with the following module.xml: modules/ `-- com/ `-- ibm/ `-- main/ |-- db2jcc4.jar |-- db2jcc_license_cu.jar |-- db2jcc_license_cisuz.jar `-- module.xml

Firebird 3 sysdba password stunning issue

亡梦爱人 提交于 2019-12-04 07:27:50
I migrated from firebird 2.5.x to 3.0 i have changed firebird.conf : WireCrypt = Enabled AuthServer = Legacy_Auth, Srp, Win_Sspi after that here you are what happened: I can connect from Netbeans IDE using SYSDBA masterkey. I can connect from FlameRobin (database admin. tool) using SYSDBA with other password. I can not connect from Wild-Fly server using SYSDBA with that other password. I am really wondering.!! I assume you are using Jaybird 2.2.x (or earlier) when connecting from Netbeans and Wildfly. With Firebird 3 a new authentication model was introduced called SRP (Secure Remote Password)

WildFly 8.1: Server is not connected. Deploy is not available

拈花ヽ惹草 提交于 2019-12-04 07:12:59
I'm running WildFly 8.1 in IntelliJ 14. The server starts and is accessible at localhost:8080 . The artefact is deployed and the web site can be opened. BUT As soon as I redeploy , I get: Server is not connected. Deploy is not available Nothing is written to server.log Ideas? Make sure that your IP in stanalone.xml set to 127.0.0.1 :). This one works:). I fixed the problem: You need to run exactly the same jdk on Wildfly and IntelliJ. Since I use MacOS and used the apple 1.6 jdk for IntelliJ and Oracle JDK 7 development and Wildfly, so it didn't work. I switched my IntelliJ to Oracle JDK 7 and

Wildfly and Jackson: LinkageError

自闭症网瘾萝莉.ら 提交于 2019-12-04 06:10:30
I'm trying to configure jboss wildfly 8 to use Jackson for JSON. So I added <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jackson-provider</artifactId> <version>3.0.6.Final</version> <type>jar</type> </dependency> to my ear project. But on deploying I get following error: Caused by: java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider$Proxy$_$$ WeldClientProxy.disable(Lorg/codehaus/jackson/map/Des erializationConfig$Feature;Z)Lorg/codehaus/jackson/jaxrs

RestEASY and Jackson incompatibility - NoSuchMethodException

无人久伴 提交于 2019-12-04 05:04:34
问题 I migrated my project from JBoss AS 7.2 to WildFly 8.0 and after some time of updating versions I can't figure out, how to solve RestEASY and Jackson incompatibility. In JBoss AS 7.2 I used RestEASY 3.0.6.Final and Jackson 2.2.1 and they worked like a charm. But now, with WildFly's Jackson 2.3 , there is an incompatibility. Server throws an NoSuchMethodError exception: 13:56:27,049 ERROR [io.undertow.request] (default task-3) UT005023: Exception handling request to /iqpp/applicants/: java

JMS Bridge Between WildFly 10 Artemis and ActiveMQ 5.14 (ONCE_AND_ONLY_ONCE Quality of Service)

时间秒杀一切 提交于 2019-12-04 04:46:49
问题 I'm trying to set up a JMS Bridge between Artemis (Running in WildFly 10) and ActiveMQ 5.14 In general the process seems to work smoothly, but unfortunately I'm getting stuck on the XA configuration that is necessary to get ONCE_AND_ONLY_ONCE QoS to work. Although messages do arrive on the ActiveMQ side, I get the following error in the WildFly log: 11:25:57,920 WARN [org.apache.activemq.artemis.jms.bridge] (Thread-97) AMQ342009: JMS Bridge failed to send + acknowledge batch, closing JMS