Foren

Liferay 6.0.1 startup failed. Help!

thumbnail
Apoena Oliveira Machado, geändert vor 13 Jahren.

Liferay 6.0.1 startup failed. Help!

Junior Member Beiträge: 53 Beitrittsdatum: 16.11.09 Neueste 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

##
## Properties Override
##
    portal.ctx=/lportal
    dl.file.max.size=10072000
    javascript.fast.load=false
    theme.css.fast.load=false
    velocity.engine.resource.manager.cache.enabled=false
    layout.template.cache.enabled=false
    com.liferay.portal.servlet.filters.cache.CacheFilter=false
    
    jdbc.default.driverClassName=com.mysql.jdbc.Driver
    jdbc.default.url=jdbc:mysql://127.0.0.1/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
    jdbc.default.username=root
    jdbc.default.password=
    
    locales=pt_BR
    open.id.auth.enabled=false


6 - Created build.name.properties with this content


#ext.work.dir=/Library/Tomcat 6/webapps#

app.server.type=tomcat
app.server.dir=${env.CATALINA_HOME}
app.server.deploy.dir=${app.server.dir}/webapps
app.server.lib.global.dir=${app.server.dir}/lib/ext
app.server.portal.dir=${app.server.dir}/webapps/lportal


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