Tags: BSP classname NEC that is comm local efault AAC minHow to change database in Liferay?Often encountered someone asked Liferay how to change the database, how to modify the database connection. The first time we start Liferay,
If you want to use a different database, you need to do the following.
1. Set up DBMS system, and have convenient database client for use
2. Find the appropriate JDBC driver
3. Download the Liferay database script
(Http://prdownloads.sourceforge.net/lportal/liferay-portal-sq
Liferay's own database is very mini, generally is to play.In the real development process, we often need to connect it to our local database.There are 3 ways, and I'm just going to introduce my favorite method here. Even MySQL.1. Create the portal-ext.properties file in the root directory of the Liferay portal, where the contents are Jdbc. default. driverclassname=com.mysql.jdbc.Driver jdbc. default.
theme(5) field: PageCount number of pages owned by the community(6) Field: VirtualHost Virtual access path for the community3: Table PortletpreferencesKey Features: Store personalization informationField: ownerID refers to the owner of this portletField: ownertypeField: Plid page ID This must be clear, because the Portlet settings for each page may be differentField: Portletid refers to which portletField: Portletprefence refers to the personalization of this portletOkay, the layout of the
22:00:39,557 ERROR [schedulermessagelistener:53] Unable to process message {destinationname=liferay/scheduler_engine, Responsedestinationname=null, Responseid=null, payload= COM.LIFERAY.PORTAL.KERNEL.SCHEDULER.MESSAGING.SCHEDULERREQUEST@D870CB, Values=null}
Com.liferay.portal.kernel.scheduler.SchedulerException:Unable to start Scheduler
At Com.liferay.portal.scheduler.quartz.QuartzSchedulerEngineImpl.start (quartzschedulerengineimpl.java:276)
At Com.l
Tags: modifying data tomcat NTS execution ONS will also which structureWhen booting Tomcat, console error:Com.liferay.portal.OldServiceComponentException:Build namespace ievents have Build number 444 which is newer than 438.This is because the Build.number is modified in the Service.properties file each time the service is build, and this number increases as the build service increases.Therefore, modify the method to find the corresponding service.properties file, the Build.number will be change
[Liferay] Liferay enables single-point logon and single-point liferay
Last article: single-point logon using Liferay-OpenLDAP
This article does not introduce concepts, but focuses on implementation.
Liferay : 6.1.1 CE GA2 OpenLdap for Windows :openldap-2.4.38-x86 Apache
Liferay version : Liferay-portal-6.1.1-ce-ga2 Server : Tomcat 7.0.25 Liferay is very large. The portal comes with dozens of Portlet, but you can choose to load the Portlet that comes with the portal as needed. Benefits: 1. Improved startup speed (performance) 2. The interface can be more concise. After all, no Portlet is needed. Look at Xuan Hu, it's
.Loading file:/d:/liferay/ri/liferay-portal-6.1.0-ce-ga1/tomcat-7.0.23/webapps/root/web-inf/classes/ Portal-developer.properties22.03:09:46,379 INFO [dialectdetector:80] determine dialect for Hsql Database Engine 223.03:09:46,379 WARN [dialectdetector:95] Liferay is configured to use hypersonic as its
simple verification code service that prevents malicious registration. You can also use Google's reCAPTCHA service to replace the default Verification Code Service.
The setting is simple. Enable reCAPTCHA, enter your public and private keys in the provided text box, and click Save. In this case, liferay uses reCAPTCHA instead of a simple verification code.(5) data migration
If you are upgrading the liferay
jdbc.default.url=jdbc:mysql://localhost:3306/liferaytest?useunicode=truecharacterencoding=utf-8 Usefastdateparsing=false
Jdbc.default.username=zcb
JDBC.DEFAULT.PASSWORD=ZCB 8, start Tomcat, will automatically open the Liferay home page. Note: 1, the implementation of the start and deploy tasks in Build.xml will take a lot of time, need to wait patiently until the prompt operation is successful, 2, under Tomcat at the same time there are two portal in
Liferay has released version 4.1.0. The newest version provided des a message board and Web 2.0-style mail Portlet, Geronimo support, and improved LDAP integration.
Now in its sixth year of development, liferay is JSR-168 compliant and runs on almost any major application server, database, and operating system, rendering over 700 deployment combinations.
Additio
Installation and use of Liferay
The latest version of the current Liferay is Liferay portal 7.0.5, download address: http://sourceforge.net/projects/lportal/;
Here is the download Liferay and Tomcat6 binding version, and with jdk1.6, download after the need to do the following several steps can easily run up
Last article: single-point logon using liferay-OpenLDAP
This article does not introduce concepts, but focuses on implementation.
Liferay : 6.1.1 CE GA2 OpenLdap for Windows :openldap-2.4.38-x86 Apache Directory Studio : Apache Directory Studio 2.0.0-M3 CAS : cas-server-3.5.2 Windows : 7 x64
Chapter 2 CAS Configuration
Download installation: https://www.apereo.org/cas/download
The version used in th
I. Installation and Use of liferay
The latest version of liferay is liferay portal 7.0.5,: http://sourceforge.net/projects/lportal;Here we download the version of liferay bound to Tomcat 6, which comes with jdk1.6. After the download, we need to perform the following steps to easily run
portal. that# happens by because the counter service would look up the properties# prefixed with "jdbc.default." To create its data Source. See the jdbc# properties prefixed with "Jdbc.default." For more information.## Setting a different value for the counter J DBC prefix allows better# fine tune the counter data source with its own set of configuration# settings for high AV Ailability installations. Note that these settings,# though separate, is a copy of the default settings with the newly#
Because our application is running on the Liferay application server, some optimizations for the server are of course our first thought.
We have done a lot of testing before, because Liferay will have css-fast-load, and js-fast-load, these parameters will be a number of CSS files or several JS files merged into a single large file, which can significantly reduce the number of network IO overhead, We develo
After the Portlet is deployed, an exception is reported-cocould not initialize class com. liferay. util. Portlet. portletprops.
Briefly describe the Portlet. properties. During the development of the Portlet, you can customize the configuration file-Portlet. properties similar to portal. properties.
The procedure is as follows:
1. Create the Portlet. properties in classpath, such as the WEB-INF/src directory
line.chart.types=line,spline,column,bar,t
Last time, in this blog http://supercharles888.blog.51cto.com/609344/897825, We're talking about how to fix the multiple dependencies on slf4j that arise when using Maven's Service-builder, and now we're going to show you how to customize the plugin. This allows you to avoid this error by using our own plug-ins instead of the default Liferay-maven-plugin in your project:
Authoring of Plug-ins:
Specific writing details will not say, anyway, is to use
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.