Foren

liferay-portal-6.1.20-ee-ga2 Theme issue

thumbnail
Rajeev khan, geändert vor 11 Jahren.

liferay-portal-6.1.20-ee-ga2 Theme issue

New Member Beiträge: 14 Beitrittsdatum: 13.07.11 Neueste Beiträge
HI,


NEED HELP

I have created a theme on my local machine. it is working fine.

But the same theme if i put it inside the server i am getting a error like this

"
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)


"

And i am also getting a broken blank theme.

thumbnail
Tejas Kanani, geändert vor 11 Jahren.

RE: liferay-portal-6.1.20-ee-ga2 Theme issue

Liferay Master Beiträge: 654 Beitrittsdatum: 06.01.09 Neueste Beiträge
Can you post complete error logs here ? that will be helpful to get exact issue you are getting.
Also try once by deleting temp & work folder after shutting down server and again restart the server.
thumbnail
Rajeev khan, geändert vor 11 Jahren.

RE: liferay-portal-6.1.20-ee-ga2 Theme issue

New Member Beiträge: 14 Beitrittsdatum: 13.07.11 Neueste Beiträge
Hi,
Thanks for your swift reply, as per your suggestion i stopped liferay and the deleted all related files. I then restarted and tried deploying the theme, but i still get the same error.

Here's part of the log for reference:
10:42:07,725 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][ThemeAutoDeployListener:49] Copying themes for /opt/liferay-portal-6.1.20-ee-ga2/deploy/deep-blue234-theme.war
10:42:07,727 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:763] Deploying deep-blue234-theme.war
Expanding: /opt/liferay-portal-6.1.20-ee-ga2/deploy/deep-blue234-theme.war into /opt/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/temp/20130110104207729
10:42:08,325 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2083] Modifying Servlet 2.4 /opt/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/temp/20130110104207729/WEB-INF/web.xml
Warning: WEB-INF/classes/log4j.properties modified in the future.
Warning: WEB-INF/classes/logging.properties modified in the future.
Warning: WEB-INF/lib/commons-logging.jar modified in the future.
Warning: WEB-INF/lib/log4j.jar modified in the future.
Warning: WEB-INF/lib/util-java.jar modified in the future.
Warning: WEB-INF/lib/util-taglib.jar modified in the future.
Warning: WEB-INF/liferay-plugin-package.properties modified in the future.
Warning: WEB-INF/tld/liferay-theme.tld modified in the future.
Warning: WEB-INF/tld/liferay-util.tld modified in the future.
Warning: images/color_schemes/blue/thumbnail.png modified in the future.
Warning: WEB-INF/tld modified in the future.
Warning: images/color_schemes modified in the future.
Warning: images/color_schemes/orange/aui modified in the future.
Warning: images/color_schemes/orange/dockbar modified in the future.
Warning: images/diff modified in the future.
Warning: images/file_system modified in the future.
Warning: images/file_system/large modified in the future.
Warning: images/messages modified in the future.
Warning: js modified in the future.
Copying 839 files to /opt/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/webapps/deep-blue234-theme
Copying 1 file to /opt/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/webapps/deep-blue234-theme
Deleting directory /opt/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/temp/20130110104207729
10:42:08,710 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][ThemeAutoDeployListener:55] Themes for /opt/liferay-portal-6.1.20-ee-ga2/deploy/deep-blue234-theme.war copied successfully. Deployment will start in a few seconds.
Jan 10, 2013 10:42:15 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/liferay-portal-6.1.20-ee-ga2/tomcat-7.0.27/webapps/deep-blue234-theme
10:42:15,521 INFO [pool-2-thread-2][HotDeployImpl:178] Deploying deep-blue234-theme from queue
10:42:15,521 INFO [pool-2-thread-2][PluginPackageUtil:1033] Reading plugin package for deep-blue234-theme
Jan 10, 2013 10:42:15 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
10:42:15,605 INFO [pool-2-thread-2][ThemeHotDeployListener:87] Registering themes for deep-blue234-theme
10:42:15,642 INFO [pool-2-thread-2][ThemeHotDeployListener:100] 1 theme for deep-blue234-theme is available for use
10:42:24,789 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1421] Checking for available updates
10:42:24,792 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1465] Finished checking for available updates in 2 ms
Exception in thread "http-bio-8080-exec-12" java.lang.StackOverflowError
at java.lang.Long.toString(Long.java:244)
at java.lang.Long.toString(Long.java:100)
at java.lang.String.valueOf(String.java:2945)
at java.lang.Long.toString(Long.java:740)
at java.lang.String.valueOf(String.java:2826)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.getInvokerFilterChain(InvokerFilter.java:185)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:64)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)


Here's the theme that i am trying to deploy: (attach file)
thumbnail
Tejas Kanani, geändert vor 11 Jahren.

RE: liferay-portal-6.1.20-ee-ga2 Theme issue

Liferay Master Beiträge: 654 Beitrittsdatum: 06.01.09 Neueste Beiträge
I've deployed your theme and m also getting the same issue.
What sort of customization have you done inside your theme ?
thumbnail
Rajeev khan, geändert vor 11 Jahren.

RE: liferay-portal-6.1.20-ee-ga2 Theme issue

New Member Beiträge: 14 Beitrittsdatum: 13.07.11 Neueste Beiträge
HI Tejas,

Initially i was getting a blank theme. theni went to build.xml and change the _style to classic

FROM:

<?xml version="1.0"?>
<!DOCTYPE project>

<project name="deep-blue234-theme" basedir="." default="deploy">
<import file="../build-common-theme.xml" />

<property name="theme.parent" value="_style" />
</project>


TO:

<?xml version="1.0"?>
<!DOCTYPE project>

<project name="deep-blue234-theme" basedir="." default="deploy">
<import file="../build-common-theme.xml" />

<property name="theme.parent" value="classic" />
</project>


And i copied css,images,templates and js folder to _diffs Folder


This is theme is working fine on my local machine.


But its not working inside Server.
thumbnail
Tejas Kanani, geändert vor 11 Jahren.

RE: liferay-portal-6.1.20-ee-ga2 Theme issue

Liferay Master Beiträge: 654 Beitrittsdatum: 06.01.09 Neueste Beiträge
Not sure why its working in your local.
I've removed some filter entries from web.xml and not its working for me.

PFA.

Thanks,
Tejas
thumbnail
Rajeev khan, geändert vor 11 Jahren.

RE: liferay-portal-6.1.20-ee-ga2 Theme issue

New Member Beiträge: 14 Beitrittsdatum: 13.07.11 Neueste Beiträge
Hi Tejas,

The issue got solved.

The problem was with the folder name ".sass-cache" inside the css Folder. In think this is a auto generated folder with its cache.


I have removed that and created a new theme, Now its working fine on both Local and inside the Server.


Thank you for your valubale time and support.


Regards
Rajeev Khan
thumbnail
Jitendra Rajput, geändert vor 11 Jahren.

RE: liferay-portal-6.1.20-ee-ga2 Theme issue

Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste Beiträge
Are you getting this screen after server startup ?