Skip to content

Instantly share code, notes, and snippets.

@gregw
Created September 2, 2016 00:21
Show Gist options
  • Save gregw/f57793e386ab8e95537dd061da96bfd3 to your computer and use it in GitHub Desktop.
Save gregw/f57793e386ab8e95537dd061da96bfd3 to your computer and use it in GitHub Desktop.
gregw@Tile440: /tmp
[2092] mkdir test
gregw@Tile440: /tmp
[2093] cd test
gregw@Tile440: /tmp/test
[2094] export JETTY_HOME=~/src/jetty-9.3.x/jetty-distribution/target/distribution
gregw@Tile440: /tmp/test
[2095] java -jar $JETTY_HOME/start.jar --add-to-startd=http,deploy
INFO: server initialised (transitively) in ${jetty.base}/start.d/server.ini
INFO: http initialised in ${jetty.base}/start.d/http.ini
INFO: deploy initialised in ${jetty.base}/start.d/deploy.ini
MKDIR: ${jetty.base}/webapps
INFO: Base directory was modified
gregw@Tile440: /tmp/test
[2096] mkdir webapps/root
gregw@Tile440: /tmp/test
[2097] vi webapps/root/index.html
gregw@Tile440: /tmp/test
[2098] java -jar $JETTY_HOME/start.jar
2016-09-02 10:20:28.135:INFO::main: Logging initialized @373ms
2016-09-02 10:20:28.498:INFO:oejs.Server:main: jetty-9.3.12-SNAPSHOT
2016-09-02 10:20:28.526:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///tmp/test/webapps/] at interval 1
2016-09-02 10:20:28.737:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2016-09-02 10:20:28.764:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@20e2cbe0{/,file:///tmp/test/webapps/root/,AVAILABLE}{/root}
2016-09-02 10:20:28.797:INFO:oejs.AbstractConnector:main: Started ServerConnector@6325a3ee{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2016-09-02 10:20:28.797:INFO:oejs.Server:main: Started @1035ms
^C2016-09-02 10:21:02.560:INFO:oejs.AbstractConnector:Thread-0: Stopped ServerConnector@6325a3ee{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2016-09-02 10:21:02.569:INFO:oejsh.ContextHandler:Thread-0: Stopped o.e.j.w.WebAppContext@20e2cbe0{/,null,UNAVAILABLE}{/root}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment