This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 129251 - Use j2eeserver API for server selection, server start
Summary: Use j2eeserver API for server selection, server start
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: Axis2 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-05 10:11 UTC by Milan Kuchtiak
Modified: 2010-10-26 11:46 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2008-03-05 10:11:31 UTC
It is desirable to integrate Axis2 better with J2EE Server infrastructure to enable start the server (GlassFish)
automatically when the axis2 service is being deployed. 
Also axis2 war file can be generated and copied on fly if not deployed yet.

The target server should be specified in project's customizer.
Comment 1 Roderico Cruz 2008-03-06 19:46:00 UTC
Here are some pointers from a note from Pavel Buzek:

I mentioned in the meeting 2 weeks ago that there may be a way to deploy Axis automatically using j2eeserver API so you
would not have to ask the user to do it manually.  Even better, if you deploy this way and if the server supports
in-place deployment (i.e. deployment from the build location rather then  inside the server directory), which tomcat and
GF do, you could then just copy .aar files into the build location and would not even need to ask for target location
for aar files. I have not tested, but it _should_ work.

Here are some pointers:

In j2eeserver module look at Deployment[1] that will let you deploy the Axis module. Also look at J2eeModuleProvider[2]
that is the description of your module that you need to provide. For a simple implementation of J2eeModuleProvider take
a look at ProvidesJ2eeModule[3] in archiveproject module, another implementation is in the web.project module, of course.

[1] org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment
[2] org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider
[3] org.netbeans.modules.j2ee.archive.project.ProvidesJ2eeModule

-pavel 
Comment 2 Denis Anisimov 2010-10-26 11:46:59 UTC
axis2 functionality is on update center ( not under development already ).