Innovation and Open Source

we innovate with Open Source to create
awesome applications for you

News 

TupiLabs Report: 30 Mar, 05 Apr

This is a weekly report that we publish every week, with news from Monday till Sunday.

We are working for you

Have a great week! :-)

TupiLabs Report: 23 Mar, 29 Mar

Here’s the list of the cool things that happened at TupiLabs since last Sunday.

We are working for you

Have a great week! :-)

TupiLabs Report: 16 Mar, 22 Mar

Here’s the list of the cool things that happened at TupiLabs since last Sunday.

We are working for you

Have a great week! :-)

More News

Blog 

LabLua aceito no GSoC 2014

O LabLua, laboratório de pesquisa da PUC-RIO, foi aceito no Google Summer of Code 2014. Isso quer dizer que estudantes podem se candidatar para trabalhar nas ideias propostas. Os alunos selecionados podem receber uma remuneração total de até USD 5.500 (aproximadamente R$ 12.900,00).

O LabLua é o único projeto Open Source brasileiro na lista de aprovados. Se você é estudante e tem interesse em programar em Lua esta é uma ótima oportunidade.

LabLua

Configurando o Jenkins para usar o Active Directory

Depois de ver algumas mensagens na lista do Jenkins em Português decidir escrever este post para ajudar quem quiser configurar o Jenkins para usar o Microsoft Active Directory.

O Jenkins já possui autenticação e uma base de usuários própria. O que faremos é apenas utilizar o Active Directory (AD) como a base de usuários. Para isso basta instalar o Jenkins Active Directory plugin e reiniciar.

Plug-in do AD

Agora precisamos configurar o Jenkins para acessar o Active Directory. Vá até Gerenciar Jenkins / Configurar Segurança Global e em Controle de Acesso, selecione "Active Directory". Entre o domínio e os dados para se conectar no AD. Caso você não saiba os dados do seu AD, pergunte para alguém de infraestrutura ou tente se conectar ao AD com algum cliente de LDAP.

Configurando o Plug-in

Pronto! Agora basta você escolher o modelo de autorização. Na maioria das vezes utilizo a estratégia baseada em matriz por projeto. Se você utilizar a mesma, adicione o nome de usuário de rede e atribua as permissões corretas.

Espero que ajude, boa diversão!

Increasing logging level in Tomcat to solve org.apache.catalina.core.StandardContext listenerStart error

Sometimes during the deployment of new applications in Tomcat you may see errors like ‘org.apache.catalina.core.StandardContext listenerStart’ in your startup log.

This may be caused due to many reasons (missing classes, including javax.servlet.* jars with your application, etc), but the reason is not displayed in the startup log.

But you can find out what is causing this error by adding logging.properties to your $TOMCAT_HOME/conf directory, with the following content:

org.apache.catalina.core.ContainerBase.[Catalina].level = DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler

After that you should be able to see the whole exception and figure out what is causing your application to fail.

Happy hacking!

More Posts

Ideas 

Add tags to Jenkins builds or export specific builds

This idea is from @abayer, from these following tweets:

Tweet 1

And:

Tweet 2

We could simply add tags to builds, and then create some place that would list the builds (or other things) that are tagged appropriately. Or we could add a way to define whicih builds should be exported to some tool, and then via the plug-in API maybe, post to this external tool.

Add support to Promoted Builds on Build Pipeline Plug-in

From https://code.google.com/p/build-pipeline-plugin/issues/detail?id=80

Jenkins Build Pipeline Plug-in, by Centrum Systems (Australia), is an excellent plug-in, used by many users (over 6000 downloads according to last report).

However, it does not work well with the Jenkins Promoted Builds Plug-in, another great plug-in (over 4100 downloads last month).

It means that users are not able to create pipelines based on promotion (promoted pipelines?). This contribution would be awesome, useful and help a lot of users (maybe over 10000? :-)

Enhance MySQL management in Stacks (University of Oregon)

From https://groups.google.com/forum/?fromgroups=#!topic/stacks-users/2HwY2dDyeSM.

Stacks processes RAD DNA sequences and produces output, that is displayed on the Web with a bundled PHP+MySQL application. This application is quite useful, especially since it helps developers to analyze large amounts of data.

stacks_logo

One limitation though, is that some management tasks may need manual execution of SQL’s in the database. Someone could add few scripts or new features to the Web interface (like a management section?). This could help researchers on their research.

More Ideas