Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Pablo Algaba
Help deploying theme Zoe Resort in Liferay 6.1.1
May 10, 2013 4:17 AM
Answer

Pablo Algaba

Rank: New Member

Posts: 4

Join Date: May 8, 2013

Recent Posts

Hello,

I want install a theme and deploy all the content automatically in the server.
When i install a theme, for example Zoe Resort, the theme defines the pages in a structurated sitemap.json, but when i apply it on the server, does not display web content and default pages, should be created automatically? or i need to do something?
Besides having installed the app web-resource-importer.

I aprecciate your help.

Regards,
Pablo
Juan Gonzalez
RE: Help deploying theme Zoe Resort in Liferay 6.1.1
May 10, 2013 4:33 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2892

Join Date: October 28, 2008

Recent Posts

Logs are your friends! emoticon

Can you check your error logs and see what are saying?
Pablo Algaba
RE: Help deploying theme Zoe Resort in Liferay 6.1.1
May 10, 2013 4:43 AM
Answer

Pablo Algaba

Rank: New Member

Posts: 4

Join Date: May 8, 2013

Recent Posts

Hello Juan

sorry i should have put it before :S

my error is this:

07:40:31,484 ERROR [liferay/hot_deploy-1][SerialDestination:113] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={principalPassword=null, principalName=null, command=deploy, companyId=0, servletContextName=zoe-resort-theme}}
com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portlet.journal.ArticleTitleException

hope you can help me emoticon
Pablo Algaba
RE: Help deploying theme Zoe Resort in Liferay 6.1.1
May 15, 2013 12:42 AM
Answer

Pablo Algaba

Rank: New Member

Posts: 4

Join Date: May 8, 2013

Recent Posts

Hi again,

I just reinstall the server, the Resource-importer, and Zoe Resort theme, and this is the error when installing:

07:31:42,415 INFO [http-bio-8080-exec-16][ThemeAutoDeployListener:49] Copying themes for /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142388/zoe-resort-theme-6.1.1.3-ce-ga2-20121226145719582.war
07:31:42,419 INFO [http-bio-8080-exec-16][BaseDeployer:763] Deploying zoe-resort-theme-6.1.1.3-ce-ga2-20121226145719582.war
Expanding: /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142388/zoe-resort-theme-6.1.1.3-ce-ga2-20121226145719582.war into /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142420
Copying 1 file to /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142420/WEB-INF
Copying 1 file to /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142420/WEB-INF/classes
Copying 1 file to /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142420/WEB-INF/classes
Copying 1 file to /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142420/WEB-INF
07:31:42,998 INFO [http-bio-8080-exec-16][BaseDeployer:2083] Modifying Servlet 2.4 /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142420/WEB-INF/web.xml
Copying 791 files to /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/webapps/zoe-resort-theme
Copying 1 file to /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/webapps/zoe-resort-theme
Deleting directory /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142420
07:31:43,328 INFO [http-bio-8080-exec-16][ThemeAutoDeployListener:55] Themes for /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142388/zoe-resort-theme-6.1.1.3-ce-ga2-20121226145719582.war copied successfully. Deployment will start in a few seconds.
07:31:43,333 INFO [http-bio-8080-exec-16][WebAutoDeployListener:48] Copying web plugin for /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/temp/20130515073142388/resources-importer-web-6.1.1.2-ce-ga2-20121226145719582.war
07:31:43,335 INFO [http-bio-8080-exec-16][BaseDeployer:763] Deploying resources-importer-web-6.1.1.2-ce-ga2-20121226145719582.war
07:31:43,337 INFO [http-bio-8080-exec-16][BaseDeployer:859] Updating Resources Importer from version 6.1.1.2-ce-ga2-20130225180022333 to version 6.1.1.2-ce-ga2-20121226145719582
07:31:43,338 INFO [http-bio-8080-exec-16][BaseDeployer:868] Not updating Resources Importer because version 6.1.1.2-ce-ga2-20130225180022333 is newer than version 6.1.1.2-ce-ga2-20121226145719582
may 15, 2013 7:31:49 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio /home/pablo/software/java/liferay-portal-6.1.1-ce-ga2-bootstrap/tomcat-7.0.27/webapps/zoe-resort-theme de la aplicación web
07:31:49,171 INFO [pool-2-thread-3][HotDeployEvent:109] Plugin zoe-resort-theme requires resources-importer-web
07:31:49,236 INFO [pool-2-thread-3][HotDeployImpl:178] Deploying zoe-resort-theme from queue
07:31:49,237 INFO [pool-2-thread-3][PluginPackageUtil:1033] Reading plugin package for zoe-resort-theme
may 15, 2013 7:31:49 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
07:31:49,384 INFO [pool-2-thread-3][ThemeHotDeployListener:87] Registering themes for zoe-resort-theme
07:31:50,224 INFO [pool-2-thread-3][ThemeHotDeployListener:100] 1 theme for zoe-resort-theme is available for use
Exception in thread "liferay/document_library_image_processor-3" java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException
at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:46)
at com.sun.media.jai.codec.ImageDecoderImpl.decodeAsRenderedImage(ImageDecoderImpl.java:140)
at com.liferay.portal.image.ImageToolImpl.read(ImageToolImpl.java:176)
at com.liferay.portal.kernel.image.ImageToolUtil.read(ImageToolUtil.java:67)
at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl._generateImages(ImageProcessorImpl.java:253)
at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl.generateImages(ImageProcessorImpl.java:75)
at com.liferay.portlet.documentlibrary.util.ImageProcessorUtil.generateImages(ImageProcessorUtil.java:39)
at com.liferay.portlet.documentlibrary.messaging.ImageProcessorMessageListener.doReceive(ImageProcessorMessageListener.java:36)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.ImageFormatException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
... 14 more
Exception in thread "liferay/document_library_image_processor-4" java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException
at com.sun.media.jai.codecimpl.JPEGImageDecoder.decodeAsRenderedImage(JPEGImageDecoder.java:46)
at com.sun.media.jai.codec.ImageDecoderImpl.decodeAsRenderedImage(ImageDecoderImpl.java:140)
at com.liferay.portal.image.ImageToolImpl.read(ImageToolImpl.java:176)
at com.liferay.portal.kernel.image.ImageToolUtil.read(ImageToolUtil.java:67)
at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl._generateImages(ImageProcessorImpl.java:253)
at com.liferay.portlet.documentlibrary.util.ImageProcessorImpl.generateImages(ImageProcessorImpl.java:75)
at com.liferay.portlet.documentlibrary.util.ImageProcessorUtil.generateImages(ImageProcessorUtil.java:39)
at com.liferay.portlet.documentlibrary.messaging.ImageProcessorMessageListener.doReceive(ImageProcessorMessageListener.java:36)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.ImageFormatException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
... 14 more
07:31:52,409 ERROR [liferay/hot_deploy-1][SerialDestination:113] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={principalPassword=null, principalName=null, command=deploy, companyId=0, servletContextName=zoe-resort-theme}}
com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portlet.journal.ArticleTitleException
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:31)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.liferay.portlet.journal.ArticleTitleException
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.validate(JournalArticleLocalServiceImpl.java:3459)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.validate(JournalArticleLocalServiceImpl.java:3549)
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.addArticle(JournalArticleLocalServiceImpl.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at com.sun.proxy.$Proxy206.addArticle(Unknown Source)
at com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.addArticle(JournalArticleLocalServiceUtil.java:306)
at com.liferay.resourcesimporter.util.FileSystemImporter.doAddJournalArticles(FileSystemImporter.java:447)
at com.liferay.resourcesimporter.util.ResourceImporter.addJournalArticles(ResourceImporter.java:91)
at com.liferay.resourcesimporter.util.FileSystemImporter.doAddJournalTemplates(FileSystemImporter.java:514)
at com.liferay.resourcesimporter.util.ResourceImporter.addJournalTemplates(ResourceImporter.java:150)
at com.liferay.resourcesimporter.util.FileSystemImporter.doAddJournalStructures(FileSystemImporter.java:481)
at com.liferay.resourcesimporter.util.ResourceImporter.addJournalStructures(ResourceImporter.java:121)
at com.liferay.resourcesimporter.util.FileSystemImporter.setupAssets(FileSystemImporter.java:744)
at com.liferay.resourcesimporter.util.FileSystemImporter.doImportResources(FileSystemImporter.java:530)
at com.liferay.resourcesimporter.util.ResourceImporter.importResources(ResourceImporter.java:35)
at com.liferay.resourcesimporter.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:166)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
... 5 more

I aprecciate all your help.

Regards,
Pablo
Oliver Bayer
RE: Help deploying theme Zoe Resort in Liferay 6.1.1
May 15, 2013 1:19 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 889

Join Date: February 18, 2009

Recent Posts

Hi Pablo,

looking at the stacktrace you provided you will see the following line:
1Caused by: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.ImageFormatException

This means your installation is either missing a required jar file with this class or you are maybe not using the Sun/ Oracle jvm.

HTH Oli