Simples Assim

Esper

leave a comment »

Written by Fernando Ribeiro

December 1, 2009 at 1:28 am

Posted in Software

Embedded Jopr Warning in JBossESB 4.6

with one comment

The Unable to complete base jmx server discovery - cause (enable DEBUG to see stack trace): java.lang.UnsupportedOperationException: No native library available - Cannot get the process table information without native support warning occurs because Embedded Jopr 1.1 ships without the SIGAR library, as noted here.

I will ask around if/how it can be installed manually.

Written by Fernando Ribeiro

November 29, 2009 at 1:57 pm

Posted in Software

JBossON Management platform and RHQ, its open source upstream

leave a comment »

Written by Fernando Ribeiro

November 29, 2009 at 1:46 pm

Posted in Uncategorized

Bug in Apache HTTP Server 2.2 on Windows

leave a comment »

It causes the (20024)The given path is misformatted or contained invalid characters error when using MediaWiki’s short URLs.

https://issues.apache.org/bugzilla/show_bug.cgi?id=41441 (vote for it!)

Written by Fernando Ribeiro

November 27, 2009 at 5:03 pm

Posted in Software

How to Change the Logo in MediaWiki 1.15.1

leave a comment »

You may want to either clone an existing skin or create a new one, just so not to lose your logo upon upgrades.

http://www.mediawiki.org/wiki/Manual:$wgDefaultSkin

http://www.mediawiki.org/wiki/Manual:Skinning

http://www.mediawiki.org/wiki/Manual:$wgLogo

Written by Fernando Ribeiro

November 27, 2009 at 4:24 pm

Posted in Software

MediaWiki Extension for LDAP Authentication

leave a comment »

For Active Directory, you might want to add this to <Install Dir>/LocalSettings.php:

require_once "extensions/LdapAuthentication.php";

$wgAuth = new LdapAuthenticationPlugin();

$wgLDAPDomainNames = array(
  "fernandoribeiro.eti.br"
);

$wgLDAPEncryptionType = array(
  "fernandoribeiro.eti.br" => "clear"
);

$wgLDAPSearchStrings = array(
  "fernandoribeiro.eti.br" => "USER-NAME@fernandoribeiro.eti.br"
);

$wgLDAPServerNames = array(
  "fernandoribeiro.eti.br" => "ds.fernandoribeiro.eti.br"
);

http://www.mediawiki.org/wiki/Extension:LDAP_Authentication

Written by Fernando Ribeiro

November 27, 2009 at 3:50 pm

Posted in Software

How to Redirect to the MediaWiki Main Page in Apache HTTP Server 2.2

leave a comment »

<?php
  $host = $_SERVER["HTTP_HOST"];

  header("Location: http://$host/wiki");
?>

http://php.net/manual/en/reserved.variables.server.php

http://php.net/manual/en/function.header.php

Written by Fernando Ribeiro

November 27, 2009 at 2:53 pm

Posted in Software

How to Configure Short URLs in MediaWiki 1.15.1

leave a comment »

Written by Fernando Ribeiro

November 27, 2009 at 2:06 pm

Posted in Software

Fixing Quartz

leave a comment »

I’ve volunteered to help the Quartz community to fix their artifacts in Maven Central.

http://jira.codehaus.org/browse/MAVENUPLOAD-2676 (vote for it!)
http://jira.codehaus.org/browse/MAVENUPLOAD-2677 (vote for it!)

Written by Fernando Ribeiro

November 24, 2009 at 11:55 pm

Posted in Software

How to Turn Off SQL Output in Hibernate 3.3

leave a comment »

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    ...
    <session-factory name="java:hibernate/SessionFactory">
        ...
        <property name="show_sql">false</property>
        ...
    </session-factory>
    ...
</hibernate-configuration>

http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-configuration.html

Written by Fernando Ribeiro

November 24, 2009 at 2:29 pm

Posted in Software