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>java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/jpa.jar -jar bin/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)... 16:59:13,734 INFO [root] ---------------------------------------------- 16:59:13,734 INFO [root] Started Logging Service 16:59:13,734 INFO [root] Runtime Information: 16:59:13,734 INFO [root] Install Directory = D:\geronimo-jetty6-jee5-2.0-M2 16:59:13,734 INFO [root] JVM in use = Sun Microsystems Inc. Java 1.5.0_06 16:59:13,734 INFO [root] Java Information: 16:59:13,734 INFO [root] System property [java.runtime.name] = Java(TM) 2 Runtime Environment, Standard Edition 16:59:13,734 INFO [root] System property [java.runtime.version] = 1.5.0_06-b05 16:59:13,734 INFO [root] System property [os.name] = Windows XP 16:59:13,734 INFO [root] System property [os.version] = 5.1 16:59:13,734 INFO [root] System property [sun.os.patch.level] = Service Pack 2 16:59:13,750 INFO [root] System property [os.arch] = x86 16:59:13,750 INFO [root] System property [java.class.version] = 49.0 16:59:13,750 INFO [root] System property [locale] = en_US 16:59:13,750 INFO [root] System property [unicode.encoding] = UnicodeLittle 16:59:13,750 INFO [root] System property [file.encoding] = Cp1252 16:59:13,750 INFO [root] System property [java.vm.name] = Java HotSpot(TM) Client VM 16:59:13,750 INFO [root] System property [java.vm.vendor] = Sun Microsystems Inc. 16:59:13,750 INFO [root] System property [java.vm.version] = 1.5.0_06-b05 16:59:13,750 INFO [root] System property [java.vm.info] = mixed mode 16:59:13,750 INFO [root] System property [java.home] = C:\Java\jdk1.5.0_06\jre 16:59:13,750 INFO [root] System property [java.classpath] = null 16:59:13,750 INFO [root] System property [java.library.path] = C:\Java\jdk1.5.0_06\jre\bin;.C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program ... 16:59:13,750 INFO [root] System property [java.endorsed.dirs] = C:\Java\jdk1.5.0_06\\jre\lib\endorsed;D:\geronimo-jetty6-jee5-2.0-M2\lib\endorsed 16:59:13,750 INFO [root] System property [java.ext.dirs] = C:\Java\jdk1.5.0_06\\jre/lib/ext;D:\geronimo-jetty6-jee5-2.0-M2/lib/ext 16:59:13,750 INFO [root] System property [sun.boot.class.path] = D:\geronimo-jetty6-jee5-2.0-M2\lib\endorsed\xercesImpl-2.8.1.jar;D:\geronimo-jetty6-jee5-2.0-M2\lib\endorsed\yoko-rmi-spec-1... 16:59:13,750 INFO [root] ---------------------------------------------- Module 1/27 org.apache.geronimo.configs/rmi-naming/2.0-M2/car started in .344s Module 2/27 org.apache.geronimo.configs/j2ee-server/2.0-M2/car started in .235s Module 3/27 org.apache.geronimo.configs/transaction-jta11/2.0-M2/car started in .359s Module 4/27 org.apache.geronimo.configs/j2ee-security/2.0-M2/car started in .485s Module 5/27 org.apache.geronimo.configs/openejb/2.0-M2/car 16:59:20,765 INFO [OpenEJB] Using directory D:\geronimo-jetty6-jee5-2.0-M2\var\temp for stateful session passivation started in 4.922s Module 6/27 org.apache.geronimo.configs/system-database/2.0-M2/car started in .000s Module 7/27 org.apache.geronimo.configs/activemq-broker/2.0-M2/car started in 2.703s Module 8/27 org.apache.geronimo.configs/activemq/2.0-M2/car started in .281s Module 9/27 org.apache.geronimo.configs/jetty6/2.0-M2/car 2007-02-05 16:59:24.468::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2007-02-05 16:59:24.468::INFO: jetty-6.1.x 2007-02-05 16:59:24.953::INFO: Started GeronimoSSLListener @ 0.0.0.0:8443 2007-02-05 16:59:24.968::INFO: Started SocketConnector @ 0.0.0.0:8080 started in .859s Module 10/27 org.apache.geronimo.configs/geronimo-gbean-deployer/2.0-M2/car started in .422s Module 11/27 org.apache.geronimo.configs/j2ee-deployer/2.0-M2/car started in .281s Module 12/27 org.apache.geronimo.configs/connector-deployer/2.0-M2/car started in .188s Module 13/27 org.apache.geronimo.configs/persistence-jpa10-deployer/2.0-M2/car started in .109s Module 14/27 org.apache.geronimo.configs/openejb-deployer/2.0-M2/car started in .172s Module 15/27 org.apache.geronimo.configs/client-deployer/2.0-M2/car started in .109s Module 16/27 org.apache.geronimo.configs/cxf-deployer/2.0-M2/car started in .469s Module 17/27 org.apache.geronimo.configs/axis2-deployer/2.0-M2/car started in .140s Module 18/27 org.apache.geronimo.configs/axis-deployer/2.0-M2/car started in .985s Module 19/27 org.apache.geronimo.configs/javamail/2.0-M2/car started in .062s Module 20/27 org.apache.geronimo.configs/sharedlib/2.0-M2/car started in .000s Module 21/27 org.apache.geronimo.configs/jetty6-deployer/2.0-M2/car started in .219s Module 22/27 org.apache.geronimo.configs/welcome-jetty/2.0-M2/car started in .578s Module 23/27 org.apache.geronimo.configs/dojo-jetty6/2.0-M2/car started in .062s Module 24/27 org.apache.geronimo.configs/webconsole-jetty6/2.0-M2/car started in 3.375s Module 25/27 org.apache.geronimo.configs/remote-deploy-jetty/2.0-M2/car started in .125s Module 26/27 org.apache.geronimo.configs/hot-deployer/2.0-M2/car started in .437s Module 27/27 console.dbpool/LocalDB/1.0/rar started in .844s Startup completed in 21 seconds Listening on Ports: 1099 0.0.0.0 RMI Naming 1527 0.0.0.0 Derby Connector 4201 0.0.0.0 org.apache.geronimo.openejb.EjbDaemonGBean 4242 0.0.0.0 Remote Login Listener 8080 0.0.0.0 Jetty Connector HTTP 8443 0.0.0.0 Jetty 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-jetty6/2.0-M2/car RAR: console.dbpool/LocalDB/1.0/rar RAR: org.apache.geronimo.configs/activemq/2.0-M2/car RAR: org.apache.geronimo.configs/system-database/2.0-M2/car WAR: org.apache.geronimo.configs/dojo-jetty6/2.0-M2/car WAR: org.apache.geronimo.configs/remote-deploy-jetty/2.0-M2/car WAR: org.apache.geronimo.configs/welcome-jetty/2.0-M2/car Web Applications: http://hcunico:8080/ http://hcunico:8080/console http://hcunico:8080/console-standard http://hcunico:8080/dojo 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. |