I have a JSF project which builds perfectly with java 7, but when I try to deploy the WAR in Jboss Application Server, I’m getting the bellow error. The persistance.xml looks like bellow The bellow dependencies are included in the pom The JBoss version is 7.1.1 Final What am I doing wrong here? Answer The issue here was the conflict
Tag: jboss
EAP 7.3 JPA+Hibernate REST Serialization of Bidirectional ManyToOne relationship (NOT SPRING)
I come from a Payara/EclipseLink background where this just works out of the box. My contract requires me to use EAP which does not support EclipseLink.persistance and I always prefer the “provided” over adding libraries. I am creating a very simple REST microservice with very simple relationships for my objects. However, when I try to access an object, I am
JBOSS EAP 6.4: Can not use the HTTPS schema in “soap:address” in generated WSDL
I have modified my standalone configuration to use HTTPS connector along with the HTTP connector: With this configuration, I am able to transfer the HTTP traffic to HTTPS URL. It works fine. I also have a webservice written in JAVA: Once application (service.ear) is deployed, I am able to see the wsdl at: But the WSDL service definition uses HTTP
Why JBoss EAP failed to start?
I’m new to JBoss Server. Currently I’m using JBoss server 7.2. Error : How to solve this ? Answer The problem is in standalone.xml or standalone-full.xml. Please validate your xml whether it’s right or wrong. Here validate your xml. That’s why you are getting this error.
Jersey test framework: Test Container is null
I have the following test class that tests a simple “/helloWorld” endpoint that is implemented in jax-rs. I am running this as an EAR file in a JBOSS EAP Server locally. When I run the test I get the following: Answer JerseyTest is not compatible with JUnit 5 at the moment. https://github.com/jersey/jersey/issues/3662 From their workaround, add to your class, and
How to implement Log4j-audit in Java/GWT web app
Currently working on implementing audit logging for a web app and would like to use log4j-audit. The app is written using OpenJDK 8 and GWT 2.7 hosted by Jboss 6.4 and built using Ant 1.10.5. My question is how does one implement the log4j-audit framework into our current structure? I have worked through the getting started section and read the
Jboss (6.4 EAP) to WebSphere (7.x)
I am attempting to make a EJB call from Jboss (6.4 EAP) to WebSphere (7.x). I have a working example from WebSphere (WAS) to WAS, however, the same location and lookup name returns a name not found exception. I’m currently doing this testing inside of a web application deployed as a WAR into Jboss. I do not have the EJB
Change log level in jboss 7.1 without restarting the server using web consle interface
I want to change log level in standalone.xml using web console interface in jboss 7.1.1 without stopping the server.Same thing,I am able to do using CLI commonds as follows: My logging subsystem in standalone.xml is as follows: Please suggest ! Answer Try with following steps: Enter to web console (http://<host>:9990) Select Profile Select Core/Logging Select Tab Handler Edit and change
Failed to start service jboss.persistenceunit: org.hibernate.service.UnknownServiceException
I would like to ask if somebody could help to resolve this problem because I’m stuck with it and I don’t know where the problem could be. Until now I developed my application under Glassfish Server 4. Now I deceided to change my server for WildFly and I edited some configs to be able to run it on Wild Fly.
IllegalAnnotationException: Two classes have the same XML type name
I am developing web service under JBoss 5 and Java 1.6. What could possibly cause this exception? Below is my simplified web service code. And below is the full stack trace. Answer I found the cause of my problem. This problem occurs because JAX-WS generates a class for each method and the class name is constructed by concatenating methodName +