• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss Context

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I deployed my test web applicaion in Jboss at jboss/jboss-4.0.2/server/default/deploy/test.war.

I want to deploy the application as a folder instead of war file. Like instead of test.war I want to create a folder called test and place all the files under test folder.
How to create the context for this folder?
Will Jboss only take war file as context?

Any help/suggestion will be great.

Thanks in Advance.

Thanks
Ganesh
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
just call your directory test.war and extract your files directly in there. the DeployerScanner will pick it up and deploy it just as if you had droped the archive test.war directly in the deploy directory. Notice the other directories already there in your default/deploy directory. Like Tomcat for instance, instead of there being a file called Tomcatxxxx.sar, it is a folder with that name and all the wars are subfolders in that folder.

Mark
 
Ganesh Sundaresan
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mark Spritzler,

It Worked!!!

Thank u very much for the solution.
 
Ganesh Sundaresan
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can I place my application folder outside JBoss and give a context to it?
This can be done in Tomcat by setting up context path in server.xml

For Ex:

<Context path="" docBase="/export/home/user/test/" debug="0" ></Context>
while the server will be in /appl/tomcat/..

Can anyone help me how to do this in Jboss?
Should all application be deployed under /default/deploy only ?


Thanks in Advance
 
Willie Smits can speak 40 languages. This tiny ad can speak only one:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic