Create a war deployment inside of a JBoss module in JBoss EAP

Solution In Progress - Updated -

Issue

  • I'm trying to create a war deployment from module in EAP. I have following:
    • a war package which contains a few jsp files.
    • a jar package which conatins some servlet implementation and utility classes

So I did following:
1). Place jar package under "module" directory
2). Create the module.xml to specify the jar and other dependencies
3). Under the same directory, create a directory which holds the war package
4). In standalone.xml, specify ""
5). In standalone.xml, add "". This would enable the web context.

Step (1) to (4) are easy to config. For step (5), is there any guidance/reference? Any KCS available?

My purpose is to have a global web module which can apply certain type of transactions, for example security management, to all other deployed components.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6.x
  • Red Hat JBoss Enterprise Application Platform (EAP) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content