Jdeveloper 12c and especially version 12.1.3 is crashing when used with unity on Ubuntu 15.04. The problem is JAyatana a package for integrate swing applications with unity that is installed by default in 15.04.
Saturday, May 23, 2015
Friday, May 8, 2015
Btrfs disable copy on write (cow) for virtual machine disks
In files like vmware virtual disks (vmdk files) is common to disable copy on write (cow) on btrfs filesystems to avoid system slow response due to heavy I/O on disks.
You can verify if a file have disabled the copy on write using lsattr command. If you see a C on the file attributes the copy on write is disabled.
You can verify if a file have disabled the copy on write using lsattr command. If you see a C on the file attributes the copy on write is disabled.
Monday, April 6, 2015
StopWatch with annotations to Profile methods using Spring Aspect Oriented Programming (AOP)
The following example is a way to measure the execution time for methods using Spring Aspect Oriented Programming (AOP).
First we need to create a new annotation:
First we need to create a new annotation:
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Inherited
@Documented
public @interface ProfileExecution
{
}
Friday, October 24, 2014
Linux convert ext4 to btrfs
Btrfs filesystem tool btrfs-convert can be used for convert ext2/ext3/ext4 to btrfs. Because of the copy on write algorithms of Btrfs it is posible to rollback the conversion even after you start using the converted file system.
The following is sample commands and output from an ext4 conversion to Btrfs in openSUSE 13.1. openSUSE will have Btrfs as the default filesystem from 13.2 which is going to be released next month. Go to openSUSE website for more information:
The following is sample commands and output from an ext4 conversion to Btrfs in openSUSE 13.1. openSUSE will have Btrfs as the default filesystem from 13.2 which is going to be released next month. Go to openSUSE website for more information:
chris-linux:/home/chris # btrfs-convert /dev/sdb2 /dev/sdb2 is mounted chris-linux:/home/chris # umount /dev/sdb2 chris-linux:/home/chris # btrfs-convert /dev/sdb2 creating btrfs metadata. creating ext2fs image file. cleaning up system chunk. conversion complete.
Monday, October 14, 2013
Enable jpa 2.0 support on weblogic 10.3.6
Weblogic 10.3.6 has the jars for support jpa 2.0 installed but not enabled. To enable jpa 2.0 support add in the commEnv.cmd (windows) or commEnv.sh (linux) the following:
Saturday, September 21, 2013
Unable to start weblogic with nodemanager (state force shutting down)
I had a managed weblogic server 12c with state force shutting down. The server was shutdown but for some reason the state was still force shutting down. It was possible to start/stop the server using start-up scripts but not with node manager. Admin console says that server is in incompatible state when try to start it.
Thursday, May 23, 2013
BI Publisher HTML to PDF from ADF Rich Text Editor (RTE) line breaks and paragraphs
I’m using ADF rich text editor that saves formatted HTML in
a database field (CLOB). Then using BI Publisher for generate a report with RTF
template that includes that formatted text. The result gives me a bad formatting for line
breaks (<br/> tags) and paragraph (<p> tags) for PDF report format.
My field data is as follows: <p>...<br/>...<br/>...</p>
Labels:
adf rte,
bi publisher,
br,
format,
line break,
p,
paragraph,
pdf,
rtf template
Subscribe to:
Posts (Atom)