xiaoda a ÃcritÂ:
Hi!
In fact, the dependency is that Axis2 has a callback function that is called when deploy a ejb as webservice,if we did not write the dependency there, I found the callback function was not called when deploying a ejb as webservice, so I think this is necessary to write this dependency there.
The callback is for easybeans only (EJB3). EJB2 are not part of the mix
...
--G
======= 2008-11-22 05:31:50 You wrote in your letter:======
The reason for what I find strange to add a dependency of axis2 to ejb2
and ear deployment plan is that those two services can start without axis2.
In case you want to deploy an EJB as webservice, I suppose that you must
start the axis2 service. Once the axis2 service is started, all needed
classes will be available for EJB deployment.
Maybe we can discuss about it with Guillaume.
Best Regards,
FranÃois
xiaoda a Ãcrit :
Hi,!
I've checked it and for Axis2, it is the same reason that JONAS need some classes taht Axis2 bundle provided during deploying an EJB as webservice.
So we should add "ws-axis2" to ejb2 and ear deployment plan.
======= 2008-11-22 01:36:11 You wrote in your letter:======
Hi xiaoda,
I have a question about your last commit: why have you included the
'ws-axis2' deployment plan to the ejb2 and ear deployment plans?
For your information, we have included the 'ws-axis' deployment plan to
the ejb2 and ear deployment plans because they need some classes
provided by the axis bundle necessary during web services generation.
Best Regards,
FranÃois
xiaoda08@xxxxxxxxxxxxxx a Ãcrit :
Revision
15811
<http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/jonas/?rev=15811&view=rev>
Author
xiaoda
Date
2008-11-21 10:25:53 +0100 (Fri, 21 Nov 2008)
Log Message
Add Axis2's deployment plan into JONAS.
I have tested it, and Axis2 will not break JONAS's build and test now:)
Modified Paths
* jonas/trunk/jonas/pom.xml <#jonastrunkjonaspomxml>
Diff
Modified: jonas/trunk/jonas/pom.xml (15810 => 15811)
--- jonas/trunk/jonas/pom.xml 2008-11-21 08:34:04 UTC (rev 15810)
+++ jonas/trunk/jonas/pom.xml 2008-11-21 09:25:53 UTC (rev 15811)
@@ -1931,6 +1931,7 @@
<include>ow2-util-common-impl</include>
<include>ws-base</include>
<include>ws-axis</include>
+ <include>ws-axis2</include>
<include>ow2-util-event-common-ejb</include>
</includes>
<bundles>
@@ -2240,32 +2241,36 @@
</deploymentPlan>
<!-- Definition of the bundles for the 'ws-axis2' deployment plan -->
- <!--
<deploymentPlan>
<name>ws-axis2</name>
<includes>
- <include>generators-base</include>
+ <include>ejb3</include>
</includes>
<bundles>
<dependency>
- <groupId>org.ow2.jonas</groupId>
- <artifactId>jonas-webservices-axis2</artifactId>
+ <groupId>org.ow2.jonas.osgi</groupId>
+ <artifactId>neethi</artifactId>
<version>${project.version}</version>
- <classifier>ipojo</classifier>
</dependency>
<dependency>
- <groupId>org.ow2.jonas</groupId>
- <artifactId>eclipse-compiler</artifactId>
+ <groupId>org.ow2.bundles</groupId>
+ <artifactId>ow2-bundles-externals-jaxb2</artifactId>
+ <version>${ow2-bundles.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ow2.jonas.osgi</groupId>
+ <artifactId>woodstox</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.jonas</groupId>
- <artifactId>jonas-generators-wsgen</artifactId>
+ <artifactId>jonas-webservices-axis2</artifactId>
<version>${project.version}</version>
+ <classifier>ipojo</classifier>
+ <side>server</side>
</dependency>
</bundles>
</deploymentPlan>
- -->
<!-- Definition of the bundles for the 'ear' deployment plan -->
<deploymentPlan>
@@ -2275,6 +2280,7 @@
<include>generators-base</include>
<include>ws-base</include>
<include>ws-axis</include>
+ <include>ws-axis2</include>
</includes>
<bundles>
<dependency>
= = = = = = = = = = = = = = = = = = = =
Best wishes!
ãããããããããã2008-11-21
XiaoDa mailto:http://xiaoda08@xxxxxxxxxxxxxx
____________________________________________________
Institute of Software
School of Electronics Engineering & Computer Science
Peking University
Beijing, 100871, P.R.China
Tel : (86-10)62757801
____________________________________________________
= = = = = = = = = = = = = = = = = = = =
Best wishes!
ãããããããããã2008-11-21
XiaoDa mailto:http://xiaoda08@xxxxxxxxxxxxxx
____________________________________________________
Institute of Software
School of Electronics Engineering & Computer Science
Peking University
Beijing, 100871, P.R.China
Tel : (86-10)62757801
____________________________________________________
|