Infrastructure at your Service

Tag

Java Archives - Page 2 of 3 - Blog dbi services

Stephane Biehler

Java: Cannot delete file?

By | Application integration & Middleware, Development & Performance | 5 Comments

You may once went into the struggle to delete a file in java? So do I… I went so mad when I figured out that my files were still present even after a file.delete() or file.deleteOnExit(). It always returned False. So what’s the reason for it not to be deleted? In fact it’s logical… When dealing with files you are probably writing into it. So you open a stream to the file like FileWriter or…

Read More
Franck Pachot

Trying AppDynamix – monitoring application from user to database

By | Development & Performance, Oracle | No Comments

By Franck Pachot . I like to come upon new monitoring software that help to go quickly from user response time to root cause. And I love applications that can be installed easily and at which I can give a try without reading pages of manual. At DOAG 3rd floor I’ve visited the AppDynamics booth and immediately wanted to install the trial version and give it a try.

Read More
Middleware Team

Software architecture vs code representation

By | Development & Performance | No Comments

Tuesday the 10th of November I attended a public lecture at Swiss Java User Group in Zürich. Topic of the pretension was to describe and address challenges any project manager can encounter, when reflexion switches from perspective of software architecture to real coding implementation. Presentation was essentially based on Java language, but in fact applicable to any other language. So first, presenter shared project experiences he has got with some customers, and pointed weaknesses of…

Read More
Franck Pachot

How to set NLS for SQL Developer

By | Database management, Oracle | No Comments

By Franck Pachot . I’m using Oracle SQL Developer 4.1 Early Adopter for a while and I like it. That version comes with a command line (in beta) which goal is to be fully compatible with sqlplus but running in java, and having a lot more features. Becuse it’s connecting with thin java driver by default, it doesn’t use NLS_LANG. It’s java. It’s unicode. So here is how to set the language and characterset with…

Read More
Morgan Patou

Exception from executeScript in Alfresco Share

By | Application integration & Middleware | No Comments

I didn’t have the opportunity to post a new entry about Alfresco in this blog for a long time now, so I will fix this! In this blog entry, I will talk about a bug I encountered a few months ago. I resolved it but I, so far, not had the time to share my knowledge with you. I. Description of the issue This bug appears no matter what the version of Alfresco is used,…

Read More
Middleware Team

Java get Class names from package String in classpath

By | Application integration & Middleware | 2 Comments

As a Java developer you probably used to know about reflexion. However, in order to keep your software architecture flexible, some functionalities are sometimes not provided out of the box by the JVM. In my particular case, I needed to find out every Class and Sub-Classes inside a package, thus reparteed within several Jars. Internet has lots of solution, but it remains complicated for everybody to reach this goal. After googleing, I found a link…

Read More
Franck Pachot

Oracle EM agent 12c thread leak on RAC

By | Database management, Oracle | 4 Comments

By Franck Pachot . In a previous post about nproc limit, I wrote that I had to investigate the nproc limit with the number of threads because my Oracle 12c EM agent was having thousands of threads. This post is a short feedback about this issue and the way I have found the root cause. It concerns the enterprise manager agent 12c on Grid Infrasctructure >= 11.2.0.2 NLWP The issue was: ps -o nlwp,pid,lwp,args -u…

Read More
Stephane Biehler

Java Mission Control 5.2 (7u40) deserves your attention

By | Application integration & Middleware | No Comments

Recently, some new versions of java were made available. Most people think Java updates are boring and only security-oriented. But one of the last updates (7u40) includes a feature which deserves attention. I mean Java Mission Control 5.2. Hotspot incoming If you know the Oracle JRockit JVM a little bit, you might have heard about JMC, which was called JRockit Mission Control in the past. In fact, it’s a tool suite embedded with the Hotspot…

Read More
Stephane Biehler

Understanding JVM Java memory leaks

By | Application integration & Middleware | No Comments

Lots of people think that Java is free of memory management as the JVM uses a Garbage Collector. The goal of this collector is to free objects that are no longer used in the program without the developer being forced to declare that the object can be collected. Everything is automatic. It’s really helpful and it avoids wasting time in managing memory. But, as it is an automatic process, it can produce some issues. They…

Read More
Stephane Biehler

Oracle Java EE 7 – an overview

By | Application integration & Middleware | No Comments

After announcing the availability of Oracle Java Enterprise Edition 7 (Java EE 7 or JEE7), Oracle organized a web event for the launch, covering topics such as the new features and the java community as well as showing some examples of the new APIs. This blog post summarizes some key points of this event. The show was driven by the following Oracle presenters: Hasan Rizvi, Executive Vice President, Oracle Fusion Middleware and Java, Oracle Cameron…

Read More