Created
July 27, 2016 06:07
-
-
Save bdangit/0131f5aef16f25eb2a751b91e87c0030 to your computer and use it in GitHub Desktop.
`core/tomcat/8.0.36`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'/hab/cache/artifacts/bdangit-tomcat8-8.0.36-20160727055823-x86_64-linux.hart' -> '/src/results/bdangit-tomcat8-8.0.36-20160727055823-x86_64-linux.hart' | |
tomcat8: hab-plan-build cleanup | |
tomcat8: | |
tomcat8: Source Cache: /hab/cache/src/tomcat8-8.0.36 | |
tomcat8: Installed Path: /hab/pkgs/bdangit/tomcat8/8.0.36/20160727055823 | |
tomcat8: Artifact: /src/results/bdangit-tomcat8-8.0.36-20160727055823-x86_64-linux.hart | |
tomcat8: Build Report: /src/results/last_build.env | |
tomcat8: SHA256 Checksum: 5f02d3562d34014b8467670c4fc2742357c0efa3fd3c84e1a816b0eb07b34de2 | |
tomcat8: Blake2b Checksum: d38c3649dda8152b7503872cc6f8aaffb767cd6c05a37a27d5fb507573f0c824 | |
tomcat8: | |
tomcat8: I love it when a plan.sh comes together. | |
tomcat8: | |
tomcat8: Build time: 2m37s | |
... | |
[30][default:/src:130]# hab start bdangit/tomcat8 | |
hab-sup(MN): Starting bdangit/tomcat8 | |
hab-sup(GS): Supervisor 172.17.0.2: eba5af7b-84f5-4530-9251-783f76828dab | |
hab-sup(GS): Census tomcat8.default: 49e07773-34ff-441e-add4-4a0cbe4cca6c | |
hab-sup(GS): Starting inbound gossip listener | |
hab-sup(GS): Starting outbound gossip distributor | |
hab-sup(GS): Starting gossip failure detector | |
hab-sup(CN): Starting census health adjuster | |
hab-sup(SC): Updated conf_server.xml | |
hab-sup(SC): Updated conf_tomcat-users.xml | |
hab-sup(SC): Updated webapps_host-manager_META-INF_context.xml | |
hab-sup(TP): Restarting because the service config was updated via the census | |
init(PH): Preparing TOMCAT_HOME... | |
init(PH): Linking conf_server.xml | |
init(PH): '/hab/svc/tomcat8/var/tc/conf/server.xml' -> '/hab/svc/tomcat8/config/conf_server.xml' | |
init(PH): Linking conf_tomcat-users.xml | |
init(PH): '/hab/svc/tomcat8/var/tc/conf/tomcat-users.xml' -> '/hab/svc/tomcat8/config/conf_tomcat-users.xml' | |
init(PH): Linking webapps_host-manager_META-INF_context.xml | |
init(PH): '/hab/svc/tomcat8/var/tc/webapps/host-manager/META-INF/context.xml' -> '/hab/svc/tomcat8/config/webapps_host-manager_META-INF_context.xml' | |
init(PH): Done preparing TOMCAT_HOME | |
tomcat8(SV): Starting | |
tomcat8(O): Starting Apache Tomcat | |
tomcat8(O): Executing Tomcat here: /hab/svc/tomcat8/var/tc/bin/catalina.sh | |
tomcat8(O): 27-Jul-2016 06:04:20.480 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.36 | |
tomcat8(O): 27-Jul-2016 06:04:20.483 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 9 2016 13:55:50 UTC | |
tomcat8(O): 27-Jul-2016 06:04:20.484 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.36.0 | |
tomcat8(O): 27-Jul-2016 06:04:20.484 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux | |
tomcat8(O): 27-Jul-2016 06:04:20.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 4.4.14-moby | |
tomcat8(O): 27-Jul-2016 06:04:20.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 | |
tomcat8(O): 27-Jul-2016 06:04:20.486 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /hab/pkgs/core/jdk8/8u92/20160620143238/jre | |
tomcat8(O): 27-Jul-2016 06:04:20.486 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_92-b14 | |
tomcat8(O): 27-Jul-2016 06:04:20.487 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation | |
tomcat8(O): 27-Jul-2016 06:04:20.487 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /hab/svc/tomcat8/var/tc | |
tomcat8(O): 27-Jul-2016 06:04:20.488 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /hab/svc/tomcat8/var/tc | |
tomcat8(O): 27-Jul-2016 06:04:20.489 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/hab/svc/tomcat8/var/tc/conf/logging.properties | |
tomcat8(O): 27-Jul-2016 06:04:20.489 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager | |
... | |
16 06:04:21.056 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /hab/svc/tomcat8/var/tc/webapps/examples | |
tomcat8(O): 27-Jul-2016 06:04:21.286 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /hab/svc/tomcat8/var/tc/webapps/examples has finished in 229 ms | |
tomcat8(O): 27-Jul-2016 06:04:21.286 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /hab/svc/tomcat8/var/tc/webapps/host-manager | |
tomcat8(O): 27-Jul-2016 06:04:21.301 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /hab/svc/tomcat8/var/tc/webapps/host-manager has finished in 15 ms | |
tomcat8(O): 27-Jul-2016 06:04:21.301 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /hab/svc/tomcat8/var/tc/webapps/ROOT | |
tomcat8(O): 27-Jul-2016 06:04:21.314 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /hab/svc/tomcat8/var/tc/webapps/ROOT has finished in 13 ms | |
tomcat8(O): 27-Jul-2016 06:04:21.317 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] | |
tomcat8(O): 27-Jul-2016 06:04:21.437 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 775 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkg_name=tomcat8 | |
pkg_description="An open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies." | |
pkg_origin=core | |
pkg_version=8.0.36 | |
pkg_maintainer="The Habitat Maintainers <[email protected]>" | |
pkg_license=('Apache-2.0') | |
pkg_upstream_url="http://tomcat.apache.org/" | |
pkg_source=http://apache.mirrors.pair.com/tomcat/tomcat-8/v${pkg_version}/bin/apache-tomcat-${pkg_version}.tar.gz | |
pkg_shasum=7963464d86faf8416b92fb2b04c70da9759c7c332e1700c1e9f581883b4db664 | |
pkg_deps=(core/jdk8) | |
pkg_expose=(8080 8443) | |
pkg_svc_user="root" | |
# The default implementation extracts your tarball source file into HAB_CACHE_SRC_PATH. The | |
# supported archives are: .tar, .tar.bz2, .tar.gz, .tar.xz, .rar, .zip, .Z, .7z. If the file | |
# archive could not be found or was not supported, then a message will be printed to stderr | |
# with additional information. | |
do_unpack() { | |
local source_dir=$HAB_CACHE_SRC_PATH/${pkg_name}-${pkg_version} | |
local unpack_file="$HAB_CACHE_SRC_PATH/$pkg_filename" | |
mkdir "$source_dir" | |
pushd "$source_dir" >/dev/null | |
tar xz --strip-components=1 -f "$unpack_file" | |
popd > /dev/null | |
} | |
# The default implementation is to update the prefix path for the configure script to | |
# use $pkg_prefix and then run make to compile the downloaded source. This means the | |
# script in the default implementation does ./configure --prefix=$pkg_prefix && make. You | |
# should override this behavior if you have additional configuration changes to make or | |
# other software to build and install as part of building your package. | |
do_build() { | |
return 0 | |
} | |
# The default implementation is to run make install on the source files and place the compiled | |
# binaries or libraries in HAB_CACHE_SRC_PATH/$pkg_dirname, which resolves to a path like | |
# /hab/cache/src/packagename-version/. It uses this location because of do_build() using the | |
# --prefix option when calling the configure script. You should override this behavior if you | |
# need to perform custom installation steps, such as copying files from HAB_CACHE_SRC_PATH | |
# to specific directories in your package, or installing pre-built binaries into your package. | |
do_install() { | |
build_line "Performing install" | |
mkdir -p "${pkg_prefix}/tc" | |
cp -vR ./* "${pkg_prefix}/tc" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment