• 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

How to deploy in external directory in jboss5

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

I need to deploy .ear file in external deploy directory, for that i did below steps:
Created D:\jboss-5.0.1.GA\server\EmagiaLITE\deploy (here placed .ear )
Placed in D:\jboss-5.0.1.GA\server\default\conf\bootstrap\profile.xml below code:
<value>file:/D:/jboss-5.0.1.GA/server/EmagiaLITE/deploy</value>

After this started jboss, but it is not recognising .ear file which placed in external deploy folder.
And tried with <value>file:///D:/jboss-5.0.1.GA/server/EmagiaLITE/deploy</value>; also.

Still it is not recognizing.

Please help me out.

Regards
Jagan.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jagan modulla wrote:

I need to deploy .ear file in external deploy directory, for that i did below steps:
Created D:\jboss-5.0.1.GA\server\EmagiaLITE\deploy (here placed .ear )



Where is your JBoss located? This path looks like a path within the JBoss folder structure.

Jagan modulla wrote:
Placed in D:\jboss-5.0.1.GA\server\default\conf\bootstrap\profile.xml below code:
<value>file:/D:/jboss-5.0.1.GA/server/EmagiaLITE/deploy</value>



What's the exact change that you did? See this

Also while posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.

By the way, the latest stable version of JBoss AS is 5.1.0. You might want to move to this new version, because the version you are using has a known bug related to the disk space usage over time.

 
Jagan modulla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Thankyou for your reply,

As you suggested i deployed ear file in jboss 5.1.0 (previously used jboss5.0.1),
this time i did not get any issue, my project is running successfully.
Thank you.

Regards
Jagan.
 
reply
    Bookmark Topic Watch Topic
  • New Topic