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. So now i'm confused, why i'm getting this error
Unexpected RuntimeException Last cause: List of choices is null - Was the supplied 'Choices' model empty? WicketMessage: Exception in rendering component: [DropDownChoice [Component id = dropDownChoiceField]] When i tried to open *Resources -> **Connectors *tab and clicked *Create new Connector *button section? 2013/2/18 Jesse van Bekkum <[email protected]> > There are two different things: > > The ConnID jar file, that file is responsible for connecting syncope to > "a" database. This jar should be in the bundles directory > > The JDBC connector jar. That is responsible for connecting a java > application (any java application) to a specific database, for example > Mysql. That one should be in the tomcat/lib directory. > > For mysql you can find that connector here: > http://dev.mysql.com/downloads/connector/j/ > > Jesse > > > On Sun, Feb 17, 2013 at 11:22 PM, Ömer Faruk AK <[email protected]>wrote: > >> Thanks again Mr. Chicchiriccò, we're moving step by step. :) >> >> Now we of course we want to connect a datasource (datatable) [1], and i >> downloaded connector from this list >> http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/ >> this >> jar file >> http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.4/org.connid.bundles.db.table-2.1.4.jarbut >> now when i open >> *Resources -> **Connectors *tab and clicked *Create new Connector *button >> i'm getting this error; >> >> Unexpected RuntimeException >> >> Last cause: List of choices is null - Was the supplied 'Choices' model empty? >> WicketMessage: Exception in rendering component: [DropDownChoice [Component >> id = dropDownChoiceField]] >> >> >> I'm guessing, i loadded wrong jar file to /opt/syncope/bundles folder, >> where can i find correct jar file to connect mysql datasource? >> >> >> [1] - >> https://cwiki.apache.org/confluence/display/SYNCOPE/Configure+a+Database+resource >> >> 2013/2/16 Francesco Chicchiriccò <[email protected]> >> >>> On 15/02/2013 20:49, Ömer Faruk AK wrote: >>> >>> Thank you for information. >>> >>> Now i'm trying to run on ubuntu server at Apache Tomcat. I completed >>> your wiki exactly. But when i deploy syncope-console always gives session >>> expired error and for syncope application, tomcat web application manager >>> says *FAIL - Application at context path /syncope could not be started* >>> >>> >>> When you say "your wiki", I guess you are referring to [1]. >>> >>> I'd suggest to first deploy syncope.war, and to take a look at Tomcat >>> log files (mainly catalina.out) while deploying in order to catch the first >>> exception during WAR deployment and provide necessary action. >>> >>> Problems in deploying Syncope core are often due to missing JDBC driver >>> (did you put mysql-connector-java-XXXX.jar or the JDBC driver for your DBMS >>> in Tomcat's classpath, e.g. under $CATALINA_HOME/lib, *before* starting >>> Tomcat for deploying Syncope?) but can vary across many reasons. >>> >>> The error related to Syncope console is instead due to the fact that it >>> cannot contact the Syncope core - in this case it could very well be >>> because the Syncope core is just not available. >>> >>> Regards. >>> >>> [1] >>> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments >>> >>> >>> If you can look my war files can be downloadable from this links; >>> >>> http://omerfarukak.com/syncope.war >>> http://omerfarukak.com/syncope-console.war >>> >>> -- >>> Francesco Chicchiriccò >>> >>> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC >>> Memberhttp://people.apache.org/~ilgrosso/ >>> >>> >> >> >> -- >> Ömer Faruk AK >> [email protected] >> 555 557 12 45 >> www.omerfarukak.com >> > > -- Ömer Faruk AK [email protected] 555 557 12 45 www.omerfarukak.com
