$ bin/installUtility install adminCenter-1.0
01 January 2017
$ bin/installUtility install adminCenter-1.0
<!-- Enable features -->
<featureManager>
<!-- ... -->
<feature>adminCenter-1.0</feature>
</featureManager>
<keyStore id="defaultKeyStore" password="admin123" />
<basicRegistry id="basic" realm="BasicRealm">
<user name="admin" password="admin123" />
</basicRegistry>
[AUDIT ] CWWKT0016I: Web application available (default_host): http://localhost:9090/adminCenter/
https://jenkins.io/blog/2017/01/19/converting-conditional-to-pipeline/ === Set up docker as jenkins build slaves
SSL keys are here: /cygdrive/c/Users/<username>/.docker/machine/machines/default
curl --insecure -v --cert cert.pem --key key.pem -X GET https://192.168.99.100:2376/images/json
http://trustmeiamadeveloper.com/2016/03/18/where-is-my-memory-java/
http://blog.jelastic.com/2017/04/13/java-ram-usage-in-containers-top-5-tips-not-to-lose-your-memory/
JDK9 has -XX:+UseCGroupMemoryLimitForHeap
JDK8: Always specify -Xmx1024m
and -XX:MaxMetaspaceSize
Nice stash of EJB-spec details: https://coderanch.com/wiki/659897/OCEEJBD-Links
looking into JavaEE 8 Security: https://www.slideshare.net/rdebusscher/what-is-tackled-in-the-java-ee-security-api-java-ee-8
JavaFX pseudo-classes: https://rterp.wordpress.com/2015/04/11/atlas-trader-test/
java in a docker container. this article explains nicely a problem i had recently…
strace on java: https://blog.packagecloud.io/eng/2017/03/14/using-strace-to-understand-java-performance-improvement/
strace -fopen,read,close,fstat java -jar Test.jar
I think it will get the full book: https://leanpub.com/high-performance-java-persistence/read
Great talk on how sql is great: https://www.youtube.com/watch?v=wTPGW1PNy_Y
ScreenPlay: the next stage in automated acceptance testing by John Smart/Jan Molak
Did a first deploy to Amazon ECS: https://github.com/38leinaD/aws-playground
Adam on integration testing: http://www.oracle.com/technetwork/articles/java/integrationtesting-487452.html
Nice read on debugging webkit: http://www.saurik.com/id/14
Amazon API Gateway and SSL: https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html
Readings on DDD, Event-Sourcing and CQRS:
Setting up lighttp: http://bredsaal.dk/using-shell-scripts-for-cgi-in-lighttpd
Setting up ssl: link:
tshark: wireshark cli interface:
tshark -i 2 -f 'host 192.168.1.1 and port 80' -Y http
Nice write-up about annotation processors: http://hannesdorfmann.com/annotation-processing/annotationprocessing101
Sunday readings:
"CDI “wants” you to know all your values in advance whenever possible": https://lairdnelson.wordpress.com/2017/02/02/cdi-qualifiers-are-values-part-2/
"Changing Annotations at Startup in CDI 2.0": https://lairdnelson.wordpress.com/2016/12/15/636/
"Tesing CDI with Arquillian": http://weld.cdi-spec.org/news/2017/02/01/tip4-testing/
arquillian-container-adapters: http://arquillian.org/modules/
Things I Wish I Knew When I Started Building Reactive Systems
You’re going to use sub-thread level concurrency
You want to use asynchronous I/O. If you can’t, at least isolate any synchronous I/O (JDBC) from the rest.
You don’t want to use distributed transactions, they’re fragile, they’re points of contention.
You don’t want to use an application server.
Playing around with rasperry pi for home automation.
Username: pi Password: raspberry sudo raspi-config
Nice reads on annotation processors and java compiler api:
Tracing Weld/CDI under Wildfly:
<logger category="org.jboss.weld">
<level name="TRACE"/>
</logger>
<logger category="org.jboss.as.weld">
<level name="TRACE"/>
</logger>
So, disabling "Clear Text Font" in windows makes everything look much nice and cleaner :-)
Reactive Programming versus Reactive Systems: A nice write-up by the lightbend guys.
Started reading AWS Lambda Development Guide
Finally singed up for bintray and published my first artifact. Much nicer to use than sonatype.
Internet says there is a nice feature for "Signing with the Bintray Key" but i don’t see to have that option.
So, had to generate my own.
To export my keys from gpg:
gpg --armor --export 632B9183 gpg --armor --export-secret-keys BE07FA4E
First time doing a release, and thus github might no be in known_hosts, fails with this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project padersprinter-query: Unable to tag SCM [ERROR] Provider message: [ERROR] The git-push command failed. [ERROR] Command output: [ERROR] ssh_askpass: exec(/usr/sbin/ssh-askpass): No such file or directory [ERROR] Host key verification failed. [ERROR] fatal: Could not read from remote repository.
added to known_hosts by testing on command-line: git ls-remote -h git@github.com:38leinaD/padersprinter-query.git HEAD
So, release:prepare always tagged the SNAPSHOT version because no commit was happening before it. Seems to be a known issue; see stackoverflow. Tried a lot of version; the only combination that worked was this:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
Also read the following articles on how to build/release with maven following CI/CD approach. Different but both interesting:
Using gitflow plugin for gitflow see also like a handy plugin.