wildfly-8

Wildfly Form Auth fails when using special characters

最后都变了- 提交于 2019-12-24 16:26:29
问题 We are deploying our GWT app to a Wildly 8.1.0 server and are using form authentication for security. Our problem is that every time our customer has a special character (æøåäëö, etc.) in their username or password, they cannot login. I have seen other people having the same issue: https://developer.jboss.org/thread/42859?tstart=0 UTF-8 encoded j_security_check username incorrectly decoded as Latin-1 in Tomcat realm Spring security: Form login special characters but they are using Tomcat

How to open a JChannel (JGroups) using Openshift Wildfly 8 Cartridge

时光毁灭记忆、已成空白 提交于 2019-12-24 14:34:46
问题 We are developing a Java-EE Application running on Wildfly 8 in the Wildfly-Openshift-Cartridge. The Openshift Application is set to scaled, therefore, more than one JVM node will be running as a cluster. The communicate between the different nodes, I like to use JGroups. However, I fail to open a new JChannel even though the JGroups itself seems to work. The application itself does also work, if I deploy the application locally to e.g. 3 wildfly standalone instances. The default standalone

How to disable TRACE/TRACK HTTP in JBoss Wildfly?

时间秒杀一切 提交于 2019-12-24 03:01:39
问题 I want to disable TRACE/TRACK HTTP methods in JBoss wildfly 8.1 at server level and not in web.xml. How do do it? 回答1: Thanks Federico Sierra for the reply. I have tried again, but it seems by default TRACE is not disabled. I am getting 200 OK status code. See below. # curl -k -v -X TRACE https://localhost:8443 --user admin:Password@123 * About to connect() to localhost port 8443 (#0) * Trying ::1... * Connection refused * Trying 127.0.0.1... * connected * Connected to localhost (127.0.0.1)

How to disable TRACE/TRACK HTTP in JBoss Wildfly?

我与影子孤独终老i 提交于 2019-12-24 03:01:01
问题 I want to disable TRACE/TRACK HTTP methods in JBoss wildfly 8.1 at server level and not in web.xml. How do do it? 回答1: Thanks Federico Sierra for the reply. I have tried again, but it seems by default TRACE is not disabled. I am getting 200 OK status code. See below. # curl -k -v -X TRACE https://localhost:8443 --user admin:Password@123 * About to connect() to localhost port 8443 (#0) * Trying ::1... * Connection refused * Trying 127.0.0.1... * connected * Connected to localhost (127.0.0.1)

Kerberos sql server datasource in Wildfly 8.2

a 夏天 提交于 2019-12-24 00:35:24
问题 I have a problem setting up integrated authentication with Kerberos towards a MS Sql Server on Wildfly 8.2.0. Here's what I've done so far: Managed to get it going on Wildfly 9.0.2, simply because Wildfly 9 contains the "new" login module class org.jboss.security.negotiation.KerberosLoginModule. A security domain configured like this: <login-module code="org.jboss.security.negotiation.KerberosLoginModule" flag="required" module="org.jboss.security.negotiation"> <module-option name="storeKey"

Java ee interface conditional inject

狂风中的少年 提交于 2019-12-23 17:10:16
问题 I have the following interface: public interface ResultEvaluationInterface { public void evaluateResults(Event e); } and I want to inject in my class depending on my Event.type different classes with the same implementation. Something like that: @Stateless @LocalBean public class ResultEvaluation implements ResultEvaluationInterface { @Override public void evaluateResults(Event e) { switch (e.getType()) { case Type.Running: // inject and call ResultEvaluationRunningEJB.evaluateResults(e) case

How to add an external resources directory with jboss-cli?

跟風遠走 提交于 2019-12-23 04:10:14
问题 I would like to add ${jboss.server.temp.dir}/foo_server/images_svg directory as external resources directory. For this I need to add the following line code into /subsystem/handlers <location name="/images_svg" handler="images"/> And into /subsystem/server name="default-server"/host name="default-host" <file name="images" path="${jboss.server.temp.dir}/foos_server/images_svg" directory-listing="true"/> I expect something like this: <subsystem xmlns="urn:jboss:domain:undertow:2.0"> <buffer

Hot deployment location in Wildfly 8 AS

孤街醉人 提交于 2019-12-23 03:35:18
问题 In JBoss 6 AS, the hot deployment location is ${JBOSS_HOME}/server/default/deploy where I can unpack WAR or EAR and change content of any configuration file and it works without restart. Similarly, in Wildfly 8 AS, can anyone help me to know about the hot deployment location. I tried unpacking WAR in ${WILDFLY_HOME}/standalone/deployments folder but it is not picking up the unpacked WAR folder. It considers file only with .war extension. Can anyone help me on the same. Many thanks. Also, if

Starting WildFly 8.2 under a user with limited permissions

走远了吗. 提交于 2019-12-23 03:07:52
问题 I'm trying to start WildFly 8.2 under a user that doesn't have permissions to write in a WildFly home directory and it's subdirectories. For this purpose I've copied standalone directory to a user home directory. Here is a command I use to start WildFly in cygwin: $ /cygdrive/c/Program\ Files/wildfly-8.2.0.Final/bin/standalone.sh -Djboss.server.base.dir='C:\Users\above_mentioned_user\standalone' -c standalone.xml And here is an output of this command: cygpath: can't convert empty path =======

Wildfly server:Partial Content and Range Requests

左心房为你撑大大i 提交于 2019-12-23 02:31:49
问题 Is there a way for wildfly server support http range header? We are requesting file for server with http get and http header "Range: bytes 200-400" The files that served from apache tomcat server responds http status code 206 and partial file content but wildfly server responds same request with http status code 200 and all file content. Since we are using big files it becomes a problem to transfer and seek file. Is there any way to make wildfly support partial requests via configuration,