Skip to content
Advertisement

Tag: jboss

ClassNotFoundException for HibernatePersistenceProvider

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

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

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 +

Advertisement