wildfly

wildfly (9) + kerberos + ldap (Active Directory)

﹥>﹥吖頭↗ 提交于 2019-12-13 02:06:38
问题 I'm trying to get to point, where wildfly 9 would be able to authenticate users with kerberos and authorize them with ldap. I'm having rich EJB client using JAAS (having com.sun.security.auth.module.Krb5LoginModule ). I'd need some sample including the step-by-step configuration. What I've found is: wildfly with LDAP (https://developer.jboss.org/wiki/LDAPSecurityRealmExamples) wildfly with SPNEGO (https://github.com/kwart/spnego-demo) wildfly with kerberos for server management (http:/

Can't deploy Java EE Application to Wildfly

左心房为你撑大大i 提交于 2019-12-13 01:31:48
问题 im trying to migrate from Glassfish AS to WildFly AS. After I created the JDBC Datasource in Wildfly and changed the persistnce.xml accordingly i get this error on deploy: server.log: 2014-04-10 10:34:26,496 INFO [org.xnio.nio] (MSC service thread 1-6) XNIO NIO Implementation Version 3.2.0.Final 2014-04-10 10:34:26,552 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3) 2014-04-10

Wildfly 8.2 + JSF + SessionScoped : sometimes wrong data returned

我与影子孤独终老i 提交于 2019-12-13 01:26:10
问题 In one of our systems in production we encounter a very weird problem in jboss 8.2 and latest JDK 7, centos 7 64 bits, latest primefaces on javax.enterprise.context.SessionScoped beans. (No jsf annotations are used in the whole project, only CDI annotation to avoid potential conflicts) At some point in time (we don't know what triggers it) during the processing of one request the @SessionScoped bean give contradictory informations. Yet the processing occurs always in only one session and one

WildFly 8 and Log4j 2’s log4j-web module

a 夏天 提交于 2019-12-13 01:13:54
问题 I am working on a web application that is running on WildFly and that is using SLF4J and Log4j 2 as logging system. On the Apache pages about Log4j 2 I read about the advantages of using the log4j-web module in a web application (Using Log4j 2 in Web Applications), so I added it and since then WildFly refuses the deployment (that is why I have commented it out in the listing below). So, here is my question: is it advisable to use the log4j-web module with WildFly and if so, how do I set it up

Display server starting time in JSF

北城余情 提交于 2019-12-13 00:43:57
问题 As seen on footer of the OmniFaces showcase site (scroll to very bottom of page). Server (re)started at 12 Jun 2015 08:50 UTC How can I display the time of the last server restart/start or/and the last update of the quellcode, if it is possible. 回答1: The OmniFaces showcase is also open source. You can find the responsible code in line 100 of /WEB-INF/templates/layout.xhtml <p>Server (re)started at #{of:formatDateWithTimezone(startup, 'd MMM yyyy HH:mm', 'UTC')} UTC</p> It's thus using

Change http port in wildfly maven plugin

家住魔仙堡 提交于 2019-12-12 23:52:04
问题 I would like to change the default HTTP port using the wildfly-maven-plugin to 8380. Usually, I can do that changing the offset, but this is not working, my changes are ignored and HTTP port continues on 8080. I'm starting wildfly in the same maven project, because this is way more practical (download and start automatically). Just like that: mvn wildfly:run -Dwildfly.version=10.1.0.Final My project contains JAR, WAR and EAR. Classic structure. As I understood from another SO questions, I

Trying to build Spring Boot to deploy in Wildfly

徘徊边缘 提交于 2019-12-12 20:19:58
问题 I can create a simple Hello World, but what is interesting is that if I use Spring Boot 1.5.10.RELEASE, or 2.0. I get an exception. 1.2.7 starts fine. Here is the serve.log from the 2.0.0 run. It seems to start with the failure to inherit from final class? Is there some sort of versions mismatch? Something with the httpPutFormContentFilter class? Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2018-03-09 10:24:35,514 ERROR [org

ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory

主宰稳场 提交于 2019-12-12 19:17:35
问题 Environment used: WildFly 9.0.2.Final EJB 3.0 Ant Eclipse Test.jsp is invoking getDbConnection method of Test.java class. Test.jsp <%@page import="com.testmodule.pojo.Test"%> <% try{ System.out.println(" Going to call getDbConnection method of 'Test' class. This 'Test' class shall be " + " part of testclient.jar. testclient.jar shall be deployed as a module --- module add --name=testclient --resources=/Downloads/lib/test/testclient.jar"); System.out.println(" test.jsp shall be present in test

Context Path Wildfly 8.2 Management UI

穿精又带淫゛_ 提交于 2019-12-12 15:13:18
问题 is it possible, and when how, use the Management UI of the Wildfly 8.2 with a path. Default: http://localhost:9990/console How i would like to do it: http://localhost:9990/wildfly/console Is this possible? And if it is, how? Sub-Context: i like to have a AJP Proxy that the URL will be http://host/wildfly and not http://host:9990/ 回答1: mod_proxy can do that if correctly configured. Something like: ProxyPass /wildfy/ http://localhost:9990/ ProxyPassReverse /wildfly/ http://localhost:9990/ 来源:

Spring dependency injection with WildFly

落花浮王杯 提交于 2019-12-12 14:14:28
问题 I have a web application (war file) that depends (Maven) on another project (jar file) that uses Spring for dependency injection. So in that other project I have a couple of xml files to declare my beans, in my case business objects. I started using WildFly instead of Tomcat/Jetty and apparently there is that thing called Weld in charge of DI. My web app doesn't use Spring (for now), it's just a simple Jersey RESTful API. I want my business objects to be injectable (@Inject) in my resources