Questions tagged [jboss-modules]
57 questions
1
vote
0 answers
how to call jboss-modules.jar from C++ code using JVM/JNI
I have something like below, which is getting executed on java.exe.
"C:\Program Files\jre\bin\java.exe"
-Djboss.home.dir="C:\Program Files\wildfly" -Djboss.modules.system.pkgs=org.jboss.byteman -Dlogging.configuration=file:"C:\Program…

Ami
- 233
- 2
- 9
1
vote
1 answer
How to build a plugin architecture using CDI - I'm using Wildfly 10
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…

adrz1
- 67
- 7
1
vote
1 answer
Wildfly10: Configuring deployment runtime name with XML
Can I set the runtime name of a deployment by configuring a XML file inside .war file?
besides the file name of the .war, is there a way to configure the name and runtime name of a deployment using XML?

ethanxyz_0
- 713
- 12
- 37
1
vote
0 answers
File writing Java EE Web App with use of Jboss modules
I would like to save files in a Java EE web application deployed to a JBoss (EAP 6.1+).
Using a database is not an option.
I have read all answers which sound similar to this topic (especially from BalusC).
However, I am not quite sure if my…

Nikos Kyr
- 3,140
- 1
- 13
- 16
1
vote
0 answers
Wildfly: How to change the module name of WAR deployment? (without changing the WAR filename)
I have a maven project and the name of generated .war file is my-project-1.0.0-SNAPSHOT.war.
And I try to get the name and slot of the war module with this code:
Module module = Module.forClass(clazz);
ModuleIdentifier identifier =…

ethanxyz_0
- 713
- 12
- 37
1
vote
2 answers
JBoss/Wildfly Hibernate 3 Classloading
I have an ear file which contains a .war file and a number of .jar files including Spring WS and Hibernate 3. This app is to be ported from another app server to Wildfly.
So far, this has been a royal pain due to all the modules that need to be…

Andreas
- 115
- 2
- 11
1
vote
0 answers
jboss modules system dependencies from ear/lib
I am trying to add more functionality to a product i work on( it is web application) by using jboss modules, the product is a .ear file which contains a utility.jar (this jar is inside the lib folder inside .ear file). Now I am trying to add a…

saket
- 13
- 8
1
vote
1 answer
Wildlfy module.xml Configuration for one java class
I am testing an java application and getting this error:
org.jboss.naming.remote.protocol.NamingIOException: Failed to rebind [Root exception is java.io.IOException: java.lang.ClassNotFoundException: de.brockhaus.userMgmt.control.process.SomeProcess…

julianfperez
- 1,726
- 5
- 38
- 69
1
vote
0 answers
JBoss EAP 6.4 Jackson module classloading
I made a small project which looks like this
playboss.ear
lib
commonlib.jar
JsonDeserializer.class
testlib.jar
JsonMessage.class
Version.class
jackson-1.9.4.jar
playboss_ejb.jar
…

Henning
- 11
- 1
1
vote
1 answer
Why does my JBoss module throw a ClassCastException?
Hi StackOverflow Community,
I have a WAR which I have deployed to a JBoss Wildfly 8.2 instance. Also in Wildfly, I have created two modules:
a third party JMS JCA adapter module,
and a model module (model.jar) that contains message classes used…

Jose
- 1,616
- 4
- 26
- 38
1
vote
1 answer
How to access JDK tools.jar javac from application deployed in JBoss 7 or WildFly
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 ?

Yves Martin
- 10,217
- 2
- 38
- 77
0
votes
0 answers
How to use Vaadin as a Wildfly module
I noticed that the Vaadin JARs take up a sizeable percentage of my test application WAR file size, does anyone have any experiences on using vaadin dependencies as a wildfly module and just referencing it from the application?
I'm currently using…

Inercio Belton
- 1
- 1
0
votes
1 answer
How to use smartics-jboss-modules maven plugin in maven project
We can create module.xml manually and keep it in modules folder of Jboss. But to autogenerate it, there is a plugin called smartics-jboss-modules-maven-plugin. Has anyone implemented it in maven project. My requirement is to generate module.xml and…

sapna kumari
- 1
- 1
0
votes
0 answers
Logs not getting generated because of different versions of Log4j in module in JBoss
Our project is a Spring Boot project, we are also using Apache Camel, we are using Log4j for logging and we are deploying the application as war file in JBoss EAP 7.3.0. The pom.xml of the application is:

Anirban
- 925
- 4
- 24
- 54
0
votes
0 answers
ModuleNotFoundException after Thorntail upgrade
I just upgraded the Thorntail version of my application from 2.5.0.Final to 2.6.0. Final.
My app is using a module (for authorization), which lies in a separate git repo, so I've included it in my pom.xml.
Since the upgrade I'm getting a…

Flo Ryan
- 327
- 1
- 17