wildfly-10

Change http port in wildfly maven plugin

家住魔仙堡 提交于 2019-12-12 23:52:04
问题 I would like to change the default HTTP port using the wildfly-maven-plugin to 8380. Usually, I can do that changing the offset, but this is not working, my changes are ignored and HTTP port continues on 8080. I'm starting wildfly in the same maven project, because this is way more practical (download and start automatically). Just like that: mvn wildfly:run -Dwildfly.version=10.1.0.Final My project contains JAR, WAR and EAR. Classic structure. As I understood from another SO questions, I

Access WildFly10 with JMX fails

ぐ巨炮叔叔 提交于 2019-12-12 05:48:10
问题 I'm trying to acces a virtualbox machine with a WildFly10 via JMX from my local machine. In the JConsole I'm using the following parameters: remote process: service:jmx:http-remoting-jmx://172.28.128.3:9990 username: test password: test Both username and password works, because I can acces WildFly with that username/password on 172.28.128.3:9990 The message is the following: Secure connection failed. Retry insecurely? If i click yes, then this appears: Connection failed: Retry? What am I

How to install a plugin update that's not on eclipse marketplace

偶尔善良 提交于 2019-12-12 03:44:15
问题 I am using MacOS Sierra with Eclipse Neon2 and WIldfly10. I am having problems when I start Eclipse, it hangs. I have the exact same symptoms as this. In the link, JBoss say it is a deadlock with the JBoss server, and they have a fix for it (see 4th comment) and they provide links to /jbosstools/neon/staging/updates. Question I have Eclipse and JBoss Wildfly installed. How do I apply this "fix" to my environment? 回答1: I was experiencing the same problem under Ubuntu with Eclipse Neon2. You

WildFly 10 Spring Boot war Deployment Error

老子叫甜甜 提交于 2019-12-11 16:15:32
问题 I cannot upload and deploy my Spring Boot WAR package application on WildFly 10 because of the following error: Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./NetonePrepaidBillingRestService" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./NetonePrepaidBillingRestService: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server

Setting request Header in server before Authentication Happens in Keycloak

℡╲_俬逩灬. 提交于 2019-12-11 15:26:10
问题 I'm using keycloak header based authentication to secure a REST API. There I want set a request header field (basically keycloak Autharization Header) before authication happes. Another appocach for this is exlained here : How to get javax.servlet.Filter called before Keycloak Authentication In this try I tried to call the overriden HeaderBasedKeycloakConfigResolver's resolve method and after tempering the web.xml . I could note that it can be called before the authentication happens. I read

java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.font.PDFont

隐身守侯 提交于 2019-12-11 14:08:25
问题 I am using Apache Tika( tika-app 1.17) in wildfly modules. While I start extracting PDF it always throws the error: java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.font.PDFont For other file extensions it works fine. Things I have tried out dependencies in apache-tika module.xml to PDFbox Explicitly loaded org.apache.pdfbox from standalone.xml I have also tried with the below structure app1.war->(WEB-INF)lib-->app.jar->lib-->tika-app-1.17.jar I have also

WildFly Logging Profile not working with log4j

我的未来我决定 提交于 2019-12-11 06:14:34
问题 Following JBOSS Example Logging Profile Configuration guide I've created a logging profile on my WildFly10 server. I've edited my MANIFEST.MF adding Manifest-Version: 1.0 Logging-Profile: accounts-app-profile But i can't find logs in jboss.server.log.dir\ejb-trace.log as expected. This is my log4j.properties log4j.rootLogger=DEBUG, stdout # ConsoleAppender. log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout

Hibernate version mismatch in WildFly 10.0

好久不见. 提交于 2019-12-11 05:39:06
问题 I have 2 projects, one is a normal java project (with maven): core , and the other is non-maven dynamic web project: webapi . The later acts as a rest layer on top of core . core uses hibernate without any problem. It defines the persistence.xml (inside src/META-INF/ ) as follows: <?xml version="1.0" encoding="utf-8"?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence

Hibernate module error OGM + MongoDB and Wildfly 10

£可爱£侵袭症+ 提交于 2019-12-11 02:21:34
问题 I'm looking for a help to configure Wildfly 10 with Hibernate OGM and MongoDB ... I have the following error: 11:13:17,164 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.module.service."deployment.brx-plataforma.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.brx-plataforma.war".main: WFLYSRV0179: Failed to load module: deployment.brx-plataforma.war:main at org.jboss.as.server.moduleservice

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

匆匆过客 提交于 2019-12-11 00:37:11
问题 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. <bean id="appleMessageListenerContainer" class="org.springframework.jms.listener.DefaultMessageListenerContainer" depends-on="transactionManager"> <property name="connectionFactory" ref="connectionFactory" /> <property name="destination" ref="outQueue" /> <property name="destinationResolver" ref="jmsDestinationResolver" />