On Tue, Oct 8, 2013 at 3:28 PM, Nandika Jayawardana <[email protected]>wrote:

> Previosly, In Axis2ServiceRegistry.processWSDL method, its was calculating
> the wsdl path incorrectly and hence was not processing wsdls packed in the
> bundles. A fix was done for this since BPS uses some wsdls with
> useOriginalwsdl=true option.
>
> The actual problem is these error producing bundles are packing wsdls
> which throw exception when being processed by axiom. They were
> working because, those wsdl's were not processed previously due to
> incorrect path.
>

Yes. But, since this may break some other bundles which contain wsdl's, we
will have to skip this fix for chunk-02 and fix it for chunk-03 properly.
We will revert this fix for now.



> Regards
> Nandika
>
>
> On Tue, Oct 8, 2013 at 3:13 PM, Kishanthan Thangarajah <
> [email protected]> wrote:
>
>> Found the issue. We have added a fix (correct) to read the wsdl files
>> from bundles. This causes the above error. We will have to properly fix
>> this.
>>
>>
>> On Tue, Oct 8, 2013 at 11:30 AM, Kishanthan Thangarajah <
>> [email protected]> wrote:
>>
>>> I'll have a look.
>>>
>>> Kishanthan.
>>>
>>>
>>> On Tue, Oct 8, 2013 at 10:05 AM, Subash Chaturanga <[email protected]>wrote:
>>>
>>>> Hi all,
>>>> I am seeing this in the today's packs. Have anybody else seeing this in
>>>> today's packs.
>>>>
>>>>
>>>> 2013-10-08 09:49:41,888]  INFO
>>>> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
>>>> service: WorkListService {super-tenant}
>>>> [2013-10-08 09:49:42,407]  INFO
>>>> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
>>>> service: DiscoveryProxy {super-tenant}
>>>> [2013-10-08 09:49:45,106] ERROR
>>>> {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error building
>>>> service from bundle : Symbolic Name: org.wso2.carbon.statistics,Bundle
>>>> Version: 4.2.1, ID: 384
>>>> java.lang.IllegalStateException
>>>> at
>>>> org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper.getCharacterEncodingScheme(SJSXPStreamReaderWrapper.java:39)
>>>>  at
>>>> org.apache.axiom.om.impl.builder.StAXBuilder.<init>(StAXBuilder.java:126)
>>>> at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.<init>(StAXOMBuilder.java:104)
>>>>  at
>>>> org.apache.axiom.om.impl.AbstractOMMetaFactory.createStAXOMBuilder(AbstractOMMetaFactory.java:59)
>>>> at
>>>> org.apache.axiom.om.impl.AbstractOMMetaFactory.createOMBuilder(AbstractOMMetaFactory.java:69)
>>>>  at
>>>> org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:88)
>>>> at
>>>> org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:73)
>>>>  at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:590)
>>>> at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:575)
>>>>  at
>>>> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:337)
>>>> at
>>>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.processWSDL(Axis2ServiceRegistry.java:302)
>>>>  at
>>>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:184)
>>>> at
>>>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:102)
>>>>  at
>>>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:89)
>>>> at
>>>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:473)
>>>>  at
>>>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>>> at
>>>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:74)
>>>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>  at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>  at
>>>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>>> at
>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>>>  at
>>>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>>> at
>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>>>  at
>>>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>>> at
>>>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>>>  at
>>>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>>> at
>>>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>>>  at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>>> at
>>>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>>>  at
>>>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>>> at
>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>>>  at
>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>>> at
>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>>>  at
>>>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>>> at
>>>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>>>  at
>>>> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
>>>> at
>>>> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
>>>>  at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
>>>> at
>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
>>>>  at
>>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
>>>> at
>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
>>>>  at
>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
>>>> at
>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
>>>>  at
>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
>>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>>>  at
>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>>> at
>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>>>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>>>  at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>>>  at java.lang.Thread.run(Thread.java:662)
>>>> [2013-10-08 09:49:45,135]  INFO
>>>> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
>>>> service: wso2carbon-sts {super-tenant}
>>>> [2013-10-08 09:49:45,594]  INFO
>>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Repository       :
>>>> /home/subash/tmp/wso2greg-4.6.0/repository/deployment/server/
>>>> [2013-10-08 09:49:45,899
>>>>
>>>>
>>>> --
>>>> Thanks
>>>> /subash
>>>>
>>>> *Subash Chaturanga*
>>>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>>>
>>>> email: [email protected]
>>>> blog:  http://subashsdm.blogspot.com/
>>>> twitter: @subash89
>>>> phone: +9477 2225922
>>>> Lean . Enterprise . Middleware
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Senior Software Engineer,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com*
>>> Twitter - *http://twitter.com/kishanthan*
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Senior Software Engineer,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com*
>> Twitter - *http://twitter.com/kishanthan*
>>
>
>
>
> --
> Nandika Jayawardana
> Senior Technical Lead
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to