wildfly

Wildfly 10 JMS message content

半腔热情 提交于 2019-12-12 12:14:57
问题 I have an application that is using multiple JMS Queues. Problem with the application is that it is almost not creating any logs. I would like to avoid stopping the application, updating the sources and starting it once more (however, if there will be no another way to do this, I will be forced to do that). Application is running on remote server, so remote debugging is just pain because of amount of the messages. I was thinking, if is there a way to see the content of the messages on the

How To Resolve “The required mechanism 'BASIC' is not available in mechanisms [KEYCLOAK] from the HttpAuthenticationFactory”

谁说胖子不能爱 提交于 2019-12-12 11:09:39
问题 When I tried to deploy the keycloak-quickstart app-profile-jee-vanilla project, I ran into an error message. A bit of web searching did not provide a resolution, so I thought to ask here. Here are the steps that I followed. Three bash shells are involved. KEYCLOAK SHELL curl -O -L https://downloads.jboss.org/keycloak/4.1.0.Final/keycloak-4.1.0.Final.tar.gz tar xvfz keycloak-4.1.0.Final.tar.gz ./keycloak-4.1.0.Final/bin/standalone.sh -Djboss.socket.binding.port-offset=100 WILDFLY SHELL curl -O

How to list all JNDI entries in “java:global” namespace

时光总嘲笑我的痴心妄想 提交于 2019-12-12 10:42:57
问题 Goal is to list all the JNDI entries programmatically. new InitialContext().list("java:global") doesn't work. EJB 3.1, Wildfly or Glassfish 4 回答1: I think that the safer way to navigate in JNDI namespace is first to lookup its root and then list its content. I've tried this way in WildFly 8.1.0 and it worked : Context root = (Context) new InitialContext().lookup("java:global"); NamingEnumeration<NameClassPair> names = root.list(""); 来源: https://stackoverflow.com/questions/26463970/how-to-list

Unable to find contextual data of type: java.ws.rs.container.ContainerRequest (Wildfly error)

蹲街弑〆低调 提交于 2019-12-12 09:59:18
问题 I am using wildfly 9.0.1.Final I am deploying a REST application which has an endpoint defined like this: @GET @Path("/view/products") @Produces(MediaType.APPLICATION_JSON) @CORSEnabled @Protected public String getConfiguredProducts( @Context ContainerRequestContext request) { if (request != null) { Integer companyId = (Integer) request.getProperty("company"); if (companyId != null) { //do stuff } } // ... more staff } When the application runs, the context is injected, i.e. 'request' is non

JBoss AS vs WildFly 8

泄露秘密 提交于 2019-12-12 09:30:02
问题 Can anyone please give me the main difference between JBoss AS 7 and WildFly 8? I'm going to start a very important project and I have to choose between JBoss AS 7 and WildFly 8 (for this project I'm going to use GWT, JPA/Hibernate and jBPM 6). 回答1: WildFly 8 is the next iteration of the JBoss application server after JBoss AS 7 / EAP 6. Basically: JBoss AS 7.x = JEE6 JBoss EAP 6.x = JEE6 WildFly 8.x = JEE7 Red Hat typically backports security fixes from newer versions into older versions,

Is there an easy way to create a new Wildfly server instance

馋奶兔 提交于 2019-12-12 08:15:21
问题 Is there an easy way to create a new Wildfly server instance. In JBoss AS5 all you had to do is create a copy of default or all and start jboss with: run.sh -c [New instance name] There is no such option available in standalone.sh 回答1: The change which started with the JBoss AS7 and continues in WildFly is, the whole server configuration is hold in a single file. There are prepared some 4 default configurations (or profiles): default ( standalone.xml - used by default - without clustering and

Wildfly Failed to create netty connection

…衆ロ難τιáo~ 提交于 2019-12-12 06:23:30
问题 I'm have Wildfly AS setup on my raspberry pi 2, I added a HornetQ using this cmd: jms-queue add --queue-address=demoQueue --entries=java:/jms/queue/demoQueue,java:jboss/exported/jms/queue/demoQueue I'm debugging a sender app on a different machine in IntelliJ. I'm using the standalone-full.xml config and have edited it following this guide to enable remote connection My application fails when it reaches : connection = connectionFactory.createConnection(System.getProperty("username", DEFAULT

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

jBPM 7.3.0 persistence with Postgres 9.6

只愿长相守 提交于 2019-12-12 05:00:02
问题 I'm trying to set the persistence in jbpm-installer-7.3.0.Final with Postgres 9.6. After MANY attempts, I am able to start the server and the console without errors, but from the workbench interface, I'm unable to use Processes or Tasks. It shows a popup saying: Process Definitions could not be loaded. Check if the jBPM Capabilities are enabled and if the remote server is correctly set up. in the Wildfly deployment console I can see: [org.jbpm.workbench.ks.integration.KieServerDataSetManager]

Hawkular APM not showing any data

若如初见. 提交于 2019-12-12 04:58:20
问题 We have installed Hawkular APM downloaded from https://github.com/hawkular/hawkular-apm/releases. Then started the server: bin/add-user.sh -a -u jdoe -p password -g read-write,read-only bin/standalone.sh -b 0.0.0.0 -Djboss.http.port={PORT} (1) Then installed JVM agent on WildFly-8.2 server in the same machine. https://hawkular.gitbooks.io/hawkular-apm-user-guide/content/instrumentation/jvmagent.html Copied apm folder to wildfly-8.2 and set setenv.sh. apm/setenv.sh port Then started WildFly.