O'Reilly logo

Liferay Portal 5.2 Systems Development by Jonas Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying Ext

We have succeeded in building ext Java project in the Eclipse IDE. Now we can deploy it. Before running the Ant target deploy, we need to set up properties files and configure the databases.

Configuring database

Liferay portal unifies the configuration of the database in a single file for all application servers. Like most of the other configuration options, you can set this up in the portal-ext.properties file in the /ext/ext-impl/src folder in the following manner:

## MySQL
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=lportal
jdbc.default.password=lportal

As mentioned earlier, we have created ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required