jboss-modules

Why is this JNI-based JBoss module throwing Error “Can't find dependent libraries”?

百般思念 提交于 2019-12-23 05:37:37
问题 I have a Java web application myproject.war deployed to JBoss. A portion of the application uses JNI to connect to a C++ DLL, which calls functions from a set of third-party libraries. We are migrating this application from a x32 server to a x64 server. Prior Environment Build 32-bit Windows Server 2003 JBoss 6.X Java 1.6.X New Environment Build 64-bit Windows Server 2008 R2, SP1 (6.1.7601) JBoss AS 7.2.0 Final "Janus" Java Runtime 1.7.0_45-b18. Visual Studio 2010 Redistributable x64

How to build a plugin architecture using CDI - I'm using Wildfly 10

99封情书 提交于 2019-12-13 03:47:58
问题 I want to build a JEE plugin based architecture. The main idea is do something similar to what eclipse is, but in the context of JEE. My goal is to have a minimum of modules as the core, and allow others modules extend its functionality. To this, I have implemented a test using 4 modules: gauges: Defines and implements a gaugesregistry service, also defines a gauge POJO. cashgauges: implements a gauge producer using CDI. this is a plugin mock. othergauges: implements a gauge producer using

Deploy JAR as a module on JBoss 7.1.1

ε祈祈猫儿з 提交于 2019-12-12 02:05:41
问题 I have a problem using deployed jars on jboss as modules. I know that I should create a global module by: creating a subfolder of JBOSS_HOME/modules, copy the jar and create the module.xml file, but here http://blog.tier2consulting.com/2013/04/02/understanding-modules-in-jboss-enterprise-application-platform-6/ and, more officially, here https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Development_Guide/chap-Class_Loading_and_Modules.html, I read,

How to access JDK tools.jar javac from application deployed in JBoss 7 or WildFly

十年热恋 提交于 2019-12-11 10:35:42
问题 I am deploying an application that tries to use javac and finally fails with java.lang.NoClassDefFoundError: com/sun/tools/javac/Main How should I make javac from tools.jar available to the application deployed in JBoss 7 or WildFly ? 回答1: Here is the process I followed to create a JBoss module for javac : mkdir -p modules/com/sun/tools/javac/main ln -s /usr/java/latest/lib/tools.jar modules/com/sun/tools/javac/main/tools.jar Create modules/com/sun/tools/javac/main/module.xml with content: <