Maven support in WebLogic & JDeveloper 12.1.2

The following post by   details how to get the Maven Sync plugin by Oracle to push the Weblogic artifacts to Artifactory.

I used the procedure to upload the artifacts to Sonatype Nexus.

JSF Performance: Mojarra improves dramatically with latest release

Füge hier deine Gedanken hinzu… (optional)

Windows 7 sometimes breaks FTP connections on Java 7 if firewall is enabled

netsh advfirewall set global StatefulFTP

This was helpful comment when I installed the latest IntelliJ JetBrains 12.1. The link to the issue is

Visualize data and execution

The blog post has an amazing introduction on how a learning environment can show a budding developer the state and execution of a piece of code.

Impedance mismatch….

Notes on InfoQ presentation by Stuart Halloway on the Impedance Mismatch.

The impedance mismatch between the OOP and DATABASE design philosophies have bitten every project in the butt at some point in time and I liked the reference to Ted Neward’s quote that ORM is all rosy in the beginning but sooner or later depending on the complexity of the problem being solved there is something that ORM can not do or imposes a solution that is sub-standard / hurt performance or is costly.

Now we all cannot afford the new 1/8th Oracle Exalogic X3-2 at a mere $200,000.00 a pop to make the application perform correctly and so it comes down to the designs / frameworks that we choose. By the way the X3-2 looks like an awesome piece of equipment that when you look at the numbers presented at Oracle OpenWorld makes you mouth drool for the budget just to spend a couple of hours to see what this baby is capable of. 

Reference is also made in the presentation to Martin Fowler’s quip that the only time that you can dump on ORM is if you have an alternative to present which Stuart Halloway does in convincing style by introducing the Datomic by performing requirements analysis on what the ideal solution would like. The challenge was then laid down to perform the requirements analysis `at home` to determine if other solutions and/or criteria could be exposed.

I think this is a worthy challenge and to try it out I am going to take my concept application Sonicboom which I was going to change to use MarkLogic instead change it to use Datomic to determine the value of the technique. 

Website updated

The website over at has been updated with a new look and feel.

SQL Server JDBC Driver 3.0 returns incorrect data when using DATE, DATETIME2 or DATETIMEOFFSET


Consider the following scenario:

  • You have a Java application that uses Microsoft SQL Server JDBC Driver version 3.0 and Java Runtime Environment version 1.7 (JRE 1.7) to connect to a SQL Server database.
    The application uses any of the following functions to obtain a date from the database:

    • getDate()
    • getTimeStamp()
    • getDateTimeOffset()
  • The data type in the SQL Server database is DATE, DATETIME2, or DATETIMEOFFSET.
    In this scenario, the function returns an incorrect date value.


  • This issue occurs only when the date value that is returned by the function is more recent than the year 1582 in the Gregorian calendar.
  • This issue does not occur if the application uses one of the following combinations of components:
    • Microsoft SQL Server JDBC Driver version 3.0 and JRE 1.5 or JRE 1.6
    • Microsoft SQL Server JDBC Driver version 2.0 and JRE 1.7

The hotfix and article can be found at

Duinsoft makes installing Oracle Java 7 easy on Linux Mint 13

I needed Oracle’s version of Java 7 so that I can develop with the JetBrains WebStorm IDE on my Mint Linux 13 box, and I found that the folks over at Duinsoft have made it real easy to do this.

The basic steps are:-

  • put the line
    deb debs all
    in the file /etc/apt/sources.list, either using Software Sources from your System Menu or by editing the file in an editor (as root)
    put this line in a file named (e.g.) duinsoft.list in the directory /etc/apt/sources.list.d
  • import the gpg key with the command (all on one line)
    sudo apt-key adv –keyserver –recv-keys 5CB26B26
  • enter the commands (two lines)
    sudo apt-get update
    sudo apt-get install update-sun-jre
    or use Synaptic to install the package
  • installation of the Runtime Environment will follow automatically

The page at Duinsoft details how to more control of the installation process.

Installing Apache Karaf features behind a firewall

Apache Karaf can either use :-

  • the proxy settings in the Maven settings.xml in the specific user’s .m2 directory running the Karaf instance
  • the proxy settings in the global settings.xml in the conf directory of the Maven installation
  • the mvn repository can be changed within Karaf to include a local Maven repository like Sonatype Nexus

To use the settings.xml file, specify the following in the file in the global conf directory or in the user’s .m2 directory.

<host>hostname or ip</host>

The approach that I prefer is to add the Sonatype Nexus public url to the list of repositories that Apache Karaf should use when resolving features. This allows all the developers in a team to utilize the same shared resource for resolving artifacts. Open the ${karaf install folder}\etc\org.ops4j.pax.url.mvn.cfg file and add the url to the org.ops4j.pax.url.mvn.repositories config item.

org.ops4j.pax.url.mvn.repositories= \
http://localhost:9091/nexus/content/groups/public, \, \, \, \
file:${karaf.home}/${karaf.default.repository}@id=systemrepo, \

YouTube Downloader commands

Download a video

Continue a previously cancelled download
youtube-dl -c

Request the file formats of the video
youtube-dl -F

Download the video in specified format
youtube-dl -f

Batch download
youtube-dl -a filename.txt

Batch download and use title in filename
youtube-dl -at filename.txt

Extract audio
youtube-dl –extract-audio
youtube-dl –audio-format mp3
youtube-dl –audio-quality 256k

Extract audio and keep the video
youtube-dl –audio-format mp3 –audio-quality 176 -k

Java Magic

Blog about Tapestry5, Plastic and related technologies

Steps & Leaps

Thoughts and Comments on (Mainly) Creativity, Innovation and Management

Facilitating Agility

Scrum and Agile Facilitation

Jan's Blog

Development and technology stuff I haven't easily found


A Software Testing Blog by Alister Scott

Dan Haywood

domain driven design, restful objects, apache isis, the naked objects pattern, agile and more

Marko A. Rodriguez

Supporting the Graph Landscape

A developer's journal

On Oracle, JEE, SOA and whatmore


Musings on Integration with Oracle Fusion Middleware


Oracle Stack Support (One Window Support)

Struberg's Blog

Yet another blog site?

Exit Condition

Andrew Lee Rubinger

Antonio's Blog

A blog mainly about Java

Sematext Blog

Monitoring, Log Management, Search, Big Data Analytics News

The latest news on and the WordPress community.


Get every new post delivered to your Inbox.