wildfly

Camunda deploy Delegate with global visibility

倾然丶 夕夏残阳落幕 提交于 2020-07-06 04:21:48
问题 I'm working on a Camunda BPM project and my goal is to create a java project (either a .jar or .war) that contains several Delegates to be called from the various processes. What I want ultimately is for the users to be able to create a process using the modeler call the delegates supplied by the uploaded project. In order to achieve this I think I might need to somehow wire the project to the camunda-engine, but I'm not sure how, I tried to upload the project in the modules folder and add a

Accessing Multiple web applications on Jboss7 or Wildfly

寵の児 提交于 2020-07-05 05:04:13
问题 I know we can deploy multiple web applications on JBoss 7 or Wildfly. But how can we access different web application with a different port? Where do we set that port for a web application? For example, application1 is accessible on x.x.x.x:8080 application2 is accessible on x.x.x.x:30000 application3 is accessible on x.x.x.x:35000 回答1: In your standalone you have to set up a different server and host for each application. <subsystem xmlns="urn:jboss:domain:undertow:1.2"> <server name=

Accessing Multiple web applications on Jboss7 or Wildfly

自作多情 提交于 2020-07-05 05:04:00
问题 I know we can deploy multiple web applications on JBoss 7 or Wildfly. But how can we access different web application with a different port? Where do we set that port for a web application? For example, application1 is accessible on x.x.x.x:8080 application2 is accessible on x.x.x.x:30000 application3 is accessible on x.x.x.x:35000 回答1: In your standalone you have to set up a different server and host for each application. <subsystem xmlns="urn:jboss:domain:undertow:1.2"> <server name=

Maven dependencies provided by wildfly 17 server

本小妞迷上赌 提交于 2020-06-28 10:28:09
问题 I just started using wildfly server version 17 and I got stuck looking into the dependencies that I should mention as provided in my pom file. I haven't found any thing in the documentation that shows the provided dependencies with their proper versions. As an example here is what I want: <dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> <version>7.0</version> <scope>provided</scope> </dependency> I want to know where i get all the dependencies that are provided by

how to see actual body sent from restassured

有些话、适合烂在心里 提交于 2020-06-27 08:17:30
问题 I have created a jax-rs rest api and tested it with rest-assured. All tests are green. Now I am trying to create an html/js front end for it. My problem is I do not know how my json objects should look like to be accepted by my rest api. Thanks to restassured/jax-rs I never handled request strings. I fill in objects and I get objects, (un)marshaling (json) is invisible. Is there any way I can see (debug) what strings are created by rest-assured/java and sent over the "wire"? 回答1: If you want

Different behaviour on JAX-RS json (java.util.Date) serialization

倖福魔咒の 提交于 2020-06-16 18:50:27
问题 I'm migrating my application (Jee7) from Wildfly 9.0.1 to Wildfly 16.0.0. I noticed different Responses from JAX-RS json (java.util.Date) deserialization on both wildfly version. Is it a bug or Jee spec changed? Is there a way to globally fix it for entire application? Example classes: @ApplicationPath("/rest") public class RestConfig extends Application { } @Path("/test") public class TestResource { @GET @Produces(MediaType.APPLICATION_JSON) public TestEntity get() { return new TestEntity

How to disable HTTPS on Keycloak

断了今生、忘了曾经 提交于 2020-06-09 04:37:05
问题 Like in the title: How to disable the requirement of https on Keycloak? Using only the terminal, as I can't log in to the administrator panel, because... there's no https. 回答1: You could change "Require SSL" in Realm settings, Login tab. The options are external requests Keycloak can run out of the box without SSL so long as you stick to private IP addresses like localhost, 127.0.0.1, 10.0.x.x, 192.168.x.x, and 172..16.x.x. If you don’t have SSL/HTTPS configured on the server or you try to

Defining jboss-web.xml security-domain causes missing dependencies for my EJBs

北城以北 提交于 2020-05-17 07:53:06
问题 I have a working webapp (a .war that includes a .jar with three EJBs) that works fine. I define an LDAP security domain through jboss-cli: /subsystem=elytron/dir-context=pepDirContext:add(url="ldap://127.0.0.1:10389",principal="uid=admin,ou=system",credential-reference={clear-text="secret"}) /subsystem=elytron/ldap-realm=pepRealm:add(dir-context=pepDirContext,identity-mapping={search-base-dn="ou=Users,dc=jboss,dc=org",rdn-identifier=uid,user-password-mapper={from="userPassword"},attribute

Keycloak SPI Providers and layers not loading when using Docker

久未见 提交于 2020-05-16 04:38:26
问题 I'm trying to setup a docker image with some custom things, such as a logback extension, so I have some CLI scripts, like this one: /subsystem=logging: remove() /extension=org.jboss.as.logging: remove() /extension=com.custom.logback: add() /subsystem=com.custom.logback: add() I also have CLI scripts to configure datasource pool, themes, add some SPI on keycloak-server subsystem, etc. I put these script in the /opt/jboss/startup-scripts directory. However when I create the container the things

Error getting reflective information for class

断了今生、忘了曾经 提交于 2020-05-14 19:27:11
问题 I am running dynamic web project in Wildfly 10.1.0. I have richfaces-ui.3.3.3.jar in my WEB-INF\lib folder but I am still getting this error. I have this library included in my web-inf folder 10:32:09,011 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment RGWeb.war (runtime-name: RGWeb.war) in 110ms 10:32:09,012 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "RGWeb.war" (runtime-name: "RGWeb.war")