Hi ,
As I can see following code segment in AxisServiceGroup cause this
issues. We should be able to create AxisServiceGroup with a set of
Service and then be able to add that to AxisConfiguration. But the code
segment prevent us doing so. When we create AxisServiceGroup the parent
will be null in most of the cases .
public void addService(AxisService service) throws AxisFault {
if (service == null) {
return;
}
if (serviceGroupName == null) {
// setup a temporary name based on the first service under
this group
serviceGroupName = service.getName();
}
service.setParent(this);
AxisConfiguration axisConfig = (AxisConfiguration) getParent();
* if (axisConfig != null) {*
}
}
Thanks
Deepal
> There is a build break in Axis2. SameServiceAddingTest in the kernel
> is failing.
>
> Testsuite: org.apache.axis2.deployment.SameServiceAddingTest
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.601 sec
>
> ------------- Standard Error -----------------
> Jun 26, 2007 1:39:14 PM org.apache.axis2.deployment.ModuleDeployer deploy
> INFO: Deploying module: classpathModule
> Jun 26, 2007 1:39:14 PM org.apache.axis2.deployment.ModuleDeployer deploy
> INFO: Deploying module: classpathModule
> ------------- ---------------- ---------------
> Testcase:
> testServiceGroup(org.apache.axis2.deployment.SameServiceAddingTest):
> FAILED
> Service 1 wasn't deployed!
> junit.framework.AssertionFailedError: Service 1 wasn't deployed!
> at
> org.apache.axis2.deployment.SameServiceAddingTest.testServiceGroup(SameServiceAddingTest.java:75)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>
> --
> Thanks
> Afkham Azeez
>
> http://www.wso2.org
> GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760
--
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]