Blog

DevonThink 3 Evaluierung

1 DevonThink unterstützt Wiederverwendbarkeit

„Wir ertrinken in Informationen und hungern nach Wissen.“ Mit diesem Zitat von John Naisbitt beginnt Michael Malzahn sein „DevonThink 3 Arbeitsbuch“. Die digitale Datenflut stürzt aus vielfältigen Quellen auf uns ein und überflutet unsere Endgeräte. Dabei stehen wir vor der unlösbar erscheinende Aufgabe, einen Nutzen aus all diesen Informationstücken zu ziehen.
Mit meinem Open Source Projekt „live-scripting“ propagiere ich die gleichzeitige Erstellung von Dokumentation bei der Bearbeitung von IT-Problemen. Der Nutzen entsteht aber erst, wenn diese Lösungen wiederverwendet werden können. Entscheidend dabei ist das schnelle Auffinden von ähnlichen Lösungen für ein aktuelles Problem.
Der heilige Gral der Suche über große Dokumentmengen ist die Volltextindizierung die z.B. in Serveranwendung wie Solr oder Elasticsearch implementiert ist. Auf meinem Macbook macht die Spotlight Suche einen guten Job. Nun möchte ich einen Schritt weiter gehen und habe mir dazu das Programm DevonThink angesehen. Mein Erfahrungen fasse ich in diesem Artikel zusammen.

2021-01-25_15-28-42_2021-01-24_12-53-17_2021-01-24_00-29-57.pngFigure 1: Übersicht einer Suche in DevonThink.

„DevonThink 3 Evaluierung“ weiterlesen

Using Live-Scripting to setup Labs on AWS

My emacs based live-scripting approach can be used to explore AWS technology. I have demonstrated this with an example of a basic EC2 lab.
In this lab I set up a simple EC2 instance with the command line interface. I use the EC2 „user data“ to set up an Apache Web server, and I initialize the index page with meta-data of this instance.
The following diagram gives an overview of this lab.

The documentation and a code are stored in my project aws-labs on GitHub. If you have Emacs configured for live-scripting, this lab can be setup in less then five minutes, which is impressive. You can learn more about the live-scripting approach on my project live-scripting on GitHub

 

Introduction Video for Live-Scripting

Live-Scripting is a documentation centric working style for IT professionals that promotes reuse and sharing of proven solutions. In my previous video I already demonstrated how to work on the command line and document it at the same time. In the video „Live-Scripting Introduction“ I take a broader perspective and address the problem of the growing amount of knowledge that needs to be understood, digested, documented and shared. Companies often struggle with sharing of knowledge and solutions because documentation is a time consuming and often unpleasant task. On the other hand, even experienced engineers repeat analysis of the similar problems because they have simply forgotten the details of  the work that they have done weeks or month ago. Fighting against the forgetting curve is a prevalent challenge.

The Live-Scripting approach aims at making the process of creating, sharing and reusing documentation smooth and effective.  

Video Clip on basic Live-Scripting

In my new short video I introduce the basic idea behind my live-scripting open source project which I host on Github. Live-Scripting is an approach that combines command line centric work, documentation, and sharing. This video clip demonstrate how smooth the process of command line work and documentation can be. Using the example of retrieving information from remote machines and creating a report, this clip introduces how easy this technique is and gives an idea, how powerful it can be. Emacs users can use these basic techniques directly with only little configuration. The necessary steps are described on the project -website in the chapter “Basic Live-Scripting”. This is even possible if emacs is used in a terminal without gui.

 

Emacs Spreadsheets Demo

In Emacs Org-Mode kann man Tabellen erstellen und auch Kalkulationen machen. Das Spreadsheet Werkzeug ist natürlich nicht so mächtig, wie  Excel, aber es reicht für schnelle Berechnung. Z.B. kann man damit die Kosten einer Reise kalkulieren. In meinem Youtube-Kanal habe ich ein kurzes Video veröffentlicht, das dieses Merkmal demonstriert. Es werden zwei Szenarien einer Geschäftsreise bzgl. ihrer Kosten verglichen. 

Web Single Sign-On with SAML 2.0

While SAML is already widely used in the industry, the configuration within Weblogic
Server is complex and in most companies not part of the regular routine. We want to have look at a simple SAML example that was published in an article by VikrantSawant in 2007. This former example demonstrates a Web
SSO scenario using SAML 1.1 in Weblogic Server 9.2.
We want to upgrade this example, using SAML 2.0 in Weblogic Server 12.1.3.
This is a tutorial in which we will walk through all the necessary steps to setup and run the SAML 2.0 example. This includes the installation and configuration of weblogic server, creation of two weblogic server domains, installation of the test applications and configuration of the identity provider and service provider domains. To provide a comprehensive overview, the separate tutorial steps are summarized in mind map diagrams. The tutorial comprises a ServiceProvider initiated flow and an Identity Provider initiated flow, which both will be demonstrated during the testing steps. As an addition, the tutorial demonstrates the usage of the weblogic feature “virtual user”.

„Web Single Sign-On with SAML 2.0“ weiterlesen

Calculating Checksums for Oracle Downloads

Calculating
Checksums for Oracle Downloads

It took me
quite a while to figure out which check sum algorithm Oracle is using on some
of its download pages. E.g. on the OSB download page, we find the comment “Oracle
Service Bus Size: 1.06 GB, Check Sum:1490338751”
This check
sum is generated by the old unix tool cksum, which protects for accidental
corruption during transport, however is not cryptographically secure. See http://en.wikipedia.org/wiki/Cksum
for more details.
On Windows
we can use cksum.exe which is included in win32 tools from the project win-bash
(http://win-bash.sourceforge.net/).  Calculating the check sum for the OSB
download on my machine yields:
D:17Toolsshell.w32-ix86>cksum.exe
D:1Downloadsofm_osb_generic_11.1.1.6.0_disk1_1of1.zip
1490338751
1149088683
D:1Downloadsofm_osb_generic_11.1.1.6.0_disk1_1of1.zip
The first
number is the CRC value which matches the value from the oracle website and the
second value is the size in bytes.

Oracle Identity Manager: The Active Directory Connector Tutorial

 

    In this tutorial we demonstrate the usage of the Active Directory Connector, which integrates a Microsoft Active Directory into Oracle Identity Manager. The underlying scenario is the integration as a result of a company acquisition. All users of the Active Directory are transferred to OIM, which is then used for user management and provisioning of AD accounts. This tutorial includes the installation and configuration of Windows Server and Active Directory, as well as the installation and configuration of the AD connector. We will create an AD structure, using organizational units, users, groups, GPOs (group policy objects) and directory access writes, to model a non-trivial scenario which emulates a real world installations. While we keep the total system still simple, the complexity is already at a level which reveals usability aspects of the connector, which are beyond a mere technical proving of concept. A conclusion summarizes this work and points to areas of further study.

„Oracle Identity Manager: The Active Directory Connector Tutorial“ weiterlesen

Installation of the Oracle Identity Manger

 

The installation of the Oracle Identity Manager 11g is quite complex and contains some pitfalls that require problem analysis and investigations. In this tutorial we will lead through the installation process of all required product components and development tools. We point out necessary troubleshooting steps and include the analysis of some of the problems. We also provide a detailed list of required installation packages and patches. While analysis during this work was rather time consuming, following the documented steps that circumvent the pitfalls can save a lot of time.

„Installation of the Oracle Identity Manger“ weiterlesen

Oracle Forms and Reports Quick start

 
During the summer I needed to quickly work myself into Oracle Forms for a business opportunity and I decided to share my experience in form of this quick start guide.
We will look at the installation process on Windows and Linux in a development and production configuration. To work with the Forms samples we install an Oracle Express Edition Database. We will look at the basic operations and a database tutorial to get acquainted with this edition. We also look at an Application Express Example, Oracle’s quick and simple approach to database applications. We will use the development configuration to run through the Forms tutorial “Creating a Master-Detail Form”, which ships with the product. Eventually we will look at a Forms and Reports installation in a high-availability configuration. We propose a setup on two virtual box Linux machines and provide an action plan for its installation.
 

„Oracle Forms and Reports Quick start“ weiterlesen

Upgrading Vista to Windows 8 on Virtual Box

  

I still have an old
Windows Vista license which I installed on an Oracle Virtual Box machine.
However it performs so poorly that it is hardly usable, even on a modern quad
core CPU system. Yesterday Microsoft offered an Upgrade from several Windows
versions, including Vista, to Windows 8 Pro for 29,90  Euro. I decided to try an upgrade.

  „Upgrading Vista to Windows 8 on Virtual Box“ weiterlesen

Installation of Oracle Linux 5.8 on Virtual Box 4.1 with Guest Additions

 
Today I wanted to install
Oracle Linux on virtual box, which I need for some testing systems. Since the
installation and especially the setup of the guest additions were not as smooth
as I expected, I decided to share the information.

InstallingOracleLinux58.pdf (1.5 MByte)

********************************************************************
This is the text-only preview. Please open the PDF file for full formatting and pictures.
********************************************************************

„“ weiterlesen

WS-Security unveiled

 

One of the more
complex examples that ship with WLS is a WS-Trust based authentication of a web
service using SAML assertions. This example is quite easy to setup and run and
the example’s documentation gives a basic understanding of what is going on.
But we want to look deeper and shed light on the complexity that is hidden
behind SSL, WS-Trust and SAML authentication. In a first step we separate the
scenario from the example server and integrate it into eclipse, to create an
isolated laboratory environment for further investigation. We will use
Wireshark to analyze the actual flow of messages on the wire. We even look
inside the SSL streams to identify the WS-Trust tokens and SAML assertions as
they are passed between the participants.
 
 
 

„WS-Security unveiled“ weiterlesen

Toolbox: The Mini-ID

 

This part of the
toolbox series introduces the Mini-IDE project. It is designed to instantly
setup a weblogic server together with a small sample application. It provides everything
to setup and run the example in less than five minutes. Despite its simplicity,
it contains everything to build and deploy a Java EE web application, relying
on not more than a WLS installation. It can easily be modified and used in
analysis situations or as a starting point for proof of concepts. In environments
where access is restricted to shell usage, we provide a distribution method
based on copy and paste via the clipboard. 

OEPE JavaEE Lab Tutorial for JSF

We want to look at a simple tutorial from the Oracle web site which demonstrates how to
develop a simple JSF web application with Eclipse and the Oracle Enterprise Pack for
Eclipse. Since this tutorial is targeted to WLS 10.3 there are some modifications to be made,
in order to run it with WLS12c and OEPE 12c. We take a brief look at the example itself and
point out the changes.

OEPE_JSF_Intro.pdf (93 KB)

http://weblogic-corner.blogspot.com 30.03.2012 16:38:00 OEPE_JSF_Intro.docx
OEPE JavaEE Lab Tutorial for JSF
We want to look at a simple tutorial from the Oracle web site which demonstrates how to develop a simple JSF web application with Eclipse and the Oracle Enterprise Pack for Eclipse. Since this tutorial is targeted to WLS 10.3 there are some modifications to be made, in order to run it with WLS12c and OEPE 12c. We take a brief look at the example itself and point out the changes.
1 Contents
OEPE JavaEE Lab Tutorial for JSF ………………………………………………………………………………. 1
1 Contents ……………………………………………………………………………………………………………… 1
2 The tutorial ………………………………………………………………………………………………………….. 1
3 The example Application ………………………………………………………………………………………. 1
4 Modifications to the lab ………………………………………………………………………………………… 2
2 The tutorial
The tutorial can be found at
http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/11/oepe11g/introeclipseide .htm It contains just the description of the steps to execute the lab. No further source files are needed. We can run the lap with an installation of WLS12c which includes the OEPE. This tutorial guides the user trough the process of creating a Dynamic Web Application with Java Server Faces. It elaborates on creating bundle messages for internationalization and on creating page flow diagrams.
3 The example Application
The application itself is very simple. It is depicted in the following figure.
Figure 1. Structure of the JSF_Intro application.
There is web application that consists of three pages. The index.jspx contains a button that forwards to a register.jspx. Here the user can enter his name and email address. The data is stored in a java bean with session scope. The user then is forwarded to a welcome page which greets him with his name.
Seite 1/2

http://weblogic-corner.blogspot.com 30.03.2012 16:38:00 OEPE_JSF_Intro.docx
4 Modifications to the lab
The lab description is very detailed and contains the pictures of the dialogs, the user has to go through. We want to point out some required changes for WLS12c.
Problem: While editing the JSF-Page register.jspx, in the palette there are no JSF bars, JSF HTML is missing. Thus the HTML form cannot be wired to the UserBean.java.
Solution: In the Project Properties go to Project Facets->Java Server Faces->User Libraries. Click the Download Library Icon.Download and choose the following Library. /Users/uAries/Eclipse/workspace/libraries/JSF 1.2 (Mojarra JSF API Implementation 1.2_15-b01-FCS)
Problem: In register.jspx, in Step 23 (http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/11/oepe11g/introeclipseid e.htm#t5) There is no „New Navigation Case“ Icon.
Solution: In the Project Explorer go to: JSF_Intro->Faces Configuration->Navigation Rules. Create a new Navigation Rule here instead and use the values from the tutorial.
Problem: (Adding Navigation Case to the Project, Step 1) Index.jsp is not using the properties given in application.properties.
Solution:
In Index.jspx change the properties from -> to
welcome.title -> welcomeTitle welcome.heading -> welcomeHeading welcome.message -> welcomeMessage
Problem: (Working with Bundle: Step 2)
Base name application.properties seems to be wrong
Solution:
Use the navigation button and choose resources.application
Problem: (Using AppXray Dependencies: Step 7) The AppXray diagramm does not show an error! However the error is visible in the index.jspx
Solution: Unknown.
Problem: JSF_Intro2 will not deploy.
Error:
Solution:
Project->Properties->Projects Facets->Java Server Faces->Type: User Library
 Uncheck „Include libraries with this application“
 Close and reopen the project.
 Clean the serve.
<14.04.2012 18:45 Uhr MESZ> <Error> <javax.enterprise.resource.webcontainer.jsf.config> <BEA-000000> <Critical error during deployment:
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.IOException: java.net.URISyntaxException: Illegal character in opaque part at index 42: zip:D:/11Eclipse/workspace02/libraries/JSF 2.0 (Mojarra 2.0.3-FCS)/mojarra-2.0.3- FCS/lib/jsf-impl.jar!/META-INF/mojarra_ext.taglib.xml
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:662)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:322)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:582) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) Truncated. see log file for complete stacktrace
Seite 2/2

OEPE Hands on Labs for WLS 11g

After some frustrating
moments, trying to quickly going through the OEPE 11g Hands-on-Labs for
Web-Services on WLS12c, I spent some time with problem analysis and eventually
confirmed that the labs still run with the latest versions of WLS and Eclipse. We
will present a graphical overview of each lab and  note some required changes for the version
OEPE 12c.

OEPE_Hands-on-Labs.pdf (925 KB)

Setting up a WLS-Webservice Example in Eclipse



I like the API
Examples that ship with WLS because they contain a level of complexity that is
just enough to demonstrate the technology slice at hand. In other words, they
are kept very simple. Therefore they are an excellent starting point for small
test applications that can be used in very complex environments. We want to
look at the Example: “Creating a Web Service from an Existing WSDL File”. We
demonstrate how to quickly integrate it into Eclipse with full support of code
completion, context sensitive help and on-the-fly compilation support. 

WLS12c and the Oracle Enterprise Pack for
Eclipse     
The Oracle Enterprise Pack for Eclipse extends
the IDE to tailor it to the use with WLS. It contains a number of editors and
features which makes the interworking smoothly. We will have a look at the OEPE
and how it plays together with WLS12c on an OSX installation.
WLS ships with ready to use and configured
examples. We will look at one example that demonstrates JavaEE6 features. We
want to use Eclipse not only to analyse the examples, but also demonstrate a
setup as an Eclipse project to go through the full edit – compile –install-
test cycle. This exemplifies the usage of the WLS examples as mini projects,
which can be used in situation where we want to run simple tests or in
prototyping situations.