choco install -y virtualbox docker-compose docker-cli docker-machine
# reboot
shutdown /r
docker-machine create --driver virtualbox default
// Admin PowerShell | |
choco install docker-machine | |
// see https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/workstation/docker-machine/ | |
docker-machine.exe create -d hyperv ` | |
--hyperv-memory 2048 ` | |
--hyperv-boot2docker-url https://releases.rancher.com/os/latest/hyperv/rancheros.iso ` | |
--hyperv-virtual-switch "Default Switch" ` | |
RancherVM |
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd"> | |
<extension> | |
<groupId>com.soebes.maven.extensions</groupId> | |
<artifactId>maven-buildtime-profiler</artifactId> | |
<version>0.2.0</version> | |
</extension> | |
</extensions> |
See https://bugs.launchpad.net/cloud-images/+bug/1829625 | |
A workaroud | |
config.vm.provider 'virtualbox' do |v| | |
v.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"] | |
v.customize ["modifyvm", :id, "--uartmode1", "file", "./ttyS0.log"] | |
end | |
xmlstarlet ed -L -S -N 'x=http://maven.apache.org/POM/4.0.0' \ | |
-u '/x:project/x:properties/x:version.org.jboss.galleon' -v '4.1.1.Final' \ | |
-u '/x:project/x:properties/x:version.org.wildfly.galleon-plugins' -v '4.0.4.Final' \ | |
pom.xml |
git clone https://github.com/wildfly/wildfly-core.git /builds/wildfly-core | |
cd /builds/wildfly-core | |
git checkout -b galleon-update 7.0.0.Final | |
git clone https://github.com/wildfly/wildfly.git /builds/wildfly | |
cd /builds/wildfly | |
git checkout -b galleon-update 15.0.1.Final | |
git clone https://github.com/wildfly-extras/wildfly-camel.git /builds/wildfly-camel | |
cd /builds/wildfly-camel |
Maven is using SLF4J for its logging. Its default binding is an extended simple logger flavor of SLF4J, which means it can be configured using simplelogger.properties file (in Maven conf/logging directory) or using system properties.
To add timestamps to log output we need two properties:
org.slf4j.simplelogger.showDateTime
: a boolean to add the timestamp in the outputorg.slf4j.Simplelogger.dateTimeFormat
: a SimpleDateFormat which formats the timestamp activated by previous propertyWe can do it permamently in the simplelogger.properties file or add these system properties on the JVM, possibly using MAVEN_OPTS
-Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS
$ docker run --privileged --pid=host -it alpine:3.8 \
nsenter -t 1 -m -u -n -i sh
--rm
: removes the container after it is stopped-ti
(or -t -i
) : adds a tty and leaves the standard input opened--privileged
: grants additional permissions to the container, it allows the container to gain access to the devices of the host (/dev)--pid=host
: use the host's Process ID Namespace. Allows the container to use the process tree of the Docker host (the machine in which the Docker daemon is running)JDBC client sends command to setup session when physical connection is established via a modified AUTH_ALTER_SESSION OCI attribute in the authentication phase.
If the JVM time zone is one of the magic constants in the oracle.sql.ZONEIDMAP
class and oracle.jdbc.timezoneAsRegion = true
(default) then AUTH_ALTER_SESSION looks like this (where Etc/UTC
is the default timezone picked up by the JVM)
ALTER SESSION SET TIME_ZONE='Etc/UTC' NLS_LANGUAGE='POLISH' NLS_TERRITORY='POLAND'
which can fail with