Categories
Software & Development

oracle impdb remap_schema with additional space

Today, I tried to run impdb with remap_schema:old_owner:new_owner syntax and I ended up with empty database and plenty of errors.

The problem was that impdp tried to import from “old_owner” to “new_owner “. Do you see the difference? One additional space, because impdp somehow misunderstood the parameter separator as a part of new_owner.

Problem occurs in case of oracle 11.20 @ solaris. Solution is to provide remap_schema as a last parameter.

Categories
Plugins & translation

Confluence NTLM/SSPI (Domain Trusted Login) using Apache HTTP Server

I also had some time to finish the article of How to authenticate users in Confluence using the Domain account without using jcifs to actually authenticate (it’s used only to get the user details after he/she had been authenticated).

If you have any questions or problems, just contact me.

 

This topic may also be known as:

  • Confluence SSO
  • Confluence Single Sign-On using Domain Account
  • Confluence NTLM
Categories
Plugins & translation

JIRA NTLM/SSPI/SSO (Domain Trusted Login) using Apache HTTP Server

Finally, after one year I had some time to finish the article of How to authenticate users in Jira using the Domain account without using jcifs to actually authenticate (it’s used only to get the user details after he/she had been authenticated).

If you have any questions or problems, just contact me.

Categories
Software & Development

Xalan Xsl and Lookup tables

If you don’t know what is a lookup table in context of Xsl transformation you might like these short example articles here or here

The common way to use lookup tables in Xsl transformations is to use select=”document(”)/*/data/” syntax. If there is no path provided and the parameter of document() function is string, the function returns the reference to the stylesheet itself. However, this is not true for all Xsl transformation libraries.

In case you use Xalan and the document is loaded from database, you might get into trouble – the function will not find anything. The workaround is to load a different Xml document by calling document(‘data.xml’). Yes, there’s a but too. Xalan will look for the document in the java application startup path, not in the same location as the Xsl stylesheet, nor in the path of Xml document being transformed (it is in database, you remember, right?). In case your application is a web application running in Apache, the startup path is apache/bin