Questions tagged [jboss-modules]

57 questions
0
votes
1 answer

Jboss 7.1.1 correct hibernate dependencies

I'm reviewing pom.xml of an old project which I'm trying to run on Jboss AS 7.1.1. This pom contains a lot of dependencies with artifacts like: hibernate-core hibernate-validator hibernate-jpa-2.0-api hibernate-entitymanager ... As Jboss 7.1.1…
andriy
  • 4,074
  • 9
  • 44
  • 71
0
votes
1 answer

Annotations on fields not processed between different deployments in JBoss

We have an issue where we have a superclass with an annotation (@Resource) and subclasses that extend that superclass are are stateless beans. Very similar to this, if the superclass and subclass are in the same module then the resource is injected…
Evan Knowles
  • 7,426
  • 2
  • 37
  • 71
0
votes
1 answer

Have a war contains application and quartz jobs in spring container everything depends on jboss-modules, deployed. application works but quartz fails

In our application till today we used a fat war with all libraries placed in the WEB-INF/lib in war, and it worked with no issues, But when we separate the dependencies in to jboss-modules (the application runs in spring container), and is deployed,…
napster
  • 193
  • 2
  • 13
0
votes
0 answers

JBoss Module java.lang.ClassNotFoundException

I'm trying to deploy an OrientDB Datasource to JBoss AS7 using their JDBC file, and I keep getting a [java.lang.ClassNotFoundException: com.orientechnologies.orient.core.OSignalHandler from Module "com.orientechnologies:main" from local module…
FrankieTheKneeMan
  • 6,645
  • 2
  • 26
  • 37
0
votes
1 answer

Deploy JAR as a module on JBoss 7.1.1

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…
kekolab
  • 801
  • 10
  • 24
0
votes
1 answer

JBoss custom module development with Eclipse

I've inherited code for a custom JBoss Module and I'm quite new to JBoss EAP 6.x. Currently I'm using eclipse to develop the module but to deploy a new version I've to do it manually. Is there a better way to do this?
Max Power
  • 178
  • 1
  • 10
0
votes
1 answer

openam J2EE Policy agent - ServerEntryNotFoundException: Cannot find server ID

I have an openAM application running on Tomcat 7. On my JBoss server, which has an application protected by OpenAM, I get the following error message when accessing any protected resource: Caused by: java.lang.NoClassDefFoundError: Could not…
0
votes
2 answers

How to get started with Java modules?

I'm reading about OSGi and JBoss modules. I understand the purpose of modules -- to avoid Jar hell and conflicting classes -- but I don't know where to start if I want to write a new application that uses them. Is there a kernel somewhere that I can…
Rob N
  • 15,024
  • 17
  • 92
  • 165
0
votes
1 answer

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

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…
JoshDM
  • 4,939
  • 7
  • 43
  • 72
0
votes
1 answer

Extending the classes in a WAR file by creating another WAR

Is it a good practice to give WAR-WAR dependency in an Application Server. Both the wars belong to the same EAR. Reason: Extend the functionalities of one WAR (by Inheritence). For a reason(which I dont want to explain for simplicity), both the…
0
votes
2 answers

Singletons and JBoss modules - will I have several instances of the object?

I am using jboss modules in our enterprise application. we have a jboss module (let's assume it is packed to "a.jar"). This jboss module contains a singleton (not a Java EE singleton bean, but a POJO singleton, with "getInstance" method). There…
Yair Zaslavsky
  • 4,091
  • 4
  • 20
  • 27
0
votes
1 answer

How to declare JSF resource bundle when it resides in JBoss 7 module?

I am moving our JSF messages.properties outside the war so QA and ops people can modify messages without generating a new war. I've created a JBoss 7 module and placed the messages.properties file in…
Steve L
  • 783
  • 3
  • 8
  • 15
1 2 3
4