Blog

Cities Generator is ONLINE — Dec 12, 2019 5:20:38 PM

Often you need to have in your application the updated list of cities to use for example in the registration pages, when you need to enter your city of birth or add a residence.

This my last job is interested in providing a complete service to obtain and query the list of cities in a particular country. It is available both as a docker image and as a library to import. Here you will find the details of the project. Good fun!

VOTA is started — Apr 12, 2019 7:18:38 AM

I released my new web application. It is a web application compatible with mobile devices to vote online. Configure parties and candidates from the console and add the rules according to the electoral law of the country. All voting information is stored in a database

It works with:

  • JDK 12
  • Gradle 5.2.1
  • React JS 16.8.4

You can download it through the docker command:

docker pull vige/vota 

To run the image use the command:

docker run -d --name vota -p443:8443 

Then open https://localhost to connect

For more info you can go to the VOTA project page: https://flashboss.github.io/vota/

Enjoy!

School project — Aug 17, 2018 4:12:33 PM

This new project can be used to manage the attendances of the pupils in the schools or in the canteens. It is a javaee 8 web application using JPA, EJB, JSF and Rest and it is released under Apache 2.0 license. Here the homepage where you can download it. Enjoy!

Rubia Forums now based on JavaEE 8 — Jul 17, 2018 7:06:15 PM

I finally updated Rubia Forums to java EE 8. I also broke backward compatibility with WildFly. Version 2.3.0 will run exclusively on Java 10 and WildFly 13. Here it can be downloaded

Greetings to all

Native XML API on Liferay 7 — Apr 7, 2018 8:54:40 AM

Hi all, Liferay 7.0 DXP SP7 by default uses the legacy XML libraries known as xml-api, xerces and xalan. Since many years they are included inside the JRE.

This legacy libraries included in tomcat 8 are cause of bugs inside Liferay. I share the steps how remove them, so you can use directly the native XML libraries inside the JRE.

1- Open the setenv.sh file inside ${home.liferay}/tomcat-8.0.32/bin and add the following properties in the CATALINA_OPTS:

-Djavax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema=com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl

2- Liferay 7.0 DXP SP7 has a bad error because it wires the old xerces libraries in the services code. So you need a patch to add in the ${home.liferay}/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib folder. The patch can be can be found here

3- Build the patch through the command: mvn install and copy in the lib tomcat folder

4- XML libraries need the org.w3c.dom package working as system library. To add it and avoid unespected ClassNotFound exceptions put this property in the portal-ext.properties of Liferay:

module.framework.properties.org.osgi.framework.bootdelegation=com.liferay.aspectj,__redirected, com.sun.jna,com.sun.ccpp,com.liferay.portal.servlet.delegate, com.sun.syndication,org.w3c.dom,sun.reflect

5- Restart Liferay

You are ready to work with the native XML libraries. Good work!


Installation and test of an Openshift cluster on a MAC — Dec 15, 2017 2:39:47 PM

New book of WildFly orderable online — Jun 20, 2017 2:04:41 PM

Rubia Forums 2.0.1 released — Aug 6, 2015 10:52:37 AM

Rubia Forums 2.0.0 released — Jul 18, 2015 4:42:42 PM

Mavenized bundle for Workdesk — May 23, 2015 10:20:40 AM

Rubia Forums 1.0.0 released — Apr 12, 2015 7:53:59 AM

Rubia Forums is born! — Mar 9, 2014 8:35:04 PM

Calling a versioned call activity in Activiti — Feb 24, 2014 10:20:25 AM

JBoss Awards candidate — Jul 5, 2013 9:54:29 AM

A batch to upload files in Gatein — May 23, 2013 8:05:36 AM

Download Service in Gatein — Apr 9, 2013 3:13:44 PM

GATEIN COOKBOOK IS OUT! — Nov 27, 2012 1:01:06 PM

Collection form type in Activiti — Sep 14, 2012 7:40:42 PM

Magazzino is ready! — Jul 22, 2012 6:49:35 PM

Gatein Cookbook in pre-order — Jun 19, 2012 8:36:11 PM

ElasticSearch connector for Manifold — Feb 13, 2012 5:27:36 PM

Bundle OSGI for Lucene — Jul 24, 2011 12:23:03 PM

Send mails with Django — Jul 12, 2011 4:12:34 PM