On 17/02/2013 23:34, Ömer Faruk AK wrote:
In tomcat/lib we have jdbc connector. And our bundles directory was empty, still syncope can connect to mysql db i know because it created some tables.

As Jesse correctly points out below, these are two completely separated aspects:

1. you get tables created in MySQL because you have configured Syncope to have its own internal storage on MySQL (and this required you to put the MySQL JDBC driver JAR in $CATALINA_HOME/lib);

2. connectors (and resources) are needed for establishing relationships between users in Syncope and users on external containers (LDAP, other RDBMS, whatever). Read [1] for some information about what connectors and resources are in Syncope.


Now, if you want to configure a database as external resource (2), you are dealing with something completely different than the internal storage (1): please be aware that this external resource could even be backed up by the same MySQL instance you are using for internal storage, it doesn't matter, it is something conceptually different.

So now i'm confused, why i'm getting this error
[...]
Last cause: List of choices is null - Was the supplied 'Choices' model empty? When i tried to open /Resources -> //Connectors /tab and clicked /Create new Connector /button section?

Hei hei, compliments, you've found a bug :-)
I have created SYNCOPE-316 [2] for this: the fix will be included in 1.0.6; for the moment you must have at least one connector bundle in the bundles directory *before* starting up Tomcat.

Finally, I'd suggest you to take a look at [3] for understanding how to add a database resource.

Regards.

[1] https://cwiki.apache.org/confluence/display/SYNCOPE/Connectors+and+resources
[2] https://issues.apache.org/jira/browse/SYNCOPE-316
[3] https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+a+Database+resource

--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/

Reply via email to