Dietrich Schroff

Subscribe to Dietrich Schroff feed
Dietrich Schroffhttps://plus.google.com/101232877473830670008noreply@blogger.comBlogger416125
Updated: 12 hours 52 min ago

Docker-CE on Ubuntu 17.10 (Artful Aardvark)

Thu, 2017-11-16 15:07
Today docker is only added to the repositories up to ubuntu version 17.04:

If you want to run docker on 17.10 you have to perform the following steps:
After that 
# docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
9a0669468bf7: Pull complete
Digest: sha256:cf2f6d004a59f7c18ec89df311cf0f6a1c714ec924eebcbfdd759a669b90e711
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://cloud.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/engine/userguide/

Oracle SOA Suite 12c: rcu from a remote host / database configuration

Sun, 2017-11-12 15:55
First step is to configure the database on your Oracle Linux server which hosts your database:
[root@localhost admin]# firewall-cmd --permanent --zone public --add-port=1521/tcp
successThen run the rcu:
schroff@zerberus:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/bin$ ./rcu

    RCU-Logdatei: /tmp/RCU2017-10-14_22-36_851447466/logs/rcu.logThe startup screen:
 Connect to you database:
 Connection successful:
 Certified database?!
 Choose the SOA Suite components:

 Password definition for all created schemas:
 Variables (take a look here)
 Tablespaces:
 Creation of tablespaces:

 Summary:
 Create schemas:
The end:

Microservices: Ubuntu Core: Building your own snap application

Sun, 2017-11-12 14:48
After the installation of ubuntu core and running caddy webserver from a repository  i was wondering how to build my own snap package.

The tutorial shows how to build GNU Hello into a snap packages:
and this tutorial works fine.
But this does not really help, if you have a command, which you can not build with autotools or ant or ....
A complete list can be found here.

So my plan:
  • create a bash script "myapp.sh"
  • try to build a snap, which contains this file
My first step was to create a directory "myapp" and create a "snapcraft.yaml" file:
name: myapp
version: "2.13"
summary: My first snap
description: My first snap app
confinement: strict

apps:
          myapp:
                      command: myapp.sh

parts:
          myapp:
                      plugin: nil Inside the myapp directory i created "prime/bin/myapp.sh" and "stage/myapp.sh". For both i changed the execution bits:
(With only u+x i got "-bash: ./myapp.sh: Permission denied")

chmod uga+x Then i ran
$ snapcraft
"grade" property not specified: defaulting to "stable"
Skipping pull myapp (already ran)
Skipping build myapp (already ran)
Skipping stage myapp (already ran)
Skipping prime myapp (already ran)
Snapping 'myapp' |                                                                                                                                            
Snapped myapp_2.13_amd64.snapThis file i transferred to my ubuntu core and installed it with:
$ snap install --dangerous  myapp_2.13_amd64.snap
myapp 2.13 installedAnd:
d-schroff@localhost:~$ myapp
This is myapp.

Oracle Database 12c on Oracle Linux: Firewall configuration to access Enterprise Manager on http://host:5500/em

Wed, 2017-11-08 15:23
If you have installed your database on Oracle Linux, first step is to access the enterprise manager via port 5500 (https://localhost:5500/em). If you want to access this URL from another host, you have to check and change the firewall settings:

[root@localhost system]# service firewalld status
Redirecting to /bin/systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since So 2017-10-01 18:22:30 CEST; 21h ago
     Docs: man:firewalld(1)
 Main PID: 684 (firewalld)
   CGroup: /system.slice/firewalld.service
           └─684 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
For a quick check disabling the firewall with
service firewalld stopmight be ok, but the better way is to allow port 5500.
Therefor check the active zone and the services:

[root@localhost system]# firewall-cmd --get-active-zone
public
  interfaces: enp0s3
[root@localhost system]# firewall-cmd --zone=public --list-services
ssh dhcpv6-client With this knowlegde you can add port 5500 to your firewall:
[root@localhost system]# firewall-cmd --zone=public --add-port=5500/tcp
success
[root@localhost system]# firewall-cmd --permanent --zone=public --add-port=5500/tcp
successNow you should get the following:
[root@localhost system]# firewall-cmd --zone=public --list-ports
5500/tcpand you will get in your Browser by accessing the URL https://hostname:5500/em:
 (still Flash...)





Oracle SOA Suite 12c: rcu fails on Oracle Linux

Tue, 2017-11-07 15:39
Next step after setting up a database is running the rcu script to create the soa suite schema inside the database. But this step fails with an ugly exception:

[oracle@localhost bin]$ pwd
/mnt/Middleware/Oracle_Home/oracle_common/bin
[oracle@localhost bin]$ ./rcu

    RCU-Logdatei: /tmp/RCU2017-10-07_18-13_966788282/logs/rcu.log

Exception in thread "main" java.lang.ExceptionInInitializerError
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
    at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
    at javax.swing.UIDefaults.getUI(UIDefaults.java:769)
    at javax.swing.UIManager.getUI(UIManager.java:1016)
    at javax.swing.JComboBox.updateUI(JComboBox.java:266)
    at javax.swing.JComboBox.init(JComboBox.java:231)
    at javax.swing.JComboBox.(JComboBox.java:183)
    at oracle.help.DefaultNavigatorPanel$MinimumSizedComboBox.(DefaultNavigatorPanel.java:791)
    at oracle.help.DefaultNavigatorPanel.(DefaultNavigatorPanel.java:106)
    at oracle.help.Help._initHelpSystem(Help.java:1045)
    at oracle.help.Help.(Help.java:353)
    at oracle.help.Help.(Help.java:307)
    at oracle.help.Help.(Help.java:271)
    at oracle.help.Help.(Help.java:146)
    at oracle.sysman.assistants.rcu.ui.InteractiveRCUModel.initializeHelp(InteractiveRCUModel.java:261)
    at oracle.sysman.assistants.rcu.ui.InteractiveRCUModel.(InteractiveRCUModel.java:151)
    at oracle.sysman.assistants.rcu.Rcu.execute(Rcu.java:360)
    at oracle.sysman.assistants.rcu.Rcu.main(Rcu.java:433)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
    at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
    at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:359)
    at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350)
    at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302)
    at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1113)
    at javax.swing.JComponent.getFontMetrics(JComponent.java:1626)
    at javax.swing.text.PlainView.calculateLongestLine(PlainView.java:639)
    at javax.swing.text.PlainView.updateMetrics(PlainView.java:209)
    at javax.swing.text.PlainView.updateDamage(PlainView.java:527)
    at javax.swing.text.PlainView.insertUpdate(PlainView.java:451)
    at javax.swing.text.FieldView.insertUpdate(FieldView.java:293)
    at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610)
    at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1869)
    at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201)
    at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748)
    at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707)
    at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
    at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669)
    at javax.swing.text.JTextComponent.setText(JTextComponent.java:1669)
    at javax.swing.JTextField.(JTextField.java:243)
    at javax.swing.JTextField.(JTextField.java:183)
    at com.jgoodies.looks.plastic.PlasticComboBoxUI.(PlasticComboBoxUI.java:88)
    ... 25 more
Hmmm. Not that good.
(i was running this from a shared virtual box folder.)
Next step was to install the Middleware home on my Oracle Linux. But fails too:
[oracle@localhost mnt]$ java -jar fmw_12.2.1.0.0_soa_quickstart.jar
Launcher-Logdatei ist /tmp/OraInstall2017-10-07_06-29-37PM/launcher2017-10-07_06-29-37PM.log.
Dateien werden extrahiert.......................................................
Oracle Universal Installer wird gestartet

Es wird geprüft, ob CPU-Geschwindigkeit über 300 MHz liegt   Tatsächlich 2904.000 MHz    Erfolgreich
Monitor wird geprüft: muss so konfiguriert sein, dass mindestens 256 Farben angezeigt werden   Tatsächlich 16777216    Erfolgreich
Swap-Bereich wird geprüft: muss größer sein als 512 MB   Tatsächlich 3967 MB    Erfolgreich
Es wird geprüft, ob diese Plattform eine 64-Bit-JVM erfordert   Tatsächlich 64    Erfolgreich (64-Bit nicht erforderlich)
Temporärer Speicherplatz wird geprüft: muss größer sein als 300 MB   Tatsächlich 16325 MB    Erfolgreich


Vorbereitung für das Starten von Oracle Universal Installer aus /tmp/OraInstall2017-10-07_06-29-37PM
Log: /tmp/OraInstall2017-10-07_06-29-37PM/install2017-10-07_06-29-37PM.log
java.lang.ArrayIndexOutOfBoundsException: 0
    at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
    at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
    at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:359)
    at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350)
    at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302)
    at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1113)
    at javax.swing.JComponent.getFontMetrics(JComponent.java:1626)
    at javax.swing.text.GlyphPainter1.sync(GlyphPainter1.java:226)
    at javax.swing.text.GlyphPainter1.getSpan(GlyphPainter1.java:59)
    at javax.swing.text.GlyphView.getPreferredSpan(GlyphView.java:592)
    at javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:732)
    at javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:233)
    at javax.swing.text.ParagraphView.calculateMinorAxisRequirements(ParagraphView.java:717)
    at javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(ParagraphView.java:157)
    at javax.swing.text.BoxView.checkRequests(BoxView.java:935)
    at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:568)
    at javax.swing.text.html.ParagraphView.getMinimumSpan(ParagraphView.java:270)
    at javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:903)
    at javax.swing.text.html.BlockView.calculateMinorAxisRequirements(BlockView.java:146)
    at javax.swing.text.BoxView.checkRequests(BoxView.java:935)
    at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:568)
    at javax.swing.text.html.BlockView.getMinimumSpan(BlockView.java:378)
    at javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:903)
    at javax.swing.text.html.BlockView.calculateMinorAxisRequirements(BlockView.java:146)
    at javax.swing.text.BoxView.checkRequests(BoxView.java:935)
    at javax.swing.text.BoxView.getPreferredSpan(BoxView.java:545)
    at javax.swing.text.html.BlockView.getPreferredSpan(BlockView.java:362)
    at javax.swing.plaf.basic.BasicHTML$Renderer.(BasicHTML.java:383)
    at javax.swing.plaf.basic.BasicHTML.createHTMLView(BasicHTML.java:67)
    at javax.swing.plaf.basic.BasicHTML.updateRenderer(BasicHTML.java:207)
    at javax.swing.plaf.basic.BasicLabelUI.propertyChange(BasicLabelUI.java:417)
    at oracle.bali.ewt.olaf2.OracleLabelUI.propertyChange(OracleLabelUI.java:53)
    at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
    at java.awt.Component.firePropertyChange(Component.java:8428)
    at javax.swing.JLabel.setText(JLabel.java:330)
    at oracle.as.install.engine.modules.presentation.ui.common.label.ModifiedJLabel.setText(ModifiedJLabel.java:183)
    at oracle.as.install.engine.modules.presentation.ui.screens.WelcomeWindow.jbInit(WelcomeWindow.java:303)
    at oracle.as.install.engine.modules.presentation.ui.screens.WelcomeWindow.(WelcomeWindow.java:112)
    at oracle.as.install.engine.modules.presentation.action.LaunchWelcomeWindowAction.execute(LaunchWelcomeWindowAction.java:86)
    at oracle.as.install.engine.modules.presentation.util.ActionQueue.run(ActionQueue.java:70)
    at oracle.as.install.engine.modules.presentation.PresentationModule.prepareAndRunActions(PresentationModule.java:281)
    at oracle.as.install.engine.modules.presentation.PresentationModule.launchModule(PresentationModule.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at oracle.as.install.engine.InstallEngine.launchModule(InstallEngine.java:580)
    at oracle.as.install.engine.InstallEngine.processAndLaunchModules(InstallEngine.java:522)
    at oracle.as.install.engine.InstallEngine.startOperation(InstallEngine.java:471)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:717)
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at oracle.as.install.engine.InstallEngine.launchModule(InstallEngine.java:580)
    at oracle.as.install.engine.InstallEngine.processAndLaunchModules(InstallEngine.java:522)
    at oracle.as.install.engine.InstallEngine.startOperation(InstallEngine.java:471)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:717)
Caused by: java.lang.ExceptionInInitializerError
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
    at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
    at javax.swing.UIDefaults.getUI(UIDefaults.java:769)
    at javax.swing.UIManager.getUI(UIManager.java:1016)
    at javax.swing.JComboBox.updateUI(JComboBox.java:266)
    at javax.swing.JComboBox.init(JComboBox.java:231)
    at javax.swing.JComboBox.(JComboBox.java:183)
    at oracle.help.DefaultNavigatorPanel$MinimumSizedComboBox.(DefaultNavigatorPanel.java:791)
    at oracle.help.DefaultNavigatorPanel.(DefaultNavigatorPanel.java:106)
    at oracle.help.Help._initHelpSystem(Help.java:1045)
    at oracle.help.Help.(Help.java:243)
    at oracle.help.Help.(Help.java:200)
    at oracle.help.Help.(Help.java:125)
    at oracle.as.install.engine.modules.presentation.ui.common.help.WizardHelpManager.configure(WizardHelpManager.java:76)
    at oracle.as.install.engine.modules.presentation.action.WizardHelpConfigAction.execute(WizardHelpConfigAction.java:228)
    at oracle.as.install.engine.modules.presentation.util.ActionQueue.run(ActionQueue.java:70)
    at oracle.as.install.engine.modules.presentation.PresentationModule.prepareAndRunActions(PresentationModule.java:281)
    at oracle.as.install.engine.modules.presentation.PresentationModule.launchModule(PresentationModule.java:235)
    ... 8 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
    at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
    at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:359)
    at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350)
    at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302)
    at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1113)
    at javax.swing.JComponent.getFontMetrics(JComponent.java:1626)
    at javax.swing.text.PlainView.calculateLongestLine(PlainView.java:639)
    at javax.swing.text.PlainView.updateMetrics(PlainView.java:209)
    at javax.swing.text.PlainView.updateDamage(PlainView.java:527)
    at javax.swing.text.PlainView.insertUpdate(PlainView.java:451)
    at javax.swing.text.FieldView.insertUpdate(FieldView.java:293)
    at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610)
    at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1869)
    at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201)
    at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748)
    at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707)
    at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130)
    at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669)
    at javax.swing.text.JTextComponent.setText(JTextComponent.java:1669)
    at javax.swing.JTextField.(JTextField.java:243)
    at javax.swing.JTextField.(JTextField.java:183)
    at com.jgoodies.looks.plastic.PlasticComboBoxUI.(PlasticComboBoxUI.java:88)
    ... 33 more
[ERROR]: Installer has encountered an internal Error. Contact Oracle support with details
[EXCEPTION]:java.lang.reflect.InvocationTargetException
So there is a problem with running the SOA Suite installer on Oracle Linux...
The installation worked fine on my ubuntu (see here) and the rcu starts without any problem an my ubuntu:
schroff@zerberus:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/bin$ ./rcu

    RCU-Logdatei: /tmp/RCU2017-10-14_22-36_851447466/logs/rcu.log


Microservices: Running a webserver (caddy) on Ubuntu Core with snap

Sun, 2017-11-05 14:00
After the installation of a ubuntu core system inside virutalbox i was keen how to put a microservice via snap package onto the server.

First a listing of the installed snap packages:
~$ snap list
Name          Version     Rev  Developer  Notes
core          16.04.1     394  canonical  -
pc            16.04-0.8   9    canonical  -
pc-kernel     4.4.0-45-4  37   canonical  -
To get a list of available packages you can use "snap find" + a search value:
$ snap find http
Name                          Version            Developer       Notes  Summary
http                          0.9.9-1            chipaca         -      HTTPie in a snap
httpstat                      1.1.3              simosx          -      Curl statistics made simple
gost                          2.4                ginuerzh        -      GO Simple Tunnel
spreed-webrtc-snap            0.24.11-4          garywzl77       -      WebRTC audio/video calls and conferences
squid-gary                    0.3                garywzl77       -      Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more.
littlewatcher                 0.9.9              littlewatcher   -      Client for a distributed monitoring network
tinyproxy-snap                0.2                garywzl77       -      a light-weight HTTP(S) proxy daemon for POSIX operating systems.
caddy-hduran                  0.9.3              hduran          -      The HTTP/2 web server with automatic HTTPS
demo-curl                     7.47.0-1ubuntu2.1  woodrow         -      command line tool for transferring data with URL syntax
conn-check                    1.3.2-2            1stvamp         -      Utility for verifying connectivity between services
reqcounter                    0.1                meehow          -      HTTP requests counter
bhttp                         0                  rog             -      Macaroon-aware HTTP command line client
unixhttp                      1                  teknoraver      -      HTTP over Unix
wuzz                          dd696dc-1          nhandler        -      interactive cli tool for HTTP inspection
prometheus-blackbox-exporter  0.5.0              jacek           -      The Prometheus Blackbox Exporter
gnocchi                       4.0.3              james-page      -      Time Series Database as a Service
kurly                         master             carla-sella     -      kurly is an alternative to the widely popular curl program.
inadyn                        0.1                snapcrafters    -      Internet Automated Dynamic DNS Client
ipfs                          v0.4.11            elopio          -      global, versioned, peer-to-peer filesystem
tinyproxy-ogra                1.8.3              ogra            -      very tiny proxy server
demo-wget                     1.17.1-2           woodrow         -      retrieves files from the web
links                         2.12-1             zygoon          -      Web browser running in text mode
couchdb                       2.0                apache-couchdb  -      RESTful document oriented database
attfeeder                     0.0.1              sphengineering  -      Attitude angles feeder
I chose caddy-hduran:
snap install caddy-hduran  and some seconds later the installation was finished.

The deployment structure can be found with this command:
~$ mount | grep caddy
/var/lib/snapd/snaps/caddy-hduran_12.snap on /snap/caddy-hduran/12 type squashfs (ro,relatime)
/var/lib/snapd/snaps/caddy-hduran_12.snap on /writable/system-data/snap/caddy-hduran/12 type squashfs (ro,relatime)
nsfs on /run/snapd/ns/caddy-hduran.mnt type nsfs (rw)
Twice a readonly filesystem. So where to put the configuration file?

I found
/writable/system-data/var/snap/caddy-hduran/12/and put there a Caddyfile with this content:
192.168.178.31:8080
tls off and a simple index.html. This only works with sudo.
Then i started the caddy server
/var/snap/caddy-hduran/12# caddy-hduran.caddy
Activating privacy features... done.
http://192.168.178.31:8080
WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with "ulimit -n 8192".A strange behaviour is that it will not run if you stay in
/writable/system-data/var/snap/caddy-hduran/12/but in
 /var/snap/caddy-hduran/12it starts...



If you want more information about how to configure caddy, take a look at this blog: https://www.booleanworld.com/host-website-caddy-web-server-linux/

Microservices: Ubuntu Core and snap - a minimal linux

Sat, 2017-11-04 15:54
After some first steps with coreOS
i read about Ubuntu Core, which targets also on a minimal linux. Here an architecture overview from ubuntu:
Ubuntu provides an image for KVM (the link points to an installation howto), but i want to stay with Virtualbox. I followed this tutorial:
wget http://releases.ubuntu.com/ubuntu-core/16/ubuntu-core-16-amd64.img.xz
unxz ubuntu-core-16-amd64.img.xz
VBoxManage convertdd ubuntu-core-16-amd64.img ubuntu-core-16-amd64.vdi --format VDI

VBoxManage modifyhd ubuntu-core-16-amd64.vdi --resize 20480And then configure the virtualbox vm:




And Go!




To pass this step you have to create an account at https://login.ubuntu.com
 
 At login.ubuntu.com you have to provide your public ssh keyfile:

and then a login which does not work:


and the login via ssh:

schroff@zerberus:~$ ssh d-schroff@192.168.178.31
The authenticity of host '192.168.178.31 (192.168.178.31)' can't be established.
ECDSA key fingerprint is SHA256:yKE/g7JYnlED6jOF/8gsUeVrdkuEU/zytFdlCcVzNEs.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.178.31' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-45-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

Welcome to Snappy Ubuntu Core, a transactionally updated Ubuntu.

 * See https://ubuntu.com/snappy

It's a brave new world here in Snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see 'snap --help'
for app installation and transactional updates.

d-schroff@localhost:~$
First impression: Getting a ssh login is much easier than configuring ssh with ignition at coreOS.

Oracle SOA Suite 12c: Installation - Preparing the database

Fri, 2017-11-03 15:24
After a successful installation of Oracle 12c database the next step is to create a plugable databse (PDB).
Therefor you have to run the dbca (database creation assistant):
~/app/oracle/product/12.2.0/dbhome_1/bin/dbca









 The first check fails with:
[oracle@localhost ~]$ export ORACLE_SID=soasuite12c
[oracle@localhost ~]$ sqlplus

SQL*Plus: Release 12.2.0.1.0 Production on Sat Oct 7 17:00:21 2017

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Enter user-name: bpeladmin
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3701
Additional information: -1824536353
Process ID: 0
Session ID: 0 Serial number: 0This is, because the tnsnames.ora is not correct:
[oracle@localhost admin]$ cat /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/tnsnames.ora
# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/12.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))


ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )
You have to add this entry:
SOASUITE12C =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = soasuite12c)
    )
  )
And here we go:
[oracle@localhost admin]$ sqlplus bpeladmin@soasuite12c

SQL*Plus: Release 12.2.0.1.0 Production on Sat Oct 7 17:22:14 2017

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Enter password:

Verbunden mit:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL> show con_name;

CON_NAME
------------------------------
SOASUITE12C






AVM Fritz: WLAN Mesh with Powerline Repeater does not work - Part 2

Wed, 2017-11-01 10:55
A month ago i tried to get the new WLAN mesh running with my Fritz!Box 7490 and Fritz!Powerline 546E.

Some days ago AVM release a new firmware for the 546E:

But even with the new firmware the powerline adapter does show up with the "mesh symbol" inside the home network overview:


I am wondering, if the WLAN mesh only works by using the powerline connectivity. AVM support pages show up the following advisory:
As you can see: Only the secondary powerline adapter shows the "mesh symbol".

Inside the networking overview my 546E is registered in this way:
Which is definitly wrong, because it is connected as WLAN bridge to the Fritz!Box without any powerline technololgy...

Hopefully the next update may fix this.

Contao: How to create a virtual system from your live website

Wed, 2017-11-01 09:07
Since a couple of year my sport club runs its website with contao.
Because our webhoster changed the support for php, i have to find a way to do an upgrade without damaging the running website.

The plan:
  1. create a linux host as a vm
  2. install mysql, apache2, php
  3. import the backups
The first step was easy. Inside virtualbox i created an ubuntu 17.10 system.
The second step was not that simple:
add-apt-repository ppa:ondrej/php
apt install mysql-server apache2 php5.6 php5.6-mysqlImporting the data into the database was easy (Before i did a backup via the contao frontend: system -> backup database).
mysql -u root -pYOURPASS -e "create database mydb"
mysql -u root -pYOURPASS mydb < database.backup.sqlFrom the live system i copied everything into /var/www/html and changed the user to www-data:
cd /var/www/html
chown -R www-data *Last step is the customizing of /var/www/html/system/config/localconfig.php
$GLOBALS['TL_CONFIG']['dbHost'] = 'localhost';
$GLOBALS['TL_CONFIG']['dbUser'] = 'root';
$GLOBALS['TL_CONFIG']['dbPass'] = 'YOURPASS';
$GLOBALS['TL_CONFIG']['dbDatabase'] = 'mydb';And after a last command
systemctl restart apache2i was able to open the website via a local firefox with http://localhost/index.php.
Now a snapshot a damaged installation after an upgrade can be rolled back without any problem ;-)

Ubuntu 17.10: problems with gnome extensions

Sun, 2017-10-29 06:16
After migrating to ubuntu 17.10 the unity desktop is gone and the system starts up with gnome 3.
As i wrote here, there are some problems with window decorations which can be fixed by (re-)moving some directories.

But i still had some problems with gnome extension:
The installation process via the webpage gnome extensions worked fine, but e.g. the system monitor did not show up...
https://extensions.gnome.org/

The solution was easy:
apt install vanilla-gnome-desktopAnd after this fix the system monitor is there:

Myths about Wayland (display server protocol)

Tue, 2017-10-24 13:53

If you ask Google abount wayland (which is shipped with ubuntu 17.10 or fedora 26) there are some articles, which are not or no more accurate:



"You can not export any X11 application to a linux host which runs wayland"Wrong... Just login to other linux machines via "ssh -X"  and run xclock or whatever. It works...


"Screenshots will not work anymore"Hmmm. Ok. X11 screenshot applications will not work anymore - but you can do screenshots with "print" (complete desktop), "alt-print" (current window) and "shift-print" (select area).



"There is no log file or other debugging information"Ok - /var/log/Xorg.0.log is not used anymore and there is no other log file. Here you can find some commands to get error/debug messages.


If you want to get more information about wayland: https://wayland.freedesktop.org/

Ubuntu 17.10: Upgrade from xorg to wayland: window decorations broken!

Sat, 2017-10-21 14:14
Today i upgraded my ubunto from 16.04 to 17.10:






Up to this step everything worked fine.
But after the reboot i got tiny window decorations. This had to do with some further changes to the unity desktop - i used compiz there and this broke the new wayland configuration.

I found some hints about
dpkg --purge compiz-plugins ...but this did not really help.
The way out was this:
mv .compiz .compiz.old
mv .gconf .gconf.old
mv .config .config.oldAfter moving such old configuration directories the desktop looked ok.
For changing the windows decorations i had to install
 apt install gnome-tweak-toolSorry, that i do not post any screenshot of the new 17.10 desktop - but the screenshot application does not work anymore ;-)

Oracle SOA Suite 12c: Running BPEL processes with Jdevelopers built in weblogic server

Thu, 2017-10-19 14:00
After creating a BPEL process with jdeveloper i want to run this process inside the jdeveloper built in weblogic server.

Therefor you have to choose "run->start server instance (integratedweblogicserver)":


Enter a password of your choice (more than 8 characters required):

Via bash you can see the weblogic process:
$ ps auxwww|grep weblogic
schroff  17464  287  9.6 4381716 778820 pts/17 Sl+  20:54   1:11 /home/data/opt/jdk1.8.0_131/bin/java -DORACLE_HOME=/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common -Xms32m -Xmx1024m -XX:MaxPermSize=768m weblogic.WLST /home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/o.j2ee.adrs/BuildDefaultDomain2.py
The log window in jdevelopers shows up the following lines:

 [Waiting for the domain to finish building...]
[08:53:44 PM] Creating IntegratedWebLogicServer Domain...
[08:54:43 PM] Extending IntegratedWebLogicServer Domain...
[08:55:17 PM] Extending IntegratedWebLogicServer Domain...
[08:55:50 PM] Extending IntegratedWebLogicServer Domain...
[08:56:15 PM] IntegratedWebLogicServer Domain processing completed successfully.
*** Using HTTP port 7101 ***
*** Using SSL port 7102 ***
/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/bin/startWebLogic.sh
[Starting IntegratedWebLogicServer.]
[waiting for the server to complete its initialization...]
*****************************************************
** Setting up SOA specific environment...
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
*****************************************************
EXTRA_JAVA_PROPERTIES= -da:org.apache.xmlbeans...
.
LD_LIBRARY_PATH=:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server/native/linux/x86_64:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server/native/linux/x86_64/oci920_8
.
.
*****************************************************
** End SOA specific environment setup
*****************************************************
.
.
JAVA Memory arguments: -Xms1024m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=1024m
.
CLASSPATH=/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/user-patch.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/soa-startup.jar:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/modules/features/com.oracle.db.jdbc7-dms.jar:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/modules/odsi_xquery2004_12.1.3/odsi.xquery.modules_12.1.3.0.jar:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/../oracle_common/modules/com.oracle.webservices.wls.wls-jaxrpc.jar:/home/data/opt/jdk1.8.0_131/lib/tools.jar:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.jar:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/../oracle_common/modules/net.sf.antcontrib_1.1.0.0_1-0b3/lib/ant-contrib.jar:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/modules/features/oracle.wls.common.nodemanager.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.soa.common.adapters_11.1.1/oracle.soa.common.adapters.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.cloud.adapter_12.1.3/oracle.cloud.adapter.jar:/home/data/opt/oracle/Middleware/Oracle_Home/osb/lib/servicebus-common.jar:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/communications/modules/config.jar:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/communications/modules/userprefs-config.jar:/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/config/soa-infra:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/quartz-all-1.6.5.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.soa.fabric_11.1.1/oracle.soa.fabric.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.soa.fabric_11.1.1/fabric-runtime-ext-wls.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.soa.adapter_11.1.1/oracle.soa.adapter.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.soa.b2b_11.1.1/oracle.soa.b2b.jar:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/modules/internal/features/jrf_wlsFmw_oracle.jrf.wls.classpath.jar:/home/data/opt/oracle/Middleware/Oracle_Home/osb/lib/version.jar:/home/data/opt/oracle/Middleware/Oracle_Home/osb/lib/servicebus.jar:/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/config/osb:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.soa.fabric_11.1.1/tracking-api.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/commons-cli-1.1.jar:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/../oracle_common/modules/com.oracle.cie.config-wls-online_8.2.0.0.jar::/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbynet.jar:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbyclient.jar:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derby.jar
.
PATH=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/bin:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server/bin:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/../oracle_common/modules/org.apache.ant_1.9.2/bin:/home/data/opt/jdk1.8.0_131/jre/bin:/home/data/opt/jdk1.8.0_131/bin:/home/data/opt/jdk-9/bin:/home/schroff/bin:/home/schroff/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
Starting WLS with line:
/home/data/opt/jdk1.8.0_131/bin/java -server   -Xms1024m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=1024m -Dweblogic.Name=DefaultServer -Djava.security.policy=/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.policy -Djavax.net.ssl.trustStore=/tmp/trustStore3765816662939315983.jks -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true  -Xverify:none -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|com.bea.wli.sb.resources.url|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler|oracle.bpm.io.fs.protocol -Dopss.version=12.2.1 -Digf.arisidbeans.carmlloc=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/config/fmwconfig/carml -Digf.arisidstack.home=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/servers/DefaultServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.ossoiap,/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.oamprovider,/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.jps -Doracle.mds.filestore.preferred=true -Dadf.version=12.2.1 -Dweblogic.jdbc.remoteEnabled=true -Dcommon.components.home=/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common -Djrf.version=12.2.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain -Doracle.server.config.dir=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/config/fmwconfig/servers/DefaultServer -Doracle.domain.config.dir=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/config/fmwconfig -Doracle.osb.home=/home/data/opt/oracle/Middleware/Oracle_Home/osb  -javaagent:/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server -Dweblogic.home=/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server  -Djps.app.credential.overwrite.allowed=true -Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder  -da:org.apache.xmlbeans... -Dem.oracle.home=/home/data/opt/oracle/Middleware/Oracle_Home/em -DINSTANCE_HOME=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain -Djava.awt.headless=true -Doracle.sysman.util.logging.mode=dual_mode -Dsoa.archives.dir=/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa -Dsoa.oracle.home=/home/data/opt/oracle/Middleware/Oracle_Home/soa -Dsoa.instance.home=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=/home/data/opt/oracle/Middleware/Oracle_Home/wlserver/server/lib/DemoTrust.jks -Doracle.xml.schema/Ignore_Duplicate_Components=true -Doracle.xdkjava.compatibility.version=11.1.1 -Doracle.soa.compatibility.version=11.1.1 -Ddisable-implicit-bean-discovery=true -Dums.oracle.home=/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common   -Djava.util.logging.manager=oracle.core.ojdl.logging.ODLLogManager  weblogic.Server
<11 .10.2017="" 20:56="" mesz="" uhr="">
<11 .10.2017="" 20:56="" mesz="" uhr="">
<11 .10.2017="" 20:56="" mesz="" uhr="">
Okt 11, 2017 8:56:18 PM oracle.security.jps.wls.JpsBootStrapService start
INFORMATION: JPS-Bootstrap-Service gestartet.
<11 .10.2017="" 20:56="" mesz="" uhr=""> <"ResourceManagement" is not enabled in this JVM. Enable "ResourceManagement" to use the WebLogic Server "Resource Consumption Management" feature. To enable "ResourceManagement", you must specify the following JVM options in the WebLogic Server instance in which the JVM runs: -XX:+UnlockCommercialFeatures -XX:+ResourceManagement.>
<11 .10.2017="" 20:56="" mesz="" uhr="">
<11 .10.2017="" 20:56="" mesz="" uhr="">
<11 .10.2017="" 20:56="" mesz="" uhr="">
<11 .10.2017="" 20:56="" mesz="" uhr="">
Okt 11, 2017 8:56:20 PM oracle.security.jps.wls.JpsDefaultService start
INFORMATION: JPS-Standardservice gestartet.
Okt 11, 2017 8:56:20 PM oracle.security.jps.JpsStartup start
INFORMATION: JPS-Initialisierung.
<11 .10.2017="" 20:56="" mesz="" uhr=""> Current log file=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/servers/DefaultServer/logs/DefaultServer.log
Rotation dir=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/servers/DefaultServer/logs
 is opened. All server side log events will be written to this file.>
Okt 11, 2017 8:56:21 PM oracle.security.jps.internal.idstore.util.LibOvdUtil pushLdapNamesToLibOvd
INFORMATION: Der LDAP-Name und die Typeninformationen wurden an libOvd übertragen. LDAPs: DefaultAuthenticator:idstore.ldap.provideridstore.ldap.
Okt 11, 2017 8:56:26 PM oracle.security.jps.internal.common.util.JpsCommonUtil initPolicyProvider
INFORMATION: OPSS Java Policy-Provider wird initialisiert.
Okt 11, 2017 8:56:26 PM oracle.security.jps.internal.common.util.JpsCommonUtil initPolicyProvider
INFORMATION: OPSS Java Policy-Provider wurde initialisiert.
Okt 11, 2017 8:56:26 PM oracle.security.jps.internal.common.util.JpsCommonUtil initPolicyProvider
INFORMATION: OPSS Java Policy-Provider ist als systemweites Policy-Objekt festgelegt.
Okt 11, 2017 8:56:26 PM oracle.security.jps.JpsStartup start
INFORMATION: JPS wurde gestartet.
<11 .10.2017="" 20:56="" mesz="" uhr="">
<11 .10.2017="" 20:56="" mesz="" uhr=""> <11 .10.2017="" 20:56="" mesz="" uhr="">Okt 11, 2017 8:56:35 PM com.tangosol.coherence.component.util.logOutput.Jdk log
INFORMATION: 2017-10-11 20:56:35.825/19.921 Oracle Coherence 12.2.1.0.0 (thread=[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational configuration from "jar:file:/home/data/opt/oracle/Middleware/Oracle_Home/coherence/lib/coherence.jar!/tangosol-coherence.xml"
Okt 11, 2017 8:56:35 PM com.tangosol.coherence.component.util.logOutput.Jdk log
INFORMATION: 2017-10-11 20:56:35.878/19.974 Oracle Coherence 12.2.1.0.0 (thread=[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded operational overrides from "jar:file:/home/data/opt/oracle/Middleware/Oracle_Home/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
Okt 11, 2017 8:56:35 PM com.tangosol.coherence.component.util.logOutput.Jdk log
INFORMATION: 2017-10-11 20:56:35.973/20.069 Oracle Coherence GE 12.2.1.0.0 (thread=[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Loaded FMW commons version: 12.2.1-0-0-SNAPSHOT b60603
Okt 11, 2017 8:56:37 PM org.hibernate.validator.internal.util.Version
INFO: HV000001: Hibernate Validator 5.1.3.Final
Okt 11, 2017 8:56:37 PM oracle.dms.servlet.DMSServletFilter setEagerlySetContextValues
INFORMATION: Die Einstellung, die das vorzeitige Abrufen einiger Ausführungskontextdaten steuert, wurde auf true gesetzt.
Okt 11, 2017 8:56:37 PM oracle.ods.virtualization.engine.util.VDELogger info
INFORMATION: Notification sent for Mapping config object reloaded
<11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr="">
<11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr="">SOA Debugger horcht auf Port 7453.

[yag][derby]:: selectQuerySELECT CONTAINER_ID, RENEWAL_TIME FROM OSB_RES_CONTAINERID_LEASE WHERE { fn timestampdiff(SQL_TSI_SECOND,RENEWAL_TIME, CURRENT_TIMESTAMP)} <#timeout_duration
<11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr="">
<11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:56="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr=""><11 .10.2017="" 20:57="" mesz="" uhr="">soa.mds.consolidation is set to false Not fusion apps envFA MDS Consolidation is NOT enabledNot fusion apps env[EL Warning]: 2017-10-11 20:58:02.613--ServerSession(1407745511)--You have specified multiple ids for the entity class [oracle.soa.tracking.fabric.persistence.jpa.QuiescedServiceHistoryDao] without specifying an @IdClass. By doing this you may lose the ability to find by identity, distributed cache support etc. Note: You may however use EntityManager find operations by passing a list of primary key fields. Else, you will have to use JPQL queries to read your entities. For other id options see @PrimaryKey.[EL Info]: 2017-10-11 20:58:03.12--ServerSession(301439769)--EclipseLink, version: Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3[EL Info]: 2017-10-11 20:58:03.12--ServerSession(301439769)--Server: 12.2.1.0.0[EL Info]: connection: 2017-10-11 20:58:03.127--ServerSession(301439769)--tracking_session login successful[EL Info]: 2017-10-11 20:58:03.248--ServerSession(2117626378)--EclipseLink, version: Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3[EL Info]: 2017-10-11 20:58:03.248--ServerSession(2117626378)--Server: 12.2.1.0.0[EL Info]: connection: 2017-10-11 20:58:03.253--ServerSession(2117626378)--deferred_session login successful[EL Warning]: 2017-10-11 20:58:05.916--ServerSession(2057154711)--You have specified multiple ids for the entity class [oracle.soa.tracking.fabric.persistence.jpa.QuiescedServiceHistoryDao] without specifying an @IdClass. By doing this you may lose the ability to find by identity, distributed cache support etc. Note: You may however use EntityManager find operations by passing a list of primary key fields. Else, you will have to use JPQL queries to read your entities. For other id options see @PrimaryKey.[EL Warning]: 2017-10-11 20:58:06.061--ServerSession(2107018368)--You have specified multiple ids for the entity class [oracle.soa.tracking.fabric.persistence.jpa.QuiescedServiceHistoryDao] without specifying an @IdClass. By doing this you may lose the ability to find by identity, distributed cache support etc. Note: You may however use EntityManager find operations by passing a list of primary key fields. Else, you will have to use JPQL queries to read your entities. For other id options see @PrimaryKey.#### On FabricKernelInitializerServlet, DiagnosticsFramework loaded from file:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.dms/dms.jar#### On MBeanManager, DiagnosticsFramework loaded from file:/home/data/opt/oracle/Middleware/Oracle_Home/oracle_common/modules/oracle.dms/dms.jar <> Generic SOA Debugger horcht auf Port 5004.Loading integration file at /home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/sysman/config/, emomsintg.xmlintg.xml file does not exist at emomsintg.xmlIn ConfigManager.loadProperties. propFile=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/sysman/config/emoms.propertiesRunning inside containerGetting props from mbeanTry to query mbean name for emoms.props:type=Properties,name=emoms.properties,*Try to get the Properties Attribute Map from the ConfigMBean  emoms.props:name=emoms.properties,type=Properties,Application=emGot the Proprties Attribute Map from the ConfigMBean  emoms.props:name=emoms.properties,type=Properties,Application=emThe size of the property map is 12In ConfigManager.loadProperties. propFile=/home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/sysman/config/emoms.propertiesRunning inside containerGetting props from mbeanTry to query mbean name for emoms.props:type=Properties,name=emoms.properties,*Try to get the Properties Attribute Map from the ConfigMBean  emoms.props:name=emoms.properties,type=Properties,Application=emGot the Proprties Attribute Map from the ConfigMBean  emoms.props:name=emoms.properties,type=Properties,Application=emThe size of the property map is 12Loading integration file at /home/schroff/.jdeveloper/system12.2.1.0.42.151011.0031/DefaultDomain/sysman/config/, emomsintg.xmlintg.xml file does not exist at emomsintg.xmlsecurePort = -1 isOMSSecure = 0 isOMSSecureLocked = 0:Enter.In ConfigManager.loadProperties. propFile=emomslogging.propertiesRunning inside containerGetting props from mbeanTry to query mbean name for emomslogging.props:type=Properties,name=emomslogging.properties,*Try to get the Properties Attribute Map from the ConfigMBean  emomslogging.props:name=emomslogging.properties,type=Properties,Application=emGot the Proprties Attribute Map from the ConfigMBean  emomslogging.props:name=emomslogging.properties,type=Properties,Application=emThe size of the property map is 17No logging has been configured and default agent logging support is unavailable.PAF Integration init BEGINPAF Integration init ENDProvCommonIntegration.init, registering the Page Handlers and Page Segment Handlersinside MultiOMSIntegrationFMWProv: Integration Class called and was reloaded for mePostInstallConfigIntegration:oracle_ias_farm target auth registration is done.CompositesProvIntegration init...getAllPluginOracleHomes: ConnectionService is nullgetAllPluginOracleHomes: ConnectionService is nullAnonymous url config processing:/WEB-INF/config/anonymous-access-emcore.configAnonymous-urls:[/em/IEsvgdetect.js.*, /em/LoginStatusServlet.*, /em/adf/.*, /em/adflib/.*, /em/afr/.*, /em/bi/.*, /em/bmp/discovertargets, /em/cabo/.*, /em/console/help.*, /em/console/logon/.*, /em/consoleStatus.jsp, /em/dynamicImage.*, /em/ecm/csa/CSA.jar, /em/ecm/csa/CSA.mb, /em/ecm/csa/csabanner.gif, /em/emcli/custAttrib.*, /em/emr/.*, /em/faces/logon/.*, /em/faces/helppages/.*, /em/flashbridge.*, /em/formsapp/lib/formsRecorder.jar, /em/images/.*, /em/install/getAgentImage, /em/helppages/help.*, /em/jsLibs/.*, /em/jsLibsObf/.*, /em/login.jsp, /em/mapproxy.*, /em/mobile/core/uifwk/skins/.*, /em/ocamm/lib.*, /em/onetime.*, /em/ovs/discovertargets, /em/public/.*, /em/public_lib_download/.*, /em/redirect.*, /em/relocatetarget.*, /em/sdkImpl/core/uifwkmobile/skins/*, /em/servlet/GaugeServlet.*, /em/servlet/GraphServlet.*, /em/swlib/getfile, /em/VncViewer.jar, /em/websvcs.*, /em/jobrecv.*] Found 0 composites to be loaded --------->deploying 0 composites took 1 ms [EL Info]: 2017-10-11 20:58:28.127--ServerSession(2057154711)--EclipseLink, version: Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3[EL Info]: 2017-10-11 20:58:28.155--ServerSession(2057154711)--Server: 12.2.1.0.0[EL Info]: 2017-10-11 20:58:28.186--ServerSession(2057154711)--/file:/home/data/opt/oracle/Middleware/Oracle_Home/soa/soa/modules/oracle.soa.fabric_11.1.1/tracking-fabric.jar_soa_local_resiliency_persistence_unit login successfulSOA Platform is running and accepting requests. Start up took 20395 msIntegratedWebLogicServer startup time: 134139 ms.[IntegratedWebLogicServer started.]And after waiting for 134 seconds i was able to login into http://localhost:7101/console





The Oracle Fusion Middleware Control 12c can be found at http://localhost:7101/em



The deployment of the BPEL is started via "Build->Deploy->"

 Then walk though the deployment wizard:
 Deployment wizard 2/5
 Deployment wizard 3/5
 Deployment wizard 4/5
 Deployment wizard 5/5

Jdevelopers log windows should show something like:
[09:15:48 PM] ----  Deployment started.  ----
[09:15:48 PM] Target platform is  (Weblogic 12.x).
[09:15:48 PM] Running dependency analysis...
[09:15:48 PM] Building...
[09:15:52 PM] Deploying profile...
[09:15:52 PM] Wrote Archive Module to /home/schroff/jdeveloper/mywork/101.SOA/BPELHelloWorld/deploy/sca_BPELHelloWorld.jar
[09:15:52 PM] Deploying sca_BPELHelloWorld.jar to partition "default" on server DefaultServer [http://zerberus.fritz.box:7101]
[09:15:52 PM] Processing sar=/home/schroff/jdeveloper/mywork/101.SOA/BPELHelloWorld/deploy/sca_BPELHelloWorld.jar
[09:15:52 PM] Adding sar file - /home/schroff/jdeveloper/mywork/101.SOA/BPELHelloWorld/deploy/sca_BPELHelloWorld.jar
[09:15:52 PM] Preparing to send HTTP request for deployment
[09:15:52 PM] Creating HTTP connection to host:zerberus.fritz.box, port:7101
[09:15:52 PM] Sending internal deployment descriptor
[09:15:52 PM] Sending archive - sca_BPELHelloWorld.jar
[09:15:54 PM] Received HTTP response from the server, response code=200
[09:15:54 PM] Successfully deployed archive sca_BPELHelloWorld.jar with 0 warning/severe messages to partition "default" on server DefaultServer [http://zerberus.fritz.box:7101]
[09:15:54 PM] Elapsed time for deployment:  7 seconds
[09:15:54 PM] ----  Deployment finished.  ----
Inside the Fusion Middleware Control EM (http://localhost:7101/em) you can find the BPEL here (you have to click on this grey folder icon):


 Then click on "Testen" (i guess "Test" in other localizations) and you will get this site, where you can add the input string:
And after running the test you will get:

The button "start flow trace" will take you to the audit trails:







Oracle SOA Suite developer IDE: Creating a BPEL process (101HelloWorld)

Sun, 2017-10-15 05:53
After downloading and installing jdeveloper SOA Suite edition here a short 101 for building a BPEL process. (Nearly 10 years ago i posted the lost collaxa tutorials: 101.HelloWorld. All of these tutorials can be found here.)

First you have to start your jdeveloper (Middleware/Oracle_Home/jdeveloper/jdev/bin/jdev) and choose "All Features":
Then create a new application:
and choose SOA application:
and walk through the application wizard:
application wizard 2/3
application wizard 3/3
application wizard 3.1/3 (create BPEL process)

and here we are:

a right click onto the blue BPELProcess1 icon and "edit" opens the BPEL process:


On the right hand to this process you can find the components palette:

Now drag and drop the assign icon between the receiveInput and replyOutput node:


A right click to the Assign node and choosing "edit" will open up this dialog:


You can do this mapping via drag and drop:


and finished!

A nice feature of jdeveloper is the "History" tab, where you can compare changes within the XML:


Next posting i will show, how you can run this BPEL process within the jdeveloper builtin weblogic server.

Debugging bash scripts on remote hosts using Eclipse

Sat, 2017-10-14 14:05
After installing the two plugins
it is very easy to debug scripts inside your workspace on your computer. But i was wondering, if this can work on a remote host, too.

So what has to be done?

Only these steps:
  • copy your shell scripts AND _DEBUG.sh onto your remote host
  • change the first line of _DEBUG.sh from
    exec 33<>/dev/tcp/localhost/33333
    to
    exec 33<>/dev/tcp/host_running_eclipse/33333
After that start the debugger in eclipse and then run the shell script on the remote host. Done.

If this does not work: Check for firewalls blocking port 33333

Oracle SOA Suite developer IDE: Jdeveloper 12c (download & installation)

Thu, 2017-10-12 15:40
After installing an Oracle 12c database onto an Oracle Linux i want to run Oracle's SOA Suite. But before the installation of SOA Suite 12c including the application server, i decided to download Jdeveloper to get a first impression of BPEL processes in version 12c (several years ago i did some projects with Oracel Fusion and Oracle SOA Suite 11g).

First try, to get Jdeveloper with SOA Suite extensions (skip these 4 steps - because this attempt misses the SOA Suite...):
  1. You have to download two files:
    -rw-rw-r-- 1   432104829 Okt  7 21:40 jdev_suite_122130_linux64-2.zip
    -rw-rw-r-- 1 2045438518 Okt  7 21:51 jdev_suite_122130_linux64.bin
  2. chmod u+x jdev_suite_122130_linux64.bin
  3. ./jdev_suite_122130_linux64.bin
  4. Start Jdeveloper:
    /home/data/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/bin/jdev




But after all this steps, still the SOA Suite is missing.
At the download site of Jdeveloper you will even not find a word about SOA Suite. Hmmm. Let's take a look at the SOA Suite webpages:

 "... it includes ... Oracle JDeveloper with SOA IDE extensions ...."

OK. Let's go:


  1. Download the SOA Suite quickstart zip files
  2. Extract them:
    schroff@zerberus:~/Downloads$ unzip fmw_12.2.1.0.0_soaqs_Disk1_1of2.zip
    Archive:  fmw_12.2.1.0.0_soaqs_Disk1_1of2.zip
      inflating: fmw_12.2.1.0.0_soa_quickstart.jar 
    schroff@zerberus:~/Downloads$ unzip fmw_12.2.1.0.0_soaqs_Disk1_2of2.zip
    Archive:  fmw_12.2.1.0.0_soaqs_Disk1_2of2.zip
      inflating: fmw_12.2.1.0.0_soa_quickstart2.jar  
  3. Start the installation:
    /home/data/opt/jdk1.8.0_131/bin/java -jar fmw_12.2.1.0.0_soa_quickstart.jar










  4. Start Jdeveloper:
    /home/data/opt/oracle/Middleware/Oracle_Home/jdeveloper/jdev/bin/jdev



That was not as easy as expected...

Oracle Linux: How to change from uek to Red Hat compatible kernel

Sat, 2017-10-07 09:26
After a standard installation of Oracle Linux the uek kernel is bootet by default (unbreakable enterprise kernel).
# uname -a
Linux localhost.localdomain 4.1.12-94.3.9.el7uek.x86_64 #2 SMP Fri Jul 14 20:09:40 PDT 2017 x86_64 x86_64 x86_64 GNU/LinuxThis behaviour can be changed with these commands:
First you have to get the linenumber of your new target kernel:
# grep ^menuentry /etc/grub2.cfg  | xargs printf '%s\n' |grep Oracle
Oracle Linux Server (4.1.12-94.3.9.el7uek.x86_64 with Unbreakable Enterprise Kernel) 7.4
Oracle Linux Server (3.10.0-693.el7.x86_64 with Linux) 7.4
Oracle Linux Server (0-rescue-2071bdecbf9a49e4b17d57fb4df518e8 with Linux) 7.4
In my case it is number 2: (3.10.0-....). But the numbering starts with 0. So i have to configure 1:
[root@localhost oracle]# grub2-set-default 1[root@localhost oracle]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.1.12-94.3.9.el7uek.x86_64
Found initrd image: /boot/initramfs-4.1.12-94.3.9.el7uek.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-693.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-2071bdecbf9a49e4b17d57fb4df518e8
Found initrd image: /boot/initramfs-0-rescue-2071bdecbf9a49e4b17d57fb4df518e8.img
done
And after a reboot you will get:
$ uname -a
Linux localhost.localdomain 3.10.0-693.el7.x86_64 #1 SMP Wed Aug 2 06:49:08 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux

JDK 9.0 released! (but java.net is gone)

Wed, 2017-10-04 14:26
Some week ago, i downloaded jdk 9 via java.net. But this page in not available anymore:
After some searching i found the download page for the jdk: http://jdk.java.net/9/  (so java.net is not really closed...). But it is easier to download them from the official Oracle website:
http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk


$java -version
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)The release note can be found here.

There you can find interesting things like:
The command line flags that were removed are:

  • -Xincgc
  • -XX:+CMSIncrementalMode
  • -XX:+UseCMSCompactAtFullCollection
  • -XX:+CMSFullGCsBeforeCompaction
  • -XX:+UseCMSCollectionPassing
or
JEP 291: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector
Deprecates the Concurrent Mark Sweep (CMS) garbage collector. A warning message is issued when it is requested on the command line, using the -XX:+UseConcMarkSweepGC option. The Garbage-First (G1) garbage collector is intended to be a replacement for most uses of CMS. My favourite is:
JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)
Adds Read-Eval-Print Loop (REPL) functionality to the Java platform.
The jshell tool provides an interactive command-line interface for evaluating declarations, statements, and expressions of the Java programming language. It facilitates prototyping and exploration of coding options with immediate results and feedback. The immediate feedback combined with the ability to start with expressions is useful for education—whether learning the Java language or just learning a new API or language feature.(See my posting jshell and swing, jshell and scripts and jshell built-in commands

Oracle 18c: self-driving, self-scaling, self-repairing AND documentation-free (?)

Tue, 2017-10-03 04:24
Yesterday Larry Ellison announced Oracle 18c:
After 12c now 18c?
Why 18 and not another number greater 12?
Inside a whitepaper released with the announcment the version 18c is not named at all.

The whitepaper just contains some high level information about the autonomous database:

and some licensing information:
But no real information about this new database 18c.
If this new database works like promised:
Fully automated patching, upgrades, backups, and availability architecture perform all routine database maintenance tasks—without the need for human intervention.then there is no need for documentation at all...

Pages