On Sun, Oct 10, 2010 at 12:16 PM, Senaka Fernando <[email protected]> wrote:

> Hi Ruwan,
>
> On Sun, Oct 10, 2010 at 8:22 AM, Ruwan Linton <[email protected]> wrote:
>
>>  May be there is some change in the registry API behavior or module
>> versioning in axis2, since we have branched axis2, I think this is due to a
>> change in the registry behavior.
>>
>
> As Azeez stated, this is actually because the code in question is searching
> for a non-existing resource.
>
>
>> My wild guess is that they previously return null for non existing
>> resources and now throwing an exception??
>>
>
> This issue existed once, but only when a Mount was created. But, that has
> been fixed for 3.0.0.
>
> I think you can be a bit more positive about the Registry :-).
>

Don't worry Senaka, it had no relationship with the Registry and we have
sorted it out :).

Thanks,
~Isuru


>
> Thanks,
> Senaka.
>
>>
>> Ruwan
>>
>>
>> On 10/9/10 6:09 PM, Afkham Azeez wrote:
>>
>> What is the root cause of this?
>>
>>  Caused by:
>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource
>> does not exist at path
>> /_system/config/repository/axis2/modules/rampart/1.50-wso2v1
>>  at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:415)
>>  at
>> org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:500)
>>  at
>> org.wso2.carbon.core.persistence.ServicePersistenceManager.handleExistingServiceInit(ServicePersistenceManager.java:319)
>>  ... 13 more
>> [2010-10-09 16:12:57,843]  INFO
>> {org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
>> org.wso2.carbon.sts -
>> [2010-10-09 16:12:58,211]  INFO
>> {org.apache.axis2.deployment.DeploymentEngine} -  Deploying Web service:
>> org.wso2.carbon.tryit -
>> [2010-10-09 16:12:58,553]  INFO
>> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
>> service: XKMS {super-tenant}
>> [2010-10-09 16:12:58,731] ERROR
>> {org.wso2.carbon.core.persistence.AbstractPersistenceManager} -  Unable to
>> handle service initialization. Service: XKMS
>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException:
>> Resource does not exist at path
>> /_system/config/repository/axis2/modules/addressing/3.10-SNAPSHOT
>>  at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:415)
>>  at
>> org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:500)
>>  at
>> org.wso2.carbon.core.persistence.ServicePersistenceManager.handleExistingServiceInit(ServicePersistenceManager.java:319)
>>  at
>> org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:271)
>>  at
>> org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:648)
>>  at
>> org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:402)
>>  at
>> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:611)
>>  at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
>>  at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
>>  at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
>>  at
>> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
>> [2010-10-09 16:12:58,732] ERROR
>> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Exception
>> occurred while handling service update event. {super-tenant}
>> org.wso2.carbon.CarbonException: Unable to handle service initialization.
>> Service: XKMS
>>  at
>> org.wso2.carbon.core.persistence.AbstractPersistenceManager.handleExceptionWithRollback(AbstractPersistenceManager.java:396)
>>  at
>> org.wso2.carbon.core.persistence.ServicePersistenceManager.handleExistingServiceInit(ServicePersistenceManager.java:516)
>>  at
>> org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:271)
>>  at
>> org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:648)
>>  at
>> org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:402)
>>  at
>> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:611)
>>  at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
>>  at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:106)
>>  at
>> org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.register(Axis2ServiceRegistry.java:92)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:462)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:282)
>>  at
>> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:916)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)
>> Caused by:
>> org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource
>> does not exist at path
>> /_system/config/repository/axis2/modules/addressing/3.10-SNAPSHOT
>>  at
>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:415)
>>  at
>> org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:500)
>>  at
>> org.wso2.carbon.core.persistence.ServicePersistenceManager.handleExistingServiceInit(ServicePersistenceManager.java:319)
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*<http://www.apache.org/>
>> *
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing 
>> [email protected]https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>>
>> --
>> Ruwan Linton
>> Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb
>>
>> WSO2 Inc.; http://wso2.com
>>
>>
>> Lean . Enterprise . Middleware
>>
>> phone: +1 408 754 7388 ext 51789
>> email: [email protected]; cell: +94 77 341 3097
>> blog: http://blog.ruwan.org
>> linkedin: http://www.linkedin.com/in/ruwanlinton
>> tweet: http://twitter.com/ruwanlinton
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Senaka Fernando
> Associate Technical Lead
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Isuru Suriarachchi
Technical Lead & Product Manager, WSO2 Web Services Application Server
WSO2 Inc. http://wso2.com
email : [email protected]
blog : http://isurues.wordpress.com/

lean . enterprise . middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to