You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Geetika Srivastava <ge...@tcs.com> on 2010/04/26 15:50:35 UTC

Using tiles with tomahawk12 1.1.9

Hi,

I am trying to use tiles (struts version) with tomahawk12 1.1.9 jar. 
However it seems that the definition factory is not getting initialized as 
I am getting the error.

javax.faces.FacesException: javax.servlet.jsp.JspException: Can't get 
definitions factory from context.

I am using the same configuration as done in the example for tomahawk 
1.1.9 . 
Is there any difference in configuration for tomahawk12.

Regards,
Geetika Srivastava
Tata Consultancy Services
Mailto: geetika.srivastava@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Re: Using tiles with tomahawk12 1.1.9

Posted by Michael Heinen <mh...@googlemail.com>.
Which tiles version are you using?
Tiles 2.0.7 works fine with tomohawl 12_1.1.9. Newer versions are not 
supported by tomahawk.

Make sure to read the tiles migration guide if you update from an older 
struts-tiles version.

See this web page and the other migration pages at the bottom.
http://tiles.apache.org/2.0/framework/migration/tags.html

Michael


Am 26.04.2010 15:50, schrieb Geetika Srivastava:
> Hi,
>
> I am trying to use tiles (struts version) with tomahawk12 1.1.9 jar.
> However it seems that the definition factory is not getting initialized as
> I am getting the error.
>
> javax.faces.FacesException: javax.servlet.jsp.JspException: Can't get
> definitions factory from context.
>
> I am using the same configuration as done in the example for tomahawk
> 1.1.9 .
> Is there any difference in configuration for tomahawk12.
>
> Regards,
> Geetika Srivastava
> Tata Consultancy Services
> Mailto: geetika.srivastava@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.   IT Services
>                          Business Solutions
>                          Outsourcing
> ____________________________________________
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
>    


Re: Using tiles with tomahawk12 1.1.9

Posted by Werner Punz <we...@gmail.com>.
Actually after a little bit more googleing, I personally think this 
error stems from a security setting or tiles bug (for a specific version)
either way you get this error message if a tiles config file cannot be 
loaded from your web application context.

Werner


Am 26.04.10 19:08, schrieb Werner Punz:
> Hello since Tiles is mostly legacy by now (almost everyone has moved to
> Facelets) I googled for your error and found following, it might be
> worthwhile for a try:
>
> http://forums.sun.com/thread.jspa?threadID=543149
>
> (see the post at the bottom)
>
>
> Werner
>
>
> Am 26.04.10 15:50, schrieb Geetika Srivastava:
>> Hi,
>>
>> I am trying to use tiles (struts version) with tomahawk12 1.1.9 jar.
>> However it seems that the definition factory is not getting
>> initialized as
>> I am getting the error.
>>
>> javax.faces.FacesException: javax.servlet.jsp.JspException: Can't get
>> definitions factory from context.
>>
>> I am using the same configuration as done in the example for tomahawk
>> 1.1.9 .
>> Is there any difference in configuration for tomahawk12.
>>
>> Regards,
>> Geetika Srivastava
>> Tata Consultancy Services
>> Mailto: geetika.srivastava@tcs.com
>> Website: http://www.tcs.com
>> ____________________________________________
>> Experience certainty. IT Services
>> Business Solutions
>> Outsourcing
>> ____________________________________________
>> =====-----=====-----=====
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain
>> confidential or privileged information. If you are
>> not the intended recipient, any dissemination, use,
>> review, distribution, printing or copying of the
>> information contained in this e-mail message
>> and/or attachments to it are strictly prohibited. If
>> you have received this communication in error,
>> please notify us by reply e-mail or telephone and
>> immediately and permanently delete the message
>> and any attachments. Thank you
>>
>>
>>
>
>
>



Re: Using tiles with tomahawk12 1.1.9

Posted by Werner Punz <we...@gmail.com>.
Hello since Tiles is mostly legacy by now (almost everyone has moved to 
Facelets) I googled for your error and found following, it might be 
worthwhile for a try:

http://forums.sun.com/thread.jspa?threadID=543149

(see the post at the bottom)


Werner


Am 26.04.10 15:50, schrieb Geetika Srivastava:
> Hi,
>
> I am trying to use tiles (struts version) with tomahawk12 1.1.9 jar.
> However it seems that the definition factory is not getting initialized as
> I am getting the error.
>
> javax.faces.FacesException: javax.servlet.jsp.JspException: Can't get
> definitions factory from context.
>
> I am using the same configuration as done in the example for tomahawk
> 1.1.9 .
> Is there any difference in configuration for tomahawk12.
>
> Regards,
> Geetika Srivastava
> Tata Consultancy Services
> Mailto: geetika.srivastava@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty.   IT Services
>                          Business Solutions
>                          Outsourcing
> ____________________________________________
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>