Re: Quick development of jsp pages in Admin Console
> > 1) I think we should put this info into FAQ or maybe somewhere under > http://cwiki.apache.org/GMOxDOC21/development-and-deployment-planning.html > . Done > > 2) Part of the instructions are Tomcat assembly specific. So we should > at least document that and if possible also add instructions for > Jetty I've mentioned that it is being demonstrated for Tomcat. I think the same instructions should work with Jetty but haven't tested it out. > > Jarek > > On Wed, Jul 2, 2008 at 9:27 AM, Joseph Leong <[EMAIL PROTECTED]> > wrote: > > Hi Shrey, > > > > I'll be more than glad to document it for you. > > > > -Joseph Leong > > > > On Wed, Jul 2, 2008 at 6:09 AM, Shrey Banga <[EMAIL PROTECTED]> > wrote: > >> > >> Hi, > >> > >> I was trying to edit this page- > >> http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html but it > says I > >> do not have permission to edit it. Also, I experimented a little with > >> inPlace deployment but couldn't get it to work for plancreator and I > think > >> the method described above is useful for admin console webapps. Can > someone > >> else document this method ? > >> > >> On Mon, Jun 30, 2008 at 9:03 PM, Hernan Cunico <[EMAIL PROTECTED]> > wrote: > >>> > >>> Kevan Miller wrote: > > On Jun 30, 2008, at 8:43 AM, Shrey Banga wrote: > > > Hi, > > > > While working on PlanCreator, I initially restarted it after each > > modification to the code which is too cumbersome for testing small > changes > > especially in the JSPs. Thanks to Manu, I realized that there's an > easier > > workaround to this:- > > > > 1. Modify \var\catalina\conf\web.xml: > > * Set the *development* parameter to *true* in the > >init-param to org.apache.jasper.servlet.JspServlet > > * Edit (add if doesn't exist) the > >*modificationTestInterval* to *0* > > 2. In the webapp that you intend to modify, find the web.xml and > > remove the servlet-name and servlet-mapping of the jsp you > > intend to modify and test. > > For example, for PlanCreator I edit the > > plancreator-console-tomcat-2.2-SNAPSHOT.car\WEB-INF\web.xml. > > 3. Restart the server with these settings in place. > > > > Once this is done, you can modify the jsp in place and hit refresh to > > test it. It'll be recompiled each time. I think this is very handy > for > > developing and testing deployed web applications. Can someone copy > this to > > wiki or grant me access to it ? > > Looks like Shrey has already submitted an ICLA to the ASF. Hernan, can > you give Shrey access? > > --kevan > >>> > >>> My machine got toasted (literally) last week and I'm still struggling > >>> with the new one. > >>> > >>> I just added Shrey to geronimo-contributors. > >>> > >>> for the record, any confluence admin can do this, a list with the > admins > >>> is available at > >>> > http://cwiki.apache.org/geronimo/geronimo-cwiki-documentation-architecture.html > >>> > >>> Shrey, let us know if you have any questions > >>> > >>> btw, wouldn't a scenario like the one described be addressed by inPlace > >>> deployment ? I used that in the past and worked like a charm > >>> > >>> btw 2, Firefox 3 is also giving me headaches. > >>> > >>> Cheers! > >>> Hernan > >> > >> > >> > >> -- > >> Shrey Banga > >> Bachelor of Technology, III year > >> Department of Electrical Engineering > >> Indian Institute of Technology Roorkee > > > -- Shrey Banga Bachelor of Technology, III year Department of Electrical Engineering Indian Institute of Technology Roorkee
Re: Quick development of jsp pages in Admin Console
Just a couple of comments on this: 1) I think we should put this info into FAQ or maybe somewhere under http://cwiki.apache.org/GMOxDOC21/development-and-deployment-planning.html. 2) Part of the instructions are Tomcat assembly specific. So we should at least document that and if possible also add instructions for Jetty. Jarek On Wed, Jul 2, 2008 at 9:27 AM, Joseph Leong <[EMAIL PROTECTED]> wrote: > Hi Shrey, > > I'll be more than glad to document it for you. > > -Joseph Leong > > On Wed, Jul 2, 2008 at 6:09 AM, Shrey Banga <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I was trying to edit this page- >> http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html but it says I >> do not have permission to edit it. Also, I experimented a little with >> inPlace deployment but couldn't get it to work for plancreator and I think >> the method described above is useful for admin console webapps. Can someone >> else document this method ? >> >> On Mon, Jun 30, 2008 at 9:03 PM, Hernan Cunico <[EMAIL PROTECTED]> wrote: >>> >>> Kevan Miller wrote: On Jun 30, 2008, at 8:43 AM, Shrey Banga wrote: > Hi, > > While working on PlanCreator, I initially restarted it after each > modification to the code which is too cumbersome for testing small changes > especially in the JSPs. Thanks to Manu, I realized that there's an easier > workaround to this:- > > 1. Modify \var\catalina\conf\web.xml: > * Set the *development* parameter to *true* in the >init-param to org.apache.jasper.servlet.JspServlet > * Edit (add if doesn't exist) the >*modificationTestInterval* to *0* > 2. In the webapp that you intend to modify, find the web.xml and > remove the servlet-name and servlet-mapping of the jsp you > intend to modify and test. > For example, for PlanCreator I edit the > plancreator-console-tomcat-2.2-SNAPSHOT.car\WEB-INF\web.xml. > 3. Restart the server with these settings in place. > > Once this is done, you can modify the jsp in place and hit refresh to > test it. It'll be recompiled each time. I think this is very handy for > developing and testing deployed web applications. Can someone copy this to > wiki or grant me access to it ? Looks like Shrey has already submitted an ICLA to the ASF. Hernan, can you give Shrey access? --kevan >>> >>> My machine got toasted (literally) last week and I'm still struggling >>> with the new one. >>> >>> I just added Shrey to geronimo-contributors. >>> >>> for the record, any confluence admin can do this, a list with the admins >>> is available at >>> http://cwiki.apache.org/geronimo/geronimo-cwiki-documentation-architecture.html >>> >>> Shrey, let us know if you have any questions >>> >>> btw, wouldn't a scenario like the one described be addressed by inPlace >>> deployment ? I used that in the past and worked like a charm >>> >>> btw 2, Firefox 3 is also giving me headaches. >>> >>> Cheers! >>> Hernan >> >> >> >> -- >> Shrey Banga >> Bachelor of Technology, III year >> Department of Electrical Engineering >> Indian Institute of Technology Roorkee >
Re: Quick development of jsp pages in Admin Console
Thanks Jospeh :) On Wed, Jul 2, 2008 at 6:57 PM, Joseph Leong <[EMAIL PROTECTED]> wrote: > Hi Shrey, > > I'll be more than glad to document it for you. > > -Joseph Leong > > > On Wed, Jul 2, 2008 at 6:09 AM, Shrey Banga <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> I was trying to edit this page- >> http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html but it says >> I do not have permission to edit it. Also, I experimented a little with >> inPlace deployment but couldn't get it to work for plancreator and I think >> the method described above is useful for admin console webapps. Can someone >> else document this method ? >> >> >> On Mon, Jun 30, 2008 at 9:03 PM, Hernan Cunico <[EMAIL PROTECTED]> wrote: >> >>> Kevan Miller wrote: >>> On Jun 30, 2008, at 8:43 AM, Shrey Banga wrote: Hi, > > While working on PlanCreator, I initially restarted it after each > modification to the code which is too cumbersome for testing small changes > especially in the JSPs. Thanks to Manu, I realized that there's an easier > workaround to this:- > > 1. Modify \var\catalina\conf\web.xml: > * Set the *development* parameter to *true* in the >init-param to org.apache.jasper.servlet.JspServlet > * Edit (add if doesn't exist) the >*modificationTestInterval* to *0* > 2. In the webapp that you intend to modify, find the web.xml and > remove the servlet-name and servlet-mapping of the jsp you > intend to modify and test. > For example, for PlanCreator I edit the > plancreator-console-tomcat-2.2-SNAPSHOT.car\WEB-INF\web.xml. > 3. Restart the server with these settings in place. > > Once this is done, you can modify the jsp in place and hit refresh to > test it. It'll be recompiled each time. I think this is very handy for > developing and testing deployed web applications. Can someone copy this to > wiki or grant me access to it ? > Looks like Shrey has already submitted an ICLA to the ASF. Hernan, can you give Shrey access? --kevan >>> My machine got toasted (literally) last week and I'm still struggling >>> with the new one. >>> >>> I just added Shrey to geronimo-contributors. >>> >>> for the record, any confluence admin can do this, a list with the admins >>> is available at >>> http://cwiki.apache.org/geronimo/geronimo-cwiki-documentation-architecture.html >>> >>> Shrey, let us know if you have any questions >>> >>> btw, wouldn't a scenario like the one described be addressed by inPlace >>> deployment ? I used that in the past and worked like a charm >>> >>> btw 2, Firefox 3 is also giving me headaches. >>> >>> Cheers! >>> Hernan >>> >> >> >> >> -- >> Shrey Banga >> Bachelor of Technology, III year >> Department of Electrical Engineering >> Indian Institute of Technology Roorkee >> > > -- Shrey Banga Bachelor of Technology, III year Department of Electrical Engineering Indian Institute of Technology Roorkee
Re: Quick development of jsp pages in Admin Console
Hi Shrey, I'll be more than glad to document it for you. -Joseph Leong On Wed, Jul 2, 2008 at 6:09 AM, Shrey Banga <[EMAIL PROTECTED]> wrote: > Hi, > > I was trying to edit this page- > http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html but it says > I do not have permission to edit it. Also, I experimented a little with > inPlace deployment but couldn't get it to work for plancreator and I think > the method described above is useful for admin console webapps. Can someone > else document this method ? > > > On Mon, Jun 30, 2008 at 9:03 PM, Hernan Cunico <[EMAIL PROTECTED]> wrote: > >> Kevan Miller wrote: >> >>> >>> On Jun 30, 2008, at 8:43 AM, Shrey Banga wrote: >>> >>> Hi, While working on PlanCreator, I initially restarted it after each modification to the code which is too cumbersome for testing small changes especially in the JSPs. Thanks to Manu, I realized that there's an easier workaround to this:- 1. Modify \var\catalina\conf\web.xml: * Set the *development* parameter to *true* in the init-param to org.apache.jasper.servlet.JspServlet * Edit (add if doesn't exist) the *modificationTestInterval* to *0* 2. In the webapp that you intend to modify, find the web.xml and remove the servlet-name and servlet-mapping of the jsp you intend to modify and test. For example, for PlanCreator I edit the plancreator-console-tomcat-2.2-SNAPSHOT.car\WEB-INF\web.xml. 3. Restart the server with these settings in place. Once this is done, you can modify the jsp in place and hit refresh to test it. It'll be recompiled each time. I think this is very handy for developing and testing deployed web applications. Can someone copy this to wiki or grant me access to it ? >>> >>> Looks like Shrey has already submitted an ICLA to the ASF. Hernan, can >>> you give Shrey access? >>> >>> --kevan >>> >> My machine got toasted (literally) last week and I'm still struggling with >> the new one. >> >> I just added Shrey to geronimo-contributors. >> >> for the record, any confluence admin can do this, a list with the admins >> is available at >> http://cwiki.apache.org/geronimo/geronimo-cwiki-documentation-architecture.html >> >> Shrey, let us know if you have any questions >> >> btw, wouldn't a scenario like the one described be addressed by inPlace >> deployment ? I used that in the past and worked like a charm >> >> btw 2, Firefox 3 is also giving me headaches. >> >> Cheers! >> Hernan >> > > > > -- > Shrey Banga > Bachelor of Technology, III year > Department of Electrical Engineering > Indian Institute of Technology Roorkee >
Re: Quick development of jsp pages in Admin Console
Hi, I was trying to edit this page- http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html but it says I do not have permission to edit it. Also, I experimented a little with inPlace deployment but couldn't get it to work for plancreator and I think the method described above is useful for admin console webapps. Can someone else document this method ? On Mon, Jun 30, 2008 at 9:03 PM, Hernan Cunico <[EMAIL PROTECTED]> wrote: > Kevan Miller wrote: > >> >> On Jun 30, 2008, at 8:43 AM, Shrey Banga wrote: >> >> Hi, >>> >>> While working on PlanCreator, I initially restarted it after each >>> modification to the code which is too cumbersome for testing small changes >>> especially in the JSPs. Thanks to Manu, I realized that there's an easier >>> workaround to this:- >>> >>> 1. Modify \var\catalina\conf\web.xml: >>> * Set the *development* parameter to *true* in the >>>init-param to org.apache.jasper.servlet.JspServlet >>> * Edit (add if doesn't exist) the >>>*modificationTestInterval* to *0* >>> 2. In the webapp that you intend to modify, find the web.xml and >>> remove the servlet-name and servlet-mapping of the jsp you >>> intend to modify and test. >>> For example, for PlanCreator I edit the >>> plancreator-console-tomcat-2.2-SNAPSHOT.car\WEB-INF\web.xml. >>> 3. Restart the server with these settings in place. >>> >>> Once this is done, you can modify the jsp in place and hit refresh to >>> test it. It'll be recompiled each time. I think this is very handy for >>> developing and testing deployed web applications. Can someone copy this to >>> wiki or grant me access to it ? >>> >> >> Looks like Shrey has already submitted an ICLA to the ASF. Hernan, can you >> give Shrey access? >> >> --kevan >> > My machine got toasted (literally) last week and I'm still struggling with > the new one. > > I just added Shrey to geronimo-contributors. > > for the record, any confluence admin can do this, a list with the admins is > available at > http://cwiki.apache.org/geronimo/geronimo-cwiki-documentation-architecture.html > > Shrey, let us know if you have any questions > > btw, wouldn't a scenario like the one described be addressed by inPlace > deployment ? I used that in the past and worked like a charm > > btw 2, Firefox 3 is also giving me headaches. > > Cheers! > Hernan > -- Shrey Banga Bachelor of Technology, III year Department of Electrical Engineering Indian Institute of Technology Roorkee
Re: Quick development of jsp pages in Admin Console
Kevan Miller wrote: On Jun 30, 2008, at 8:43 AM, Shrey Banga wrote: Hi, While working on PlanCreator, I initially restarted it after each modification to the code which is too cumbersome for testing small changes especially in the JSPs. Thanks to Manu, I realized that there's an easier workaround to this:- 1. Modify \var\catalina\conf\web.xml: * Set the *development* parameter to *true* in the init-param to org.apache.jasper.servlet.JspServlet * Edit (add if doesn't exist) the *modificationTestInterval* to *0* 2. In the webapp that you intend to modify, find the web.xml and remove the servlet-name and servlet-mapping of the jsp you intend to modify and test. For example, for PlanCreator I edit the plancreator-console-tomcat-2.2-SNAPSHOT.car\WEB-INF\web.xml. 3. Restart the server with these settings in place. Once this is done, you can modify the jsp in place and hit refresh to test it. It'll be recompiled each time. I think this is very handy for developing and testing deployed web applications. Can someone copy this to wiki or grant me access to it ? Looks like Shrey has already submitted an ICLA to the ASF. Hernan, can you give Shrey access? --kevan My machine got toasted (literally) last week and I'm still struggling with the new one. I just added Shrey to geronimo-contributors. for the record, any confluence admin can do this, a list with the admins is available at http://cwiki.apache.org/geronimo/geronimo-cwiki-documentation-architecture.html Shrey, let us know if you have any questions btw, wouldn't a scenario like the one described be addressed by inPlace deployment ? I used that in the past and worked like a charm btw 2, Firefox 3 is also giving me headaches. Cheers! Hernan
Re: Quick development of jsp pages in Admin Console
Shrey, I think this is a great idea! This will substantially help increase frontend development, as i've been applying things with the longer method so far. Also i believe there might be some method with in-place deployment as well - i'll take a look and see if i can find anything to add about that. -Joseph Leong
Re: Quick development of jsp pages in Admin Console
On Jun 30, 2008, at 8:43 AM, Shrey Banga wrote: Hi, While working on PlanCreator, I initially restarted it after each modification to the code which is too cumbersome for testing small changes especially in the JSPs. Thanks to Manu, I realized that there's an easier workaround to this:- Modify \var\catalina\conf\web.xml: Set the development parameter to true in the init-param to org.apache.jasper.servlet.JspServlet Edit (add if doesn't exist) the modificationTestInterval to 0 In the webapp that you intend to modify, find the web.xml and remove the servlet-name and servlet-mapping of the jsp you intend to modify and test. For example, for PlanCreator I edit the plancreator-console- tomcat-2.2-SNAPSHOT.car\WEB-INF\web.xml. Restart the server with these settings in place. Once this is done, you can modify the jsp in place and hit refresh to test it. It'll be recompiled each time. I think this is very handy for developing and testing deployed web applications. Can someone copy this to wiki or grant me access to it ? Looks like Shrey has already submitted an ICLA to the ASF. Hernan, can you give Shrey access? --kevan