theme errors at r766336

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

theme errors at r766336

aswath narayana
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 | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

Jacques Le Roux
Administrator
Try ant run-install (and see r765862, I suppose it's your problem)

Jacques

From: "aswath narayana" <[hidden email]>

> 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 | Threaded
Open this post in threaded view
|

RE: theme errors at r766336

Charles Tjandra
In reply to this post by aswath narayana

Do you <include ...> this ${OFBiz}component://common/webcommon/...
in your controller.xml?

-----Original Message-----
From: aswath narayana [mailto:[hidden email]]
Sent: 18 April 2009 22:22
To: [hidden email]
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

Reply | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

Ashish Vijaywargiya
In reply to this post by aswath narayana
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 <[hidden email]
> 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 | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

David E Jones-3

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 <[hidden email]
>> 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 | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

Adrian Crum-2

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 <[hidden email]> wrote:

> From: David E Jones <[hidden email]>
> Subject: Re: theme errors at r766336
> To: [hidden email]
> Cc: [hidden email]
> 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
> <[hidden email]
> >> 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 | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

David E Jones-3

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 <[hidden email]>  
> wrote:
>
>> From: David E Jones <[hidden email]>
>> Subject: Re: theme errors at r766336
>> To: [hidden email]
>> Cc: [hidden email]
>> 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
>> <[hidden email]
>>>> 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 | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

Ashish Vijaywargiya
>> 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 <[hidden email]
> 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
>
>
Reply | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

hans_bakker
In reply to this post by David E Jones-3
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 <[hidden email]>  
> > wrote:
> >
> >> From: David E Jones <[hidden email]>
> >> Subject: Re: theme errors at r766336
> >> To: [hidden email]
> >> Cc: [hidden email]
> >> 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
> >> <[hidden email]
> >>>> 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

Reply | Threaded
Open this post in threaded view
|

Recurring billing for customers

Mustansar Mehmood-2
Hi,
    Is there any way to setup a customer for recurring billing rather
invoice generation for a service we sell through ofbiz ?
Regards,
Mustansar
 
Reply | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

Jacques Le Roux
Administrator
In reply to this post by Ashish Vijaywargiya
From: "Ashish Vijaywargiya" <[hidden email]>
>>> 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 <[hidden email]
>> 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
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: theme errors at r766336

Jacques Le Roux
Administrator
In reply to this post by hans_bakker
From: "Hans Bakker" <[hidden email]>
>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 <[hidden email]>  
>> > wrote:
>> >
>> >> From: David E Jones <[hidden email]>
>> >> Subject: Re: theme errors at r766336
>> >> To: [hidden email]
>> >> Cc: [hidden email]
>> >> 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
>> >> <[hidden email]
>> >>>> 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
>