wildfly

Can't get Remote EJB to work with EJB Client API on Wildfly

断了今生、忘了曾经 提交于 2019-12-08 15:46:26
I'm currently struggling with getting remote EJB invocation to work on wildfly (8.x and 9.x). In detail it's about remote invocation from a standalone client application (not from another app server) using the EJB Client API approach. The remote naming approach works for me but isn't applicable in my scenario because I need to use client-side interceptors for passing context data to a server-side interceptor for the remote invocations. But for now I try to get remote invocations with the client API to work for a simple example. Therefore I tried the quickstart for remote ejb invocation which

Infinispan custom cache command factory not installed

[亡魂溺海] 提交于 2019-12-08 14:52:09
问题 I try to enable second level caching in Hiberante.Im using wildfly 10.0.x. Persistent.xml <persistence-unit name="apidb-persistence-unit" transaction-type="JTA"> <jta-data-source>java:jboss/datasources/DS</jta-data-source> <provider>org.hibernate.ejb.HibernatePersistence</provider> <exclude-unlisted-classes>false</exclude-unlisted-classes> <shared-cache-mode>ALL</shared-cache-mode> .. <property name="hibernate.cache.use_second_level_cache" value="true"/> <property name="hibernate.cache.use

Intercept connection pooling of Datasource connections in JEE container

浪子不回头ぞ 提交于 2019-12-08 14:46:14
问题 is it possible to intercept the connection pooling mechanism of a DataSource in a JEE container? For (un)setting some information on the connection's context I'm searching for a way to intercept the pooling mechanism so that I know when and which connection is put back into the pool. So does anyone know a (common) way to do this? Some additional info: The application runs on Wildfly Using Hibernate for ORM 回答1: The option connection-listener in datasource configuration can be the solution.

CDI and JANDEX and deployment enhancement approach - no speed difference detected

瘦欲@ 提交于 2019-12-08 10:44:56
问题 I am opening this thread as I was requested to do so, in a reply to comment/question i added here: Disable scanning of CDI beans in WAR The question is the following. Is there any specific additional step that one needs to take besides adding jandex to his build pom to get the feature enabled? I notice no deployment speed difference when using jandex on Wildfly 10.1.0.Final and Weblogic 12.2.1.2 deployments. If anything, the deployment tends to be about 1 second slower. Steps taken: 1. Visit

cannot import org.hibernate.session

前提是你 提交于 2019-12-08 09:40:05
问题 I installed wildfly 8.1 to my eclipse and wanted to move my old project from jboss 4.2 to new one. There is a problem that import org.hibernate.Session; cannot be resolwed on WildFly 8. can someone suggest any possible solutions? 回答1: WildFly class loading is different comparing to JBoss 4.2. If you want to use Hibernate, than you'll need an explicit dependency on org.hibernate module. One way of defining this is via a Dependencies entry in MAINFEST.MF : Manifest-Version: 1.0 ... Dependencies

Wildfly 8.0.0 mysql problems with datasource

耗尽温柔 提交于 2019-12-08 08:47:10
问题 I've got a small problem with my standalone.xml. I made an order mysql in modules/system/layers/base/com . Inside this folder there is the folder main and inside that there is my mysql-Connector v.5.1.28 and the module.xml. But when I run a project in Eclipse it doesn't open up the browser.If I open it in the Safari browser than the textfields are shown but the whole database entries, which should be shown up too, are missing. Instead it throws an ClassNotFoundExeption for the mysql driver.

How do I use jbpm demo in a professional environment?

早过忘川 提交于 2019-12-08 08:10:37
问题 I have installed http://download.jboss.org/jbpm/release/6.4.0.Final/jbpm-6.4.0.Final-installer-full.zip found here http://www.jbpm.org/download/download.html and this is a self contained environment with ant and commands like: "ant install.demo". You end up with a nice environment for learning the kie workbench. This is great for learning, but I really want to take it to the next step which is to have a single wildfly server with ear/war file(s). I can't seem to find instructions or advice on

How to connect to a Kerberos-secured Apache Phoenix data source with WildFly?

丶灬走出姿态 提交于 2019-12-08 07:21:56
问题 I have recently spent several weeks trying to get WildFly to successfully connect to a Kerberized Apache Phoenix data source. There is a surprisingly limited amount of documentation on how to do this, but now that I have cracked it, I'm sharing. Environment: WildFly 9+. An equivalent JBoss version should also work (but untested). WildFly 8 does not contain the required org.jboss.security.negotiation.KerberosLoginModule class (but you can hack it, see Kerberos sql server datasource in Wildfly

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

偶尔善良 提交于 2019-12-08 06:46:15
问题 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

Problems in Firefox and Chrome with “Kie Drools Workbench 6.2.0 Final” after the login

删除回忆录丶 提交于 2019-12-08 06:35:16
问题 I'm trying to test Kie Drools Workbench 6.2.0 Final in several web navigators (Internet Explorer , Google Chrome and Firefox ) and I'm having problems with Google Chrome and Firefox after the login, the message with the information "Please wait, loading application..." is shown but that message never dissapears and the application doesn't load. I haven't that problem with Internet Explorer after the login but I need to test Kie Drools Workbench in the others web navigators, my operating