Google+ Followers

Sep 25, 2015

Oracle ORA-28000 Account is locked

Hi All,

This was the solution for me

su - oracle

sqlplus "/ as sysdba"

sql> alter user system account unlock;

--> System was my locked user, in your case replace system with you locked account user name. 

Hope it helped,


Sep 22, 2015

Fedora 22 VirtualBox


I have installed the latest fedora 22 and from some reason VirtualBox gave me tons of errors.

Looked all over the place and didn't find any good solution till now. So i wanted to share this with you to save you time, hopefully that you are seeing before all the searches i already did.

This is the required things to do:
This was my error

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.1.6-201.fc22.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.

 First , try to run this, with or without sudo
"/etc/init.d/vboxdrv setup"

if it went ok -> you are all good, probably virtualbox will run ok for you, for me it didn't helped.

If it didn't went ok, go over here :
I got this error
Stopping VirtualBox kernel modules                         [  OK  ]
Recompiling VirtualBox kernel modules/etc/init.d/vboxdrv: line 335: /var/log/vbox-install.log: Permission denied
  (Look at /var/log/vbox-install.log to find out what went wrong)

So i did as they say : "cat /var/log/vbox-install.log"
And got this:
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

So i did the following:
"sudo usermod -a -G vboxusers username" (you will replace username with your name of the user)
"su -"
" KERN_DIR=/usr/src/kernels/username" (replace username with your name of the user)
"export KERN_DIR"
"dnf install open-vm-tools"
"dnf -y install kernel-devel kernel-headers"
"sudo /etc/init.d/vboxdrv setup" -> this should be running ok now
You should receive something like me
Stopping VirtualBox kernel modules                         [  OK  ]
Recompiling VirtualBox kernel modules                      [  OK  ]
Starting VirtualBox kernel modules                         [  OK  ]

Good luck and hopefully that i helped a bit,


Feb 16, 2015

The BPEL process deployment session is already active.

Hi All,

Happens with Oracle Service Bus and Eclipse.

I have found, that stopping coherence and osb and then starting coherence and starting osb solved for me the issue.

Hoped it helped,

Oct 23, 2014

Infinispan listener event owner

It took me a while to find this, it exists from version 5.3 of infinispan.

I have a cluster and i want that only the instance which got that event and insert it into the cache will handle - in my case, save it to the db. Other replicated instances caches listeners won't work because in this particular event they aren't the owners .

You just need to annotate this above your listener : @Listener(primaryOnly = true)

See this for further information

Sep 18, 2014

org.hsqldb.HsqlException: data exception: string data, right truncation; table


I had this exception while testing (junit) my code.

It seems that when you use  Lob annotation and use HsqlDB, the default column size is probably less than the actual size you are trying to insert. In my case i annotated String with Lob (hibernate knows it should be clob) while my string length was huge -> got this exception.

To fix this, add hibernate column annotation with column length bigger like 15000 , this will solve it  (for example of course).

Hoped it helped,


Aug 27, 2014

Exec Maven Plugin vm arguments

i configured mine to be used by using dedicated specific profile, here is the part from my pom.

                            <!-- below are the command line parameters separated -->
                            <!-- for example -Dcom.blabla=1  put it under system properties with key and value -->

hope it helps.

Aug 18, 2014

fedora 19 alacarte doesn't add icons to new applications

After wondering for a while,

I have found that you need to go to ~/.local/share/applications
edit each alacarte desktop file and fill manually the icon location and extension. 
Worked for me.