Introduction to Liferay Portal
Liferay is a complete portal solution based on the Java EE architecture, using the EJB, JMS and other technologies, the foreground interface using the Struts MVC Framework, template technology and other open source mainstream technology, xml-based portlet configuration file can dynamically expand, using the W EB Services To support the acquisition of some remote information,
-point Logon
The Single Sign-On Function of the Portal is based on the Application Integration System. The unified Identity Authentication system implements the Single Sign-On Portal product of the system. The Liferay Portal provides content integration for multiple independent systems, helping multiple organizationsFor liferay to clear the built-in portlet on th
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 database. Don't use hypersonic in production. Hypersonic is a
jar package:
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/1545325127-13.png "title =" 55.png"/>
First, it first determines the server type, because we are tomcat, so it will go to all the jar packages in tomcatLibDir in the exclusion list, this tomcatLibDir is
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/154532F10-14.png "title =" 56.png"/>
Then it will read conext. xml. If com. liferay. sup
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
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
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
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
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 sing
. SolutionMethod 1:Add the parameter-B 0.0.0.0 at startup. Open the command window, go to C: \ liferay-portal-6.1.1-ce-ga2 \ jboss-7.1.1 \ bin, enter the command standalone. bat-B 0.0.0.0, start Liferay Portal 6.1, as shown in 3:
Figure 3 Start the Liferay portal with Parameters
Method 2:1. Find the standalone. xml file in the
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#
Liferay has two types of services:
1) Internal ServicesLiferay core services, such as portal-impl.jar
2) External ServicesThat is, portal APIs, such as portal-kernel.jar and portal-service.jar
The liferay internal service is updated frequently. Pay special attention to the liferay version upgrade. The liferay external
= uploadportletrequest.getcontenttype ("file");
Long size = uploadportletrequest.getsize ("file");
File File = uploadportletrequest.getfile ("file");
InputStream is = uploadportletrequest.getfileasstream ("file");
Note: The file in GetFileName is the name value of
Getting our uploaded files in the portlet is just the first step. Take the uploaded file, how to upload to the Liferay file. The Liferay fil
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
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
Liferay is a complete portal solution, based on the Java EE application, using the EJB and JMS Technologies, the front interface part uses the Struts MVC framework, the XML-based portlet configuration file can be freely and dynamically extended, Web services are used to support the acquisition of some remote information, and the full-text search function is implemented using Lucene.The main features are as
Liferay provides a very simple method of Web application integration and single point of login: IFRAME Portlet. IFRAME Portlet can be used to easily include an existing web application, and form post or get can be used for user login.
There is no problem with the liferay mechanism, and the implementation is also v
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.