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 930575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:21:29+00:00 2026-05-15T20:21:29+00:00

I use Jboss-Maven-Plugin by 1.4 version. I look JBoss Maven Plugin Usage Example ,And

  • 0

I use Jboss-Maven-Plugin by 1.4 version. I look JBoss Maven Plugin Usage Example,And I pom.xml is

<plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jboss-maven-plugin</artifactId>
            <version>1.4</version>
            <configuration>
                 <jbossHome>E:\JavaWorkingTools\JBoss\jboss-5.1.0.GA</jbossHome> 
                <serverName>default</serverName>
                <hostName>localhost</hostName>
                <port>8080</port>                   
                <fileName>${project.build.directory}/${{project.build.finalName}.war</fileName>
            </configuration>
        </plugin>

WHen I input the jboss:start console message is INfo! But Terminate isn’t running?

Info Message is:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SSH2Maven JEE5 Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- jboss-maven-plugin:1.4:start (default-cli) @ SSH2Maven ---
[INFO] Starting JBoss...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.328s
[INFO] Finished at: Sun Jul 11 19:10:15 CST 2010
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------

Why?This version can only be used in 4.x below ?

  • 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-15T20:21:30+00:00Added an answer on May 15, 2026 at 8:21 pm

    Ok, first of all, the plugin is not really designed for JBoss AS 5 and while some features will work (start, stop, hard-deploy) some deployment features might not work.

    Second, the jboss:start goal isn’t “blocking”, it will start JBoss in the background as an independent process.

    Here is what I get after some time when running jboss:start with JBoss 5 (and a plugin configuration similar to yours):

    $ mvn jboss:start
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building my-webapp Maven Webapp
    [INFO]    task-segment: [jboss:start] (aggregator-style)
    [INFO] ------------------------------------------------------------------------
    [INFO] [jboss:start {execution: default-cli}]
    [INFO] Starting JBoss...
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    ...
    $ ps aux | grep -i jboss
    pascal   23080  0.0  0.0   1828   292 pts/3    S    23:02   0:00 sh -c cd /home/pascal/opt/jboss-5.1.0.GA/bin; export JBOSS_HOME="/home/pascal/opt/jboss-5.1.0.GA"; ./run.sh  null
    pascal   23107 91.4 30.3 1116240 624824 pts/3  Sl   23:02   3:19 /usr/lib/jvm/java-6-sun/bin/java -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/home/pascal/opt/jboss-5.1.0.GA/lib/endorsed -classpath /home/pascal/opt/jboss-5.1.0.GA/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar org.jboss.Main null
    pascal   23298  0.0  0.0   3324   916 pts/3    S+   23:06   0:00 grep -i jboss
    

    JBoss has been started, as expected.

    Update: Here is the configuration I used (quick and dirty, for testing purposes):

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jboss-maven-plugin</artifactId>
        <version>1.4.1</version>
        <configuration>
          <jbossHome>/home/pascal/opt/jboss-5.1.0.GA</jbossHome>
          <serverName>default</serverName>
          <fileName>target/my-project.war</fileName>
        </configuration>
      </plugin>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I intended to use JBoss-Maven-Plugin for hotdeployment of jars to JBoss. I have three
I want to trying maven-jboss-plugin but I don't know what is this,and I want
I have parent pom which configures certain plugins <pluginManagement> </plugins> <plugin> <artifactId>gmaven-plugin</artifactId> ... </plugin>
Does anyone have examples of how to use DBMS_APPLICATION_INFO package with JBOSS? We have
I use emacs to edit my xml files (nxml-mode) and the files were generated
I've been using the Maven EAR plugin for creating my ear files for a
For tests of some small JBoss enterprise apps I would like to use JUnit,
We use web configuration of JBoss. Now we deploy war files only. But we
At my office we run JBoss 4.0 and use Eclipse to debug and run
In JBoss 5.1.0, there is a file called <INSTANCE>/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml which includes some settings for

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.