[Dev] Multiple errors when starting up G-Reg - trunk build

2012-05-21 Thread Chintana Wilamuna
Hi,

When I start G-Reg built from trunk I see the following error,

[2012-05-21 17:24:37,803] ERROR
{org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error building
service from bundle : Symbolic Name: org.wso2.carbon.core.services,Bundle
Version: 4.0.0.SNAPSHOT, ID: 157
org.apache.axis2.deployment.DeploymentException: The system cannot find the
axis2.xml file.
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
at
org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
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:465)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: org.apache.axis2.deployment.DeploymentException: The system
cannot find the axis2.xml file.
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441)
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
... 9 more
Caused by: org.apache.axis2.deployment.DeploymentException: The system
cannot find the axis2.xml file.
at
org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:555)
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:124)
... 10 more


Then later on following is thrown,

[2012-05-21 17:24:45,584] ERROR
{org.wso2.carbon.identity.core.util.IdentityConfigParser} -  Error while
loading Identity Configurations
java.io.FileNotFoundException: Identity configuration not found. Cause -
Identity core could not find resource identity.xml or user does not have
sufficient permission to access the resource.
at
org.wso2.carbon.identity.core.util.IdentityConfigParser.buildConfiguration(IdentityConfigParser.java:132)
at
org.wso2.carbon.identity.core.util.IdentityConfigParser.init(IdentityConfigParser.java:53)
at
org.wso2.carbon.identity.core.util.IdentityConfigParser.getInstance(IdentityConfigParser.java:64)
at
org.wso2.carbon.identity.core.util.IdentityUtil.populateProperties(IdentityUtil.java:65)
at
org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:64)
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:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
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

Re: [Dev] Multiple errors when starting up G-Reg - trunk build

2012-05-21 Thread Sameera Jayasoma
Hi Chinthana,

On Mon, May 21, 2012 at 9:32 PM, Chintana Wilamuna chint...@wso2.comwrote:

 Hi,

 When I start G-Reg built from trunk I see the following error,

 [2012-05-21 17:24:37,803] ERROR
 {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error building
 service from bundle : Symbolic Name: org.wso2.carbon.core.services,Bundle
 Version: 4.0.0.SNAPSHOT, ID: 157
 org.apache.axis2.deployment.DeploymentException: The system cannot find
 the axis2.xml file.
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 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:465)
 at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: org.apache.axis2.deployment.DeploymentException: The system
 cannot find the axis2.xml file.
 at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441)
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
 ... 9 more
 Caused by: org.apache.axis2.deployment.DeploymentException: The system
 cannot find the axis2.xml file.
 at
 org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:555)
 at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:124)
 ... 10 more


This is a known error. Pradeep is working on this. Following issue is seems
to be a similar one. All the issues are related to config file reading.
Look like these are due to recent security fixes.

Thanks,
Sameera.




 Then later on following is thrown,
  [2012-05-21 17:24:45,584] ERROR
 {org.wso2.carbon.identity.core.util.IdentityConfigParser} -  Error while
 loading Identity Configurations
 java.io.FileNotFoundException: Identity configuration not found. Cause -
 Identity core could not find resource identity.xml or user does not have
 sufficient permission to access the resource.
 at
 org.wso2.carbon.identity.core.util.IdentityConfigParser.buildConfiguration(IdentityConfigParser.java:132)
 at
 org.wso2.carbon.identity.core.util.IdentityConfigParser.init(IdentityConfigParser.java:53)
 at
 org.wso2.carbon.identity.core.util.IdentityConfigParser.getInstance(IdentityConfigParser.java:64)
 at
 org.wso2.carbon.identity.core.util.IdentityUtil.populateProperties(IdentityUtil.java:65)
 at
 org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:64)
 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:252)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
 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
 

Re: [Dev] Multiple errors when starting up G-Reg - trunk build

2012-05-21 Thread Chintana Wilamuna
Sorry I didn't see the mail Nuwan has sent about the same error.

-Chintana

On Mon, May 21, 2012 at 7:12 PM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Chinthana,

 On Mon, May 21, 2012 at 9:32 PM, Chintana Wilamuna chint...@wso2.comwrote:

 Hi,

 When I start G-Reg built from trunk I see the following error,

 [2012-05-21 17:24:37,803] ERROR
 {org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error building
 service from bundle : Symbolic Name: org.wso2.carbon.core.services,Bundle
 Version: 4.0.0.SNAPSHOT, ID: 157
 org.apache.axis2.deployment.DeploymentException: The system cannot find
 the axis2.xml file.
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
 at
 org.wso2.carbon.utils.deployment.Axis2ServiceRegistry.addServices(Axis2ServiceRegistry.java:217)
 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:465)
 at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:288)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: org.apache.axis2.deployment.DeploymentException: The system
 cannot find the axis2.xml file.
 at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441)
 at
 org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
 ... 9 more
 Caused by: org.apache.axis2.deployment.DeploymentException: The system
 cannot find the axis2.xml file.
 at
 org.apache.axis2.deployment.DescriptionBuilder.processParameters(DescriptionBuilder.java:555)
 at
 org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:124)
 ... 10 more


 This is a known error. Pradeep is working on this. Following issue is
 seems to be a similar one. All the issues are related to config file
 reading. Look like these are due to recent security fixes.

 Thanks,
 Sameera.




 Then later on following is thrown,
  [2012-05-21 17:24:45,584] ERROR
 {org.wso2.carbon.identity.core.util.IdentityConfigParser} -  Error while
 loading Identity Configurations
 java.io.FileNotFoundException: Identity configuration not found. Cause -
 Identity core could not find resource identity.xml or user does not have
 sufficient permission to access the resource.
 at
 org.wso2.carbon.identity.core.util.IdentityConfigParser.buildConfiguration(IdentityConfigParser.java:132)
 at
 org.wso2.carbon.identity.core.util.IdentityConfigParser.init(IdentityConfigParser.java:53)
 at
 org.wso2.carbon.identity.core.util.IdentityConfigParser.getInstance(IdentityConfigParser.java:64)
 at
 org.wso2.carbon.identity.core.util.IdentityUtil.populateProperties(IdentityUtil.java:65)
 at
 org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent.activate(IdentityCoreServiceComponent.java:64)
 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:252)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at