Re: Liferay as a Geronimo Plugin
Gianny Damour wrote: On 14/07/2008, at 5:17 PM, Peter Petersson wrote: Gianny Damour wrote: Hello Peter, This is great news for Liferay developers! IMHO, one of the pain points with Liferay development is the time it takes to build, pack and deploy a WAR to Liferay. Even if Liferay is not so bad on this front when compared with other portals, a typical build-deploy-test cycle is way too time consuming and hence seriously impacts productivity. It would be fantastic to have an in-place WAR development mode in Geronimo. What do you think? I guess you are referring to working with/in the liferay ext development environment (?). I know to little of Liferay internals (and Geronimo for that mater) to be sure exactly what you are looking for, but I am sure the Liferay team is working hard on making there development environment easier and faster to work with. Maybe you can elaborate a bit more on what you are thinking of. Hello, My understanding is that each time that you make a change, you need to build a WAR; drop it in the deployment folder of Liferay; Liferay scans and transforms the WAR (looking for portlets, themes et cetera); it then hands it over to Geronimo for deployment. These deployment steps are time consuming, especially during development. What I had in mind is a Geronimo plugin allowing the in-place deployment of WARs to Liferay: 1. I define a specific WAR project structure; 2. I set-up my IDE to work against this well-known WAR project structure; 3. I implement my portlets and my IDE compiles the sources to the right folder of the WAR project structure; 4. I deploy to Geronimo my WAR project structure; 5. A custom ModuleBuilder identifies that this is a liferay WAR project structure; looks for the relevant Liferay components; and deploys it in-place. Hi, Maybe this is something on the line of what you are looking for: I have set up a small maven test project that wraps liferay portlets, themes et cetera into deployable Geronimo plugins. Looking at the logs wile deploying a liferay portlet geronimo plugin it seem to handle the deployment correctly and Liferay notifies you about a available update but looking in to it in the Update manager admin tool in liferay the Installation status never changes from Installation in progress so I suspect there is some configuration problem or module missing In my Geronimo Liferay server assembly for it to work correctly. Hopefully this is resolvable but at the moment I don't have a clue about whats causing the problem. Using this approach It would probably not be to hard to totally automate the installation process for Liferay extensions by using GShell (or is there a way to deploy to Geronimo plugins via maven directly ?) I was thinking of testing the portlet plugins on the new Liferay Geronimo (5.0.1/2.1.1) assembly available from Liferay but there is a (issue reported) problem with user authentication using derby db as back-end so I was unfortunately not able to see if it worked better on that one. regards peter petersson Personally I will look in to setting up a maven project for building Liferay portlets and have them deployed to Geronimo in some automated way instead of working with the ext environment, maybe this is what you are looking for? I don't know yet how the deployment could be done but I guess that I will making use of Liferays hot-deploy mechanism and/or if possible find some way to make use of Geronimo:s plugin concept. If possible I would certainly prefer the plugin solution. I believe that the Liferay hot-deployment mechanism is way too slow in development. Does that make sense? Thanks, Gianny Maybe the deployment could be done in a similar way of what we have done with the roller-themes plugin in the geromimo-roller project ? see https://svn.apache.org/repos/asf/geronimo/plugins/roller/trunk regards peter petersson Thanks, Gianny On 14/07/2008, at 4:11 AM, Peter Petersson wrote: I have posted a feature issue containing the build code over at http://support.liferay.com/browse/LEP-6680 regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty
Re: Liferay as a Geronimo Plugin
On 14/07/2008, at 5:17 PM, Peter Petersson wrote: Gianny Damour wrote: Hello Peter, This is great news for Liferay developers! IMHO, one of the pain points with Liferay development is the time it takes to build, pack and deploy a WAR to Liferay. Even if Liferay is not so bad on this front when compared with other portals, a typical build-deploy-test cycle is way too time consuming and hence seriously impacts productivity. It would be fantastic to have an in-place WAR development mode in Geronimo. What do you think? I guess you are referring to working with/in the liferay ext development environment (?). I know to little of Liferay internals (and Geronimo for that mater) to be sure exactly what you are looking for, but I am sure the Liferay team is working hard on making there development environment easier and faster to work with. Maybe you can elaborate a bit more on what you are thinking of. Hello, My understanding is that each time that you make a change, you need to build a WAR; drop it in the deployment folder of Liferay; Liferay scans and transforms the WAR (looking for portlets, themes et cetera); it then hands it over to Geronimo for deployment. These deployment steps are time consuming, especially during development. What I had in mind is a Geronimo plugin allowing the in-place deployment of WARs to Liferay: 1. I define a specific WAR project structure; 2. I set-up my IDE to work against this well-known WAR project structure; 3. I implement my portlets and my IDE compiles the sources to the right folder of the WAR project structure; 4. I deploy to Geronimo my WAR project structure; 5. A custom ModuleBuilder identifies that this is a liferay WAR project structure; looks for the relevant Liferay components; and deploys it in-place. Personally I will look in to setting up a maven project for building Liferay portlets and have them deployed to Geronimo in some automated way instead of working with the ext environment, maybe this is what you are looking for? I don't know yet how the deployment could be done but I guess that I will making use of Liferays hot-deploy mechanism and/or if possible find some way to make use of Geronimo:s plugin concept. If possible I would certainly prefer the plugin solution. I believe that the Liferay hot-deployment mechanism is way too slow in development. Does that make sense? Thanks, Gianny Maybe the deployment could be done in a similar way of what we have done with the roller-themes plugin in the geromimo-roller project ? see https://svn.apache.org/repos/asf/geronimo/plugins/roller/trunk regards peter petersson Thanks, Gianny On 14/07/2008, at 4:11 AM, Peter Petersson wrote: I have posted a feature issue containing the build code over at http://support.liferay.com/browse/LEP-6680 regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server- assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http:// www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray - kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo- userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
Gianny Damour wrote: Hello Peter, This is great news for Liferay developers! IMHO, one of the pain points with Liferay development is the time it takes to build, pack and deploy a WAR to Liferay. Even if Liferay is not so bad on this front when compared with other portals, a typical build-deploy-test cycle is way too time consuming and hence seriously impacts productivity. It would be fantastic to have an in-place WAR development mode in Geronimo. What do you think? I guess you are referring to working with/in the liferay ext development environment (?). I know to little of Liferay internals (and Geronimo for that mater) to be sure exactly what you are looking for, but I am sure the Liferay team is working hard on making there development environment easier and faster to work with. Maybe you can elaborate a bit more on what you are thinking of. Personally I will look in to setting up a maven project for building Liferay portlets and have them deployed to Geronimo in some automated way instead of working with the ext environment, maybe this is what you are looking for? I don't know yet how the deployment could be done but I guess that I will making use of Liferays hot-deploy mechanism and/or if possible find some way to make use of Geronimo:s plugin concept. If possible I would certainly prefer the plugin solution. Maybe the deployment could be done in a similar way of what we have done with the roller-themes plugin in the geromimo-roller project ? see https://svn.apache.org/repos/asf/geronimo/plugins/roller/trunk regards peter petersson Thanks, Gianny On 14/07/2008, at 4:11 AM, Peter Petersson wrote: I have posted a feature issue containing the build code over at http://support.liferay.com/browse/LEP-6680 regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
I have posted a feature issue containing the build code over at http://support.liferay.com/browse/LEP-6680 regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
Hello Peter, This is great news for Liferay developers! IMHO, one of the pain points with Liferay development is the time it takes to build, pack and deploy a WAR to Liferay. Even if Liferay is not so bad on this front when compared with other portals, a typical build-deploy-test cycle is way too time consuming and hence seriously impacts productivity. It would be fantastic to have an in-place WAR development mode in Geronimo. What do you think? Thanks, Gianny On 14/07/2008, at 4:11 AM, Peter Petersson wrote: I have posted a feature issue containing the build code over at http://support.liferay.com/browse/LEP-6680 regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server- assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http:// www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, - service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
Hi Arnaud After installing the Geronimo Plugins, Tomcat :: Deployer plugin (using the plugins console) you will be able to deploy other war files. regards peter petersson heden75 wrote: I am using the geronimo-tomcat-liferay and it is working fine so thanks again Peter. However I cannot deploy any new war I guess because it is a minimalistic server version... How do I install new geronimo plugins ? I tried to make it through Geronimo console webpage but there is also no Applications Plugins link. Arnaud. Peter Petersson-2 wrote: Hi If you want a sneak peak (before i wrap things up) you can svn co http://www.m4u.nu/svn/geronimo-liferay-repos/geronimo-liferay/trunk but remember this is still a moving target so there are no guarantees it will work at the time you decide to check it out ;) although right now (2008-06-25) it is in good shape. As always, any suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. (For instance it would be cool to also get jetty running.) regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
On Jun 30, 2008, at 3:06 AM, Peter Petersson wrote: Hi Arnaud After installing the Geronimo Plugins, Tomcat :: Deployer plugin (using the plugins console) you will be able to deploy other war files. regards I think you're going to want Geronimo Plugins, Jasper :: Deployer and Geronimo Framework, Configs :: JSR-88 CLI also... If Arnaud is building the Liferay plugin/server from source, he could add these dependencies and they would be included in his builds (either way, will work). --kevan heden75 wrote: I am using the geronimo-tomcat-liferay and it is working fine so thanks again Peter. However I cannot deploy any new war I guess because it is a minimalistic server version... How do I install new geronimo plugins ? I tried to make it through Geronimo console webpage but there is also no Applications Plugins link. Arnaud.
Re: Liferay as a Geronimo Plugin
Hi Kevan (or any other with some knowledge about legal stuff), I think you are the man to as here and my question is what shall I do about the legal stuff I don't have much of a clue about these things. As I have said before I am building this plugin for my own use and I have the intention of donating it to the Liferay community in the hope that they will find it useful as a base for there future geronimo integration. The build is derevided from Davids custom server assemblies document and some parts are modified stuff from the roller plugin source. If I understand things right maybe I shall include the license and notice files in the build or should I ? Is there any other considerations ? regards peter petersson Kevan Miller wrote: Cool. That's great! Look forward to seeing your final docs and giving it a try... --kevan On Jun 20, 2008, at 6:30 AM, Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
On Jun 29, 2008, at 6:14 AM, Peter Petersson wrote: Hi Kevan (or any other with some knowledge about legal stuff), I think you are the man to as here and my question is what shall I do about the legal stuff I don't have much of a clue about these things. As I have said before I am building this plugin for my own use and I have the intention of donating it to the Liferay community in the hope that they will find it useful as a base for there future geronimo integration. The build is derevided from Davids custom server assemblies document and some parts are modified stuff from the roller plugin source. If I understand things right maybe I shall include the license and notice files in the build or should I ? Is there any other considerations ? Hi Peter, I'd be happy to take a look and offer my thoughts. I'd been wanting to take a look at the plugin, anyway. Likely to be a few days, however, before I have the time. --kevan
Re: Liferay as a Geronimo Plugin
Kevan Miller wrote: On Jun 29, 2008, at 6:14 AM, Peter Petersson wrote: Hi Kevan (or any other with some knowledge about legal stuff), I think you are the man to as here and my question is what shall I do about the legal stuff I don't have much of a clue about these things. As I have said before I am building this plugin for my own use and I have the intention of donating it to the Liferay community in the hope that they will find it useful as a base for there future geronimo integration. The build is derevided from Davids custom server assemblies document and some parts are modified stuff from the roller plugin source. If I understand things right maybe I shall include the license and notice files in the build or should I ? Is there any other considerations ? Hi Peter, I'd be happy to take a look and offer my thoughts. I'd been wanting to take a look at the plugin, anyway. Likely to be a few days, however, before I have the time. Thanks! For now you can check it out (or browse it) from here svn co http://www.m4u.nu/svn/geronimo-liferay-repos/geronimo-liferay/trunk It's starting to get in shape. regards peter petersson --kevan
Re: Liferay as a Geronimo Plugin
I am using the geronimo-tomcat-liferay and it is working fine so thanks again Peter. However I cannot deploy any new war I guess because it is a minimalistic server version... How do I install new geronimo plugins ? I tried to make it through Geronimo console webpage but there is also no Applications Plugins link. Arnaud. Peter Petersson-2 wrote: Hi If you want a sneak peak (before i wrap things up) you can svn co http://www.m4u.nu/svn/geronimo-liferay-repos/geronimo-liferay/trunk but remember this is still a moving target so there are no guarantees it will work at the time you decide to check it out ;) although right now (2008-06-25) it is in good shape. As always, any suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. (For instance it would be cool to also get jetty running.) regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson -- View this message in context: http://www.nabble.com/Liferay-as-a-Geronimo-Plugin-tp18026941s134p18169300.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Liferay as a Geronimo Plugin
Hi Arnaud I just added the plugin console stuff to the tomcat server and a mysql db plugin. Last time I tested It worked fine to switch database and running from mysql but things may be in a flux as I am currently rearranging things. As you are building from source you should be able to install the mysql db plugin from your local repository. From here on you should be able to add what else geronimo plugins you have in your repos :). The docs are not yet updated with instructions for the db switching. regards peter petersson heden75 wrote: I am using the geronimo-tomcat-liferay and it is working fine so thanks again Peter. However I cannot deploy any new war I guess because it is a minimalistic server version... How do I install new geronimo plugins ? I tried to make it through Geronimo console webpage but there is also no Applications Plugins link. Arnaud. Peter Petersson-2 wrote: Hi If you want a sneak peak (before i wrap things up) you can svn co http://www.m4u.nu/svn/geronimo-liferay-repos/geronimo-liferay/trunk but remember this is still a moving target so there are no guarantees it will work at the time you decide to check it out ;) although right now (2008-06-25) it is in good shape. As always, any suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. (For instance it would be cool to also get jetty running.) regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
... also as I have renamed most of the plugins so you should clean out the geronimo lifray stuff from your maven repos (else it will clutter the plugin list). I have not tried to deploy any war yet but I will look in to it, anyway you will find the plugin stuff working now. regards peter petersson heden75 wrote: I am using the geronimo-tomcat-liferay and it is working fine so thanks again Peter. However I cannot deploy any new war I guess because it is a minimalistic server version... How do I install new geronimo plugins ? I tried to make it through Geronimo console webpage but there is also no Applications Plugins link. Arnaud. Peter Petersson-2 wrote: Hi If you want a sneak peak (before i wrap things up) you can svn co http://www.m4u.nu/svn/geronimo-liferay-repos/geronimo-liferay/trunk but remember this is still a moving target so there are no guarantees it will work at the time you decide to check it out ;) although right now (2008-06-25) it is in good shape. As always, any suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. (For instance it would be cool to also get jetty running.) regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
Cool. That's great! Look forward to seeing your final docs and giving it a try... --kevan On Jun 20, 2008, at 6:30 AM, Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, - service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
Hi If you want a sneak peak (before i wrap things up) you can svn co http://www.m4u.nu/svn/geronimo-liferay-repos/geronimo-liferay/trunk but remember this is still a moving target so there are no guarantees it will work at the time you decide to check it out ;) although right now (2008-06-25) it is in good shape. As always, any suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. (For instance it would be cool to also get jetty running.) regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
Hi, I am looking forward to seeing your liferay 5.0.1 rc1 on G 2.1.1 plugins because I've been trying to set up G2.1.1/Jetty6 On Liferay5.0.1 rc1... but unsuccessfully. When and where will your release be available ? Arnaud. Peter Petersson-2 wrote: David Jencks wrote: On Jun 21, 2008, at 9:07 AM, David Jencks wrote: On Jun 21, 2008, at 9:00 AM, Peter Petersson wrote: Which maven repository do I need to pull in the following G v2.1.1 artifacts (if there is any) org.apache.tomcat:jasper:jar:6.0.14-G614585 org.apache.tomcat:catalina:jar:6.0.14-G614585 org.apache.yoko:yoko-spec-corba:jar:1.0-r646887 org.apache.yoko:yoko-rmi-spec:jar:1.0-r646887 org.apache.pluto:pluto-portal-driver:jar:1.2.0-G601061 org.apache.pluto:pluto-portal-driver-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-container:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-api:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-taglib:jar:1.2.0-G601061 I just remember I had a bit of a problem pulling in some of the geronimo v2.1.1 used artifacts for this plugin to build smoothly (without manually installing geronimo artifacts as I did). I realize building Geronimo v2.1.1 locally will resolve this but should it really be necessary? Any pointers on how to resolve this is greatly appreciated. I hope we come up with a better solution for this soon. AFAIK the shortest solution is: svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.1/repository btw the tags/2.1.1/repository works much better for me ;). I am writing up some build instructions for the liferay plugin in a readme file and noticed a possible problem, when i tried to mvn install from the repos given above I got an error as i did not have the parent org.apache.geronimo:geronimo:pom:2.1.2-SNAPSHOT present in my local repository I guess I can safely assume that a released geronimo parent will be present in a public maven repository and that this problem only will arise when checking out and mvn instal from a unreleased geronimo repository. Is there a simple way around this ? regards peter petersson umm, cd repository mvn install david jencks thanks david jencks regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson -- View this message in context: http://www.nabble.com/Liferay-as-a-Geronimo-Plugin-tp18026941s134p18065982.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
Re: Liferay as a Geronimo Plugin
Hi Arnaud I am currently in the process of writing up some readme instructions (and testing them out) for the bundle and clean up the code a bit and hope to have things wrapped up this week. I will post information here as soon as I make things public. As of this writing the jetty plugin dose not work and I have disabled it in the maven build but the tomcat build works fine. You can always run more than one instance of G by setting the port offset so I hope that the tomcat bundle will do fine for you. regards peter petersson heden75 wrote: Hi, I am looking forward to seeing your liferay 5.0.1 rc1 on G 2.1.1 plugins because I've been trying to set up G2.1.1/Jetty6 On Liferay5.0.1 rc1... but unsuccessfully. When and where will your release be available ? Arnaud. Peter Petersson-2 wrote: David Jencks wrote: On Jun 21, 2008, at 9:07 AM, David Jencks wrote: On Jun 21, 2008, at 9:00 AM, Peter Petersson wrote: Which maven repository do I need to pull in the following G v2.1.1 artifacts (if there is any) org.apache.tomcat:jasper:jar:6.0.14-G614585 org.apache.tomcat:catalina:jar:6.0.14-G614585 org.apache.yoko:yoko-spec-corba:jar:1.0-r646887 org.apache.yoko:yoko-rmi-spec:jar:1.0-r646887 org.apache.pluto:pluto-portal-driver:jar:1.2.0-G601061 org.apache.pluto:pluto-portal-driver-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-container:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-api:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-taglib:jar:1.2.0-G601061 I just remember I had a bit of a problem pulling in some of the geronimo v2.1.1 used artifacts for this plugin to build smoothly (without manually installing geronimo artifacts as I did). I realize building Geronimo v2.1.1 locally will resolve this but should it really be necessary? Any pointers on how to resolve this is greatly appreciated. I hope we come up with a better solution for this soon. AFAIK the shortest solution is: svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.1/repository btw the tags/2.1.1/repository works much better for me ;). I am writing up some build instructions for the liferay plugin in a readme file and noticed a possible problem, when i tried to mvn install from the repos given above I got an error as i did not have the parent org.apache.geronimo:geronimo:pom:2.1.2-SNAPSHOT present in my local repository I guess I can safely assume that a released geronimo parent will be present in a public maven repository and that this problem only will arise when checking out and mvn instal from a unreleased geronimo repository. Is there a simple way around this ? regards peter petersson umm, cd repository mvn install david jencks thanks david jencks regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
Which maven repository do I need to pull in the following G v2.1.1 artifacts (if there is any) org.apache.tomcat:jasper:jar:6.0.14-G614585 org.apache.tomcat:catalina:jar:6.0.14-G614585 org.apache.yoko:yoko-spec-corba:jar:1.0-r646887 org.apache.yoko:yoko-rmi-spec:jar:1.0-r646887 org.apache.pluto:pluto-portal-driver:jar:1.2.0-G601061 org.apache.pluto:pluto-portal-driver-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-container:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-api:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-taglib:jar:1.2.0-G601061 I just remember I had a bit of a problem pulling in some of the geronimo v2.1.1 used artifacts for this plugin to build smoothly (without manually installing geronimo artifacts as I did). I realize building Geronimo v2.1.1 locally will resolve this but should it really be necessary? Any pointers on how to resolve this is greatly appreciated. regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
On Jun 21, 2008, at 9:00 AM, Peter Petersson wrote: Which maven repository do I need to pull in the following G v2.1.1 artifacts (if there is any) org.apache.tomcat:jasper:jar:6.0.14-G614585 org.apache.tomcat:catalina:jar:6.0.14-G614585 org.apache.yoko:yoko-spec-corba:jar:1.0-r646887 org.apache.yoko:yoko-rmi-spec:jar:1.0-r646887 org.apache.pluto:pluto-portal-driver:jar:1.2.0-G601061 org.apache.pluto:pluto-portal-driver-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-container:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-api:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-taglib:jar:1.2.0-G601061 I just remember I had a bit of a problem pulling in some of the geronimo v2.1.1 used artifacts for this plugin to build smoothly (without manually installing geronimo artifacts as I did). I realize building Geronimo v2.1.1 locally will resolve this but should it really be necessary? Any pointers on how to resolve this is greatly appreciated. I hope we come up with a better solution for this soon. AFAIK the shortest solution is: svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.1/repository mvn install thanks david jencks regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, - service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
On Jun 21, 2008, at 9:07 AM, David Jencks wrote: On Jun 21, 2008, at 9:00 AM, Peter Petersson wrote: Which maven repository do I need to pull in the following G v2.1.1 artifacts (if there is any) org.apache.tomcat:jasper:jar:6.0.14-G614585 org.apache.tomcat:catalina:jar:6.0.14-G614585 org.apache.yoko:yoko-spec-corba:jar:1.0-r646887 org.apache.yoko:yoko-rmi-spec:jar:1.0-r646887 org.apache.pluto:pluto-portal-driver:jar:1.2.0-G601061 org.apache.pluto:pluto-portal-driver-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-container:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-api:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-taglib:jar:1.2.0-G601061 I just remember I had a bit of a problem pulling in some of the geronimo v2.1.1 used artifacts for this plugin to build smoothly (without manually installing geronimo artifacts as I did). I realize building Geronimo v2.1.1 locally will resolve this but should it really be necessary? Any pointers on how to resolve this is greatly appreciated. I hope we come up with a better solution for this soon. AFAIK the shortest solution is: svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.1/repository umm, cd repository mvn install david jencks thanks david jencks regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, - service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
David Jencks wrote: On Jun 21, 2008, at 9:07 AM, David Jencks wrote: On Jun 21, 2008, at 9:00 AM, Peter Petersson wrote: Which maven repository do I need to pull in the following G v2.1.1 artifacts (if there is any) org.apache.tomcat:jasper:jar:6.0.14-G614585 org.apache.tomcat:catalina:jar:6.0.14-G614585 org.apache.yoko:yoko-spec-corba:jar:1.0-r646887 org.apache.yoko:yoko-rmi-spec:jar:1.0-r646887 org.apache.pluto:pluto-portal-driver:jar:1.2.0-G601061 org.apache.pluto:pluto-portal-driver-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-container:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-api:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-taglib:jar:1.2.0-G601061 I just remember I had a bit of a problem pulling in some of the geronimo v2.1.1 used artifacts for this plugin to build smoothly (without manually installing geronimo artifacts as I did). I realize building Geronimo v2.1.1 locally will resolve this but should it really be necessary? Any pointers on how to resolve this is greatly appreciated. I hope we come up with a better solution for this soon. AFAIK the shortest solution is: svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.1/repository umm, cd repository yes ;) thanks peter petersson mvn install david jencks thanks david jencks regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
David Jencks wrote: On Jun 21, 2008, at 9:07 AM, David Jencks wrote: On Jun 21, 2008, at 9:00 AM, Peter Petersson wrote: Which maven repository do I need to pull in the following G v2.1.1 artifacts (if there is any) org.apache.tomcat:jasper:jar:6.0.14-G614585 org.apache.tomcat:catalina:jar:6.0.14-G614585 org.apache.yoko:yoko-spec-corba:jar:1.0-r646887 org.apache.yoko:yoko-rmi-spec:jar:1.0-r646887 org.apache.pluto:pluto-portal-driver:jar:1.2.0-G601061 org.apache.pluto:pluto-portal-driver-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-container:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-api:jar:1.2.0-G601061 org.apache.pluto:pluto-descriptor-impl:jar:1.2.0-G601061 org.apache.pluto:pluto-taglib:jar:1.2.0-G601061 I just remember I had a bit of a problem pulling in some of the geronimo v2.1.1 used artifacts for this plugin to build smoothly (without manually installing geronimo artifacts as I did). I realize building Geronimo v2.1.1 locally will resolve this but should it really be necessary? Any pointers on how to resolve this is greatly appreciated. I hope we come up with a better solution for this soon. AFAIK the shortest solution is: svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.1/repository btw the tags/2.1.1/repository works much better for me ;). I am writing up some build instructions for the liferay plugin in a readme file and noticed a possible problem, when i tried to mvn install from the repos given above I got an error as i did not have the parent org.apache.geronimo:geronimo:pom:2.1.2-SNAPSHOT present in my local repository I guess I can safely assume that a released geronimo parent will be present in a public maven repository and that this problem only will arise when checking out and mvn instal from a unreleased geronimo repository. Is there a simple way around this ? regards peter petersson umm, cd repository mvn install david jencks thanks david jencks regards peter petersson Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, -service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson
Re: Liferay as a Geronimo Plugin
Excellent news!! thanks david jencks On Jun 20, 2008, at 3:30 AM, Peter Petersson wrote: Hi With the help of David J custom server assemblies document ( http://cwiki.apache.org/GMOxDOC21/custom-server-assemblies.html ) and my experience working with David on the roller plugin I have manage to put together a Liferay ( http://www.liferay.com ) plugin. For now the plugin is with liferay 5.0.1 rc1 on G 2.1.1 and consists of the following maven artifacts * geronimo-jetty-liferay -- A minimalistic server assembly with the geronimo kernel the lifray jetty plugin and the geronimo console plugin. * liferay-jetty -- The liferay jetty plugin built on the lesslibs liferay-portal war pulling in dependencys like lifray -kernel, - service and -portlet. * geronimo-tomcat-liferay -- A minimalistic server as above but with the liferay tomcat plugin. * liferay-tomcat -- The liferay tomcat plugin as liferay-jetty above but with tomcat. * liferay-derby -- The liferay derby db backend plugin. * lifray-portal -- The liferay portal war fetched from liferay and pulled in to a local maven repos. * liferay-portal-lesslibs -- A overlay of the liferay portal war with filtered lib jars making use of some geronimo builtins instead. The geronimo-tomcat-liferay server seems to work fine but the jetty equivalent has a issue in the login page. When I have ironed out the jetty issue, cleaned up the code, made some additional improvements and put together a simple readme with build instructions ;) I am thinking of wrapping it up and first of all contribute it to the liferay community ( as suggested by david in http://marc.info/?l=geronimo-userm=121304343919559w=2 ) to see if they are interested in it for there geronimo integration. Anny suggestions, opinions, tips or help to pull this together in the best way possible are appreciated. regards peter petersson