Infrastructure at your Service

Java Archives - Blog dbi services

Clemens Bleile

Connect-times to the DB suddenly become very slow using sqlcl

By | Database Administration & Monitoring, Database management, Development & Performance, Oracle | 2 Comments

I recently wrote a couple of sql-scripts which had to run on all of my customer’s DBs. The sql-scripts had to be started from a Linux-client, which does not have any Oracle client software installed. So I thought of using sqlcl (see http://www.oracle.com/technetwork/developer-tools/sqlcl/downloads/index.html), because there is no need to “install” something then. All I needed was an installed JRE on the Linux-machine. Fortunately that was available. So I downloaded the newest version of sqlcl and…

Read More
Stephane Biehler

Documentum xPlore: Several ways to start an Index Agent

By | Application integration & Middleware | 4 Comments

In order to start index agents, you have several ways, depending on how you need to start them. 1. Use the documentum job dm_FTIndexAgentBoot. If you setup start_index_agents=T in the server.ini, the job will be called when the docbases are started. 2. Use the web interface: Login to http://server:9200/IndexAgent/ with docbase credentials and select “Start in normal mode” 3. Login to DA and go to Indexing Management -> Index Agents and Index Servers Right click…

Read More
Morgan Patou

Documentum – Unable to configure IDS 7.3 for a docbase

By | Application integration & Middleware, Entreprise content management | No Comments

In this blog, I will talk about an issue with the IDS 7.3 which is installed on a Content Server 7.3. The IDS is the Interactive Delivery Services. It is a product provided by OpenText that needs to be installed on a Content Server (for the “Source” part) and on a Target Server (for the “Target” part). The IDS can be used to publish content from a Documentum repository to a target machine for use…

Read More
Middleware Team

Documentum story – Add the Java urandom inside the wlst.sh script to improve the performance of all WLST sessions

By | Entreprise content management | No Comments

WebLogicServer takes a long time (e.g. over 15 minutes) to startup. Can the performance be improved? Using /dev/urandom option in the Weblogic Java Virtual Machine parameters from startup script, can be the solution. In fact, /dev/random is a blocking device and during times of low entropy (when there is not enough random bits left in it), /dev/random will block any processes reading from it (and hence hang) until more random bits have been generated. So,…

Read More
Stephane Biehler

Java: Cannot delete file?

By | Application integration & Middleware, Development & Performance | One Comment

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
Oracle Team

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
Oracle Team

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