Log file viewer for Workbench

LCLiveCycle Workbench includes a Server Log Viewer by default but sometimes you want to view multiple log files and have syntax highlighting to help you debug your applications while you work on your LiveCycle application. I also found the built-in viewer extremely limited and it didn’t always tail the server.log file properly and also required you to be logged into LiveCycle to use it!

Eclipse Labs logviewer

For both Eclipse and Workbench I use the logviewer Eclipse plugin to look at any log files I am generating during development. It’s simple, very configurable, has syntax highlighting and allows you to open multiple files at once.

http://logviewer.eclipselabs.org.codespot.com/git/de.anbos.eclipse.logviewer.update/

Wizard Install

Installation is simple since Adobe left in the Eclipse Software Updates feature:

1. Open Help > Software Updates > Find and Install…

Find and Install...

Find and Install…

2. Select Search for new features to install then Next >

Search for new features to install

Search for new features to install

3. Click New Remote Site… and copy the Update Site URL from the logviewer page and click OK

New Update Site

New Update Site

Install

Install

4. Click Finish then Select logviewer feature checkbox and then click Next >

Select logviewer feature

Select logviewer feature

5. Select I accept the terms in the license agreement and Next >, Finish then Install All

Feature License

Feature License

Installation

Installation

Feature Verification

Feature Verification

6. Click Yes  to Restart Workbench

Restart Workbench

Restart Workbench

7. Once Workbench has restarted, click Window > Show View > Other…

Show View

Show View

8. Select Log Viewer plugin from within its folder and click OK

Log Viewer Plugin

Log Viewer Plugin

9. Enjoy a decent log viewer / file tailer with plenty of features!

Bonus: you don’t even need to be logged into LiveCycle to use it…

Log Viewer action shot

Log Viewer action shot

Manual Install

If the install above is all too hard or you are a manual-eclipse-plugin-installer-kinda-developer, then:

1. Copy the latest Jar from here: http://logviewer.eclipselabs.org.codespot.com/git/de.anbos.eclipse.logviewer.update/plugins/

2. Bung it in the Workbench plugins folder (probably something like C:\Program Files (x86)\Adobe LiveCycle Workbench ES4\workbench\plugins)

3. Start Workbench and tail away…

Enable JDBC testing

JDBCOne useful feature of Workbench is the ability to test your SQL statements directly from the JDBC activity editors.  However, since ADEP / ES3, this feature was turned off by default in Livecycle. Fortunately, it’s very easy to re-enable this feature.

 

Disabled by default

Disabled Test Feature

Disabled Test Feature


 

Steps to enable

1. Open AdminUI and browse to Home > Services > Applications and Services > Service Management and filter services by typing jdbc into the name field

Service Management

Service Management

2. Click the JdbcService 1:0 link

3. Check the Enable Testing checkbox and click Save

Enable JDBC Testing

Enable JDBC Testing

4. Go back into Workbench and the Test button should now be enabled

Enabled JDBC Testing

Enabled JDBC Testing

aemblog

Everything AEM aka CQ5 based on my experience listed here.

Adobe AEM The Right Way

Best practices, tips, and tricks for your Adobe AEM project

/home/bkondepudi

A WCM journey with Day/Adobe CQ

Technoracle (a.k.a. "Duane's World")

A multi-purpose toolkit for the Adobe LiveCycle and AEM Forms developer.

Adobe LiveCycle Blog

A multi-purpose toolkit for the Adobe LiveCycle and AEM Forms developer.

A multi-purpose toolkit for the Adobe LiveCycle and AEM Forms developer.

XFA@Mobile

A multi-purpose toolkit for the Adobe LiveCycle and AEM Forms developer.

Code Monkey

Ramblings of a Developer