Primal Cortex’s Weblog

Amnesia sets in…

Archive for February, 2008

Corba and minor error codes

Posted by primalcortex on February 26, 2008

Corba errors are hard to understand when no guide is available.

The following link: http://www.omg.org/docs/omg/03-12-02.txt shows the meaning for the minor error codes that might show up.

Posted in Geral | Tagged: , , , | Leave a Comment »

JBoss XA datasources and mbean error

Posted by primalcortex on February 25, 2008

When deploying an application on Jboss that used Oracle and XA datasources, the following error croped up:

org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=OracleXAExceptionFormatter

It took me a while to found out what the issue was, and the lead to the solution was that the error moved from datasource to datasource according to it’s name, namely the xml definition filename.

The issue is quite simple: XA datasources can only have one mbean definition for the OracleXAExceptionFormatter, so choose one, and only one and put the required definition:

<mbean code=”org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter”
name=”jboss.jca:service=OracleXAExceptionFormatter”>
<depends optional-attribute-name=”TransactionManagerService”>jboss:service=TransactionManager</depends>
</mbean>

Remove this definition from any other XA datasource and theerror should disapear and all datasources can bound now without any errors.

Posted in Geral, Linux | Tagged: , , , , , | Leave a Comment »

More Azores photos and webcams…

Posted by primalcortex on February 22, 2008

Enjoy with these amazing photos from Azores. Don’t you want to go there? :-)

Magic places in the Azores: http://www.skyscrapercity.com/showthread.php?t=542026 

One of the smallest islands and the far most point of Europe, only 2000 miles, more or less, of America’s continent:  http://www.skyscrapercity.com/showthread.php?t=394412

Also Espaço Talassa is a Whale Watching company, it also as a small but very friendly hotel (Whale’s come to Pico) also has a webcam: http://www.espacotalassa.com/webc/index.html

So if you’re looking for some stress free, mob free, crazy free holidays, this is the place…

Posted in Geral | Tagged: , , | Leave a Comment »

Restoring SQL backups from one server into another

Posted by primalcortex on February 21, 2008

Well as you may know I’m amnesiac… So this post is for me to remember how to relink an database user into the database server again.

The stored procedure of SQL Server that does that is: sp_change_users_login…

Check out this MS page: http://msdn2.microsoft.com/en-us/library/ms174378.aspx

Posted in Geral, Micro$oft | Tagged: , | Leave a Comment »

Light Graffiti

Posted by primalcortex on February 17, 2008

Sometimes something comes along that is quite amazing. Most of the today’s graffiti is pure rubbish and this includes tags and someone that stumble upon a spray can and “draw”…

This is the next level and it takes far more will and inteligence that the “normal” artists.

Enjoy: http://insurance-quotes-for-you.com/Light_Graffiti.html

Posted in Geral | Tagged: , | Leave a Comment »