Questions tagged [wildfly]

WildFly, formerly known as JBoss Application Server, is an open source (LGPL) application server that implements the latest enterprise Java standards.

WildFly is written in Java and as such is usable on any operating system that supports Java.

WildFly was originally developed by JBoss Inc. which was acquired by Red Hat in 2006. It is licensed under the terms of the GNU Lesser General Public License. WildFly is free and open source software.

The renaming to WildFly was done to reduce confusion. The renaming only affects the JBoss Application Server project. The JBoss Community or the Red Hat JBoss product line (with JBoss Enterprise Application Platform) all retain their names. See also the tag.

For further information, visit the WildFly website.

6512 questions
2
votes
2 answers

@Consumes doesn't work with JSON

I have a following rest service: @Path("/add") @POST @Consumes(MediaType.APPLICATION_JSON) public Response add(SomeEntity entity) { entity = someService.addEntity(entity); return Response.ok("Entity added with id=" +…
Everv0id
  • 1,862
  • 3
  • 25
  • 47
2
votes
2 answers

Wildfly load system properties

I have an application deployed in wildfly packaged in a war file. I need to load some properties to be used in my java code from a xml file placed outside the war file under deployment directory. deployments -- myapplication.war --…
Nova Guy
  • 505
  • 2
  • 9
  • 16
2
votes
1 answer

When using Basic Authentication for war deployed in WildFly, getUserPrincipal returns null

I have been attempting to get a simple Basic Authentication example working with WildFly 8.1.0, immutant, and friend. I'm willing to post any code desired, but I'm not sure what would be needed at this point. For now, I'll assume my standalone.xml,…
2
votes
1 answer

Redirect every HTTP request to HTTPS

I know, the answer is the following: All resources /*
Alf
  • 2,291
  • 1
  • 28
  • 34
2
votes
1 answer

WildFly web service configuration wsdl-port not working

The "modify wsdl address" feature described under https://docs.jboss.org/author/display/WFLY8/Web+services+configuration seems to be not working. The Wildfly is behind an Apache Httpd 2.2, usind mod_proxy. ProxyPass / …
user3151902
  • 3,154
  • 1
  • 19
  • 32
2
votes
1 answer

Undertow: The number of cookies sent exceeded the maximum of 200, possible server attack?

I just found an exception in my server logs that doesn't seem to be triggered by the employees who use my Java EE7 app. This happened on an Wildfly-8.1.0.Final installation. It said Exception handling request to /manager/html/upload:…
Zhedar
  • 3,480
  • 1
  • 21
  • 44
2
votes
1 answer

migration to jboss wildfly

i try to migrate my app from jonas to JBoss WildFly 8. I'm facing the following error: 14:30:49,518 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service…
Scandinave
  • 1,388
  • 1
  • 17
  • 41
2
votes
1 answer

Wildfly 8.1 not finding logback.xml - uses default config

I'm currently developing a website for a school project, and I've run into a problem regarding logging. I want to log my stuff using logback. However, my wildfly server isn't recognizing my logback config-file (logback.xml). Logback.xml is placed…
Ajaco
  • 359
  • 2
  • 10
2
votes
1 answer

Cannot reach EJB exposed as REST service

I'm trying to expose some EJBs as REST web service using JAX-RS annotations. When I deploy war file containing EJB Jar in WEB-INF/lib to Wildfly 8, I can see in web admin panel EJB Jar as deployed, But I cannot reach REST endpoints and get…
reith
  • 2,028
  • 13
  • 26
2
votes
1 answer

Hosting multiple virtual-hosts/domains in wildfly

This is related to two posts - Hosting multiple domains with WildFly (Undertow), WildFly -> Undertow -> maping subdomain to war file not working The workaround with creating/editing jboss-web.xml does not seem to be working. I tried this workaround…
GPN
  • 53
  • 1
  • 7
2
votes
1 answer

Spring4 + Hibernate4 + JTA Write Operations Fail

I am migrating a legacy Spring 3, Hibernate 3, JTA on JBoss 5 application to the latest versions (Spring 4.1.0.RELEASE, Hibernate 4.3.6.Final, JBoss Wildfly 8.1). It seems that Spring 4.1.0.RELEASE and Hibernate 4.3.6.Final do NOT work together in…
2
votes
0 answers

How to move active directory web app from tomcat to wildfly

I'm trying to move a web app (war file) from tomcat to wildfly. It use active directory to login to the web app and on tomcat have no issue. But when I deploy it to wildfly it would kept on asking for user and password and showing the following…
adjective_name
  • 453
  • 2
  • 8
  • 19
2
votes
1 answer

Datasource and EntityManager in the same Java EE Session Bean

I am using Wildfly 8.1 and Postgres 9.2 with latest jdbc driver (non XA configured) If I have a Session Bean like this: @Stateless public class MySessionBean { @Resource(lookup="jdbc/mydb") Datasource ds; @PersistenceContext // defaults to…
David Hofmann
  • 5,683
  • 12
  • 50
  • 78
2
votes
1 answer

Cannot connect to HBase from WildFly

I've encountered strange problem while trying to connect to HBase 0.98.5-hadoop2 database from EJB deployed onto WildFly 8.1.0.Final. This code works perfectly as standalone application: public static void main(String[] args) throws IOException { …
user1455836
  • 752
  • 6
  • 18
2
votes
0 answers

Primepush + Wildfly not work. Atmosphere can not find annotated classes

I'm using next configuration: Application Server - Wildfly 9.0 Primefaces 5.1 RC1, Atmosphere 2.2.2 - added as modules (all dependencies were added). I've stopped on this configuration, because any other is falling down with heap of errors. I'm…
astrofed
  • 21
  • 4
1 2 3
99
100