Questions tagged [jboss-modules]
57 questions
9
votes
2 answers
Dependencies in MANFEST.MF ignored on JBoss 7
We have an EJB module that we are deploying to JBoss 7.1.1 which depends on Infinispan and Infinispan Treecache.
I created a module and deployed it in the modules section of jboss.
However, there seems to be a problem with it getting picked up…

drone.ah
- 1,135
- 14
- 28
8
votes
2 answers
JBoss Modules for large number of jar dependencies HOW TO
I'm trying to figure out how to make my WARs lighter by putting JasperReports, Apache POI and other heavy libs directly to JBoss AS by using JBoss Modules.
Now, Jasper uses many many libraries to generate PDF or XLS files as you can see here. Our…

zarko.susnjar
- 2,053
- 2
- 17
- 35
7
votes
0 answers
Using JSF Composite Component with JBoss EAP 6.2 Modules
How can I expose composite components to JBoss through modules? The component works correctly in the same project, the project can correctly refer to other classes within the depended on module, but attempting to use a composite component throws out…

Evan Knowles
- 7,426
- 2
- 37
- 71
3
votes
1 answer
Ceylon module system: Guava class mismatch even though there's only one Guava in dependencies tree
I'm defining an adapter for JSimpleDB (a persistence library) by subclassing a class that takes a Google Guava Converter as constructor parameter:
shared class RoleConverter() extends Converter() {
shared actual Role…

Ilmo Euro
- 4,925
- 1
- 27
- 29
3
votes
1 answer
How to log with slf4j from within a jboss module?
How can I log to console / server.log from within a jboss module?
Say that I have a class:
public class MyClass {
private static final Logger logger = LoggerFactory.getLogger(MyClass.class);
private boolean done = false;
public void…

Anthony Accioly
- 21,918
- 9
- 70
- 118
3
votes
1 answer
JBoss modules cxf jar updating?
I'm using JBOSS EAP 6.2 for deploying the restful web service. The restful web service is using apache cxf, it is taking from jboss eap. Currently its using the jar cxf-api-2.7.7.redhat-1.jar . Is there any way that can I update this jar in the…

Rosh
- 1,676
- 4
- 21
- 35
2
votes
0 answers
Is it mandatory to declare dependency on global module in JBoss7+ / WildFly?
I declared sample module as global in standalone.xml of WildFly like this
and then I thought that it is now automatically accessible by any deployed Java app.…

Dima Fomin
- 1,228
- 1
- 16
- 27
2
votes
0 answers
JBoss Modules: how to run service from module?
I'm trying to run a service from the module but next error appears:
Exception in thread "main" java.util.ServiceConfigurationError: com.example.prototype.api.Service: Provider com.example.prototype.foo.FooService not a subtype
at…

Bullet-tooth
- 782
- 1
- 10
- 16
2
votes
0 answers
Defining 3rd-party library in Wildfly as Module without including its dependencies
I am developing a web application for Wildfly 9 using a quite standard stack (Java 8, JAX-RS, Hibernate etc).
Now I have to use a third-party library, which has various dependencies to libraries version of Log4j etc. Since I don't want to analyze if…

user140547
- 7,750
- 3
- 28
- 80
2
votes
2 answers
Jboss EAP 6.4 Module resource-root path
I tried to create Jboss module that includes jks and jar files.
Though I am able to make it work, but I don't understand why it works.
When I define resource-root for both jar and jks files.
…

user3422290
- 253
- 5
- 18
2
votes
1 answer
How to deploy EJB module as a module under MODULES folder in wildfly AS
I have a jar containing EJBs say EJBTest.jar and have deployed it as a module under modules folder along with module.xmlin wildfly application server. In the WAR which is the consumer of EJBs, I have added a reference to the EJB module

sridhar
- 1,117
- 5
- 31
- 59
2
votes
1 answer
Need help making a global module in JBoss 7 project for c3p0
I have a project running on a JBoss 7 server that I'm trying to use c3p0 for. JBoss 7 doesn't support just dumping the jars in a /lib folder like in previous versions. As I understand it I need to use the new module system. Here are the steps I have…

Sunga
- 309
- 1
- 4
- 17
2
votes
2 answers
Jboss trying to load dependent class from other war file
I don't know how but jboss is trying to load dependencies from other deployed war file which ends with a linkage error. And so my soap web service fails.
To give an example;
I have a war file A.war deployed and working so far. I then write another…

Olgun Kaya
- 2,519
- 4
- 32
- 46
1
vote
1 answer
Cannot use Log4J2 with Wildfly
I'm working on a JEE application which uses log4j2 for logging. I'm trying to deploy it on Wildfly 15, but I can't get it to log properly, stating
Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using…

stmoebius
- 662
- 11
- 30
1
vote
1 answer
How to specify that a JBoss WildFly deployment should load its lib module with services imported?
I have an ear file with a structure like this that I'm trying to deploy in WildFly 17:
my-application-ear.ear
|-- my-ejb-jar-1.jar
|-- my-ejb-jar-2.jar
|-- lib/
|-- my-library-jar.jar
|-- ...
|-- META-INF
|-- MANIFEST.MF
|--…

richj
- 7,499
- 3
- 32
- 50