wildfly-10

How to enable samesite for jsessionid cookie

无人久伴 提交于 2020-07-29 05:27:51
问题 How can i enable samesite for my web application which runs on wildfly as. Checked standalone.xml however could not find an appropriate tag within <servlet-container name="default"> <session-cookie http-only="true" secure="true"/> <jsp-config/> </servlet-container> 回答1: As for now the Java Servlet 4.0 specification doesn't support the SameSite cookie attribute. You can see available attributes by opening javax.servlet.http.Cookie java class. However, there are a couple of workarounds. You can

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=

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")

Drools 6.3.0: Old ZiPKieModules remain in the heap after upgrading (executing scanNow in kiescanner JMX bean)

[亡魂溺海] 提交于 2020-04-30 08:11:53
问题 We are using drools 6.3.0 and implemented our kiemodule as a deployable maven artifact (kjar). Our application uses this kiemodule and runs in Wildfly-10. In production, newer version of the kiemodule are automatically detected and loaded in the application by a kieScanner that runs at regular intervals. If the scanner sees a new version of the kiemodule it will load it on-the-fly and at runtime. This is very cool functionality, but recently we discovered that every time a new ZipKieModule is

Drools 6.3.0: Old ZiPKieModules remain in the heap after upgrading (executing scanNow in kiescanner JMX bean)

跟風遠走 提交于 2020-04-30 08:11:30
问题 We are using drools 6.3.0 and implemented our kiemodule as a deployable maven artifact (kjar). Our application uses this kiemodule and runs in Wildfly-10. In production, newer version of the kiemodule are automatically detected and loaded in the application by a kieScanner that runs at regular intervals. If the scanner sees a new version of the kiemodule it will load it on-the-fly and at runtime. This is very cool functionality, but recently we discovered that every time a new ZipKieModule is

Getting java.lang.ClassNotFoundException: org.apache.struts2.tiles.StrutsTilesListener at Server startup - Struts 2.3.28 & Tile-core-2.2.2

荒凉一梦 提交于 2020-01-25 07:28:09
问题 We are migrating struts 1.2.9 to strtus 2.3.28. In the process i have added StrutsTilesListener in WEB.xml . I'm getting the below exception while trying to start Wildfly 10.1 server with struts 2.3.28 and tiles-api-2.2.2. Any solution to fix this issue would be helpful. Jars in lib folder: struts2-convention-plugin-2.3.28.jar struts2-tiles-plugin-2.3.28.jar struts2-core-2.3.28.jar tiles-api-2.2.2.jar tiles-core-2.2.2.jar tiles-request-api-1.0.1.jar tiles-request-servlet-1.0.1.jar tiles

Deploy Spring Boot to Wildfly 10

ぃ、小莉子 提交于 2020-01-14 08:29:08
问题 Has anyone try to deploy an springboot application to wildfly 10 succesfully? i have look for examples but i only found for wildfly 8.2 This is my application class: @SpringBootApplication @EnableEurekaServer @EnableDiscoveryClient public class ServereurekaApplication extends SpringBootServletInitializer { public static void main(String[] args) { SpringApplication.run(ServereurekaApplication.class, args); } @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder

Wildfly 10.1 Consuming All Cores

╄→尐↘猪︶ㄣ 提交于 2020-01-13 19:48:11
问题 We have recently upgraded our banking application from java 1.6 to 1.8 and jboss 4.x to wildfly 10.1. We have observed that java consuming all the cores (10), available on the machine. Can someone tell what is the reason, normally with jboss 4.x max CPU utilisation was up to 4 cores. Do i need to configure anything for Garbage collection? Below is the result of (added on process consuming high cpu) ps -eLo pid,lwp,nlwp,ruser,pcpu,stime,etime,args|grep 3630 Below is the hex for each LWP