Hi Thomas, I have renamed the folder during the installation process and it worked.
Thanks, 2017-06-28 3:07 GMT-03:00 Thomas LEGRAND <[email protected]>: > Hello, > > Have you tried to execute manually this SQL script on your DBMS and start > the AM without the -Dsetup? > > > Le mercredi 28 juin 2017, Júnior <[email protected]> a écrit : > >> Hi, >> >> I have setup the CarbonDB to use the MySQL, and changed the identity.xml >> to use the Carbon db. >> >> But when we run the -Dsetup we receive this error: >> >> >> [ >> >> 2017-06-27 22:53:51,644] INFO - APIKeyMgtServiceComponent Started >> thrift key mgt service at port:10398 >> [2017-06-27 22:53:51,799] ERROR - IdentityCoreServiceComponent Error >> occurred while populating identity configuration properties >> org.wso2.carbon.identity.base.IdentityRuntimeException: >> java.io.FileNotFoundException: >> E:\soft\wso2am-2.1.0\bin\..\dbscripts\identity\mysql.sql >> (The system cannot find the path specified) >> at org.wso2.carbon.identity.base.IdentityRuntimeException.error >> (IdentityRuntimeException.java:71) >> at org.wso2.carbon.identity.core.persistence.IdentityDBInitiali >> zer.executeSQLScript(IdentityDBInitializer.java:273) >> at org.wso2.carbon.identity.core.persistence.IdentityDBInitiali >> zer.createIdentityDatabase(IdentityDBInitializer.java:141) >> at org.wso2.carbon.identity.core.persistence.JDBCPersistenceMan >> ager.initializeDatabase(JDBCPersistenceManager.java:112) >> at org.wso2.carbon.identity.core.internal.IdentityCoreServiceCo >> mponent.activate(IdentityCoreServiceComponent.java:130) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce >> ssorImpl.java:62) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe >> thodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:498) >> at org.eclipse.equinox.internal.ds.model.ServiceComponent.activ >> ate(ServiceComponent.java:260) >> at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.a >> ctivate(ServiceComponentProp.java:146) >> at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.b >> uild(ServiceComponentProp.java:345) >> at org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone >> nt(InstanceProcess.java:620) >> at org.eclipse.equinox.internal.ds.InstanceProcess.buildCompone >> nts(InstanceProcess.java:197) >> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolve >> r.java:343) >> at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SC >> RManager.java:222) >> at org.eclipse.osgi.internal.serviceregistry.FilteredServiceLis >> tener.serviceChanged(FilteredServiceListener.java:107) >> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.d >> ispatchEvent(BundleContextImpl.java:861) >> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve >> nt(EventManager.java:230) >> at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv >> entSynchronous(ListenerQueue.java:148) >> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.pu >> blishServiceEventPrivileged(ServiceRegistry.java:819) >> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.pu >> blishServiceEvent(ServiceRegistry.java:771) >> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistratio >> nImpl.register(ServiceRegistrationImpl.java:130) >> at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.re >> gisterService(ServiceRegistry.java:214) >> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.r >> egisterService(BundleContextImpl.java:433) >> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.r >> egisterService(BundleContextImpl.java:451) >> at org.wso2.carbon.core.init.CarbonServerManager.initializeCarb >> on(CarbonServerManager.java:514) >> at org.wso2.carbon.core.init.CarbonServerManager.removePendingI >> tem(CarbonServerManager.java:290) >> at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleC >> hanged(PreAxis2ConfigItemListener.java:118) >> at org.eclipse.osgi.framework.internal.core.BundleContextImpl.d >> ispatchEvent(BundleContextImpl.java:847) >> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve >> nt(EventManager.java:230) >> at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread >> .run(EventManager.java:340) >> *Caused by: java.io.FileNotFoundException: >> E:\soft\wso2am-2.1.0\bin\..\dbscripts\identity\mysql.sql (The system cannot >> find the path specified)* >> at java.io.FileInputStream.open0(Native Method) >> at java.io.FileInputStream.open(FileInputStream.java:195) >> at java.io.FileInputStream.<init>(FileInputStream.java:138) >> at java.io.FileInputStream.<init>(FileInputStream.java:93) >> at org.wso2.carbon.identity.core.persistence.IdentityDBInitiali >> zer.executeSQLScript(IdentityDBInitializer.java:235) >> ... 30 more >> >> Is this expected? Any workaround? >> >> Thanks, >> >> -- >> Francisco Ribeiro >> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate* >> > -- Francisco Ribeiro *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
