wildfly-8

Hot deployment location in Wildfly 8 AS

北城以北 提交于 2019-12-06 15:40:41
In JBoss 6 AS, the hot deployment location is ${JBOSS_HOME}/server/default/deploy where I can unpack WAR or EAR and change content of any configuration file and it works without restart. Similarly, in Wildfly 8 AS, can anyone help me to know about the hot deployment location. I tried unpacking WAR in ${WILDFLY_HOME}/standalone/deployments folder but it is not picking up the unpacked WAR folder. It considers file only with .war extension. Can anyone help me on the same. Many thanks. Also, if there is a good guide on usage of wildfly-maven-plufgin , please share m Can anyone help me on the same.

Starting WildFly 8.2 under a user with limited permissions

*爱你&永不变心* 提交于 2019-12-06 15:10:17
I'm trying to start WildFly 8.2 under a user that doesn't have permissions to write in a WildFly home directory and it's subdirectories. For this purpose I've copied standalone directory to a user home directory. Here is a command I use to start WildFly in cygwin: $ /cygdrive/c/Program\ Files/wildfly-8.2.0.Final/bin/standalone.sh -Djboss.server.base.dir='C:\Users\above_mentioned_user\standalone' -c standalone.xml And here is an output of this command: cygpath: can't convert empty path ========================================================================= JBoss Bootstrap Environment JBOSS

How to query the number of active sessions with JBoss Wildfly?

我的梦境 提交于 2019-12-06 14:57:51
We used to query the active session count by using the following code up to JBoss 7: ObjectName name = new ObjectName(jboss.web:type=Manager,path=/MyWebApp,host=default-host); MBeanServer jboss = MBeanServerLocator.locateJBoss(); this.sessions = new Long((Integer) jboss.getAttribute(name, "activeSessions")); That no longer works with JBoss Wildfly. I can't really find the proper documentation to access the same information with the current version of JBoss AS. I've come across some links like http://blog.akquinet.de/2014/09/15/monitoring-the-jboss-eap-wildfly-application-server-with-the

JBPM 6.2. How to deploy a workflow directly from Eclipse instead of KIE workbench?

狂风中的少年 提交于 2019-12-06 14:32:35
问题 I am using Eclipse Luna and WildFly 8.1 with JBPM 6.2. Currently, my Eclipse is configured so that I can start both the WildFly 8.1 server and the KIE workbench directly from within Eclipse. Previously, I had created an Evaluation.bpmn workflow from the KIE workbench and was able to succesfully deploy it and see the workflow logs in the database tables. However, is there a way to create a JBPM project in Eclipse and deploy and start the workflow directly from Eclipse? If so, how can I do it?

Not able to deploy multiple war packages to different hosts listening to different ports on Wildfly 8.1.0 Final?

大兔子大兔子 提交于 2019-12-06 13:41:56
问题 My use case involves deployment of two different packages (war files) on a single Wildfly server. In standalone-full.xml my socket-binding-group looks like this after addition of the extra socket as below <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}"> <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/> <socket-binding name="management-https" interface=

JEE7 + WildFly (HornetQ) - Pause queue from application

半城伤御伤魂 提交于 2019-12-06 10:47:10
问题 We are using WildFly + HornetQ as our application server and JMS message queue, and have the requirement to be able to pause/resume queues from the application. Is this possible? 回答1: This can be done using JMX or using the hornetq core management api. For the purposes of this example, wildfly 8.1.0.Final was used running the standalone-full-ha profile. Required Maven Dependencies: <dependency> <groupId>org.hornetq</groupId> <artifactId>hornetq-jms-client</artifactId> <version>2.4.1.Final<

Upgrad to Wildfly 8.2 with error

做~自己de王妃 提交于 2019-12-06 07:27:33
I upgraded from Wildfly 8.1 to 8.2. My first JSF request resulted in this error, where this worked before. What is the culprit? Does one need to update any dependencies? JDK 8 required? 16:39:36,127 ERROR [io.undertow.request] (default task-1) L:80 UT005023: Exception handling request to /ccms/splitter.xhtml: java.lang.IllegalStateException at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:705) [jsf-impl-2.2.8-jbossorg-1.jar:] at com.sun.faces.context.FacesContextImpl.getAttributes(FacesContextImpl.java:237) [jsf-impl-2.2.8-jbossorg-1.jar:] at org.richfaces

Register new undertow SessionManager

谁说我不能喝 提交于 2019-12-06 07:06:35
问题 I have wildfly 8.1 server running. I have my own SessionManager implementing io.undertow.server.session.SessionManager. And i want to configure the system to use my session manager. Where and how should i configure/add new settings for my session manager? 回答1: public class StartupBeanExtension implements Extension, ServletExtension { @Override public void handleDeployment(DeploymentInfo deployment, ServletContext context) { boolean sessionPersistenceEnabled = Boolean.parseBoolean(BeanUtils

Cannot login using Wildfly security domain

故事扮演 提交于 2019-12-06 06:14:47
I am migrating from glassfish 4 to wildfly 8.1 Problem is in login using security domain of Wilfly. I cannot find solution for hours. here is my standalone-full.xml security domain configuration: <security-domain name="aisRealm" cache-type="default"> <authentication> <login-module code="Database" flag="required"> <module-option name="dsJndiName" value="java:/jdbc/ais"/> <module-option name="principalsQuery" value="select password from users where email='subsoil_user'"/> <module-option name="rolesQuery" value="select ug.group_name, 'Roles' from user_in_group uig, users u, user_group ug where

Why JSF 2.2 takes more time partial rendering an ajax request on Wildfly

£可爱£侵袭症+ 提交于 2019-12-06 03:05:58
问题 I am working on migrating a project from (JSF 1.2, Richfaces 3.3.4 running on JBoss 4.2.3) to (JSF 2.2, Richfaces 4.5 running on Wildfly 8.1.0). After partially migrating some views I found that the performance of the application using JSF 2 is terrible. I noticed this issue when an ajax request is sent, JSF 2 is rendering the whole view although the render attribute is pointing to one outputText Example (Can be downloaded from HERE) In my example I will use the same code sample for both JSF