Questions tagged [wildfly]

1

votes
0

answer
38

Views

Wildfly Eclipselink checkForUnregisteredExistingObject NullPointerException

I have a problem that I can't save a simple object to database. The project was originally using Hibernate but I changed to Eclipselink. I have others project with Eclipselink but not with this configuration and this server (Wildfly 10.x). I'm not sure if can be a conflict with some JBOSS libs. Thi...
user9764386
1

votes
0

answer
100

Views

How can I use JSF 2.3 with wildfly-swarm?

What I have found out so far: If one would use wildfly 12, it is possible to use JSF 2.3 by enabling ee8.preview.mode, since then you would have Java EE 8, which comes with JSF 2.3. The currently newest release of wildfly-swarm 2018.5.0 uses wildfly 11, which comes with Java EE 7, and comes with JSF...
Benjamin
1

votes
1

answer
162

Views

How to stop Wildfly11 loading jar dependency webservices

I need some help preventing Wildfly11 from automatically loading classes annotated with @WebServiceProvider in jar dependencies. The dependency is 3rd party so it's not possible for me to change the contents of the jar or to make source code changes to it. I have tried This completely disabled webse...
trojanc
1

votes
0

answer
139

Views

JMS. Send a simple Topic Message to a topic in ActiveMQ in WildFly 12 fails

I want to publish a simple topic to a topic queue. Therefore im using ActivMQ-Extension in WildFly 12 (under subsystems). But I get following error: CompletionListener/SendAcknowledgementHandler used with confirmationWindowSize=-1. Enable confirmationWindowSize to receive acks from server! What is t...
user3133542
1

votes
0

answer
116

Views

WildFly: webcontext is not registered as expected by the jboss-web.xml

in my pom.xml my war file is named javaee with the tag -tag. But in my jboss-web.xml I have set the context-root as services. Why my war-File is still deployed with the webcontext javaee? Here is what my project structure looks like:
user3133542
1

votes
1

answer
143

Views

JNoSQL + MongoDB + Wildfly Swarm

I was trying to create a hello world with JNoSQL, Mongo and Wildfly Swarm. The use @Inject of DocumentCollectionManager is working, but it is not working with a Repository. This is how I'm injecting: @Inject private DocumentCollectionManager entityManager; // works @Inject @Database(DatabaseType.DOC...
Victor
1

votes
0

answer
26

Views

Rendering issues of umlauts on Wildfly server on certain machines

When I run the wildfly server and the application, the German umlauts are getting rendered on my machine perfectly fine. One of my colleague who has the same config machine and same installation files required for the application to run, does not render the umlauts. It renders the question marks sy...
Sujay S
1

votes
1

answer
141

Views

Sping .jms.listener blocking another listener from reading JMS message

I have two applications Apple and Pear that uses the above class to listen on a configured JMS queue in WildFly ( 10.1.0 ). The Spring configuration is shown below. The expected process is as follows :- Apple application listener ( AppleMessageListener ) will read a message from a 'outQueue' JMS que...
Pete Long
1

votes
0

answer
44

Views

Per-user data-source connection pools (via security-domain) in jboss-6.0.0.Final vs wildfly-10.1.0.Final

Back with Jboss-6.0.0.Final we had the following data-source/pool definition : pgsql true org.postgresql.xa.PGXADataSource localhost 5432 somedb postgresqluser 0 5 The definition for security-domain postgresqluser was: jboss.jca:service=XATxCM,name=pgsql So this gave us one pool per user with max...
panix Panixgr
1

votes
0

answer
82

Views

How can i set a placeholder when redirecting my url with wildfly standalone handlers?

I'm trying to redirect my URL with the following settings in the standalone.xml: My handlers point on to the matching angular frontend-projects in the deployments folder of my wildfly-server, where also my EAR-file is deployed. This works fine except for one case: If i refresh my detail-page, which...
Kritte
1

votes
1

answer
174

Views

Hazelcast need to be connected as client in the existing cluster instead of member

The changes which I made in server side: @Bean(name = {'hazelcast'}) public HazelcastInstance hazelcastInstance() { ClientConfig clientConfig = new ClientConfig(); clientConfig.getGroupConfig().setName(integrationSettings.getHazelcastClusterGroupName()) .setPassword(integrationSettings.getHazelcastC...
1

votes
1

answer
165

Views

Running Liquibase with CDI on Wildfly 12

I am trying to run liquibase CDI integration on Wildfly 12 (JDK 10). While start up the following error shows up 10:27:30,291 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ('deploy') failed - address: ([('deployment' => '.war')]) - failur...
bitcanvas
1

votes
0

answer
42

Views

Drools 6.3.0: Old ZiPKieModules remain in the heap after upgrading (executing scanNow in kiescanner JMX bean)

We are using drools 6.3.0 and implemented our kiemodule as a deployable maven artifact (kjar). Our application uses this kiemodule and runs in Wildfly-10. In production, newer version of the kiemodule are automatically detected and loaded in the application by a kieScanner that runs at regular inte...
Kim Zeevaarders
1

votes
1

answer
227

Views

Wildfly 10.1.0.Final starting without listening to port 8443

Wildfly is starting normally, but it's timing out when it tries to listen to port 8443, even though nothing is listening to this port. The below happens, with the last line staying like that until a 300 second timeout occurs, instead of booting normally. This only happens after I replace the default...
Pat
1

votes
0

answer
200

Views

Random error SQLNonTransientConnectionException: Connection is closed

From time to time we get the following error in our Wildfly Swarm app server (full stack trace at the end): java.sql.SQLNonTransientConnectionException: (conn=19796385) Connection is closed Can someone explain how these kind of errors can occur? Why doesn't my persistence layer just create another...
1

votes
1

answer
136

Views

Wildfly Elytron: Principal not available in SimpleSecurityManager

I implemented an authentication mechanism similar to CustomHeaderHttpAuthenticationMechanism in https://github.com/wildfly-security-incubator/elytron-examples/tree/master/simple-http-mechanism, using PasswordGuessEvidence and also the other Callbacks mentioned in the example. Reason for the custom m...
MichaelJ
1

votes
1

answer
280

Views

where are hibernate-orm-modules for wildfly 12 and 13?

following this guide I wanted to update hibernate on my wildfly 12 and 13 instances as I used to do before on 11. However the search on maven central displays only modules for wildfly 10 and 11. Where are the modules for 12 and 13? where they moved to another maven repo or renamed maybe? Thanks!
morgwai
1

votes
2

answer
505

Views

Error on Wildfly 11

I got my WAR and EJB joined in EAR. Now when I run the server to test my xhtml files this comes up and nothing opens. I tried a lot of things but none of them worked, like changing standalone.xml file, restarting and reopen Wildfly, deleting files in wildfly/standalone/deployments. I really need hel...
user6082465
1

votes
0

answer
61

Views

Vaadin mapping not working with MicroProfile Rest Client

I'm building a Vaadin 8 + Wildfly Swarm example. In my first step, I had built an example of multi-module of a Vaadin Application, according to Data-Centric Applications with Vaadin 8. Then as a second step, I was testing some Vaadin APIs, when I added the Wildfly Swarm Microprofile Rest Client. I k...
Victor
1

votes
0

answer
43

Views

Shared datasource in jboss applications on wildfly

I am fearly new to this. I am having a hard time on how to resolve the issue of having a war file deployed with an jndi datasource given in a -ds.xml file and a jar file which have to be executed as a linux cron job and use the same datasource. The war file is a spring boot 2 application with endpo...
user2439427
1

votes
2

answer
372

Views

Eureka+Cloud-Config with Wildfly and deployment order

I need to integrate some SpringBoot services in a Wildfly environment. There is a Eureka-Server+Cloud Config-Service runing as a WAR in a wildfly. I cannot see the dashboard, but I can see the self-registered service in the XML data in ..eureka/apps If I start a SpringBoot client for Eureka/Cloud C...
TRW
1

votes
0

answer
53

Views

p:poll throws AbortProcessingException during wildfly restart

In the jsf code I use a Primefaces p:poll to refresh the page and everything works fine. Though, if the wildfly server is restarted while this page is already open the p:poll throws an AbortProcessingException . I can replace the p:poll with a javascript to reload the page in the same interval and...
blitzeus
1

votes
0

answer
155

Views

WildFly 13 migration - Only session and message-driven beans with bean-managed transaction demarcation are allowed to access UserTransaction

I have an 'XAManager' class that I'm using for a JCA component inside WildFly 13. In the standalone-full.xml the resource adapter in question is defined as so: ... myTest.ear#LuceneConnector-ra-impl-0.1.0.rar XATransaction 0 10 false false FailingConnectionOnly false true .... This class is being us...
Sergiu
1

votes
1

answer
161

Views

Wildfly 13: not able to use {} [] in query string of url

Whenever i'm trying to use {} or [] in url query string getting bad request. How i can enable this in wildfly? eg: https://stackoverflow.com?someVar={}
1

votes
0

answer
299

Views

Wildfly service 10.0 and 10.1 cannot be stopped in Windows

We have successfully installed both Wildfly 10.0 and Wildfly 10.1 in Windows system (Windows 10 and Windows server 2008/2012) as a service but when we try to stop it this operation fails. If we try to stop it from Windows Service Manager we get error 1053, instead if I launch service.bat stop from...
SagittariusA
1

votes
1

answer
250

Views

got forbidden login in on Kie-server

I'm following one tutorial to get kie-drools-workbench and kie-server working: https://www.intertech.com/Blog/simple-setup-of-drools-kie-workbench-and-kie-server-in-one-wildfly-instance/ Installed wildfly and downloaded the kie-server-6.4.0.Final-ee7 and kie-drools-wb-distribution-wars-6.4.0.Final-w...
Bruno
1

votes
0

answer
49

Views

WildFly Access control list behind proxy/load-balancer

I am using one Wildfly based application. I have deployed application inside docker and accessing it through AWS load-balancer. Also, I have enabled 'proxy-address-forwarding=true' in standalone.xml with ip based filter for path as - But whenever I am trying to access application, I am getting 403 A...
DevOpsRocks
1

votes
0

answer
86

Views

NullPointerException when I try to inject the SessionContextImpl in wildfly 9.0.2

I'm migrating a jboss 5.1.0 GA application to Wildfly 9.0.2, in which I manage EJB, in a stateless bean the EJBContext was injected in this way in jboss 5 and it works: import javax.ejb.EJBContext; @Stateless @SecurityDomain (SystemSetting.SECURITY_DOMAIN) @PermitAll public class SystemServiceBean i...
emiaj
1

votes
0

answer
84

Views

Hot swapping in Wildfly-Swarm

We are migrating an old JavaEE microservice to cloud (Openshift), so we are wrapping it into Wildfly-Swarm. We managed to make it work, optimize Wildfly-Swarm fractions and so, but when it comes tu run the project locally we are doing mvn wildfly-swarm: run. Works well, we keep the packaging to war...
Javier Aviles
1

votes
0

answer
205

Views

WildFly 13 remote ejb fails with Server rejected authentication

I want to make remote EJB calls on a secured EJB deployed in WildFly 13. The EJB is secured with Elytron but for some reason the client app always fails with Suppressed: javax.security.sasl.SaslException: SCRAM-SHA-1: Server rejected authentication which in turns comes from 2018-07-23 13:19:25,116...
Sergiu
1

votes
0

answer
123

Views

Migrating JSF1.2 application from Jboss 4.2 to Wildfly 13

I am trying to migrate an existing JSF 1.2 application from Jboss 4.2 to Wildfly 13. I have also moved from jdk1.5 to jdk10. I am making an ear file with the following hierarchy: ear /lib ---all jars in it /META-INF /application.xml /jboss-deployment-structure.xml /MANIFEST.MF /EOSEJB.jar /EOSWeb.wa...
Manish
1

votes
0

answer
97

Views

Deploy jar from another EAR

I have 4 applications that rely on the same jar (where some EJBs are located), but, because of the explicit dependency in pom.xml, I’m having problems with the build that not always consider the right version, that’s why I had the idea of doing the deploy of my jar as an ear and reference it as...
Jroger
1

votes
0

answer
427

Views

Wildfly 10.1.0 IllegalStateException - UT000010 Session is Invalid

Running JSF 2.0 on Wildfly 10.1.0 in Docker. Am sometimes seeing 504 Gateway Timeout even though session timeout is 30 minutes by default and session has not yet been 30 minutes?. I am seeing sometimes a specific session is being timed out early(17 minutes instead of 30 for instance) but for all oth...
Kevin Cheng
1

votes
0

answer
14

Views

wildfly 10.1 and logback: contextName return default

I'm using Logback in web application deployed on wildfly 10.1 I'm trying to print the web application name on each line %d{HH:mm:ss.SSS} %contextName [%thread] %level [%logger] - %msg %n but it return default i added the context root to the jboss-web.xml /mycontext i tyed allso with $CONTEXT_ROOT th...
ucf
1

votes
1

answer
432

Views

Dockerfile for Wildfly Java App

I'm trying to create a docker image for my Wildfly Java app. My application creates a mysql connection with a DataSource with JNDI. My ORM is Hibernate. When I run docker build -t mytag-app . it returns error: The command is not available in the current context (e.g. required subsystems or connecti...
Lorenzo Vannucchi
1

votes
0

answer
30

Views

In the class that implements EmptyInterceptor, need to create an EntityManager and save the new object

in project I have a class that implements EmptyInterceptor,where I intercept the change entity public class PlainUserInterceptor extends EmptyInterceptor { private static Logger LOGGER = LoggerFactory.getLogger(PlainUserInterceptor.class); private Set updates = new HashSet(); @Override public bool...
Dima Kovbasa
1

votes
2

answer
89

Views

Wildfly ignores included library

I have all libraries in the WEB-INF/lib folder, however at execution time, Wildfly is complaining about a missing method: 2018-08-13 09:56:14,723 ERROR [stderr] (Thread-174) Exception in thread 'Thread-174' java.lang.NoSuchMethodError: com.google.common.collect.Sets$SetView.iterator()Lcom/google/co...
Pii
1

votes
0

answer
482

Views

Sending Messages from Wildfly 13 to remote Artemis ActiveMQ

I am trying to connect a Wildfly 13 - Instance to a standalone Artemis ActiveMQ to produce and consume messages from it. Therefore I have followed the relevant parts of the Wildfly 13 Documentation and Artemis ActiveMQ Documentation. Furthermore, I tried to use this tutorial and customized it a litt...
jeremypuchta
1

votes
0

answer
29

Views

Sending postback to local server

I have a local wildfly server in my system,which run on 127.0.0.1:8080.I need to setup a postback,for receiving in this local server.Can someone help to solve this issue.Thanks in Advance.
Vijay J
1

votes
1

answer
217

Views

Generating salted/hashed password for Wildfly container based authentication

I am having trouble generating the correctly salted/hashed password for new users in Wildfly 13 using Elytron based container authentication. My standalone.xml file contains the following jdbc-realm entry My data-source's users table was generated as follows: CREATE TABLE users ( id SERIAL, username...
L. Inman

View additional questions