Where content is hosted for JBoss AS 7

I am new to JBoss AS 7. I tried to deploy my war file to JBoss AS 7, which seems to work fine. My question is where do I see the expanded content.

I would expect it to be similar to Tomcat, it should have a studied military folder where you can place the deployed content. Is there such a thing for JBoss AS 7.

+5
source share
4 answers

Put it in standalone / deployment. Read the JBoss documentation for more details.

+1
source

It should be in JBOSS_HOME / standalone / deployment see there

"", domain/configuration/domain.xml

   [...]
<deployments>
   <deployment name="sample.war"
               runtime-name="sample.war">
       <content sha1="dda9881fa7811b22f1424b4c5acccb13c71202bd"/>
   </deployment>
</deployments>
[...]
<server-groups>
   <server-group name="main-server-group" profile="default">
       [...]
       <deployments>
           <deployment name="sample.war" runtime-name="sample.war"/>
       </deployments>
   </server-group>
</server-groups>
[...]

ls domain/content/

  |---/47
  |-----95cc29338b5049e238941231b36b3946952991
  |---/dd
  |-----a9881fa7811b22f1424b4c5acccb13c71202bd

.

, standalone.xml, , sample.war . WAR. , "sample.war" "content". 2 . - , WAR. WAR "content"

  |---/47
  |-----95cc29338b5049e238941231b36b3946952991
  |---/dd
  |-----a9881fa7811b22f1424b4c5acccb13c71202bd
  |-------content   <-- this is really sample.war file.  JBoss renames it. (go figure!)

jar -xvf, class, web.xml .. sample.war

+5

: maven-jboss-as-plugin.

mvn deploy

.

+1

: $ JBOSS_HOME//TMP/VFS//

0

All Articles