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
0 answers

JavaScript WebSocket onMessage Event is not being fired until certain amount of Data has been received

I'm currently experiencing this odd behaviour with WebSockets in JavaScript, which I can't figure out a reason for and which is driving me nuts. I hope that someone here can help me to find out what exactly is happening. The scenario is as…
W64BugBear
  • 81
  • 1
  • 6
2
votes
2 answers

org.hibernate.hql.internal.ast.QuerySyntaxException

I am getting this error: Caused by: javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: TblEmployee is not mapped [FROM TblEmployee] Caused by:…
GMan1973
  • 179
  • 3
  • 5
  • 26
2
votes
2 answers

How to specify a new path variable in standalone.xml in Wildfly 8.2

I would like to set a new path for some logging handlers that is different from ${jboss.server.log.dir}. This article: General configuration concepts - WildFly 8 talks about how to create the XML node, but where do I place it within…
Jason Holmberg
  • 291
  • 2
  • 17
2
votes
3 answers

How to lookup EJB into WildFly server to a client

I would like to know how to look up a EJB located into a WildFly server from a remote client using JNDI. Here is what I use to initialize the context jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,…
jean-philippe
  • 23
  • 1
  • 5
2
votes
1 answer

Maven wildfly-maven-plugin custom standalone.xml

How can I use a custom standalone.xml when running wildfly-maven-plugin:start (not just adding datasources, drivers,...)? Using…
Zigac
  • 1,551
  • 1
  • 16
  • 27
2
votes
1 answer

JPA, Hibernate, postgreSQL: Unable to build Hibernate SessionFactory

Im trying to do some example app with EJB, JPA-Hibernate. I did a PostgreSQL database like this: CREATE TABLE Klasa ( idKlasa SERIAL, Profil VARCHAR NULL, Skrot VARCHAR NULL, PRIMARY KEY(idKlasa) ); CREATE TABLE Przedmiot ( idPrzedmiot…
countryroadscat
  • 1,660
  • 4
  • 26
  • 49
2
votes
1 answer

Infinispan cache store by value and not by reference

How to configure Infinispan in wildfly's config files (standalone.xml or domain.xml) so that cached objects are always serialized (stored by value and not by reference). From the documentation of Infinispan storeAsBinary setting can be enabled, so…
klemenp
  • 76
  • 4
2
votes
1 answer

Adding SMTP log handler in Wildly 8.1

I have been through lot of WildFly documentation in past day and so far I have failed to understand how a SMTP Handler could be added to WildFly logging sybsystem. This was very easy when JBoss used log4j but now there are hardly any documentation…
Salman A. Kagzi
  • 3,833
  • 13
  • 45
  • 64
2
votes
1 answer

WELD-001408: Unsatisfied dependencies for type List with qualifiers

I'm stuck with the infamous WELD-001408 that everyone programming with CDI has come across in one way or other. Using Oracle JDK 1.8.0_25, Wildfly 8.2.0.Final. My code is as follows: module availability-service (war) depends on module hospital-user…
Abhijit Sarkar
  • 21,927
  • 20
  • 110
  • 219
2
votes
1 answer

"Traditional" threads cannot lookup JNDI names in WildFly

I'm migrating an old application (uses no beans or dependency injection) from Weblogic to WildFly. For the most part, it now works fine. However, it also creates threads in "traditional way" (new Thread()), and these threads cannot lookup JNDI…
user319799
2
votes
1 answer

Wildfly 8.2 fails to load jbossws-cxf-client module

I am working on a web application that contains a Soap client and that needs to have access to the cxf Client implmentation, because we have to use different certificates for different calls to the remote endpoint. Wildfly comes with a module…
2
votes
2 answers

Specifying an optional parameter with a default value for restful web service

I'm trying to create a webservice that returns an int. It should also have an optional parameter - this fails. This works: package foo; import java.util.Map; import java.util.TreeMap; import javax.ws.rs.DefaultValue; import javax.ws.rs.GET; import…
Martin Schröder
  • 4,176
  • 7
  • 47
  • 81
2
votes
1 answer

Failed to open channel for context EJBReceiverContext

When I run the ejb3 remote client the service deployed in the server, WildFly8.1.0 Final I get the expected results. But now I am trying to benchmark this and when I run the client through the JMH @Benchmark method it runs fine for but after some…
Isuru Gunawardana
  • 2,847
  • 6
  • 28
  • 60
2
votes
1 answer

Allow symbolic links in wildfly

i'm using wildfly 8.2.0 and kubuntu 14.04. If i create a symbolic link under the welcome-content folder i can not call it from browser. Example: $wildflyHome/welcome-content/test/index.html --> localhost:8080/test/index.html ==>…
sylo
  • 207
  • 3
  • 16
2
votes
1 answer

Wildfly JNDI datasource not found

I have an application (war-binary-only) with an embedded jndi resource of java:jdbc/xyz Which I try to express in a xyz-ds.xml file, but cannot find the right syntax. Wildfly insist on having either java:/ or java:/jboss in the beginning of the jndi…
Niels Bech Nielsen
  • 4,777
  • 1
  • 21
  • 44