RE: Multiple war files for the same application context.
From: Ziggy [mailto:zigg...@gmail.com] Subject: Re: Multiple war files for the same application context. That is interesting. Is the # supposed to be part of the filename? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Automatic%20Application%20Deployment - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Multiple war files for the same application context.
Lol that was just an example. There are thousands of jsps and servlets. With regards to the path, i am using struts and tiles so the directories are not really part of the path to the resource via the browser. That path will be configured in the tiles and struts configuration. I am trying this foo#bar.war approach and see how it will work. Thanks On Tue, Nov 17, 2009 at 3:47 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ziggy [mailto:zigg...@gmail.com] Subject: Re: Multiple war files for the same application context. That is interesting. Is the # supposed to be part of the filename? Read the doc: http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Automatic%20Application%20Deployment - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Multiple war files for the same application context.
Hi guys, Is it possible to deploy multiple war files for the same application? for example if i have an application that is accessed via http:/// www.test.com/myapp, i would usually have a single war file called myapp.war and deploy everthing in that one file. is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc and have them all be as part of the one myapp application? Any links or tutorials on how to do this would be very helpfull. And what is the term used for this kind of deployment? Thanks
Re: Multiple war files for the same application context.
On Mon, Nov 16, 2009 at 10:34 AM, Ziggy zigg...@gmail.com wrote: is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc and have them all be as part of the one myapp application? ... And what is the term used for this kind of deployment? impossible HTH! -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Multiple war files for the same application context.
Hi Hassan, I was recently looking at a CMS portal and found that the portal allowed plugins/application to be deployed as war files. The plugins themselves are portlets so not quite the type of application i am using. Is it the case that maybe it is possible with portlets but not standard servlet based webapps? Thanks On Mon, Nov 16, 2009 at 6:39 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Mon, Nov 16, 2009 at 10:34 AM, Ziggy zigg...@gmail.com wrote: is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc and have them all be as part of the one myapp application? ... And what is the term used for this kind of deployment? impossible HTH! -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Multiple war files for the same application context.
Are you trying to deploy elements of a larger applications separately? It seems you just need different JAR files for the application, and, though those can be deployed to the same web app separately, you're not really gaining anything, since the app will have to be restarted anyway, and you might as well stick with the WAR file. Joe -Original Message- From: Ziggy [mailto:zigg...@gmail.com] Sent: Monday, November 16, 2009 12:35 PM To: Tomcat Users List Subject: Multiple war files for the same application context. Hi guys, Is it possible to deploy multiple war files for the same application? for example if i have an application that is accessed via http:/// www.test.com/myapp, i would usually have a single war file called myapp.war and deploy everthing in that one file. is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc and have them all be as part of the one myapp application? Any links or tutorials on how to do this would be very helpfull. And what is the term used for this kind of deployment? Thanks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Multiple war files for the same application context.
On Mon, Nov 16, 2009 at 10:51 AM, Ziggy zigg...@gmail.com wrote: I was recently looking at a CMS portal and found that the portal allowed plugins/application to be deployed as war files. The plugins themselves are portlets so not quite the type of application i am using. Is it the case that maybe it is possible with portlets but not standard servlet based webapps? Sure, the whole point of a portal is to integrate non-related apps and data sources. So you access the portal context which basically proxies in the output of those plugins. You could certainly integrate the output of other contexts into your primary one, using iframes, AJAX widgets, backend web services, etc. but ultimately they're still separate contexts. -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Multiple war files for the same application context.
Are you trying to deploy elements of a larger applications separately? Yes that is exactly what i am trying to do. I did consider the separate jar file option but i couldnt figure out a way of including the jsp files in a jar file. I basically have a large struts/Tiles based application and would like to separate the deployment of each individual module of the application. I want to try and avoid having to redeploy the whole application everytime there is a change. On Mon, Nov 16, 2009 at 7:10 PM, Joseph Morgan joseph.mor...@ignitesales.com wrote: Are you trying to deploy elements of a larger applications separately? It seems you just need different JAR files for the application, and, though those can be deployed to the same web app separately, you're not really gaining anything, since the app will have to be restarted anyway, and you might as well stick with the WAR file. Joe -Original Message- From: Ziggy [mailto:zigg...@gmail.com] Sent: Monday, November 16, 2009 12:35 PM To: Tomcat Users List Subject: Multiple war files for the same application context. Hi guys, Is it possible to deploy multiple war files for the same application? for example if i have an application that is accessed via http:/// www.test.com/myapp, i would usually have a single war file called myapp.war and deploy everthing in that one file. is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc and have them all be as part of the one myapp application? Any links or tutorials on how to do this would be very helpfull. And what is the term used for this kind of deployment? Thanks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Multiple war files for the same application context.
I see what you mean Hassan. I had a look at how the core portal engine accesses the portlets and it looks like it uses the plugins context to access it and this is just hidden from the user. thanks On Mon, Nov 16, 2009 at 7:11 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Mon, Nov 16, 2009 at 10:51 AM, Ziggy zigg...@gmail.com wrote: I was recently looking at a CMS portal and found that the portal allowed plugins/application to be deployed as war files. The plugins themselves are portlets so not quite the type of application i am using. Is it the case that maybe it is possible with portlets but not standard servlet based webapps? Sure, the whole point of a portal is to integrate non-related apps and data sources. So you access the portal context which basically proxies in the output of those plugins. You could certainly integrate the output of other contexts into your primary one, using iframes, AJAX widgets, backend web services, etc. but ultimately they're still separate contexts. -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Multiple war files for the same application context.
On 16/11/2009 19:25, Ziggy wrote: Are you trying to deploy elements of a larger applications separately? Yes that is exactly what i am trying to do. You can deploy so-called 'multilevel' apps, if you want to separate out (somewhat) independant components - which may make build deploy cycles easier, for example, as you don't have to replace and test the whole app. The '#' hash character is used like so: myapp.war myapp#news.war myapp#admin.war /myapp/ /myapp/news/ /myapp/admin/ p I did consider the separate jar file option but i couldnt figure out a way of including the jsp files in a jar file. I basically have a large struts/Tiles based application and would like to separate the deployment of each individual module of the application. I want to try and avoid having to redeploy the whole application everytime there is a change. On Mon, Nov 16, 2009 at 7:10 PM, Joseph Morgan joseph.mor...@ignitesales.com wrote: Are you trying to deploy elements of a larger applications separately? It seems you just need different JAR files for the application, and, though those can be deployed to the same web app separately, you're not really gaining anything, since the app will have to be restarted anyway, and you might as well stick with the WAR file. Joe -Original Message- From: Ziggy [mailto:zigg...@gmail.com] Sent: Monday, November 16, 2009 12:35 PM To: Tomcat Users List Subject: Multiple war files for the same application context. Hi guys, Is it possible to deploy multiple war files for the same application? for example if i have an application that is accessed via http:/// www.test.com/myapp, i would usually have a single war file called myapp.war and deploy everthing in that one file. is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc and have them all be as part of the one myapp application? Any links or tutorials on how to do this would be very helpfull. And what is the term used for this kind of deployment? Thanks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Multiple war files for the same application context.
Hi Pid, That is interesting. Is the # supposed to be part of the filename? Thanks On Mon, Nov 16, 2009 at 8:38 PM, Pid p...@pidster.com wrote: On 16/11/2009 19:25, Ziggy wrote: Are you trying to deploy elements of a larger applications separately? Yes that is exactly what i am trying to do. You can deploy so-called 'multilevel' apps, if you want to separate out (somewhat) independant components - which may make build deploy cycles easier, for example, as you don't have to replace and test the whole app. The '#' hash character is used like so: myapp.war myapp#news.war myapp#admin.war /myapp/ /myapp/news/ /myapp/admin/ p I did consider the separate jar file option but i couldnt figure out a way of including the jsp files in a jar file. I basically have a large struts/Tiles based application and would like to separate the deployment of each individual module of the application. I want to try and avoid having to redeploy the whole application everytime there is a change. On Mon, Nov 16, 2009 at 7:10 PM, Joseph Morgan joseph.mor...@ignitesales.com wrote: Are you trying to deploy elements of a larger applications separately? It seems you just need different JAR files for the application, and, though those can be deployed to the same web app separately, you're not really gaining anything, since the app will have to be restarted anyway, and you might as well stick with the WAR file. Joe -Original Message- From: Ziggy [mailto:zigg...@gmail.com] Sent: Monday, November 16, 2009 12:35 PM To: Tomcat Users List Subject: Multiple war files for the same application context. Hi guys, Is it possible to deploy multiple war files for the same application? for example if i have an application that is accessed via http:/// www.test.com/myapp, i would usually have a single war file called myapp.war and deploy everthing in that one file. is it possible to deploy myapp1ArticleManager.war, myapp1Forum.war etc and have them all be as part of the one myapp application? Any links or tutorials on how to do this would be very helpfull. And what is the term used for this kind of deployment? Thanks - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org