Finding the startup parameters used by your Windows Service

When you install one of the Tridion micro-services as a Windows service, you can specify a number of startup parameters. These may include settings such as the database host, database login, the port to use, etc.

These settings will be remembered and used every time the Windows service starts.

But what if you want to see which settings were used, later on?
For that, you will have to look in the Windows registry. The following location is an example using the Discovery service:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\SDLWebDiscoveryService\Parameters

You’ll notice a number of sub-keys: Java, Log, Start, and Stop. The most interesting information is in the Java and Start keys.

The Java key contains the classpath to use (yes, set at the time of installation), the JVM options, and most of the parameters specified for the service (in the Options value).

Java key

Registry key containing most of the startup options

The Start key contains the working directory and the parameters directly related to the hosting of the service (e.g. port to use and whether or not it should register its capabilities with the Discovery service automatically).

Start key

Registry key containing the hosting options


If you just need to tweak one of the values, you can edit these registry keys and restart the service. If you require a large amount of changes, I recommend simply uninstalling the service and re-installing it with the new parameters.

Asynchronous Events – Fire and Forget

FireRocketIn I described the overall event system, listing many of the options available, but not describing them in detail. One of these options requires further examination: Asynchronous Events.

Asynchronous Events happen outside of the regular process of the code that is running. They may run now, or they may run later. You can think of Asynchronous Events as “Fire And Forget” rockets. Sometimes that’s exactly what you need, and sometimes that’s exactly the wrong thing. Let’s look at some scenarios for both.

Continue reading

Mass publish content as individual publishing jobs

publish_wordWhen mass publishing content from Tridion, the publish job is handled as a single transaction.  Using the Alchemy Page Publisher plugin it’s possible to perform this task but create single items for publishing.

After the jump I’ve created a short video to demonstrate this functionality.

Continue reading

Dynamically Generate SDL Tridion Documentation

Document CreatorWe’ve been quietly releasing some new plugins over at the Alchemy Webstore.  As part of those releases I’ve made some quick demonstration videos as it’s far nicer to watch a video showing how to use a plugin than reading the description :)

To crack things off, after the jump we have the first in the series dedicated to generating Tridion documentation automatically.

Continue reading

Event System and Publishing – a look at performance tests

tortoise-and-the-hareOne of our clients uses Tridion 2013 SP1, and has strict audit requirements for their publishing. We need to know what is on the site at any particular point in time. The auditors might ask, for example, what the user saw if they viewed the site two weeks ago last Tuesday at 3am.

We have to track what gets published, and make sure that we have no significant performance degradation while we’re doing that. Publishing for our releases already take several hours, and we can’t extend that by any significant amount of time.

These tests let us look at different options for this timing. Once the tests have been run, we will then have a better idea of which one to implement.

Continue reading

Extending the SDL Knowledge Center GUI

Many of us are familiar with GUI extensions in SDL Web, as well as Alchemy plugins, which integrate into the GUI via the Aguilla JavaScript framework. With SDL Knowledge Center, the story is a bit different. At first glance, Knowledge Center appears to have a GUI very similar to Web’s, in terms of look and feel. Under the hood, however, it’s implemented differently. There is no Anguilla. Anguilla is more of a Tridion thing. And from my experience, the concept of a GUI extension does not really exist in KC. There is documentation on plugins and extensions. But there is no clear, simple approach to extending the GUI, as far as I can tell. In this post, I outline a simple technique for extending the GUI functionality of your Knowledge Center implementation.

Continue reading

Finding duplicate binaries in your SDL Tridion Publication

duplicate filesThere’s been quite a lot written about Duplicate Binary Issues in SDL Tridion.  A couple of years ago I released a PowerTool to solve this issue.    Knowing it can still be troublesome for some SDL Tridion users, I decided to give it a little rewrite and release it as an alchemy plugin.

Continue reading