|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.Main
public class Main
Provides a command line interface to start the JBoss server.
To enable debug or trace messages durring boot change the Log4j configuration to use either log4j-debug.properties log4j-trace.properties by setting the system property log4j.configuration:
./run.sh -Dlog4j.configuration=log4j-debug.properties
| Constructor Summary | |
|---|---|
Main()
Explicit constructor. |
|
| Method Summary | |
|---|---|
void |
boot(String[] args)
Boot up JBoss. |
static void |
main(String[] args)
This is where the magic begins. |
static void |
systemExit(String[] argv)
This method is here so that if JBoss is running under Alexandria (An NT Service Installer), Alexandria can shutdown the system down correctly. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Main()
| Method Detail |
|---|
public void boot(String[] args)
throws Exception
args - The command line arguments.
Exception - Failed to boot.
public static void main(String[] args)
throws Exception
Starts up inside of a "jboss" thread group to allow better identification of JBoss threads.
args - The command line arguments.
Exceptionpublic static void systemExit(String[] argv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||