RE: problem with Tiles & Struts 1.3 / Found exception stack Trace /apologies
Hello all, HUUGE apologies to Struts 1.3 & Tiles 1.3 team.. Tiles worked just fine..it was me that in migrating app >From 1.2 to 1.3 I removed one plugin that was storing Some data in applicationContext The null pointer exception in tiles made me think that Tiles was the problem.. Again, apologies, everything is working just fine.. Regards marco -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 27 April 2005 15:34 To: Marco Mistroni; 'Struts Users Mailing List' Subject: RE: problem with Tiles & Struts 1.3 / Found exception stack Trace At 2:58 PM +0100 4/27/05, Marco Mistroni wrote: > I am not blaming Struts 1.3 :-) >I am actually more concerned with Tiles by itself, since I was not >Able to use the same .tld file that I was able to use with Struts 1.1 Yes, we should make sure to note that on the "migrating to Struts 1.3" page -- which I just got started... Oh, wait -- the TLD hasn't changed since 1.2, and I think we should continue to have each migration notes page be focused on "since the last version" -- so I left this out -- but still, Marco and any others who are checking out Struts 1.3 are encouraged to help build this page: http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 By the way, I'm currently in active development on a Struts 1.3 application, and people should not be too nervous about checking it out -- things are humming along smoothly, and while I'm not claiming that 1.3 is tested enough to be deemed GA, it's not showing any really weird behavior. You don't need to do anything differently to use Struts 1.3 (besides understanding the new multi-jar packaging); you should be able to totally ignore most of the new stuff until you're ready for it. In fact, we need some users like that to help verify our goal of backwards compatibility! http://svn.apache.org/builds/struts/nightly/ Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with Tiles & Struts 1.3 / Found exception stack Trace
At 2:58 PM +0100 4/27/05, Marco Mistroni wrote: I am not blaming Struts 1.3 :-) I am actually more concerned with Tiles by itself, since I was not Able to use the same .tld file that I was able to use with Struts 1.1 Yes, we should make sure to note that on the "migrating to Struts 1.3" page -- which I just got started... Oh, wait -- the TLD hasn't changed since 1.2, and I think we should continue to have each migration notes page be focused on "since the last version" -- so I left this out -- but still, Marco and any others who are checking out Struts 1.3 are encouraged to help build this page: http://wiki.apache.org/struts/StrutsUpgradeNotes12to13 By the way, I'm currently in active development on a Struts 1.3 application, and people should not be too nervous about checking it out -- things are humming along smoothly, and while I'm not claiming that 1.3 is tested enough to be deemed GA, it's not showing any really weird behavior. You don't need to do anything differently to use Struts 1.3 (besides understanding the new multi-jar packaging); you should be able to totally ignore most of the new stuff until you're ready for it. In fact, we need some users like that to help verify our goal of backwards compatibility! http://svn.apache.org/builds/struts/nightly/ Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with Tiles & Struts 1.3 / Found exception stack Trace
Its in the tiles 1.3 jar (i.e. struts-tiles-1.3.0-dev.jar) Niall - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> Sent: Wednesday, April 27, 2005 2:58 PM > Hello Joe, > I am not blaming Struts 1.3 :-) > I am actually more concerned with Tiles by itself, since I was not > Able to use the same .tld file that I was able to use with Struts 1.1 > > Can anyone send me (or tell me where I can find) the latest > struts-tiles.tld? > > Because the one with Struts 1.1. does not work with Tiles 1.3 > > Thanx and regards > marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with Tiles & Struts 1.3 / Found exception stack Trace
Hello Joe, I am not blaming Struts 1.3 :-) I am actually more concerned with Tiles by itself, since I was not Able to use the same .tld file that I was able to use with Struts 1.1 Can anyone send me (or tell me where I can find) the latest struts-tiles.tld? Because the one with Struts 1.1. does not work with Tiles 1.3 Thanx and regards marco -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 27 April 2005 14:10 To: Marco Mistroni; user@struts.apache.org Subject: RE: problem with Tiles & Struts 1.3 / Found exception stack Trace Just to make sure, if you put the contents of this tile directly in line in the page, you don't get this exception? I'm using tiles generally with Struts 1.3 with no problems, including inlining elements of a form where the form is in one page and the fields are in other tiles. I did run into some problems in the last week when I tried to use inside a , but that's not something I've done a lot in the past, so I wrote it off to an incomplete understanding of the Tiles JSP tags. I was trying to basically pass a "parameter" object into the page scope of the referenced JSP, but it wasn't being found. My work around was to put things in request scope instead of expecting tiles:put to get them into the page scope of the included tile -- is that the nature of your problem? From the description it could be. I don't quite see how Struts 1.3 could be to blame, but maybe I'm just not thinking about it correctly. Joe At 9:10 AM +0100 4/27/05, Marco Mistroni wrote: >Hello all, > I found exception stack trace for problem mentioned.. >Will it 'enlighten' my problem? > I have moved my application from Struts 1.1 to Struts 1.3, and I >am currently experiencing problems >With Tiles. >Attached are all the files that I was using with Struts 1.1. and the >application worked just fine. > >Full stack trace provided at end of message.. >Now, for use with Struts 1.3 I have changed the struts-tiles.tld since I >noticed that some classes >Were moved to a different package (from org.apache.struts.taglib.tiles >to org.apache.struts.tiles.taglib) > >So I have replaced all org.apache.struts.taglib.tiles to >org.apache.struts.tiles.taglib, but still when running >My application I got exception. > >Can anyone spot what's the problem with tiles? Am I using the correct >struts-tiles.tld? >Do I need additional files? >I tried to put the two logging files mentioned in the Tiles >documentation in my \classes directory, but still >I am experiencing same problem. > >Has anyone succeeded to use tiles with Struts 1.3? > >Thanks in advance and regars > Marco > > > > STACK TRACE *** > >22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - >-loadLocale() 2005-04-26 22:46:47,234 INFO [STDOUT] [TRACE] >PropertyMessageResources - - Loading resource >'org/apache/struts/taglib/html/LocalStrings.properties' >2005-04-26 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources >- - Loading resource completed 2005-04-26 22:46:47,234 ERROR >[org.jboss.web.localhost.Engine] ApplicationDispatcher[/strutschain-web] >Servlet.service() for servlet jsp threw exception >javax.servlet.jsp.JspException > at >org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:36 6 >) > at >org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:186) > at >org.apache.jsp.insertBody_jsp._jspService(insertBody_jsp.java:172) -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with Tiles & Struts 1.3 / Found exception stack Trace
Just to make sure, if you put the contents of this tile directly in line in the page, you don't get this exception? I'm using tiles generally with Struts 1.3 with no problems, including inlining elements of a form where the form is in one page and the fields are in other tiles. I did run into some problems in the last week when I tried to use inside a , but that's not something I've done a lot in the past, so I wrote it off to an incomplete understanding of the Tiles JSP tags. I was trying to basically pass a "parameter" object into the page scope of the referenced JSP, but it wasn't being found. My work around was to put things in request scope instead of expecting tiles:put to get them into the page scope of the included tile -- is that the nature of your problem? From the description it could be. I don't quite see how Struts 1.3 could be to blame, but maybe I'm just not thinking about it correctly. Joe At 9:10 AM +0100 4/27/05, Marco Mistroni wrote: Hello all, I found exception stack trace for problem mentioned.. Will it 'enlighten' my problem? I have moved my application from Struts 1.1 to Struts 1.3, and I am currently experiencing problems With Tiles. Attached are all the files that I was using with Struts 1.1. and the application worked just fine. Full stack trace provided at end of message.. Now, for use with Struts 1.3 I have changed the struts-tiles.tld since I noticed that some classes Were moved to a different package (from org.apache.struts.taglib.tiles to org.apache.struts.tiles.taglib) So I have replaced all org.apache.struts.taglib.tiles to org.apache.struts.tiles.taglib, but still when running My application I got exception. Can anyone spot what's the problem with tiles? Am I using the correct struts-tiles.tld? Do I need additional files? I tried to put the two logging files mentioned in the Tiles documentation in my \classes directory, but still I am experiencing same problem. Has anyone succeeded to use tiles with Struts 1.3? Thanks in advance and regars Marco STACK TRACE *** 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - -loadLocale() 2005-04-26 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - - Loading resource 'org/apache/struts/taglib/html/LocalStrings.properties' 2005-04-26 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - - Loading resource completed 2005-04-26 22:46:47,234 ERROR [org.jboss.web.localhost.Engine] ApplicationDispatcher[/strutschain-web] Servlet.service() for servlet jsp threw exception javax.servlet.jsp.JspException at org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:366 ) at org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:186) at org.apache.jsp.insertBody_jsp._jspService(insertBody_jsp.java:172) -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with Tiles & Struts 1.3 / Found exception stack Trace
Hello all, I found exception stack trace for problem mentioned.. Will it 'enlighten' my problem? I have moved my application from Struts 1.1 to Struts 1.3, and I am currently experiencing problems With Tiles. Attached are all the files that I was using with Struts 1.1. and the application worked just fine. Full stack trace provided at end of message.. Now, for use with Struts 1.3 I have changed the struts-tiles.tld since I noticed that some classes Were moved to a different package (from org.apache.struts.taglib.tiles to org.apache.struts.tiles.taglib) So I have replaced all org.apache.struts.taglib.tiles to org.apache.struts.tiles.taglib, but still when running My application I got exception. Can anyone spot what's the problem with tiles? Am I using the correct struts-tiles.tld? Do I need additional files? I tried to put the two logging files mentioned in the Tiles documentation in my \classes directory, but still I am experiencing same problem. Has anyone succeeded to use tiles with Struts 1.3? Thanks in advance and regars Marco STACK TRACE *** 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - -loadLocale() 2005-04-26 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - - Loading resource 'org/apache/struts/taglib/html/LocalStrings.properties' 2005-04-26 22:46:47,234 INFO [STDOUT] [TRACE] PropertyMessageResources - - Loading resource completed 2005-04-26 22:46:47,234 ERROR [org.jboss.web.localhost.Engine] ApplicationDispatcher[/strutschain-web] Servlet.service() for servlet jsp threw exception javax.servlet.jsp.JspException at org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:366 ) at org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:186) at org.apache.jsp.insertBody_jsp._jspService(insertBody_jsp.java:172) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc her.java:703) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp atcher.java:589) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat cher.java:499) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.ja va:966) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:5 81) at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99) at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135) at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:756) at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTa g.java:888) at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:458) at org.apache.jsp.layout.classicLayout_jsp._jspx_meth_tiles_insert_1(classi cLayout_jsp.java:298) at org.apache.jsp.layout.classicLayout_jsp._jspService(classicLayout_jsp.ja va:116) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc her.java:703) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp atcher.java:589) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat cher.java:499) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.ja va:966) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:5 81) at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99) at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)