Home > Documentation > Administration > Tools and commands > startup |
This command is certainly used to start the Apache Geronimo server. You can start the Apache Geronimo server in two different ways by running the following commands:
<geronimo_home>/bin/java -jar server.jar
or simply
<geronimo_home>/bin/startup
The startup
command invokes the server.jar
.
In both cases this command accepts the same parameters. The available parameters are:
--quiet
Suppress the normal startup progress bar. This is typically used when redirecting console output to a file, or starting the server from an IDE or other tool.
--long
Write startup progress to the console in a format that is suitable for redirecting console output to a file, or starting the server from an IDE or other tool (does not use linefeeds to update the progress information that is used by default if you do not specify --quiet or --long).
-v --verbose
Sets the console log level to INFO, resulting in more console output than is normally present.
-vv --veryverbose
Sets the console log level to DEBUG, resulting in even more console output.
-override [configId]
Overrides the configurations in <geronimo_home>/var/config.list such that only the configurations listed on the command line will be started. Note that many J2EE
features depend on certain configs being started, so you should be very careful what you omit. Any arguments after -override are assumed to be configuration names.
When you run this command from a Microsoft Windows command line that window will get locked with the startup results screen. On a Linux based operating system you can run this command in background getting back the control for this window terminal.
If you run the startup command without any parameters you will see a screen similar to this one.
Booting Geronimo Kernel (in Java 1.5.0_06)... 17:56:58,656 INFO [root] ---------------------------------------------- 17:56:58,656 INFO [root] Started Logging Service 17:56:58,656 INFO [root] Runtime Information: 17:56:58,656 INFO [root] Install Directory = D:\geronimo-tomcat-j2ee-1.2 17:56:58,656 INFO [root] JVM in use = Sun Microsystems Inc. Java 1.5.0_06 17:56:58,656 INFO [root] Java Information: 17:56:58,656 INFO [root] System property [java.runtime.name] = Java(TM) 2 Runtime Environment, Standard Edition 17:56:58,656 INFO [root] System property [java.runtime.version] = 1.5.0_06-b05 17:56:58,656 INFO [root] System property [os.name] = Windows XP 17:56:58,656 INFO [root] System property [os.version] = 5.1 17:56:58,656 INFO [root] System property [sun.os.patch.level] = Service Pack 2 17:56:58,656 INFO [root] System property [os.arch] = x86 17:56:58,656 INFO [root] System property [java.class.version] = 49.0 17:56:58,656 INFO [root] System property [locale] = en_US 17:56:58,656 INFO [root] System property [unicode.encoding] = UnicodeLittle 17:56:58,656 INFO [root] System property [file.encoding] = Cp1252 17:56:58,656 INFO [root] System property [java.vm.name] = Java HotSpot(TM) Client VM 17:56:58,656 INFO [root] System property [java.vm.vendor] = Sun Microsystems Inc. 17:56:58,656 INFO [root] System property [java.vm.version] = 1.5.0_06-b05 17:56:58,656 INFO [root] System property [java.vm.info] = mixed mode 17:56:58,656 INFO [root] System property [java.home] = C:\Java\jdk1.5.0_06\jre 17:56:58,656 INFO [root] System property [java.classpath] = null 17:56:58,656 INFO [root] System property [java.library.path] = C:\Java\jdk1.5.0_06\jre\bin;.... 17:56:58,656 INFO [root] System property [java.endorsed.dirs] = C:\Java\jdk1.5.0_06\\jre\lib\endorsed;D:\geronimo-tomcat-j2ee-1.2\lib\endorsed 17:56:58,671 INFO [root] System property [java.ext.dirs] = C:\Java\jdk1.5.0_06\\jre/lib/ext;D:\geronimo-tomcat-j2ee-1.2/lib/ext 17:56:58,671 INFO [root] System property [sun.boot.class.path] = D:\geronimo-tomcat-j2ee-1.2\lib\endorsed\xalan-2.7.0.jar;... 17:56:58,671 INFO [root] ---------------------------------------------- Module 1/25 org.apache.geronimo.configs/rmi-naming/1.2/car started in .297s Module 2/25 org.apache.geronimo.configs/j2ee-server/1.2/car started in .156s Module 3/25 org.apache.geronimo.configs/transaction/1.2/car started in .328s Module 4/25 org.apache.geronimo.configs/j2ee-security/1.2/car started in .469s Module 5/25 org.apache.geronimo.configs/axis/1.2/car started in .063s Module 6/25 org.apache.geronimo.configs/openejb/1.2/car started in 2.938s Module 7/25 org.apache.geronimo.configs/system-database/1.2/car started in .000s Module 8/25 org.apache.geronimo.configs/activemq-broker/1.2/car started in 2.360s Module 9/25 org.apache.geronimo.configs/activemq/1.2/car started in .391s Module 10/25 org.apache.geronimo.configs/tomcat/1.2/car started in 1.782s Module 11/25 org.apache.geronimo.configs/geronimo-gbean-deployer/1.2/car started in .281s Module 12/25 org.apache.geronimo.configs/j2ee-deployer/1.2/car started in .250s Module 13/25 org.apache.geronimo.configs/connector-deployer/1.2/car started in .156s Module 14/25 org.apache.geronimo.configs/persistence-jpa10-deployer/1.2/car started in .032s Module 15/25 org.apache.geronimo.configs/openejb-deployer/1.2/car started in .312s Module 16/25 org.apache.geronimo.configs/client-deployer/1.2/car started in .079s Module 17/25 org.apache.geronimo.configs/axis-deployer/1.2/car started in .906s Module 18/25 org.apache.geronimo.configs/sharedlib/1.2/car started in .000s Module 19/25 org.apache.geronimo.configs/tomcat-deployer/1.2/car started in .093s Module 20/25 org.apache.geronimo.configs/welcome-tomcat/1.2/car started in .156s Module 21/25 org.apache.geronimo.configs/webconsole-tomcat/1.2/car started in 1.563s Module 22/25 org.apache.geronimo.configs/remote-deploy-tomcat/1.2/car started in .156s Module 23/25 org.apache.geronimo.configs/hot-deployer/1.2/car started in 2.875s Module 24/25 sample.applications/HelloWorldApp_1/1.2/war started in .063s Module 25/25 sample.applications/HelloWorldApp_2/1.2/war started in .062s Startup completed in 18 seconds Listening on Ports: 1099 0.0.0.0 RMI Naming 1527 0.0.0.0 Derby Connector 4201 0.0.0.0 ActiveIO Connector EJB 4242 0.0.0.0 Remote Login Listener 8009 0.0.0.0 Tomcat Connector AJP 8080 0.0.0.0 Tomcat Connector HTTP 8443 0.0.0.0 Tomcat Connector HTTPS 9999 0.0.0.0 JMX Remoting Connector 61613 0.0.0.0 ActiveMQ Transport Connector 61616 0.0.0.0 ActiveMQ Transport Connector Started Application Modules: EAR: org.apache.geronimo.configs/webconsole-tomcat/1.2/car RAR: org.apache.geronimo.configs/activemq/1.2/car RAR: org.apache.geronimo.configs/system-database/1.2/car WAR: org.apache.geronimo.configs/dojo-tomcat/1.2/car WAR: org.apache.geronimo.configs/remote-deploy-tomcat/1.2/car WAR: org.apache.geronimo.configs/welcome-tomcat/1.2/car WAR: sample.applications/HelloWorldApp_1/1.2/war WAR: sample.applications/HelloWorldApp_2/1.2/war Web Applications: http://hcunico:8080/ http://hcunico:8080/console http://hcunico:8080/console-standard http://hcunico:8080/dojo http://hcunico:8080/hello_1 http://hcunico:8080/hello_2 http://hcunico:8080/remote-deploy Geronimo Application Server started
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2009, The Apache Software Foundation, Licensed under ASL 2.0. |