Questions tagged as 'wildfly'

0
answers

Error when deploying on Wildfly 8: Failed to define class

I'm getting the error below when trying to deploy my application after migrating from JBoss AS 7.1 to Wildfly 8.2 and from Java 7 to Java 8 and still can not identify the source of this error. I'm using Wildfly 8.2, Primefaces 5.1 and JSF 2.2...
asked by 29.07.2015 / 14:41
1
answer

Problem retrieving DataSource in Wildfly: javax.naming.NameNotFoundException

I'm trying to establish a connection using DataSource, and it's returning the following error: Feb 08, 2016 8:15:03 PM org.xnio.Xnio <clinit> INFO: XNIO version 3.2.2.Final Feb 08, 2016 8:15:03 PM org.xnio.nio.NioXnio <clinit> INFO...
asked by 08.02.2016 / 23:21
3
answers

JPA + Wildfly + Hibernate

Is there a way to dynamically change the connection to the database by changing the standalone.xml file of Wildfly 8 (or 10) ? Currently I have a HibernateSessionFactory class that creates a m EntityManagerFactory with the connection param...
asked by 03.01.2018 / 11:07
0
answers

Enterprise Application Project problem with dependencies

I'm having trouble with an Enterprise Application Project. I'm using the wildfly-8.0.0.Beta1 server. The structure of my project is as follows: IhavealreadyputtheEJBProjectasadependencyintheWebProject. However I get the following war...
asked by 19.11.2014 / 11:34
2
answers

JPA, Oracle and Handling Exceptions

I'm using vraptor 4, JPA and Oracle. But when an exception occurs during persistence, the error code that Oracle generates is not coming along with Exeption. This is the Repository @Repository public class AuthUserRepository { publi...
asked by 19.05.2014 / 22:14
1
answer

Java Web application with Maven with repository in GitHub and hosted in OpenShift

I have a Java web application (wildfly server) created with Maven, locally versioned with Git and remotely on GitHub, I would like to know how to host this application in OpenShift and deploy every Pull received by GitHub.     
asked by 23.03.2016 / 17:17
1
answer

How to properly declare Server Runtime dependency or provided by Wildfly in Gradle

I have a Java web project being developed to run on Wildfly, using the Eclipse IDE. This application uses JPA, JTA, JSF, and CDI at first, but will use other Java EE features in the future. The dependency control of this project is done by Gradl...
asked by 26.01.2015 / 17:12
1
answer

If I use "provided" libs on the application server (wildfly), do I gain performance?

Imagine the following scenario. I have a WildFly 8.0.0 application server running with default settings from "factory". On this server I squeeze 4 simple web applications. These applications use some similar libs as: Spring Framework; Pr...
asked by 13.05.2014 / 22:04
1
answer

Data not saved in the database

I'm using Java, JPA, PrimeFaces, Wildfly and Mysql, not much to see, but it's good to know. I fill in all the fields, all right the verification is performed. When I click on save the success message is displayed, but nothing is saved in the...
asked by 17.08.2016 / 22:02
1
answer

Make Wildfly Server perform task

I need to create a task executor where it will call a method from time to time, I saw an example and it became my implementation: public class Agendador { private final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool...
asked by 30.03.2017 / 00:26