wildfly

Deploy KIE-CI on Wildfly fails

半世苍凉 提交于 2021-02-19 07:11:27
问题 I am trying to deploy Drools with KIE-CI (for dynamic Maven-packaged rules) on Wildfly 8.0.0.Final. The POM of my minimalistic test project is: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.testing</groupId> <artifactId>testprojekt</artifactId>

Deploy KIE-CI on Wildfly fails

我的梦境 提交于 2021-02-19 07:10:33
问题 I am trying to deploy Drools with KIE-CI (for dynamic Maven-packaged rules) on Wildfly 8.0.0.Final. The POM of my minimalistic test project is: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.testing</groupId> <artifactId>testprojekt</artifactId>

Deploy KIE-CI on Wildfly fails

纵饮孤独 提交于 2021-02-19 07:10:28
问题 I am trying to deploy Drools with KIE-CI (for dynamic Maven-packaged rules) on Wildfly 8.0.0.Final. The POM of my minimalistic test project is: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.testing</groupId> <artifactId>testprojekt</artifactId>

Deploy KIE-CI on Wildfly fails

不问归期 提交于 2021-02-19 07:10:09
问题 I am trying to deploy Drools with KIE-CI (for dynamic Maven-packaged rules) on Wildfly 8.0.0.Final. The POM of my minimalistic test project is: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.testing</groupId> <artifactId>testprojekt</artifactId>

Deploy KIE-CI on Wildfly fails

三世轮回 提交于 2021-02-19 07:09:05
问题 I am trying to deploy Drools with KIE-CI (for dynamic Maven-packaged rules) on Wildfly 8.0.0.Final. The POM of my minimalistic test project is: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.testing</groupId> <artifactId>testprojekt</artifactId>

HttpServletRequest.login does not keep logged in for subsequent requests

大憨熊 提交于 2021-02-19 06:15:29
问题 After logging in using HttpServletRequest.login(String, String) , using the code below, on following requests I still get a Basic Authentication prompt. Why is the login function not working in my configuration? My endpoint: @POST @Path("login") @Consumes(MediaType.APPLICATION_JSON) public void login(@Valid LoginRequest loginRequest) { try { User user = userController.findUserByUsername(loginRequest.getUsername()).orElseThrow(NotFoundException::new); httpServletRequest.login(loginRequest

How to specify the EJB bean name in the JNDI tree in JEE7

送分小仙女□ 提交于 2021-02-19 05:20:28
问题 I'm not sure if this is a generic JEE6 question or if it is a Wildfly 10/JBoss7 EAP implementation specific question. I'm trying to specify/override the default beanName used in my EJB JNDI mapping to something more meaningful to me. For example: LoginManagerBean: @Stateless public class LoginManagerBean extends BaseManagerBean implements LoginManager { .... } LoginManager: @Local public interface LoginManager{ .... } In this context, WF10 will automatically create a JNDI mapping for this EJB

How to specify the EJB bean name in the JNDI tree in JEE7

社会主义新天地 提交于 2021-02-19 05:18:45
问题 I'm not sure if this is a generic JEE6 question or if it is a Wildfly 10/JBoss7 EAP implementation specific question. I'm trying to specify/override the default beanName used in my EJB JNDI mapping to something more meaningful to me. For example: LoginManagerBean: @Stateless public class LoginManagerBean extends BaseManagerBean implements LoginManager { .... } LoginManager: @Local public interface LoginManager{ .... } In this context, WF10 will automatically create a JNDI mapping for this EJB

How do I enable on-the-fly compilation of JSPs in Wildfly 9?

心已入冬 提交于 2021-02-19 01:15:24
问题 I’m using Wildfly 9.0.0.CR2. How do I enable on-the-fly compilation of JSPs? I found this configuration in another thread <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false"> <configuration> <jsp-configuration development="true" check-interval="1" modification-test-interval="1" recompile-on-fail="true"/> </configuration> </subsystem> but alas, it doesn’t work, result in gin the below exception when I restart my JBoss server … 14:23:05,224 ERROR

How do I enable on-the-fly compilation of JSPs in Wildfly 9?

只谈情不闲聊 提交于 2021-02-19 01:14:05
问题 I’m using Wildfly 9.0.0.CR2. How do I enable on-the-fly compilation of JSPs? I found this configuration in another thread <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false"> <configuration> <jsp-configuration development="true" check-interval="1" modification-test-interval="1" recompile-on-fail="true"/> </configuration> </subsystem> but alas, it doesn’t work, result in gin the below exception when I restart my JBoss server … 14:23:05,224 ERROR