Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Apoena Oliveira Machado
Liferay 6.0.1 startup failed. Help!
13. Mai 2010 12:40
Antwort

Apoena Oliveira Machado

Rang: Junior Member

Nachrichten: 53

Eintrittsdatum: 16. November 2009

Neue Beiträge

Im trying to deploy ext on tomcat server from plugins sdk 6....but i got this message on tomcat startup

SEVERE: Exception processing JAR at resource path /Library/Tomcat 6/lib/ext/ext-service.jar in context /lportal
java.util.zip.ZipException: error in opening zip file



Someone can help me with this?

What i have done is

1 - Get source and plugins sdk
2 - Created app.server.name.properties and changed context to lportal
3 - executed COMPILE and DEPLOY form source ant tasks
4 - Created ext from command line on plugins sdk
5 - Changed portal-ext.properties with this

 1##
 2## Properties Override
 3##
 4    portal.ctx=/lportal
 5    dl.file.max.size=10072000
 6    javascript.fast.load=false
 7    theme.css.fast.load=false
 8    velocity.engine.resource.manager.cache.enabled=false
 9    layout.template.cache.enabled=false
10    com.liferay.portal.servlet.filters.cache.CacheFilter=false
11   
12    jdbc.default.driverClassName=com.mysql.jdbc.Driver
13    jdbc.default.url=jdbc:mysql://127.0.0.1/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
14    jdbc.default.username=root
15    jdbc.default.password=
16   
17    locales=pt_BR
18    open.id.auth.enabled=false


6 - Created build.name.properties with this content


1#ext.work.dir=/Library/Tomcat 6/webapps#
2
3app.server.type=tomcat
4app.server.dir=${env.CATALINA_HOME}
5app.server.deploy.dir=${app.server.dir}/webapps
6app.server.lib.global.dir=${app.server.dir}/lib/ext
7app.server.portal.dir=${app.server.dir}/webapps/lportal


7 - Executed DEPLOY ant task from ext project that was created
8 - Started Tomcat