jboss

Wildfly - set datasource password at runtime

我怕爱的太早我们不能终老 提交于 2021-02-08 03:45:57
问题 I am developing a server application using Jboss wildfly 8.1 and JPA Hibernate. The problem is, that the JPA datasource creditials have to be loaded at runtime (password). When the server starts, it connects to an encrypted storage where it retrieves password to real database. After that, it should establish connection to the real database. I tried several things already: Lookup the datasource through JNDI and rebind it with actual DS. Lookup the entityManagerFactory through JNDI and rebind

stomp/sockjs 404 not found error in jboss 6.4

穿精又带淫゛_ 提交于 2021-02-08 03:08:25
问题 I m trying to deploy spring-websocket-portfolio sample app wich use stomp/sockjs client with spring j2ee server . the same war package succeed in Tomcat7 and failed in jboss 6.4 and Tomcat6 with 404 error code . The error in chrome console is : sockjs.js:1622 GET http://localhost:8080/spring-websocket-portfolio/portfolio/info?t=1466117690528 404 (Not Found) Any idea ? 回答1: Your server needs to be Servlet 3.0+ and should support the websocket API. You'll find the list of officially supported

Why is there no maven resteasy-jaxrs package for version 4.2.0?

旧时模样 提交于 2021-02-07 10:29:58
问题 Last release I see in maven for resteasy-jaxrs is 3.8.1. When trying to upgrade resteasy-client to 4.2.0 there is a dependency in there on resteasy-jaxrs:4.2.0 : org.jboss.resteasy.plugins.providers.RegisterBuiltin.getClientInitializedResteasyProviderFactory . This dependency is not listed in the pom and also it hasn't been published anywhere that I can see...only thing I see is resteasy-jaxrs-all which has a lot more jars than I want. Are we not supposed to be using the resteasy-jaxrs

Missing database connections eclipse

感情迁移 提交于 2021-02-07 06:38:17
问题 I am missing MySQL and other connection profiles in eclipse so that JBoss server throws errors. Unable to post image because of reputation ;) I do have only: Generic JDBC HSQLDB Using Eclipse Kepler and jboss eap 6.1 - already established MySQL server on my PC. 回答1: First, if you are going to do any Java web application development on eclipse, please make sure you are using Eclipse IDE for Java EE Developers. This will get most relevant plugins already installed and prevents you from

How to add a jar to the boot classpath in java 11

倾然丶 夕夏残阳落幕 提交于 2021-02-06 14:30:39
问题 In my application which is running on Java 8 I used third party library which is using org.jboss.logmanager.LogManager So I added this jar in bootclass path and it works fine. But when migrate to java 11 either -Xbootclasspath/a or -Xbootclasspath/p is not working and I can not start my application. set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/a:D:/wildfly-10.1.0.Final/modules/system/layers/base/org/jboss/logmanager/main/jboss

How to add a jar to the boot classpath in java 11

感情迁移 提交于 2021-02-06 14:28:42
问题 In my application which is running on Java 8 I used third party library which is using org.jboss.logmanager.LogManager So I added this jar in bootclass path and it works fine. But when migrate to java 11 either -Xbootclasspath/a or -Xbootclasspath/p is not working and I can not start my application. set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/a:D:/wildfly-10.1.0.Final/modules/system/layers/base/org/jboss/logmanager/main/jboss

How to add a jar to the boot classpath in java 11

我是研究僧i 提交于 2021-02-06 14:28:29
问题 In my application which is running on Java 8 I used third party library which is using org.jboss.logmanager.LogManager So I added this jar in bootclass path and it works fine. But when migrate to java 11 either -Xbootclasspath/a or -Xbootclasspath/p is not working and I can not start my application. set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/a:D:/wildfly-10.1.0.Final/modules/system/layers/base/org/jboss/logmanager/main/jboss

How to add a jar to the boot classpath in java 11

拈花ヽ惹草 提交于 2021-02-06 14:28:01
问题 In my application which is running on Java 8 I used third party library which is using org.jboss.logmanager.LogManager So I added this jar in bootclass path and it works fine. But when migrate to java 11 either -Xbootclasspath/a or -Xbootclasspath/p is not working and I can not start my application. set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/a:D:/wildfly-10.1.0.Final/modules/system/layers/base/org/jboss/logmanager/main/jboss

How to add a jar to the boot classpath in java 11

☆樱花仙子☆ 提交于 2021-02-06 14:27:11
问题 In my application which is running on Java 8 I used third party library which is using org.jboss.logmanager.LogManager So I added this jar in bootclass path and it works fine. But when migrate to java 11 either -Xbootclasspath/a or -Xbootclasspath/p is not working and I can not start my application. set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/a:D:/wildfly-10.1.0.Final/modules/system/layers/base/org/jboss/logmanager/main/jboss

Connect JMS queue using JNDI with Spring Boot

人走茶凉 提交于 2021-02-06 13:48:22
问题 I had a hard time figuring out how to implement a Spring Boot JMS Listener, listening to an ActiveMQ queue within a JBoss application server. Therefore I choose to post a question and answer it with my final solution, hoping it could save some of you a few hours. 回答1: ActiveMQ is supported by Spring Boot autoconfiguration, but since it was inside the JBoss server Spring Boot was failing to connect ActiveMQ. In fact you need to define connectionFactory and jmsListenerContainerFactory beans