I’ve a simple API that returns a string. My objective is to secure my API using LDAP authentication. I’ve my LDAP configured in my JBoss EAP 7.1 under the security-domain. I’ve defined my security constraint in the web.xml and the corresponding security-domain in my jboss-web.xml This is my first shot to integrate LDAP with REST API. Not sure what went
Tag: jboss
Spring boot application is not getting installed when 2 jvm are running on Unix server
I have 2 application both are connected to DB2 using jndi and are installed on same jboss location but on different JVM. both are having different jndi name as well but it’s connected to same db and same user. While starting server if one app is up, we are unable to install 2nd application. Can this be spring boot DB2
JMS Topic – Weblogic to Wildfly / JBoss migration
I have one of my Topics in WebLogic with overrides properties “Time-To Deliver Override” and “Delivery Mode Override” I’m working on a migration to WildFly server. I’ve declared the Topics in the standalone.xml under the ActiveMQ subsystem tag as following But, I have no idea on how can I configure the equivalent of “Time-To Deliver Override” and “Delivery Mode Override”
How to update standalone.xml offline in WildFly
As part of my project, I need to support legacy JAAS security domain to protect my EJBs. I am following the quickstart (https://github.com/wildfly/quickstart/tree/master/ejb-security-jaas) and updating the configuration using jboss-cli (https://github.com/wildfly/quickstart/blob/master/ejb-security-jaas/configure-elytron-jaas.cli). Everything is working fine with my POC. But, I am facing an issue when I am trying to apply this concept in production code. We wrap our production code along
UndeclaredThrowableException for custom Exceptions
I’m currently working on a project running a jboss backend server (server-ear:ear exploded artefact) and a java gui (java 11) as frontend. The backend contains a java service bean which accesses a database server and throws a custom exception (extends exceptions), if the variable is not found. The GUI catches the custom exceptions with a try and catch block. The
Unable to launch Jboss Developer Studio
When I double click the jbdevstudio.exe I’m getting below error. I suspect this has got to do with the wrong jdk path (default path), in which file i can now give the correct jdk path? java was …
Error com.fasterxml.jackson Deploy .WAR Spring Boot in JBoss/Wildfly
ERROR [org.springframework.boot.web.servlet.support.ErrorPageFilter] (default task-22) Forwarding to error page from request [/api/method] due to exception [com.fasterxml.jackson.annotation.JsonFormat$Value.hasLenient()Z]: java.lang.NoSuchMethodError: com.fasterxml.jackson.annotation.JsonFormat$Value.hasLenient()Z at com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase.createContextual(JSR310DateTimeDeserializerBase.java:104) at com.fasterxml.jackson.databind.DeserializationContext.handleSecondaryContextualization(DeserializationContext.java:685) at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:446) Answer – Create file named jboss-deployment-structure.xml – Add the below block – Copy file in location WEB-INF/jboss-deployment-structure.xml IMG – Preview project Maven
Could not find artifact sun-jaxb:jaxb-api:jar:2.2 in central
I am trying to upgrade a project from JDK 7 to JDK 8. In order to fix some issues during compile time, I needed to upgrade Maven to 3.6.3 as well. The other issue is fixed with this upgrade however, I am getting the below error during mvn install When I check my m2 repo, the jax-api.jar is present under
can I include dependent jar files directly in a jboss EAP 7.3 container?
I am migrating a java ear application from weblogic to jboss. The application is an ear with the below maven dependency on antlr in the pom: On localhost we use jetty so it gets included by the pom I guess due to the scope being test. In our test/production environments we deploy on Weblogic and I am trying to get
How to set JBoss Wildfly context root with XML-less Spring web application?
Having a Spring application with Maven where all the configuration is done in Java (all configuration previously stored in web.xml is now in annotated @Configuration files or in WebAppInitializer that extends AbstractAnnotationConfigDispatcherServletInitializer), how can I set the context root for my application in JBoss Wildfly? The app has no web.xml, nor jboss-web.xml . When the app used XML configuration the