You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by aswath narayana <as...@gmail.com> on 2009/04/18 17:22:06 UTC

theme errors at r766336

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

Re: theme errors at r766336

Posted by Jacques Le Roux <ja...@les7arts.com>.
Try ant run-install (and see r765862, I suppose it's your problem)

Jacques

From: "aswath narayana" <as...@gmail.com>
> 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
>


Re: theme errors at r766336

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Hans Bakker" <ma...@antwebsystems.com>
>I had the same with the portal data because loading seed does not remove
> moved records.
> 
> I solved it by using the 
> http://docs.ofbiz.org/display/OFBTECH/Revisions+Requiring+Data+Migration
> document and note that some tables should be dropped and reloaded with
> seed data for a particular revision.
> 
> perhaps we should do this here too?

The question maybe : why it should not ?

Jacques
 
> Regards,
> Hans
> 
> 
> On Sat, 2009-04-18 at 23:09 -0600, David E Jones wrote:
>> 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 <da...@hotwaxmedia.com>  
>> > wrote:
>> >
>> >> From: David E Jones <da...@hotwaxmedia.com>
>> >> Subject: Re: theme errors at r766336
>> >> To: user@ofbiz.apache.org
>> >> Cc: aswath.satrasala@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.satrasala@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
>> >>>>
>> >
>> >
>> >
>> 
> -- 
> Antwebsystems.com: Quality OFBiz services for competitive rates
>


Recurring billing for customers

Posted by Mustansar Mehmood <mu...@hrshaikh.com>.
Hi,
    Is there any way to setup a customer for recurring billing rather 
invoice generation for a service we sell through ofbiz ?
Regards,
Mustansar
  

Re: theme errors at r766336

Posted by Hans Bakker <ma...@antwebsystems.com>.
I had the same with the portal data because loading seed does not remove
moved records.

I solved it by using the 
http://docs.ofbiz.org/display/OFBTECH/Revisions+Requiring+Data+Migration
document and note that some tables should be dropped and reloaded with
seed data for a particular revision.

perhaps we should do this here too?

Regards,
Hans


On Sat, 2009-04-18 at 23:09 -0600, David E Jones wrote:
> 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 <da...@hotwaxmedia.com>  
> > wrote:
> >
> >> From: David E Jones <da...@hotwaxmedia.com>
> >> Subject: Re: theme errors at r766336
> >> To: user@ofbiz.apache.org
> >> Cc: aswath.satrasala@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.satrasala@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
> >>>>
> >
> >
> >
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates


Re: theme errors at r766336

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Ashish Vijaywargiya" <vi...@gmail.com>
>>> 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)"
> 
> Thanks for the Tip David.
> This is really very good tool.

Yes, thanks David, I was not aware, nice.

Jacques
 
> --
> Ashish
> 
> On Sun, Apr 19, 2009 at 10:39 AM, David E Jones <david.jones@hotwaxmedia.com
>> wrote:
> 
>>
>> 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
>>
>>
>


Re: theme errors at r766336

Posted by Ashish Vijaywargiya <vi...@gmail.com>.
>> 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)"

Thanks for the Tip David.
This is really very good tool.

--
Ashish

On Sun, Apr 19, 2009 at 10:39 AM, David E Jones <david.jones@hotwaxmedia.com
> wrote:

>
> 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
>
>

Re: theme errors at r766336

Posted by David E Jones <da...@hotwaxmedia.com>.
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 <da...@hotwaxmedia.com>  
> wrote:
>
>> From: David E Jones <da...@hotwaxmedia.com>
>> Subject: Re: theme errors at r766336
>> To: user@ofbiz.apache.org
>> Cc: aswath.satrasala@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.satrasala@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
>>>>
>
>
>


Re: theme errors at r766336

Posted by Adrian Crum <ad...@yahoo.com>.
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 <da...@hotwaxmedia.com> wrote:

> From: David E Jones <da...@hotwaxmedia.com>
> Subject: Re: theme errors at r766336
> To: user@ofbiz.apache.org
> Cc: aswath.satrasala@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.satrasala@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
> >>


      

Re: theme errors at r766336

Posted by David E Jones <da...@hotwaxmedia.com>.
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.satrasala@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
>>


Re: theme errors at r766336

Posted by Ashish Vijaywargiya <vi...@gmail.com>.
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.satrasala@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
>

RE: theme errors at r766336

Posted by SELC Sales Div <se...@bdg.centrin.net.id>.
Do you <include ...> this ${OFBiz}component://common/webcommon/...
in your controller.xml? 

-----Original Message-----
From: aswath narayana [mailto:aswath.satrasala@gmail.com]
Sent: 18 April 2009 22:22
To: user@ofbiz.apache.org
Subject: theme errors at r766336


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