Il 25/02/2015 16:30, Manfredo Hopp ha scritto:
Ok this clears the installation process a lot in order to be VERY
carefull about new versions!
I am not sure if this is documented.
Hi Manfredo, please, fell free to contribute.
Best regards,
F.
Thanks
2015-02-25 5:11 GMT-03:00 Francesco Chicchiriccò <[email protected]
<mailto:[email protected]>>:
On 24/02/2015 18:12, Manfredo Hopp wrote:
Hi, after testing with 1.2.1 I recenttly installed version
1.2.2 using same configuration and directory files as for
previous version.
After starting syncope connectors used where not found, with
following messages.
I checked that connectors are in specified file.
Short answer: download the DB table connector bundle 2.1.7 from
[1] and place it in the configured bundles/ directory.
Long answer: each Syncope version comes with a set of
pre-configured connector bundles; regarding DB table:
* 1.2.0-M1 comes with 2.1.7
* 1.2.0 comes with 2.1.7 (I guess this is your case)
* 1.2.1 comes with 2.2.0
* 1.2.2 comes with 2.2.1
Such set is automatically copied in the configured bundles/
directory (defined in connid.properties); the default content (in
content.xml) is also set to fetch the default connector bundle
versions.
Probably in your case:
1. some persistence storage (MySQL, PostgreSQL, ...) is in place,
so "2.1.7" is well persisted there
2. the configured bundles/ directory was either removed or
changed in connid.properties, so the DB table connector 2.1.7
cannot be found anymore
At this point you can either choose to fix things as suggested in
the short answer or (better)
1. shutdown Tomcat
2. In the ConnInstance table, for each entry where version is
"2.1.7" replace "org.connid.bundles.db.table" with
"net.tirasa.connid.bundles.db.table" and "2.1.7" with "2.2.1"
3. startup Tomcat
HTH
Regards.
[1]
http://repo1.maven.org/maven2/org/connid/bundles/db/org.connid.bundles.db.table/2.1.7/org.connid.bundles.db.table-2.1.7.jar
13:09:35.830 ERROR
org.apache.syncope.core.rest.controller.AbstractController -
Connector 'org.connid.bundles.db.table#2.1.7' not found
13:09:36.441 ERROR
org.apache.syncope.core.rest.controller.AbstractController -
Connector 'org.connid.bundles.db.table#2.1.7' not found
13:09:37.044 ERROR
org.apache.syncope.core.rest.controller.AbstractController -
Connector 'org.connid.bundles.db.table#2.1.7' not found
13:09:37.679 ERROR
org.apache.syncope.core.rest.controller.AbstractController -
Connector 'org.connid.bundles.db.scriptedsql#2.1.7' not found
13:09:38.306 ERROR
org.apache.syncope.core.rest.controller.AbstractController -
Connector 'org.connid.bundles.db.scriptedsql#2.1.7' not found
13:09:38.908 ERROR
org.apache.syncope.core.rest.controller.AbstractController -
Connector
'net.tirasa.connid.bundles.db.scriptedsql#2.2.1-SNAPSHOT' not
found
13:09:38.908 DEBUG
org.apache.syncope.core.rest.controller.ControllerHandler -
After returning ConnectorController.list: []
13:08:33.180 ERROR
org.apache.syncope.console.rest.BaseRestClient - While reading
a connector
org.apache.syncope.common.SyncopeClientException: NotFound
[Connector Info for location file:/opt/syncope/bundles/ and
key ConnectorKey( bundleName=org.connid.bundles.db.table
bundleVersion=2.1.7
connectorName=org.connid.bundles.db.table.DatabaseTableConnector
)]
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/
<http://people.apache.org/%7Eilgrosso/>
--
Fabio Martelli
Tirasa - Open Source Excellence
http://www.tirasa.net/
Apache Syncope PMC
http://people.apache.org/~fmartelli/