Re: Requesting support on struts tiles plugin migration

2024-02-26 Thread SARAVANAN SIVAGURU
I managed to resolve the issue on loading the tiles*.xml file which is 
available native to the application(WEB-INF) code but when I try to load the 
tiles*.xml file on the classpath jar file am unable to load the same.

Any suggestions which could help me?

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:df014bb8-bc61-4c53-95a3-e402e605f892]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: SARAVANAN SIVAGURU 
Sent: Monday, February 26, 2024 5:05 PM
To: user@struts.apache.org 
Subject: Re: Requesting support on struts tiles plugin migration

You don't often get email from saravanan.sivag...@nielseniq.com.invalid. Learn 
why this is important<https://aka.ms/LearnAboutSenderIdentification>

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


Hi Luk

As I mentioned earlier am using the listener 
(org.apache.struts2.tiles.StrutsTilesListener) which you already suggested. And 
removed all the context param from the XML file.

When I try to load the configuration files automatically the definitions are 
not getting loaded as expected. Please find the attachment for the web.xml file 
and the image for the location of the tiles.xml file on the local application 
and also to the classpath jar file.

Local Path - 
C:\Users\sisa1008\Software\Apache\apache-tomee-plus-8.0.14\apps\ftmsconsole\ftmsconsole-webapp\WEB-INF\config\tiles
Classpath file - 
C:\Users\sisa1008\Software\Apache\apache-tomee-plus-8.0.14\apps\ftmsconsole\ftmsconsole-webapp\WEB-INF\lib\kawa-gui-5.5.6-SNAPSHOT.jar\META-INF\

Could you please suggest to me what is wrong over here or is there any bug on 
discovering the files with wildcard.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:10b4297d-45b1-4093-a1f4-b88c4431e871]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: SARAVANAN SIVAGURU 
Sent: Friday, February 23, 2024 5:51 PM
To: user@struts.apache.org 
Subject: Re: Requesting support on struts tiles plugin migration

Hi Luk

Yes, I am using the Struts Tiles Listener already


  org.apache.struts2.tiles.StrutsTilesListener


If I didn't mention below context param,


  
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
  
classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml


Am able to load only the tiles configuration file which is available on the 
WEB-INF folder that too only if I mentioned full path when I tried with the 
wildcard am not able to load the configuration even from the WEB-INF folder.

On whatever case, I am unable to load the configuration files from the 
classpath(META-INF).
The completeAutoLoad which you suggested is not available as a part of 
struts2-tiles plugin - 6.3.0.2 version right. Is there any other alternative 
functionality available to load the configuration files with wildcard?

Currently I am trying to create the complete auto load functionality in my 
common framework code to get used to the application which are consuming.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:3ae1a284-537b-4e0b-be4a-e664342af334]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses


Re: Requesting support on struts tiles plugin migration

2024-02-26 Thread Dave Newton
Tangential:

Please subscribe to the Strutd User mailing list.

We currently have to approve your messages manually.

On Mon, Feb 26, 2024 at 09:04 SARAVANAN SIVAGURU
 wrote:

> Hi Luk
>
> As I mentioned earlier am using the listener
> (org.apache.struts2.tiles.StrutsTilesListener) which you already suggested.
> And removed all the context param from the XML file.
>
> When I try to load the configuration files automatically the definitions
> are not getting loaded as expected. Please find the attachment for the
> web.xml file and the image for the location of the tiles.xml file on the
> local application and also to the classpath jar file.
>
> Local Path -
> C:\Users\sisa1008\Software\Apache\apache-tomee-plus-8.0.14\apps\ftmsconsole\ftmsconsole-webapp\WEB-INF\config\tiles
> Classpath file -
> C:\Users\sisa1008\Software\Apache\apache-tomee-plus-8.0.14\apps\ftmsconsole\ftmsconsole-webapp\WEB-INF\lib\kawa-gui-5.5.6-SNAPSHOT.jar\META-INF\
>
> Could you please suggest to me what is wrong over here or is there any bug
> on discovering the files with wildcard.
>
> Thanks and Regards,
> Saravanan.S
> FTMS/NFT APP-DEV Team
> Mob:- +91 9715644123.
> This e-mail may contain confidential information. If you have received
> this e-mail in error, please notify the sender and then immediately delete
> it from your system. This email and the contents of an attachment to this
> e-mail may contain software viruses which could damage your own computer
> system. Although Nielsen has taken reasonable precautions to minimize this
> risk, it cannot accept liability for any damage you may sustain as a result
> of software viruses
> --
> *From:* SARAVANAN SIVAGURU 
> *Sent:* Friday, February 23, 2024 5:51 PM
> *To:* user@struts.apache.org 
> *Subject:* Re: Requesting support on struts tiles plugin migration
>
> Hi Luk
>
> Yes, I am using the Struts Tiles Listener already
>
> 
>   
> org.apache.struts2.tiles.StrutsTilesListener
> 
>
> If I didn't mention below context param,
>
> 
>   
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>   
> classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml
> 
>
> Am able to load only the tiles configuration file which is available on
> the WEB-INF folder that too only if I mentioned full path when I tried with
> the wildcard am not able to load the configuration even from the WEB-INF
> folder.
>
> On whatever case, I am unable to load the configuration files from the
> classpath(META-INF).
> The completeAutoLoad which you suggested is not available as a part of
> struts2-tiles plugin - 6.3.0.2 version right. Is there any other
> alternative functionality available to load the configuration files with
> wildcard?
>
> Currently I am trying to create the complete auto load functionality in my
> common framework code to get used to the application which are consuming.
>
> Thanks and Regards,
> Saravanan.S
> FTMS/NFT APP-DEV Team
> Mob:- +91 9715644123.
> This e-mail may contain confidential information. If you have received
> this e-mail in error, please notify the sender and then immediately delete
> it from your system. This email and the contents of an attachment to this
> e-mail may contain software viruses which could damage your own computer
> system. Although Nielsen has taken reasonable precautions to minimize this
> risk, it cannot accept liability for any damage you may sustain as a result
> of software viruses
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org


Re: Requesting support on struts tiles plugin migration

2024-02-23 Thread Dave Newton
(Tangential: please consider subscribing to the Struts User mailing list,
currently we have to manually approve your emails )

em: davelnew...@gmail.com
mo: 908-380-8699
gh: davelnewton 
so: Dave Newton 
bl: Maker's End Blog 



On Fri, Feb 23, 2024 at 08:14 SARAVANAN SIVAGURU
 wrote:

> Hi Luk
>
> Yes, I am using the Struts Tiles Listener already
>
> 
>   
> org.apache.struts2.tiles.StrutsTilesListener
> 
>
> If I didn't mention below context param,
>
> 
>   
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>   
> classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml
> 
>
> Am able to load only the tiles configuration file which is available on
> the WEB-INF folder that too only if I mentioned full path when I tried with
> the wildcard am not able to load the configuration even from the WEB-INF
> folder.
>
> On whatever case, I am unable to load the configuration files from the
> classpath(META-INF).
> The completeAutoLoad which you suggested is not available as a part of
> struts2-tiles plugin - 6.3.0.2 version right. Is there any other
> alternative functionality available to load the configuration files with
> wildcard?
>
> Currently I am trying to create the complete auto load functionality in my
> common framework code to get used to the application which are consuming.
>
> Thanks and Regards,
> Saravanan.S
> FTMS/NFT APP-DEV Team
> Mob:- +91 9715644123.
> This e-mail may contain confidential information. If you have received
> this e-mail in error, please notify the sender and then immediately delete
> it from your system. This email and the contents of an attachment to this
> e-mail may contain software viruses which could damage your own computer
> system. Although Nielsen has taken reasonable precautions to minimize this
> risk, it cannot accept liability for any damage you may sustain as a result
> of software viruses
>


Re: Requesting support on struts tiles plugin migration

2024-02-23 Thread SARAVANAN SIVAGURU
Hi Luk

Yes, I am using the Struts Tiles Listener already


  org.apache.struts2.tiles.StrutsTilesListener


If I didn't mention below context param,


  
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
  
classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml


Am able to load only the tiles configuration file which is available on the 
WEB-INF folder that too only if I mentioned full path when I tried with the 
wildcard am not able to load the configuration even from the WEB-INF folder.

On whatever case, I am unable to load the configuration files from the 
classpath(META-INF).
The completeAutoLoad which you suggested is not available as a part of 
struts2-tiles plugin - 6.3.0.2 version right. Is there any other alternative 
functionality available to load the configuration files with wildcard?

Currently I am trying to create the complete auto load functionality in my 
common framework code to get used to the application which are consuming.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:3ae1a284-537b-4e0b-be4a-e664342af334]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses


Re: Requesting support on struts tiles plugin migration

2024-02-22 Thread Łukasz Lenart
czw., 22 lut 2024 o 14:41 SARAVANAN SIVAGURU
 napisał(a):

> 
>
>   
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
>   
> classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml
> 
> 
>   
> org.apache.tiles.context.AbstractTilesApplicationContextFactory
>   
> org.apache.tiles.servlet.context.wildcard.WildcardServletTilesApplicationContextFactory
> 
>
>
AbstractTilesApplicationContextFactory is not supported anymore (I don't
see a reference to it in Tiles 3), what listener do you use in web.xml?

I would suggest setting up


org.apache.struts2.tiles.StrutsTilesListener


and get rid of the whole  section above.

You can try to use one of the Feature-Complete configuration
https://tiles.apache.org/framework/config-reference.html


Cheers
Lukasz


Re: Requesting support on struts tiles plugin migration

2024-02-22 Thread SARAVANAN SIVAGURU
Hi Luk

Yes, it was my custom build. I am going to try migrating to tiles 3.X if 
nothing works for me with the plugin.
We have built a inhouse framework by using struts and tiles to have common GUI 
across our intranet applications.

Also could you please see and let me know whether am doing anything wrong on 
the below,


  
org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
  
classpath*:/META-INF/org.kawa.*tiles*.xml,classpath*:/META-INF/com.*.tiles.xml,/WEB-INF/config/tiles/*.tiles.xml


  
org.apache.tiles.context.AbstractTilesApplicationContextFactory
  
org.apache.tiles.servlet.context.wildcard.WildcardServletTilesApplicationContextFactory


The expectation is load the tiles configuration files from the local 
application and also from the dependent application . When I try to load via 
wildcard am facing issue, also am not able to load even the file which 
available native to the application.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:fee7b277-dad6-4f32-9cb9-acfc29929c1f]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses

From: SARAVANAN SIVAGURU 
Sent: Monday, February 19, 2024 4:19 PM
To: user@struts.apache.org 
Subject: Requesting support on struts tiles plugin migration

Hi Team

I am trying to migrate the Apache Tiles(tiles-core, tiles-jsp and 
tiles-servlet) 2.1.4 to Apache struts2-tiles-plugin 6.3.0.2
As a part of this migration, I have performed necessary changes on the 
tiles.xml files as per the document.

Currently I have been struck on the following issue,
When I tried to load the jsp page I got the following error but am not sure 
what and where I did mistake to proceed further.
Note:- Screen name is the placeholder, it is the name of the screen defined in 
the jsp file
JSP Content:

<%-- Screen Name --%>


Error:
exception=javax.servlet.jsp.JspException: Screen 
com.acnielsen.ftms.common.portal could not be found in any context
javax.servlet.jsp.JspException: Screen com.acnielsen.ftms.common.portal could 
not be found in any context
at 
org.apache.jsp.org.kawa.template.layout.basicLayout_jsp._jspService(basicLayout_jsp.java:330)
 [ftmsconsole/:?]
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
[jasper.jar:9.0.71]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) 
[servlet-api.jar:4.0.FR]
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466) 
[jasper.jar:9.0.71]
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379) 
[jasper.jar:9.0.71]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327) 
[jasper.jar:9.0.71]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779) 
[servlet-api.jar:4.0.FR]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
 [catalina.jar:9.0.71]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
 [catalina.jar:9.0.71]
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)
 [catalina.jar:9.0.71]

Build.gradle:

api("org.apache.struts:struts2-core:6.3.0.2")
api('org.apache.struts:struts2-tiles-plugin:6.3.0.2')

Possible to give any suggestions on how to resolve the issue.

Thanks and Regards,
Saravanan.S
FTMS/NFT APP-DEV Team
Mob:- +91 9715644123.
[cid:015be87a-22ae-4606-a75d-d3854b7c744f]
This e-mail may contain confidential information. If you have received this 
e-mail in error, please notify the sender and then immediately delete it from 
your system. This email and the contents of an attachment to this e-mail may 
contain software viruses which could damage your own computer system. Although 
Nielsen has taken reasonable precautions to minimize this risk, it cannot 
accept liability for any damage you may sustain as a result of software viruses


Re: Requesting support on struts tiles plugin migration

2024-02-19 Thread Lukasz Lenart
What is "Screen xxx could not be found in any context"? Is it your custom
code?
I would suggest migrating to standalone Tiles 3 first and then migrate to
the Struts Tiles in Struts 6.x.

pon., 19 lut 2024 o 12:28 SARAVANAN SIVAGURU
 napisał(a):

> Hi Team
>
> I am trying to migrate the Apache Tiles(tiles-core, tiles-jsp and
> tiles-servlet) 2.1.4 to Apache struts2-tiles-plugin 6.3.0.2
> As a part of this migration, I have performed necessary changes on the
> tiles.xml files as per the document.
>
> Currently I have been struck on the following issue,
> When I tried to load the jsp page I got the following error but am not
> sure what and where I did mistake to proceed further.
> Note:- Screen name is the placeholder, it is the name of the screen
> defined in the jsp file
> *JSP Content:*
>
> <%-- Screen Name --%>
>  value="com.acnielsen.ftms.common.portal" />
>
> *Error:*
> exception=javax.servlet.jsp.JspException: Screen
> com.acnielsen.ftms.common.portal could not be found in any context
> javax.servlet.jsp.JspException: Screen com.acnielsen.ftms.common.portal could
> not be found in any context
> at
> org.apache.jsp.org.kawa.template.layout.basicLayout_jsp._jspService(basicLayout_jsp.java:330)
> [ftmsconsole/:?]
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> [jasper.jar:9.0.71]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
> [servlet-api.jar:4.0.FR]
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
> [jasper.jar:9.0.71]
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
> [jasper.jar:9.0.71]
> at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)
> [jasper.jar:9.0.71]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
> [servlet-api.jar:4.0.FR]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
> [catalina.jar:9.0.71]
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
> [catalina.jar:9.0.71]
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711)
> [catalina.jar:9.0.71]
>
> *Build.gradle:*
>
> api("org.apache.struts:struts2-core:6.3.0.2")
> api('org.apache.struts:struts2-tiles-plugin:6.3.0.2')
>
> Possible to give any suggestions on how to resolve the issue.
>
> Thanks and Regards,
> Saravanan.S
> FTMS/NFT APP-DEV Team
> Mob:- +91 9715644123.
> This e-mail may contain confidential information. If you have received
> this e-mail in error, please notify the sender and then immediately delete
> it from your system. This email and the contents of an attachment to this
> e-mail may contain software viruses which could damage your own computer
> system. Although Nielsen has taken reasonable precautions to minimize this
> risk, it cannot accept liability for any damage you may sustain as a result
> of software viruses
>