Archive for March, 2010

Installing Oracle Mapviewer

After i installed Oracle 11g DB R2 i started loading the spatial demo data into the database. It simply includes the following steps: Download the sources for Oracle Fusion Middleware MapViewer Load the dump file into the database After that i installed an OC4J container and deployed the mapviewer application in the following steps: I downloaded the latest OC4J container Unziped the oc4j_extended_101350.zip file into installation directory Created a startup script for the...

Oracle 11g R2 sskgpsemsper failure

Today i started with installation of a fresh 11g database for a Spatial demonstration. Everthing went smooth until i stared the database. I recieved the following message: My search on the web for an answer resulted quickly in a answer: arjudba.blogspot.com there you find two solutions to fix the semaphores problem. Now the database is up and running and i can start installing Mapviewer with spatial data. This will be all explained in the next...

Integration test with maven

Configure in your maven project a simple integration test looks complex but it really isn't. Belolw you see the configuration of the plugin's with their configuration i will shortly explain the items maven-failsafe-plugin Use the maven failsafe plugin to run your integration tests. You can use the maven-surefire-plugin but this plugin will halt on the integration-test phase if there occurs an error. This behavior looks valid because you don't want to install or deploy any code if an...

Maven mirror configuration

Today i got the question if it was possible to configure a repository directly in the pom file without specifying the repository in our internal nexus server. This is possible as described in the Maven mirror quide. configuration We configured a nexus server to control the used dependencies and ensure that all developers are using the correct versions. Therefore we configured the following in our settings.xml All repostiory request that mach '*' will be redirected to the nexus...

Explaining maven’s building process

When you are used to build your projects with ant a switch to maven can be quite confusing. Maven works in a different way. ant Ant is quite easy to understand and gets you started right a way. You can script from target to target and when you want to preform more complex tasks you can configure your own macro's with the libraries you want to use. maven maven works differently. It uses build faces that are processed depending on the artifact type. With plugins you can connect...

Maven Glassfish Plugin

Because of the slow site where the documentation is hosted of the Maven Glassfish Plugin i decided to make a copy of the most important documentation for using the plugin. Goals Overview glassfish:create-domain Create a new Glassfish domain. (Creating an existing domain will cause it to be deleted and recreated.) glassfish:start-domain Start an existing Glassfish domain. (Starting a non-existent domain will cause it to be created.) glassfish:create-virtual-server Create a new...

Install Firefox on CentOS

Installing Firefox on CentOS using yum is as easy as installing a windows. Show a list of available packages The server a 64 bits enviroment so i install the corresponding package it asks for confirmation of installing the packages and the dependencies. now firefox is installed and we can run firefox. Use '&' to start the browser in the background. happy...

Using maven-glassfish-plugin on windows

Not a valid Win32-Application Last week i encountered a problem with my glassfish installation while preforming a deployment with maven. In my maven i configured the maven-glassfish-plugin and tried to deploy my application. I received the following message: The plugin tries to execute in my glassfish installation the application asadmin. In this directory there are two files with this name. a windows version with the .bat extension and a unix version without a extension. To solve...

Installing CentOS on virtual box

For a project i needed temporarily an CentOS server. I decided to install it on the former SUN virtual box, nowerday's owned by Oracle. Before i stared i also downloaded a netinstall.iso from one of the CentOS mirrors. Just a small ISO to get quickly started with CentOS. After downloading the virtual box i started with creating a virtual machine. I connected the ISO to the CD-ROM drive of the virtual machine. When booting the virtual machine the installation started. By just supplying...