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

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
(more...)

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

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. (more...)

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

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. (more...)

Debugging bash scripts on remote hosts using Eclipse

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 (more...)

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

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 - (more...)

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

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/Linux
This 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
(more...)

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

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 (more...)

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

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 (more...)

Oracle DB 12.2 on Oracle Linux: Preinstallation tasks and Installation

If your decision was to use Oracle Linux as OS for your Oracle DB the preinstallation tasks are quite easy (an installation of Oracle Linux inside virtualbox is shown in this postings: virtualbox settings, linux installation, guest additions):

Just install the package oracle-database-server-12cR2-preinstall:
[root@localhost database]# yum install oracle-database-server-12cR2-preinstall
Geladene Plugins: ulninfo
Abhängigkeiten werden aufgelöst
--> Transaktionsprüfung wird ausgeführt
---> Paket oracle-database-server-12cR2-preinstall.x86_64 0:1.0-3.el7 markiert, um installiert zu werden
--> Abhängigkeit (more...)

Virtualbox: How to use shared folders (aka gemeinsame Ordner)

If you want to use a directory inside a virtualbox vm without copying all files, you can use the shared folders.
Just choose a folder to share:

Then inside the vm type:
[root@localhost oracle]# mount -t vboxsf 12c /mnt
and that's it:
[root@localhost oracle]# df -h |grep 12c
12c                  180G    129G   52G   72% /mnt
or
[root@localhost oracle]# mount | grep 12c
12c on /mnt type vboxsf (rw,nodev,relatime)

When you are done just unmount the folder with
umount /mnt

Running Oracle Linux inside VirtualBox: Installation Virtualbox guest additions

First you have to insert the Virtualbox Guest Additions iso-image:
You can check this here:
 If this does not work, just add the iso into the IDE controller of virtualbox:

 As root you have to mount the image:


Before you can run the installer you have to get the following packages:

yum list kernel*
Take the one with "devel" which version matches:
uname -a
Linux localhost.localdomain 4.1.12-94.3.9.el7uek.x86_64 (more...)

Running Oracle Linux inside VirtualBox: Installation

After configuring the HDD, RAM, network, etc on VirtualBox (take a look here), i started the VM:

 
 Choose "Install Oracle Linux7.4":

Language settings:
 Overview (partitioning and network missing):
 Network interface:
 Partitioning:
 Start package installation:
 Configure passwords / users:
 
 Waiting for reboot:
(Installation of the virtualbox guest additions can be found here)
(Preconfiguration steps for virtualbox can be found here)

Running Oracle Linux inside Virtualbox: Preconfiguration of the virtualization engine

This is a walkthrough the VirtualBox GUI settings to install Oracle Linux. First you have to name your VM and choose Oracle Linux 64 bit:
RAM:
HDD:
HDD type:
HDD dynamic/static:
HDD size:
After these steps you have to mount the iso image:

And you should configure a network adapter. I chose the WLAN interface of my laptop:

I will post the walkthrough the installation process soon.
(Installation of the virtualbox guest additions can be found here)

AVM Fritz: WLAN Mesh with Powerline Repeater does not work

Today i upgraded my FritzBox to FritzOS 6.90:

After the upgrade of the FritzBox i tried to upgrade my Powerline Adapter. But the 6.90 was not shown with inside the update mechanism via GUI.
(Be careful: you have to update your FritzBox first:
https://avm.de/nc/service/downloads/download/show/18332/:
ACHTUNG: Bitte nur installieren, wenn Sie eine FRITZ!Box mit FRITZ!OS >= 6.88 verwenden!
)

So i downloaded the firmare image via this link (more...)

Ubuntu /etc/alternatives/java et.al.: Using java from external sources | update-alternatives | update-java-alternatives

After some problems with the jdk integrated in ubuntu 16.04 i installed the OpenJDK from http://jdk.java.net/9/.

The software is provided as tarball (tar.gz) and after
tar -xvf ~/Downloads/jdk-9+178_linux-x64_bin.tar.gz
the binaries can be used with
jdk-9/bin/java
...
But there are many links in /etc/alternatives still pointing to the ubuntu jdk:
lrwxrwxrwx 1 root root  41 Jul 11 21:02 /etc/alternatives/jar -> /usr/lib/jvm/java-9-openjdk-amd64/bin/jar
lrwxrwxrwx 1 root root  51 Jul 11 21:02 /etc/alternatives/jar.1. (more...)