Come configurare Liferay 6.0 per Oracle
Upcoming SlideShare
Loading in...5
×
 

Come configurare Liferay 6.0 per Oracle

on

  • 4,443 views

 

Statistics

Views

Total Views
4,443
Views on SlideShare
2,581
Embed Views
1,862

Actions

Likes
0
Downloads
55
Comments
0

3 Embeds 1,862

http://musarra.wordpress.com 1859
http://webcache.googleusercontent.com 2
http://translate.googleusercontent.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Come configurare Liferay 6.0 per Oracle Come configurare Liferay 6.0 per Oracle Document Transcript

  • •••
  • ••• ) )
  • • •oracle$ tnsping liferay-portal-db-1.localTNS Ping Utility for Linux: Version 11.2.0.2.0 - Beta on 02-AUG-2011 22:28:49Copyright (c) 1997, 2010, Oracle. All rights reserved.Used HOSTNAME adapter to resolve the aliasAttempting to contact(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.101)(PORT=1521)))OK (0 msec)oracle$ lsnrctl status
  • LSNRCTL for Linux: Version 11.2.0.2.0 - Beta on 02-AUG-2011 22:37:45Copyright (c) 1991, 2010, Oracle. All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))STATUS of the LISTENER------------------------Alias LISTENERVersion TNSLSNR for Linux: Version 11.2.0.2.0 - BetaStart Date 02-AUG-2011 17:13:41Uptime 0 days 5 hr. 24 min. 4 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFDefault Service XEListener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.oraListener Log File /u01/app/oracle/diag/tnslsnr/liferay-portal-db-1/listener/alert/log.xmlListening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=liferay-portal-db-1.local)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=liferay-portal-db-1.local)(PORT=8090))(Presentation=HTTP)(Session=RAW))Services Summary...Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...Service "XE" has 1 instance(s). Instance "XE", status READY, has 1 handler(s) for this service...Service "XEXDB" has 1 instance(s). Instance "XE", status READY, has 1 handler(s) for this service...The command completed successfully • • • • •
  • -- 1. Creazione Tablespace per i dati di Liferay PortalCREATE TABLESPACE LIFERAY_CE LOGGING DATAFILE /u01/app/oracle/oradata/XE/liferayce.dbf SIZE 500M AUTOEXTEND ON NEXT 32M MAXSIZE 2048M EXTENT MANAGEMENT LOCAL;-- 2. Creazione utente LiferayCREATE USER liferayce6 IDENTIFIED BY liferay12345 DEFAULT TABLESPACE LIFERAY_CETEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK;-- 3. Grant per lutente liferayGRANT CONNECT TO liferayce6;GRANT RESOURCE TO liferayce6;<Resource name="jdbc/LiferayPool" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" maxPoolSize="100" minPoolSize="10" acquireIncrement="5" username="liferayce6" password="liferay12345" driverClassName="oracle.jdbc.OracleDriver" url="jdbc:oracle:thin:@liferay-portal-db-1.local:1521:XE"/>
  • jdbc.default.jndi.name=jdbc/LiferayPoolLoading file:/opt/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/portal-ext.properties11:08:32,484 INFO [DialectDetector:69] Determining dialect for Oracle 1111:08:32,582 INFO [DialectDetector:49] Using dialectorg.hibernate.dialect.Oracle10gDialect11:08:36,240 INFO [PortalImpl:278] Global lib directory /opt/liferay-portal-6.0.6/tomcat-6.0.29/lib/ext/11:08:36,242 INFO [PortalImpl:298] Portal lib directory /opt/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/Starting Liferay Portal Community Edition 6.0.6 CE (Bunyan / Build 6006 / February 17,2011)11:08:51,461 INFO [ReleaseLocalServiceImpl:84] Create tables and populate withdefault data11:09:01,407 INFO [BaseDB:400] Database supports case sensitive queries
  • $ netstat -ta | grep ESTABLISHED | grep oracleXEtcp liferay-portal-db-1:1521 liferay-portal-fe-1:51818 ESTABLISHED 16857/oracleXEtcp liferay-portal-db-1:1521 liferay-portal-fe-1:52354 ESTABLISHED 17642/oracleXEtcp liferay-portal-db-1:1521 liferay-portal-fe-1:52357 ESTABLISHED 17653/oracleXEtcp liferay-portal-db-1:1521 liferay-portal-fe-1:52356 ESTABLISHED 17649/oracleXEtcp liferay-portal-db-1:1521 liferay-portal-fe-1:51865 ESTABLISHED 16879/oracleXE