Questions tagged [wildfly-10]

WildFly, formerly known as JBoss AS, is an application server developed by Red Hat. WildFly is written in Java, and implements the Java Platform, Enterprise Edition (Java EE) 7 specification. It runs on multiple platforms. WildFly is free and open-source software, subject to the requirements of the GNU Lesser General Public License (LGPL), version 2.1.

flexible, lightweight, managed application runtime that helps you build applications in java

932 questions
0
votes
0 answers

How to handle OptimisticLockException in a Container managedTransaction?

I use Hibernate with wildfly 10.0.1. And my transactions are Container managed Transaction. I frequently get[1] OptimisticLockException when updating the entries. How can I handle this exception in CMT? Why my wildfly is not managing properly? Do I…
Ratha
  • 9,434
  • 17
  • 85
  • 163
0
votes
0 answers

Wildfly 10: EJB Remote Calling stop working when migrating from Wildfly 9 to 10

the following code snippet works without problems calling to a Wildfly 9 server instance, but when it calls to a wildfly 10 server, fails saying: WARN: Could not register a EJB receiver for connection to 192.168.1.47:8080 …
Carlitos Way
  • 3,279
  • 20
  • 30
0
votes
0 answers

JBoss EAP 6.4 log par application

I'm running a stadalone JBoss EAP 6.4 in a cluster. I would have log file per application. I added in application Manifest Logging-Profile: das-log-profile and I have this in standalone-ha.xml: {code}
Alex. N.
  • 21
  • 1
  • 4
0
votes
2 answers

WildFly 10.1 Load Balancer + Kerberos/SPNEGO

How can I add SPNEGO authentication to a WildFly 10.1 load balancer? Background: All nodes are running on Windows. The nodes themselves are running on WildFly 8.2.1 (because the application is tight to it) in a Wildfly 8.2.1 domain The load…
Maddin
  • 957
  • 1
  • 11
  • 21
0
votes
1 answer

Can Wildfly 10 work with legacy Hibernate 3.5?

I'm trying to upgrade from Jboss 4.2.3 to WildFly 10. The main outstanding issue left is Hibernate. I don't want to upgrade to Hibernate 5 (Wildfly 10's default) at this time So I'm trying to use the existing code which was using Hibernate 3.5, but…
inor
  • 2,781
  • 2
  • 32
  • 42
0
votes
1 answer

SoapConnection timeouts not working in wildfly 10

Good day I have been searching the web, and so far the following solution seems the closest i can get to a solution without any 3rd party libraries but it doesn't work. :( I do not have a wsdl I can stub. I am calling an external webservice and…
kwm
  • 29
  • 4
0
votes
1 answer

Running ModelControllerClient in a Batch

I'm accessing the Wildfly CLI through the Java API using the ModelControllerClient (and the ServerDeploymentManager). I'd like to run my changes as a CLI batch, but can't find an API for that. Simply executing new…
rü-
  • 2,129
  • 17
  • 37
0
votes
0 answers

Eclipse Neon does not save information about server

here is the my steps. 1: I create new server in eclipse. 2: Choose Red hat Jboss Middleware. 3: Install JBoss AS, Wildfly ... 4: create new server and configure to my local wildfly server. after restarting eclipse server disappears and if click…
M.T
  • 881
  • 2
  • 10
  • 17
0
votes
0 answers

Hibernate throws Session/EntityManager is closed in wildfly 10

I Create entitymanager like this; @Stateless public class CumulativeVarianceService extends CrudService { @PersistenceContext private EntityManager em; @Transactional public void update(CumulativeVariance entity) { …
Ratha
  • 9,434
  • 17
  • 85
  • 163
0
votes
1 answer

Wildfly 10.1.0 Singleton doesn't work

I've two Wildfly server configured in a domain, and I need to make a singleton that runs with HA. I need it to run only in one server, and if that server fails it should be started in the slave server. I'm using the defult configuration and I only…
0
votes
1 answer

How to access entity bean from remote client using session facades

I have an EJB accessing a MySQL database through WildFly. In the EJB I have an Entity (Book) and a Session Bean (BookBean) that exposes methods to manage the database from within a Remote Client. Could you show me a code example in order to contact…
Michael
  • 876
  • 9
  • 29
0
votes
1 answer

How to fix NoClassDefFoundError error with Aquillian

Hi I set up Arquillian with Wildfly 10 embedded, which is loaded into the target folder. I see two mistakes at the moment: Cannot not load JBoss LogManager. The LogManager has likely been accessed prior to this…
Clueless
  • 163
  • 16
0
votes
0 answers

WildFly 10.1.0 remote connection to Standalone ActiveMQ

I'm trying to configure WildFly 10.1.0 to use MDB's with context of the remote ActiveMQ server. Problem occures when trying to use injected remote JMSContext - naming exception(looking for transaction). Steps I did: WildFly standalone-full.xml…
AndreyB
  • 55
  • 10
0
votes
1 answer

Jersey not mapping response to JAVA Object

I am trying to consume Google Time Zone API Response. I have tried all answers on Stack Overflow related to this error but the below error is not even changing a bit: ERROR [ClientResponse]:625 - A message body reader for Java class…
MDaniyal
  • 1,097
  • 3
  • 13
  • 29
0
votes
1 answer

Logging remote ip address in Wildfly 10

How can I make wildfly 10 log the request source IP Address? I'm using the default logger. My pattern is: %d{yyyy-MM-dd HH:mm:ss,SSS} %-5p %X{IP} [%c] (%t) %s%e%n I tried "%a" from some old version 7 documentation but to no avail. Also that %X{IP}…
tggm
  • 973
  • 2
  • 15
  • 41