Infrastructure at your Service

All Posts By

Cesare Cervini

Cesare Cervini

Connecting to Repositories with the Same Name and/or ID

By | Enterprise content management | No Comments

A rare but recurrent issue that customers sometimes encounter is to how to connect to each one of distinct repositories with the same name or same docbase id, or even both if one repository is a clone of the other one. The present connection resolution technique based on the dfc.properties file does not support this and only lets one connect to the first matching repository found. Well knowing this limitation, why were they created with…

Read More
Cesare Cervini

Customizing Oracle WebLogic wlst

By | Application integration & Middleware | No Comments

As stated in Oracle’s documentation, the WebLogic Scripting Tool, or wlst for short, can be extended by adding functions in 2 non mutually exclusive places: any file located in $WL_HOME/common/wlst any file located in $WL_HOME/common/wlst/lib/ Files must have the .py extension and will be automatically loaded by wlst when it starts. In the first alternative, the script files will be included in the current wlst session’s namespace and can directly be invoked by their name….

Read More
Cesare Cervini

HtmlAdaptorServer, A JMX Agent with HTML Presentation for WebLogic

By | Application integration & Middleware | No Comments

In this article, I presented a little utility based on the SimpleHTTPServer jython module to visualize into an HTML page a WebLogic server’s configuration and run-time mbeans. I also mentioned that there are lots other tools out there for this purpose, albeit more aimed at run-time monitoring rather than viewing the configuration mbeans. Here, I’d like show another such tool, actually a java package to install in the target JVM. As such, it is a…

Read More
Cesare Cervini

The new WebLogic remote-console

By | Application integration & Middleware | No Comments

An interesting new project that started a few months ago is the WebLogic Remote Console. Its main advantage is that it allows to edit a domain’s configuration with no need for a running console application as it connects directly to the remote administration server. The console application does actually not need to be deployed any more, not even on demand, though it costs nothing to left it so configured. It exists in 2 flavors: a…

Read More
Cesare Cervini

dctmping, A Documentum Repository Checker Utility

By | Enterprise content management | No Comments

When working with containers, the usual trend is to make them as compact as possible by removing any file or executable that is not used by what is deployed in it. Typically, interactive commands are good candidates not to be installed. Sometimes, this trend is so extreme that even simple utilities such as ping or even the less pager are missing from the containers. This is generally fine once a container reaches the production stage…

Read More
Cesare Cervini

A web-based MBean Navigator for Oracle WebLogic wlst

By | Application integration & Middleware | No Comments

Back in the days of WebLogic v8.x, when BEA still owned it and wlst wasn’t the official scripting tool yet, the unofficial wlshell and wlshell Explorer tools were available along with the official command-line tool weblogic.Admin. wlshell was a Windows utility and offered a GUI interface to browse the MBeans similar to the Windows Explorer. Later, wlshell was advantageously superseded by wlst, but its companion command wlshell Explorer just disappeared since 2014 and is nowhere…

Read More
Cesare Cervini

DctmAPI.py revisited

By | Enterprise content management | No Comments

2 years ago, I proposed a ctypes-based Documentum extension for python, DctmAPI.py. While it did the job, it was quite basic. For example, its select2dict() function, as inferred from its name, returned the documents from a dql query into a list of dictionaries, one per document, all in memory. While this is OK for testing and demonstration purpose, it can potentially put some stress on the available memory; besides, do we really need to hold…

Read More
Cesare Cervini

A Simple Repository Browser Utility

By | Enterprise content management | No Comments

A few weeks ago, as the final steps of a cloning procedure, I wanted to check if the cloned repository was OK. One of the tests was to peek and poke around in the repository and try to access its content. This is typically the kind of task for which you’d use a GUI-based program because it is much quicker and easier this way rather than by sending manually typed commands to the server from…

Read More
Cesare Cervini

Enhancing idql/iapi with rlwrap (part II)

By | Enterprise content management | No Comments

This is Part II of a tour of rlwrap for idql/iapi. For Part I, please follow the link here. Enhanced output visualization This is one rlwrap’s most fantastic enhancement. It is not that different from what I suggested here only much smoother. idql does not provide any flexible formatting and lines longer than the screen width get wrapped around, which results in hard to read output. rlwrap’s pipeto filter lets redirect this output to another…

Read More
Cesare Cervini

Enhancing idql/iapi with rlwrap (part I)

By | Enterprise content management | No Comments

The rant I have a confession to make: I’m obsessed with idql/iapi. These tools so central to Documentum administrative tasks are so lame for interactive work that they have probably disgusted more than their share of administrators. The problem is that I have to use them almost daily, and everyday I grumble: there must be a better way. Sure, there were third-party utilities such as Samson and Repoint in the past, and now dqman and…

Read More