Hi,
I spend a lot of time trying to install kosmos-0.2.0RC2 for Liferay 4.2.0 but it
doesn't work. I try to follow the reference manual but it seems it doesn't work.
Can anyone explain an How-To step by step please ?
Here what I have done :
First method :
- Download and install the bundle liferay-portal-tomcat-jdk5-4.2.0.zip (it works
correctly). Setting of CATALINA_HOME.
- Copy slide.war in the webapp of Tomcat (it seems to work)
- Deploy server component : ant -f deploy-server-tomcat.xml
D:\liferay\download\kosmos-0.2.0RC2\server>echo %CATALINA_HOME%
| D:\liferay\liferay-portal-tomcat-jdk5-4.2.0
|
| D:\liferay\download\kosmos-0.2.0RC2\server>ant -f deploy-server-tomcat.xml
| Buildfile: deploy-server-tomcat.xml
|
| init:
| [echo] ============================================================
| [echo] Kosmos - server 0.2.0RC2
| [echo] Copyright 2005-2006 (C) Midori
| [echo] ============================================================
|
| undeploy:
|
| deploy:
| [echo] Deploying to Apache Tomcat at
D:\liferay\liferay-portal-tomcat-jdk5-4.2.0/webapps/kosmos-server
| [mkdir] Created dir:
D:\liferay\liferay-portal-tomcat-jdk5-4.2.0\webapps\kosmos-server
| [unzip] Expanding: D:\liferay\download\kosmos-0.2.0RC2\server\kosmos-server.war
into D:\liferay\liferay-portal-tomcat-jdk5-4.2.0\webapps
| rver
| [copy] Copying 1 file to
D:\liferay\liferay-portal-tomcat-jdk5-4.2.0\webapps\kosmos-server\WEB-INF
|
| redeploy:
|
| BUILD SUCCESSFUL
| Total time: 4 seconds
- Deploy portlet component : ant -f deploy-portlet-liferay-portal.xml
D:\liferay\download\kosmos-0.2.0RC2\portlet>ant -f deploy-portlet-liferay-portal.xml
| Buildfile: deploy-portlet-liferay-portal.xml
|
| build:
| [mkdir] Created dir: D:\liferay\download\kosmos-0.2.0RC2\portlet\temp
| [unzip] Expanding: D:\liferay\download\kosmos-0.2.0RC2\portlet\kosmos-portlet.war
into D:\liferay\download\kosmos-0.2.0RC2\portlet\temp
| [copy] Copying 2 files to
D:\liferay\download\kosmos-0.2.0RC2\portlet\temp\WEB-INF
| [copy] Copying 1 file to
D:\liferay\download\kosmos-0.2.0RC2\portlet\temp\WEB-INF\tld
| [delete] Deleting 1 files from
D:\liferay\download\kosmos-0.2.0RC2\portlet\temp\WEB-INF\lib
| [copy] Copying 2 files to
D:\liferay\download\kosmos-0.2.0RC2\portlet\temp\WEB-INF\lib
| [replace] Replaced 16 occurrences in 16 files.
| [zip] Building zip:
D:\liferay\download\kosmos-0.2.0RC2\portlet\conf\liferay-portal\kosmos-portlet.war
| [delete] Deleting directory D:\liferay\download\kosmos-0.2.0RC2\portlet\temp
|
| init:
|
| deploy:
| [java] java.lang.NoClassDefFoundError: com/liferay/portal/tools/PortletDeployer
| [java] Exception in thread "main"
| [java] Java Result: 1
|
| BUILD SUCCESSFUL
| Total time: 3 seconds
| D:\liferay\download\kosmos-0.2.0RC2\portlet>
It doesn't work in spite of the "BUILD SUCCESSFUL"
2nd Method :
- Download and install the bundle liferay-portal-tomcat-jdk5-4.2.0.zip (it works
correctly). Setting of CATALINA_HOME.
- Download kosmos-0.2.0RC2-for-liferay-portal.zip
- Unzip it and copy the content of the kosmos webapps in the webapp directory of Tomcat
- Execute startup.bat of Tomcat. It seems that the deployment of kosmos portlet fails.
Here is the log of the startup
26 d?®c. 2006 12:47:55 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
| INFO: The Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path: C
|
:\JDK\jdk1.5.0_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\oracle\product\10.2.0\client_2\bin;D:\oracle\product\10.2.0\client_1;C:\WINDOWS\sy
| stem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IDM Computer
Solutions\UltraEdit-32;C:\mysql\bin;D:\Lib\apache-ant-1.6.5\bin;C:\
| Program Files\ATI Technologies\ATI Control
Panel;C:\Dev\Tools\bin;C:\JDK\jdk1.5.0_08\bin;D:\Servers\Apache2\bin;C:\Dev\Tools\bin;C:\Program
| Files\MySQL\MySQL Server 5.0\bin;C:\Program
Files\QuickTime\QTSystem\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program
Files\Subversion
| \bin;C:\Dev\Tools\jwsdp-2.0\jwsdp-shared\bin;C:\Program Files\CVSNT\
| 26 d?®c. 2006 12:48:57 org.apache.coyote.http11.Http11BaseProtocol init
| INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
| 26 d?®c. 2006 12:48:57 org.apache.catalina.startup.Catalina load
| INFO: Initialization processed in 61875 ms
| 26 d?®c. 2006 12:48:57 org.apache.catalina.core.StandardService start
| INFO: D?®marrage du service Catalina
| 26 d?®c. 2006 12:48:57 org.apache.catalina.core.StandardEngine start
| INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
| 26 d?®c. 2006 12:48:57 org.apache.catalina.core.StandardHost start
| INFO: XML validation disabled
| 26 d?®c. 2006 12:48:57 org.apache.catalina.realm.JAASRealm setUseContextClassLoader
| INFO: Setting useContextClassLoader = false
| log4j:WARN No appenders could be found for logger
(org.apache.catalina.startup.TldConfig).
| log4j:WARN Please initialize the log4j system properly.
| Loading
jar:file:/D:/liferay/liferay-portal-tomcat-jdk5-4.2.0/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/system.properties
| Loading
jar:file:/D:/liferay/liferay-portal-tomcat-jdk5-4.2.0/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/portal.properties
| Loading
file:/D:/liferay/liferay-portal-tomcat-jdk5-4.2.0/webapps/ROOT/WEB-INF/classes/portal-ext.properties
| Starting Liferay Portal Professional 4.2.0 (Cowper / Build 3500 / December 11, 2006)
| 12:49:04,625 INFO [DynamicDialect:74] Determining dialect for HSQL Database Engine 1
| 12:49:04,640 INFO [DynamicDialect:81] Using dialect
org.hibernate.dialect.HSQLDialect
| Loading
jar:file:/D:/liferay/liferay-portal-tomcat-jdk5-4.2.0/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/cache-multi-vm.properties
| 12:49:07,656 INFO [HotDeployUtil:76] Initializing hot deploy manager 30686131
| 12:49:07,671 INFO [ServerDetector:76] Detected server tomcat
| 12:49:07,781 INFO [AutoDeployDir:76] Auto deploy scanner started for
\home\liferay\deploy
| Loading
jar:file:/D:/liferay/liferay-portal-tomcat-jdk5-4.2.0/webapps/ROOT/WEB-INF/lib/portal-ejb.jar!/cms-redirects.properties
| log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
| log4j:WARN Please initialize the log4j system properly.
| 26 d?®c. 2006 12:49:28 org.apache.catalina.core.StandardContext start
| SEVERE: Error listenerStart
| 26 d?®c. 2006 12:49:28 org.apache.catalina.core.StandardContext start
| SEVERE: Erreur de d?®marrage du contexte [/kosmos-portlet] suite aux erreurs
pr?®c?®dentes
| log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
| log4j:WARN Please initialize the log4j system properly.
| 26 Dec 2006 12:49:29 - org.apache.slide.common.Domain - INFO - Initializing Domain
| 26 Dec 2006 12:49:29 - org.apache.slide.common.Domain - INFO - Domain configuration :
{org.apache.slide.lock=true, org.apache.slide.versionc
| ontrol=true, org.apache.slide.debug=false, org.apache.slide.search=true,
org.apache.slide.security=true, org.apache.slide.urlEncoding=UTF-8}
|
| 26 Dec 2006 12:49:29 - org.apache.slide.common.Domain - INFO - Domain parameters:
{logger-level=6, versioncontrol-exclude=, auto-version=che
| ckout-checkin, historypath=/history, checkin-fork=forbidden,
workingresourcepath=/workingresource, workspacepath=/workspace, default=slide,
| auto-version-control=false, logger=org.apache.slide.util.logger.SimpleLogger,
checkout-fork=forbidden}
| 26 Dec 2006 12:49:29 - org.apache.slide.common.Domain - INFO - Initializing namespace
: slide
| 26 Dec 2006 12:49:29 - org.apache.slide.common.Namespace - INFO - Loading namespace
slide parameters
| 26 Dec 2006 12:49:29 - org.apache.slide.common.Namespace - INFO - Loading namespace
definition
| 26 Dec 2006 12:49:29 - org.apache.slide.common.Namespace - INFO - nodestore:
org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
| 26 Dec 2006 12:49:30 - file-meta-store - INFO - File Store configured to
store/metadata, working directory work/metadata
| 26 Dec 2006 12:49:30 - file-meta-store - INFO - Set timeout to 120
| 26 Dec 2006 12:49:30 - file-meta-store - INFO - Enabling deferred saving
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - securitystore
references nodestore
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - lockstore references
nodestore
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO -
revisiondescriptorsstore references nodestore
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO -
revisiondescriptorstore references nodestore
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - contentstore:
org.apache.slide.store.txfile.TxFileContentStore
| 26 Dec 2006 12:49:30 - file-content-store - INFO - File Store configured to
store/content, working directory work/content
| 26 Dec 2006 12:49:30 - file-content-store - INFO - Set timeout to 120
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - sequencestore:
org.apache.slide.store.txfile.FileSequenceStore
| 26 Dec 2006 12:49:30 - org.apache.slide.store.txfile.FileSequenceStore - INFO - File
Sequence Store configured to store/sequence
| 26 Dec 2006 12:49:30 - INFO - Setting TLock timeout for store tx to 120 seconds
| 26 Dec 2006 12:49:30 - INFO - Setting object cache size for store tx to 10000
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting
permission cache size for store tx to 10000
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting lock
cache size for store tx to 100
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting
descriptors cache size for store tx to 10000
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting
descriptor cache size for store tx to 10000
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting content
caching for store tx to false
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting content
cache size for store tx to 10000
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting content
cache byte size for store tx to 10000000
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting
transaction content cache size for store tx to 1000
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting
transaction content cache byte size for store tx to 1000000
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Setting maximum
byte size for content cache entry for store tx to 50000
|
| 26 Dec 2006 12:49:30 - org.apache.slide.store.ExtendedStore - INFO - Enabling full
caching causing low isolation
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - Registering Store tx
(class org.apache.slide.store.ExtendedStore) with par
| ameters {tlock-timeout=120} on scope /
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - Initializing Store
tx(org.apache.slide.store.ExtendedStore)
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - Loading namespace
slide base data
| 26 Dec 2006 12:49:30 - org.apache.commons.transaction.file.FileResourceManager - INFO
- Starting RM at 'store/metadata' / 'work/metadata'
| 26 Dec 2006 12:49:30 - org.apache.commons.transaction.file.FileResourceManager - INFO
- Started RM
| 26 Dec 2006 12:49:30 - org.apache.commons.transaction.file.FileResourceManager - INFO
- Starting RM at 'store/content' / 'work/content'
| 26 Dec 2006 12:49:30 - org.apache.commons.transaction.file.FileResourceManager - INFO
- Started RM
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - Init namespace slide
configuration
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - Import data into
namespace slide
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/users
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /users
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/users/root
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /users/root
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/users/john
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /users/john
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/users/john2
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /users/john2
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/users/guest
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /users/guest
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/users/projector
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /users/projector
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/roles
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /roles
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/roles/root
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /roles/root
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/roles/user
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /roles/user
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/roles/guest
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /roles/guest
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/roles/projector
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /roles/projector
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/read
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/read
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/read-acl
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/read-acl
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/read-current-user-privilege-set
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/read-current-user-privilege-set
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/write
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/write
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/write-acl
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/write-acl
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/write-properties
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/write-properties
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/write-content
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/write-content
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/bind
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/bind
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/unbind
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/unbind
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/actions/unlock
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /actions/unlock
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/files
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /files
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/projector
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /projector
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/projector/work
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /projector/work
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/history
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /history
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/workspace
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /workspace
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Loading object
/workingresource
| 26 Dec 2006 12:49:30 - org.apache.slide.common.XMLUnmarshaller - INFO - Object already
exists at /workingresource
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - Finish init
namespace slide configuration
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Namespace - INFO - Loading namespace
slide configuration
| 26 Dec 2006 12:49:30 - org.apache.slide.common.Domain - INFO - Namespace configuration
complete
| 26 Dec 2006 12:49:30 - org.apache.slide.webdav.event.NotificationTrigger - INFO -
Creating notification trigger
| 26 d?®c. 2006 12:49:30 org.apache.catalina.realm.JAASRealm setUseContextClassLoader
| INFO: Setting useContextClassLoader = false
| 12:49:31,015 INFO [[/tunnel-web]:646] Loading Spring root WebApplicationContext
| 12:49:33,125 INFO [[/tunnel-web]:646] Loading WebApplicationContext for Spring
FrameworkServlet 'SpringServlet'
| 26 d?®c. 2006 12:49:34 org.apache.coyote.http11.Http11BaseProtocol start
| INFO: D?®marrage de Coyote HTTP/1.1 sur http-8080
| 26 d?®c. 2006 12:49:34 org.apache.jk.common.ChannelSocket init
| INFO: JK: ajp13 listening on /0.0.0.0:8009
| 26 d?®c. 2006 12:49:34 org.apache.jk.server.JkMain start
| INFO: Jk running ID=0 time=0/47 config=null
| 26 d?®c. 2006 12:49:34 org.apache.catalina.storeconfig.StoreLoader load
| INFO: Find registry server-registry.xml at classpath resource
| 26 d?®c. 2006 12:49:34 org.apache.catalina.startup.Catalina start
| INFO: Server startup in 37641 ms
|
I also try to install Kosmos manually by changing a few xml files but no result.
Thanks for your help.
Olivier
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996276#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...