On a production server or even some staging servers that isn't really an option...

For those running into this I'd recommend an "ant run-install-seed" and then if there are issues track down and remove the offending data (like the old VisualTheme and VisualThemeResource records with visualThemeId=DEFAULT).

A nice tool to help with this is to compare data in the database with data in readers, specifically the "seed" reader in this case. This can be done on the "XML Data Import Readers" page in Webtools by checking the box labeled "Check Data Only (nothing changed in database)"

-David


On Apr 18, 2009, at 10:50 PM, Adrian Crum wrote:


There is a good chance there will be a problem if you don't do a clean first. Some of the themes have been moved around. If you don't do a clean, the the themes that were moved will have entities pointing to BOTH theme locations - which may generate these types of errors.

-Adrian


--- On Sat, 4/18/09, David E Jones <david.jo...@hotwaxmedia.com> wrote:

From: David E Jones <david.jo...@hotwaxmedia.com>
Subject: Re: theme errors at r766336
To: user@ofbiz.apache.org
Cc: aswath.satras...@gmail.com
Date: Saturday, April 18, 2009, 9:20 PM
Doing a clean install shouldn't be required for this
(but would definitely take care of it!), just reloading seed
data should be enough (ie "ant run-install-seed").

-David

On Apr 18, 2009, at 10:09 PM, Ashish Vijaywargiya wrote:

I was getting the same error before 3 days or so.
I dropped the database and did clean installation.
(ant clean && ant
run-install)

Working fine for me now :-)
--
Ashish

On Sat, Apr 18, 2009 at 8:52 PM, aswath narayana
<aswath.satras...@gmail.com
wrote:

Hello,
I am at r766336.  All my screens give the
following

Error rendering included template at location

[component://common/webcommon/includes/header.ftl]:
java.lang.IllegalArgumentException: FreeMarker
file not found at location:
component://common/webcommon/includes/header.ftl
Error rendering included
template at location
[component://common/webcommon/includes/appbar.ftl]:
java.lang.IllegalArgumentException: FreeMarker
file not found at location:
component://common/webcommon/includes/appbar.ftl

-Aswwath





Reply via email to