[environment: java ee 6, jms 1.1, wildfly 10, wmq 9] I have to set up 9 Message Driven Beans that listen to different topics on 3 different servers: 1 Topic in DEV 4 in PROD 4 in TEST (one for each in PROD) The problem is that the topics are restricted to their respective servers, meaning that if for instance
Tag: wildfly
Using OS system variable for @DataSourceDefinition password failed in Wildfly 18
I want to externalize password for Java @DataSourceDefinition using OS system variable ${appuserpwd}. The below is my @DataSourceDefinition @DataSourceDefinition( name = “java:app/jdbc/mydb&…
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.
Java PreparedStatement preserve table name casing
I have this Java snippet, running inside a WildFly server backed by MariaDB: which gives me the following exception: So, apparentally, it decided to uppercase the table name, which I don’t want. How can I turn it off? Answer That is not possible, SQL dialects are – usually – case insensitive…
Cannot connect to Wildfly
I have just installed Wildfly and I tried to connect it : But gives me follow error : Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: WFLYPRT0053: Could not…
java.lang.NoSuchMethodError running TestNG Test in Eclipse
I am getting the Exception Running Arquillian Tests in Eclipse Oxygen with TestNG and wildfly11. My Maven configuration is as follows: Answer The Solution was: remove the the Wildfly 11 Runtime from the Classpath. Right Click on the Project Build Path Configure Build Path Libraries (Tab) remove Wildfly 11 Run…
SLF4J logging with jboss/wildfly 10
I have a Java webapp running in a WildFly 10 server. I used to have the following libraries as Maven dependencies: I would now like to use wildfly’s builtin logging subsystem. Which libraries do I need to add to my project(s)? How do I configure the default log-category and root logger declared in stand…
java.lang.IllegalArgumentException: Parameter ‘directory’ is not a directory
I am trying to deploy a maven web application on my local wildfly machine. But I am getting this error: Answer It seems that at deploy time, the application is looking for a directory which has not been generated at package time thus the problem. When created in the target/lib then the deployment runs ok.
How to load an external property file to Spring Boot in Wildfly
I wonder how can I load an external property of my application running inside Wildfly 9 as WAR, I tried to add a java parameter to Wildfly execution but it seems the application did not recognize the properties. Is there any way how Spring Boot could read the external property file? I am trying to load and ru…
Wildfly configuration with DataSource
this is the first time I am trying to setup datasource in my Wildfly server. I tried to follow some tutorials which I found on Google but it still doesn’t work. I am working on a web service but I keep getting some errors when I deploy my .war file. Here is the latest log when app is deployed: persisten…