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:46:36 UTC

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

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


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


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

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://nagoya.apache.org/jira/browse/BEEHIVE-102?page=comments#action_57108 ]
     
Eddie O'Neil commented on BEEHIVE-102:
--------------------------------------

In the long run, Beehive needs to take a holistic look at how to support various application containers including:

- running tests on various containers from SVN
- running the distribution on various containers

Seems that there are two extremes:

- supporting all app container integrations for build / deployment
- supporting no containers and requiring Beehive users to customize their application build / deployment

In the long run, the latter will be more scalable, and we can factor the webapp build infrastructure so that the controls, XMLBean, WS, and JPF builds can be worked into the larger (and more complex) context of building an enterprise app on other containers.

Though, it would be great to have support for other containers.

The tradeoffs are maintaining the former and costing this against the value of doing so.  It might be better to spend the time factoring the build correctly, and in this case, Beehive wouldn't ship any Ant for container integration.  This is how Struts ships -- the developer needs to set the path to servlet / JSP classes in their web application build files.

Any opinions on this?


> 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
>     Assignee: Eddie O'Neil
>  Attachments: appserver-patch-v2.tar.gz, 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


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

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-102?page=history ]
     
Eddie O'Neil resolved BEEHIVE-102:
----------------------------------

     Assign To: Bryan Che  (was: Eddie O'Neil)
    Resolution: Fixed

This patch has been applied, but given the recent conversation about supporting app servers in SVN and in the distribution, it's a bit dated now.

I applied the path, but with the ongoing work being done in Beehive, it may become moot and need to be reworked.

So, I'm resolving as fixed, but the issue definitely needs to be revisited holistically for SVN and the distribution.

> Beehive distribution should support various app servers
> -------------------------------------------------------
>
>          Key: BEEHIVE-102
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-102
>      Project: Beehive
>         Type: Improvement
>   Components: Build
>     Reporter: Bryan Che
>     Assignee: Bryan Che
>  Attachments: appserver-patch-v2.tar.gz, 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://issues.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


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

Posted by "Bryan Che (JIRA)" <be...@incubator.apache.org>.
     [ http://nagoya.apache.org/jira/browse/BEEHIVE-102?page=history ]

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

    Attachment: appserver-patch-v2.tar.gz

This patch supercedes the previous version.  I made a few changes to the jonas-related files, beehive.jonas.properties and 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
>     Assignee: Eddie O'Neil
>  Attachments: appserver-patch-v2.tar.gz, 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


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

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-102?page=all ]
     
Julie Zhuo closed BEEHIVE-102:
------------------------------

    Assign To: Julie Zhuo  (was: Bryan Che)

Currently there are tomcat and jonas server deploy files working both in the trunk and the m1 branch. The targets have been named gneric that is easy to plug in any other web/app server deployment files. Improving the build structure for easy plugin of app servers will be a ongoing effort. Should any issue comming up, a separate jira bug will be opened for tracking. So, we are closing this out here.

> Beehive distribution should support various app servers
> -------------------------------------------------------
>
>          Key: BEEHIVE-102
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-102
>      Project: Beehive
>         Type: Improvement
>   Components: Build
>     Reporter: Bryan Che
>     Assignee: Julie Zhuo
>  Attachments: appserver-patch-v2.tar.gz, 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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, 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.
> 
> 

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

Posted by "Bryan Che (JIRA)" <be...@incubator.apache.org>.
     [ 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


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

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://nagoya.apache.org/jira/browse/BEEHIVE-102?page=history ]

Eddie O'Neil reassigned BEEHIVE-102:
------------------------------------

    Assign To: Eddie O'Neil

> 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
>     Assignee: Eddie O'Neil
>  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