wildfly

What versions of libraries are shipped with WildFly 9.0.1.Final

Deadly 提交于 2020-01-02 02:44:30
问题 I was looking in https://docs.jboss.org/author/display/WFLY9/Documentation, but there is no info. Especially I want't to know version of hibernate-entitymanager & hibernate-jpamodelgen. 回答1: The easiest way is to look at the pom.xml file for the 9.0.1.Final build: https://github.com/wildfly/wildfly/blob/9.0.1.Final/pom.xml The relevant lines you are looking for are probably: <version.org.hibernate>4.3.10.Final</version.org.hibernate <version.org.hibernate.commons.annotations>4.0.5.Final<

Wildfly: Why I get only “Forbidden” if I call my Web application?

自古美人都是妖i 提交于 2020-01-02 02:28:07
问题 Yesterday our web application ran fine on WildFly 9. Since this morning I get only a "Forbidden" in the web browser. We don't use JAAS. There is also no difference if I set the following value to false in the standalone.xml : ... <subsystem xmlns="urn:jboss:domain:ejb3:3.0"> ... <default-missing-method-permissions-deny-access value="true"/> ... </subsystem> ... What can be the reasons that WildFly only shows the "Forbidden" page? EDIT If I set the log level for package org.jboss.security to

Keycloak provider and user storage

旧城冷巷雨未停 提交于 2020-01-01 18:57:05
问题 I have a running java ee application and now i want to integrate keycloak as authentication server. The only thing i have troubles is the user storage. I want to have all the user data in my java application. The problem now: If the user registers on the keycloak frontend, my java application doesn´t know that the user has registered, so i cannot create a new entity. I found out that keycloak is able to load some custom modules (https://keycloak.github.io/docs/userguide/keycloak-server/html

Transaction fails with IJ000457, IJ000461 and IJ000356 on first time, but works thereafter

Deadly 提交于 2020-01-01 17:11:13
问题 I am trying to run JSF application with JPA on Wildly server, I have the following code, there is an exception when trying to add employee at first time, but when trying another time, it works fine, I did not find the reason, please help. session bean: import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.PersistenceContextType;

How to prevent HTTP 404 during deployment of ear in Wildfly/Jboss

左心房为你撑大大i 提交于 2020-01-01 15:08:05
问题 We're using WildFly 10 as our application server and deploy via Docker (deployment in WF is ordinary hotdeployment). We're not using WildFly's clustering mechanisms but simply have load-balancers (HAProxys) in front. The problem is that WF opens its HTTP port while the EAR deployment is still in progress. This (of course?) leads to HTTP 404 errors which we don't want to handle specifically in the LBs. This could lead to false negatives... Is there a way to allow HTTP connections only after

Deploying WAR-Application in JBoss Wildfly with unavailable DataSource?

不羁的心 提交于 2020-01-01 15:07:35
问题 I´ve a webapplication wich uses JPA persistence unter wildfly 8.2. The persistence.xml is connected to <jta-data-source>java:/jdbc/myDS</jta-data-source> wich generally works fine. BUT if I start the JBoss-Server before the Database-Server is ready, the web application doen´t get deployed with the following error: BAS011411: Unexpected problem gathering statistics: java.lang.IllegalStateException: JBAS011477: Persistence unit 'my.war#myPU' is not available My wish is that the application DOES

Deploying WAR-Application in JBoss Wildfly with unavailable DataSource?

最后都变了- 提交于 2020-01-01 15:06:34
问题 I´ve a webapplication wich uses JPA persistence unter wildfly 8.2. The persistence.xml is connected to <jta-data-source>java:/jdbc/myDS</jta-data-source> wich generally works fine. BUT if I start the JBoss-Server before the Database-Server is ready, the web application doen´t get deployed with the following error: BAS011411: Unexpected problem gathering statistics: java.lang.IllegalStateException: JBAS011477: Persistence unit 'my.war#myPU' is not available My wish is that the application DOES

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

折月煮酒 提交于 2020-01-01 11:34:23
问题 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/ `

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

[亡魂溺海] 提交于 2020-01-01 11:34:07
问题 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/ `

How to fix “Unable to acquire lock after 15 seconds” errors in Wildfly

青春壹個敷衍的年華 提交于 2020-01-01 08:27:09
问题 I have a web application that is <distributable/> , but also deployed to stand alone instances of Wildfly for local development work. Sometimes we have calls to the backend that can stall for a few seconds, which often leads to exceptions like the one shown below. How can I fix this given that I have no control over long running backend requests? 14:55:04,808 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-6) ISPN000136: Error executing command