Hi Dharshana

Thanks for the reply, the DomainName on top was accidentally added by
me to have duplicate properties. However, If I give the user store
name with a space character as "AD Domain" upon this configuratio been
saved it seems to throw the error as below because the xml file is
saved as AD%20Domain.xml. Note the '%20' in place of the space
character. I think when this and the name within the "DomaiName" does
not match this error comes up



[2014-03-14 09:16:47,833]  INFO
{org.wso2.carbon.stratos.landing.page.deployer.LandingPageWebappDeployer}
-  Deployed product landing page webapp:
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home]
[2014-03-14 09:16:47,838]  INFO
{org.apache.axis2.transport.tcp.TCPTransportSender} -  TCP Sender
started
[2014-03-14 09:16:47,865] ERROR
{org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor} -
Error while building user store manager from file
org.wso2.carbon.user.core.UserStoreException: File name is required to
be the user store domain name(eg.: wso2.com-->wso2_com.xml).
    at 
org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor.buildUserStoreConfiguration(UserStoreConfigXMLProcessor.java:97)
    at 
org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor.buildUserStoreConfigurationFromFile(UserStoreConfigXMLProcessor.java:69)
    at 
org.wso2.carbon.user.core.common.UserStoreDeploymentManager.deploy(UserStoreDeploymentManager.java:43)
    at 
org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer.deploy(UserStoreConfigurationDeployer.java:58)
    at 
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
    at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
    at 
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
    at 
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
    at 
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
    at 
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:135)
    at 
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464)
    at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
    at 
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
    at 
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
    at 
org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
    at 
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:77)
    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:886)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
[2014-03-14 09:16:47,868]  INFO
{org.apache.axis2.deployment.DeploymentEngine} -  org.apach
Shavantha Weerasinghe
Senior Software Engineer QA
WSO2, Inc.
lean.enterprise.middleware.
http://wso2.com
http://wso2.org
Tel : 94 11 214 5345
Fax :94 11 2145300



On Thu, Mar 13, 2014 at 6:45 PM, Darshana Gunawardana <[email protected]> wrote:
> Hi Shavantha,
>
> There are two "DomainName" properties in the given configuration. Please
> remove following configuration from the ADDomain2.xml file and see whether
> it works.
>       <Property name="DomainName">AD Domain2</Property>
>
> But if you add created this xml using the UI, there should not be two
> DomainName properties tags in the same file. Does this happens to every
> secondary user store in your setup?
>
> Thanks,
>
>
> On Thu, Mar 13, 2014 at 6:26 PM, Shavantha Weerasinghe <[email protected]>
> wrote:
>>
>> Hi All
>>
>> I get the below exception when creating a secondary user store via UI.
>> The domain name and the file name are same but the system throws the
>> below error
>>
>> Regards,
>> [2014-03-13 18:22:40,989] ERROR
>> {org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor} -
>> Error while building user store manager from file
>> org.wso2.carbon.user.core.UserStoreException: File name is required to
>> be the user store domain name(eg.: wso2.com-->wso2_com.xml).
>>     at
>> org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor.buildUserStoreConfiguration(UserStoreConfigXMLProcessor.java:97)
>>     at
>> org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor.buildUserStoreConfigurationFromFile(UserStoreConfigXMLProcessor.java:69)
>>     at
>> org.wso2.carbon.user.core.common.UserStoreDeploymentManager.deploy(UserStoreDeploymentManager.java:43)
>>     at
>> org.wso2.carbon.identity.user.store.configuration.deployer.UserStoreConfigurationDeployer.deploy(UserStoreConfigurationDeployer.java:58)
>>     at
>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>>     at
>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
>>     at
>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>>     at
>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
>>     at
>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>>     at
>> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
>>     at
>> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
>>     at
>> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
>>     at
>> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:79)
>>     at
>> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:124)
>>     at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>>     at
>> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
>>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
>>     at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
>>     at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
>>     at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>     at java.lang.Thread.run(Thread.java:662)
>> [2014-03-13 18:22:40,991]  INFO
>> {org.apache.axis2.deployment.DeploymentEngine} -
>> org.apache.axis2.deployment.DeploymentException: The deployment of
>> ADDomain2.xml is not valid.
>> [2014-03-13 18:24:00,003]  INFO
>> {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -
>> Running script executor task for script esb_stats. [Thu Mar 13
>> 18:24:00 IST 2014]
>> Hive history
>> file=/home/shavantha/projects/BAM/241/m1/wso2bam-2.4.1/tmp/hive/malith-querylogs/hive_job_log_shavantha_201403131748_612331295.txt
>> OK
>>
>> Shavantha Weerasinghe
>> Senior Software Engineer QA
>> WSO2, Inc.
>> lean.enterprise.middleware.
>> http://wso2.com
>> http://wso2.org
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
>
> --
> Regards,
>
> Darshana Gunawardana
> Software Engineer
> WSO2 Inc.; http://wso2.com
> E-mail: [email protected]
> Mobile: +94718566859
> Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to