You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Afkham Azeez <af...@gmail.com> on 2007/06/26 10:51:53 UTC
[Axis2] Build Break
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
Re: [Axis2] Build Break
Posted by Saminda Abeyruwan <sa...@gmail.com>.
Fixed
Saminda
On 6/26/07, Deepal Jayasinghe <de...@opensource.lk> wrote:
>
> 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.ModuleDeployerdeploy
> > INFO: Deploying module: classpathModule
> > Jun 26, 2007 1:39:14 PM org.apache.axis2.deployment.ModuleDeployerdeploy
> > 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
--
Saminda Abeyruwan
Software Engineer
WSO2 Inc. - www.wso2.org
Re: [Axis2] Build Break
Posted by Deepal Jayasinghe <de...@opensource.lk>.
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org