Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Vasil Yaroshevich
Autodeploy for themes not works properly
August 2, 2006 12:56 AM
Answer

Vasil Yaroshevich

Rank: New Member

Posts: 21

Join Date: May 12, 2006

Recent Posts

Theme registered successifully, but if I has tryied use it I nave follows error:
07:48:51,046 ERROR [ThemeUtil:107] Theme mytheme_WAR_mytheme-themes-4.0.0 cannot
find its servlet context at mytheme-themes-4.0.0

I think is problems with registering theme at database.
Geoff Ebersol
RE: Autodeploy for themes not works properly
August 2, 2006 10:24 AM
Answer

Geoff Ebersol

Rank: Junior Member

Posts: 83

Join Date: June 22, 2006

Recent Posts

Are you attempting to deploy this on 4.0.0 or 4.1.0?
Vasil Yaroshevich
RE: Autodeploy for themes not works properly
August 3, 2006 1:25 PM
Answer

Vasil Yaroshevich

Rank: New Member

Posts: 21

Join Date: May 12, 2006

Recent Posts

Geoff Ebersol:
Are you attempting to deploy this on 4.0.0 or 4.1.0?

4.1.0 on Tomcat bundled conf (for java 1.4)
Abhijit Y Gurav
RE: Autodeploy for themes not works properly
August 9, 2006 7:55 AM
Answer

Abhijit Y Gurav

Rank: Regular Member

Posts: 155

Join Date: August 9, 2006

Recent Posts

Vasil Yaroshevich:
Theme registered successifully, but if I has tryied use it I nave follows error:
07:48:51,046 ERROR [ThemeUtil:107] Theme mytheme_WAR_mytheme-themes-4.0.0 cannot
find its servlet context at mytheme-themes-4.0.0

I think is problems with registering theme at database.


I have the same error.
I was working on 4.0.0rc1 and I have my theme called theme_orange, which is replica of Classic theme.This theme is in jsp.
When I moved my application from liferay 4.0.0rc1 to 4.1.0. i was trying to deploy my same theme on it.It registered successfully but when i am trying to use it,it gives error thatemoticon

12:13:18,477 ERROR [ThemeUtil:107] Theme theme_orange_WAR_theme_orange cannot find its servlet context at theme_orange

Then i read that in liferay 4.1 we need to make themes from Velocity Template. I did the same i changed all my jsp file in to the vm format.I removed common and js folder from my theme and since it going to access from /liferay4.1/webapps/ROOT/html/common and js.Then I deployed again no error duriong deployment emoticon

12:12:53,800 INFO [HotDeployThemeListener:79] Registering themes for theme_orange
12:12:53,809 INFO [HotDeployThemeListener:89] Themes for theme_orange registered successfully


But when I tried to use from look and feel tag my page goes blank and in log file it give error>(

12:13:18,477 ERROR [ThemeUtil:107] Theme theme_orange_WAR_theme_orange cannot find its servlet context at theme_orange

I am not getting where am i making mistake and where the servlet coming into picture???

Anybody having any idea about it

Pls i need to solved this....

Thx in advanceemoticon
Dave Finch
RE: Autodeploy for themes not works properly
December 1, 2006 1:47 AM
Answer

Dave Finch

Rank: Junior Member

Posts: 40

Join Date: February 2, 2005

Recent Posts

Hi,

I have a very similar problem.

I am running Liferay 4.1.3 pro on tomcat 5.0.

i have a JSP theme which i have cloned from classic and it appears to deploy fine but when i try and use it i just get a blank page and the following error:

108:11:36,906 ERROR [ThemeUtil:107] Theme acuedo_theme_WAR_acuedotheme cannot find its servlet context at acuedo-theme


Then i read that in liferay 4.1 we need to make themes from Velocity Template.

Is this true? can we not use JSP themes any more? I guess i can develop a theme in Velocity but will i continue to get the same error?

Does anyone have any ideas on this???

Thanks,

Dave Finch
www.acuedo.com
Mika Koivisto
RE: Autodeploy for themes not works properly
December 2, 2006 2:42 AM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1513

Join Date: August 7, 2006

Recent Posts

Hotdeploying JSP themes is not available in anything after Liferay 4.0 final release. This is due to change in classloading shared to isolated. You can only hotdeploy velocity based themes.