Forums de discussion
Custom theme can not be loaded
Toshiya TSURU, modifié il y a 10 années.
Custom theme can not be loaded
New Member Publications: 13 Date d'inscription: 17/06/13 Publications récentes
Hi,
I created a custom theme and deployed to local liferay, but the theme can not be shown at "Look & Feel" .
I got the message below in console out.
IS there somthing wrong?
I created a custom theme and deployed to local liferay, but the theme can not be shown at "Look & Feel" .
I got the message below in console out.
WARN [http-bio-8080-exec-7][ThemeLocalServiceImpl:153] No theme found for specified theme id . Returning the default theme.
IS there somthing wrong?
Zsigmond Rab, modifié il y a 10 années.
RE: Custom theme can not be loaded
Liferay Master Publications: 728 Date d'inscription: 05/01/10 Publications récentes
Hi Toshiya,
what can you see in the log file about the deployment of the theme?
Regards,
Zsigmond
what can you see in the log file about the deployment of the theme?
Regards,
Zsigmond
Toshiya TSURU, modifié il y a 10 années.
RE: Custom theme can not be loaded
New Member Publications: 13 Date d'inscription: 17/06/13 Publications récentes
Zsigmond, thanks.
I found these lines in catalina.log . "test-theme" is my custom theme.
Is there something wrong with my theme?
I found these lines in catalina.log . "test-theme" is my custom theme.
情報: 設定記述子 {path}\tomcat-7.0.40\conf\Catalina\localhost\test-theme.xml を配備します
11 11, 2013 4:24:38 午前 org.apache.catalina.startup.HostConfig deployDescriptor
警告: A docBase {path}\tomcat-7.0.40\webapps\test-theme inside the host appBase has been specified, and will be ignored
11 11, 2013 4:24:38 午前 org.apache.catalina.startup.SetContextPropertiesRule begin
警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:test-theme' did not find a matching property.
Is there something wrong with my theme?
Pankaj Kathiriya, modifié il y a 10 années.
RE: Custom theme can not be loaded
Liferay Master Publications: 722 Date d'inscription: 05/08/10 Publications récentes
Toshiya,
Delete \tomcat-7.0.40\conf\Catalina\localhost\test-theme.xml , temp, work folder under tomcat and test-theme folder from webapps.
And deploy your theme again.
This should resolve issue.
HTH
Delete \tomcat-7.0.40\conf\Catalina\localhost\test-theme.xml , temp, work folder under tomcat and test-theme folder from webapps.
And deploy your theme again.
This should resolve issue.
HTH
Toshiya TSURU, modifié il y a 10 années.
RE: Custom theme can not be loaded
New Member Publications: 13 Date d'inscription: 17/06/13 Publications récentes
Thanks, Pankaj
The error was disappeared from catalina.log, but still I can't find mt "test-theme" in "Look & Feel".
I found lines below at console.
The error was disappeared from catalina.log, but still I can't find mt "test-theme" in "Look & Feel".
I found lines below at console.
05:02:00,777 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HotDeployEvent:109] Plugin test-theme requires resources-importer-web
05:02:00,778 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PluginPackageUtil:1049] Reading plugin package for test-theme
05:02:01,644 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HotDeployEvent:109] Plugin test-theme requires resources-importer-web
05:02:01,696 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HotDeployImpl:239] Queueing test-theme for deploy because it is missing resources-importer-web
Pankaj Kathiriya, modifié il y a 10 années.
RE: Custom theme can not be loaded (Réponse)
Liferay Master Publications: 722 Date d'inscription: 05/08/10 Publications récentes
From log it seems you have provided some values to required-deployment-contexts in liferay-plugin-package.properties . If its not required then remove it.
If it is required then first deploy that component.
HTH
If it is required then first deploy that component.
HTH
Toshiya TSURU, modifié il y a 10 années.
RE: Custom theme can not be loaded
New Member Publications: 13 Date d'inscription: 17/06/13 Publications récentes
Thanks, Pankaj!
After I removed "resources-importer-web" from "required-deployment-contexts" in resources-importer-web.properties, All works fine!
By the way, I doubt that this is a bug of Liferay Developer Studio...
After I removed "resources-importer-web" from "required-deployment-contexts" in resources-importer-web.properties, All works fine!
By the way, I doubt that this is a bug of Liferay Developer Studio...