You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Bryan Che (JIRA)" <be...@incubator.apache.org> on 2004/11/30 20:57:30 UTC

[jira] Updated: (BEEHIVE-102) Beehive distribution should support various app servers

     [ http://nagoya.apache.org/jira/browse/BEEHIVE-102?page=history ]

Bryan Che updated BEEHIVE-102:
------------------------------

    Attachment: appserver-patch.tar.gz

This is a patch to Beehive's build system so that it will generate a
distribution that supports various application servers and not just
Tomcat.  The patch includes implementations for deploying with Tomcat
and JOnAS.  It does not change the command-line API for using Beehive
with Tomcat.

This patch abstracts out direct references to Tomcat and allows easy
switching among different application servers.  To switch application
servers, modify BEEHIVE_HOME/beehive.properties and set the
appserver.ant property to point to the desired application server's ant
file.  Currently, there are twoo application server files:
runTomcatCore.xml and runJonasCore.xml.

All application-server-specific properties are now located in that
server's respective run[appserver]Core.xml file.  Additionally, each
application server also has a beehive.[appserver].properties file for
binding properties from the environment.

To add support for another application server, create a properties file
and an ant xml file for it.  Then, point to its ant xml file in
beehive.properties.

An application server's ant xml file must set the
"appserver.build.classpath" path and should follow the naming
convention, run[appserver]Core.xml.

An application server's property file should point to servlet24.jar and
jsp20.jar and also follow the naming convention,
beehive.[appserver].properties.

This patch modifies the following files in Beehive's trunk:

- /build.xml
- user/beehive.properties
- test/ant/buildWebappCore.xml  
- test/ant/runTomcatCore.xml
- test/ant/buildWebapp.xml
- test/ant/runTomcat.xml

It adds the following files:

- test/ant/beehive.jonas.properties  
- test/ant/beehive.tomcat.properties
- test/ant/runJonasCore.xml

> Beehive distribution should support various app servers
> -------------------------------------------------------
>
>          Key: BEEHIVE-102
>          URL: http://nagoya.apache.org/jira/browse/BEEHIVE-102
>      Project: Beehive
>         Type: Improvement
>   Components: Build
>     Reporter: Bryan Che
>  Attachments: appserver-patch.tar.gz
>
> Currently, the beehive distribution only supports Tomcat with its ant files.  This should be made generic so that people can plugin various application servers to use with Beehive.  I have a patch to the Beehive build system to do this--I'll be uploading it shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Updated: (BEEHIVE-102) Beehive distribution should support various app servers

Posted by Eddie O'Neil <ek...@bea.com>.
Bryan--

   Cool!

   Thanks for doing the work; I'll take a look over it and comment / get 
it into the tree.

   Will be great to see the build start supporting containers in 
addition to Tomcat and JOnAS.

Eddie



Bryan Che (JIRA) wrote:
>      [ http://nagoya.apache.org/jira/browse/BEEHIVE-102?page=history ]
> 
> Bryan Che updated BEEHIVE-102:
> ------------------------------
> 
>     Attachment: appserver-patch.tar.gz
> 
> This is a patch to Beehive's build system so that it will generate a
> distribution that supports various application servers and not just
> Tomcat.  The patch includes implementations for deploying with Tomcat
> and JOnAS.  It does not change the command-line API for using Beehive
> with Tomcat.
> 
> This patch abstracts out direct references to Tomcat and allows easy
> switching among different application servers.  To switch application
> servers, modify BEEHIVE_HOME/beehive.properties and set the
> appserver.ant property to point to the desired application server's ant
> file.  Currently, there are twoo application server files:
> runTomcatCore.xml and runJonasCore.xml.
> 
> All application-server-specific properties are now located in that
> server's respective run[appserver]Core.xml file.  Additionally, each
> application server also has a beehive.[appserver].properties file for
> binding properties from the environment.
> 
> To add support for another application server, create a properties file
> and an ant xml file for it.  Then, point to its ant xml file in
> beehive.properties.
> 
> An application server's ant xml file must set the
> "appserver.build.classpath" path and should follow the naming
> convention, run[appserver]Core.xml.
> 
> An application server's property file should point to servlet24.jar and
> jsp20.jar and also follow the naming convention,
> beehive.[appserver].properties.
> 
> This patch modifies the following files in Beehive's trunk:
> 
> - /build.xml
> - user/beehive.properties
> - test/ant/buildWebappCore.xml  
> - test/ant/runTomcatCore.xml
> - test/ant/buildWebapp.xml
> - test/ant/runTomcat.xml
> 
> It adds the following files:
> 
> - test/ant/beehive.jonas.properties  
> - test/ant/beehive.tomcat.properties
> - test/ant/runJonasCore.xml
> 
> 
>>Beehive distribution should support various app servers
>>-------------------------------------------------------
>>
>>         Key: BEEHIVE-102
>>         URL: http://nagoya.apache.org/jira/browse/BEEHIVE-102
>>     Project: Beehive
>>        Type: Improvement
>>  Components: Build
>>    Reporter: Bryan Che
>> Attachments: appserver-patch.tar.gz
>>
>>Currently, the beehive distribution only supports Tomcat with its ant files.  This should be made generic so that people can plugin various application servers to use with Beehive.  I have a patch to the Beehive build system to do this--I'll be uploading it shortly.
> 
>