Error occures when deploying theme to liferay portal. “No theme found for specified theme id .”

I've create sample theme, i.e. custom.css according to liferay tutorial, and don't know why my theme is not deployed, in the log file is the next content: "No theme found for specified theme id . Returning the default theme." And in the themes in "Manage->Page->Look and Feel" there is no my theme

Answer:1

This warning messages will be displayed when you have already applied a theme to the site(Community) but That theme is now undeployed currently. This can happen due to the recent changes that you have made to the theme. please try reverting the changes that you have made, and make sure that your theme get registered successfully when you deployed.

if the problem still persists, please let us know error log statements or What are the exact changes that you have done to the theme.


I Think your theme is getting deployed to glassfish, but not getting registered to Liferay.

May be there is a problem in your deployment process, can you please set these properties accordingly in your portal-ext.properties file

'
#
# Set this to true to enable auto deploy of layout templates, portlets, and
# themes.
#
auto.deploy.enabled=true

#
# Set the directory to scan for layout templates, portlets, and themes to
# auto deploy.
#
auto.deploy.deploy.dir=${liferay.home}/deploy

#
# Set the directory where auto deployed WARs are copied to. The application
# server or servlet container must know to listen on that directory.
# Different containers have different hot deploy paths. For example, Tomcat
# listens on "${catalina.base}/webapps" whereas JBoss listens on
# "${jboss.server.home.dir}/deploy". Set a blank directory to automatically
# use the application server specific directory.
#
auto.deploy.dest.dir=
auto.deploy.default.dest.dir=../webapps
auto.deploy.geronimo.dest.dir=${org.apache.geronimo.home.dir}/deploy
auto.deploy.glassfish.dest.dir=${com.sun.aas.instanceRoot}/autodeploy
auto.deploy.jboss.dest.dir=${jboss.server.home.dir}/deploy
auto.deploy.jetty.dest.dir=${jetty.home}/webapps
auto.deploy.jonas.dest.dir=${jonas.base}/deploy
auto.deploy.resin.dest.dir=${resin.home}/webapps
auto.deploy.tomcat.dest.dir=${catalina.base}/webapps
auto.deploy.weblogic.dest.dir=${env.DOMAIN_HOME}/autodeploy

'

After configuring this specific to glassfish, you should see log message saying

1 Themes for mytheme registered successfully.

Answer:2

What is difference b/w Discriminator Value And Discriminator Column? Purpose of both term and when to use? Note: I have read many topics after searching but totally confused. Please Explain with the ...

I am trying to add SQLite driver sqlitejdbc-v056.jar into my netbeans 7.1.2 project, I have created the database and everything without any problem but when I try to connect to the database with the ...

I have an array like below: PersonClass[] person= { new PersonClass("90234234434", "John", "Smith", 22, "Street 22/5", 10//this is priority from 0 up to 10), ... .....

There is a question about doubly linkedlist that I have been thinking for a while but still cannot get the answer. Suppose there are N elements in a doubly linkedlist. How many elements do we have to ...