Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 867591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:00:06+00:00 2026-05-15T10:00:06+00:00

If I use the web based administrative console for JBOSS, I can navigate to

  • 0

If I use the web based administrative console for JBOSS, I can navigate to Applications – EJB2 JARs and see a list of deployed EJBs. By clicking on one of these, I get a page that allows me to start and stop the selected EJB. However, I cannot find a command line equivalent. Is there a way to start/stop EJB apps in JBOSS via the command line?

I am going to use Appistry CloudIQ Manager to deploy and manage apps and I need to be able to script the start and stop of individual EJB’s. I have found how to install and uninstall via command line, just need to be able to start, stop and query its status (started/stopped).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:00:06+00:00Added an answer on May 15, 2026 at 10:00 am

    If you want to manage JBoss through script you should probably use twiddle tool. More info here: http://community.jboss.org/wiki/Twiddle.

    If you want stop WAR application you can make something like that:

    • list WAR application and their bean name:
    twiddle.sh query 'jboss.web.deployment:*'
    
    jboss.web.deployment:war=/ROOT
    jboss.web.deployment:war=/admin-console
    
    • turn off application:
    twiddle.sh invoke 'jboss.web.deployment:war=/ROOT' stop
    
    • turn on application
    twiddle.sh invoke 'jboss.web.deployment:war=/ROOT' start
    

    Unfortunately I cannot find some similar resolution for EJB application. You can find such application using these command:

    twiddle.sh query 'jboss.j2ee:*'
    

    And later you can try stop or start some application. Unfortunately it doesn’t work for me correctly.

    But you can always undeploy and deploy such application. You can make it such way:

    • deploy
    twiddle.sh invoke "jboss.system:service=MainDeployer" deploy file:///path/to/ProjectEAR.ear 
    
    • undeploy
    twiddle.sh invoke "jboss.system:service=MainDeployer" undeploy file:///path/to/ProjectEAR.ear 
    

    Deploy

    twiddle.sh invoke "jboss.system:service=MainDeployer" deploy file:///path/to/ProjectEAR.ear 
    

    But it you have to remeber about such things:

    • if you use hot deploy (HDScanner service) you cannot put application in deploy directory (it will be automatically deploy after undeploy)
    • If your application is not in deploy directory then server doesn’t install it during start and you have to install it by hand using twiddle command
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have got a setup where users can either use a web-based form or
I've been investigating what data layer to use for a new web-based project I'm
For photos, I use Flickr. But for other documents...Which web based online application (hosted
Can anyone suggest a good reason to use web services instead of RPC (not
I have some business objects which use: Web.Configuration.WebConfigurationManager.AppSettings.Item(SomeSetting) Now that I'm breaking those objects
I am looking for specific guidelines for when to use Web Services frameworks versus
I use System.Web.Services.WebMethodAttribute to make a public static method of an ASP.NET page callable
I want to use the Web Browser control within an mono application, but when
I want to use the Web Tools Editor that is part of the Web
As I use the web, I regularly get runtime errors (usually javascript) being reported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.