Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
[SOLVED] Are themes for 7.0GA4 incompatible with 7.0GA7?
Mirto Silvio Busico, modified 5 Years ago.
Regular Member
Posts: 240
Join Date: 1/18/12
Recent Posts
Forgive me.The war file was corrupted durin a copy.
Using the original file works correctly
______________________________________________________________________________-
Hi all,I have a theme developed for 7.0GA4.
Now I have a 7.0GA7 fresh install.
Trying to deploy the theme war file gives the error:
Using the original file works correctly
______________________________________________________________________________-
Hi all,I have a theme developed for 7.0GA4.
Now I have a 7.0GA7 fresh install.
Trying to deploy the theme war file gives the error:
2019-11-03 08:48:09.699 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:263] Processing classic-msb-4-theme.war
2019-11-03 08:48:17.219 ERROR [fileinstall-/LH/liferay-ce-portal-7.0-ga7/osgi/war][WarArtifactUrlTransformer:95] Unable to check resources in /LH/liferay-ce-portal-7.0-ga7/osgi/war/classic-msb-4-theme.war
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.zip.ZipFile.<init>(ZipFile.java:169)
at com.liferay.portal.osgi.web.wab.generator.internal.artifact.WarArtifactUrlTransformer._hasResources(WarArtifactUrlTransformer.java:65)
at com.liferay.portal.osgi.web.wab.generator.internal.artifact.WarArtifactUrlTransformer.canHandle(WarArtifactUrlTransformer.java:52)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.findListener(DirectoryWatcher.java:524)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:456)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)
2019-11-03 08:48:17.308 ERROR [fileinstall-/LH/liferay-ce-portal-7.0-ga7/osgi/war][org_apache_felix_fileinstall:97] Failed to install artifact: /LH/liferay-ce-portal-7.0-ga7/osgi/war/classic-msb-4-theme.war
</init></init></init>
How can I deploy correctly the old theme?
Mirto Silvio Busico:
That sounds like something is technically wrong with the zipfile. Can you unzip it using standard unzip tools? (you may need to rename it from .war to .zip)How can I deploy correctly the old theme?2019-11-03 08:48:09.699 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:263] Processing classic-msb-4-theme.war 2019-11-03 08:48:17.219 ERROR [fileinstall-/LH/liferay-ce-portal-7.0-ga7/osgi/war][WarArtifactUrlTransformer:95] Unable to check resources in /LH/liferay-ce-portal-7.0-ga7/osgi/war/classic-msb-4-theme.war java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method)
Mirto Silvio Busico, modified 5 Years ago.
Regular Member
Posts: 240
Join Date: 1/18/12
Recent Posts
You are right: trying to extract with a GUI tool as ark it says that the file is damaged; but I can open it in readonly mode.
The content seems correct.
The problem is that I'm absolutely sure that I installed the theme using this file (well a year ago on a Liferay 7.0 GA4).
Now I'm trying to regenerate the theme (...and I encountered a problem in installing generator-liferay-theme - see https://liferay.dev/forums/-/message_boards/message/117649954 )
Any hint?
The content seems correct.
The problem is that I'm absolutely sure that I installed the theme using this file (well a year ago on a Liferay 7.0 GA4).
Now I'm trying to regenerate the theme (...and I encountered a problem in installing generator-liferay-theme - see https://liferay.dev/forums/-/message_boards/message/117649954 )
Any hint?
Is the content correct or just the index (the list of files)?
Can you extract all the important files?
If only some files are damaged, you might be able to just replace those files.
Can you extract all the important files?
If only some files are damaged, you might be able to just replace those files.
Mirto Silvio Busico, modified 5 Years ago.
Regular Member
Posts: 240
Join Date: 1/18/12
Recent Posts
Thanks Christoph
The files seems redable; but I prefer to regenerate the theme.It is a simple modification of the classic theme: only two css files to change the color and a colophon substitution in the main template.I'll try to create the theme as soon I'm able to use the generator-liferay-theme
The files seems redable; but I prefer to regenerate the theme.It is a simple modification of the classic theme: only two css files to change the color and a colophon substitution in the main template.I'll try to create the theme as soon I'm able to use the generator-liferay-theme
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™