BINGO!

----- Original Message -----
> Il 11/07/2013 17:27, William Froning ha scritto:
> >
> > ----- Original Message -----
> >> On 11/07/2013 17:14, William Froning wrote:
> >>> Hello Francesco,
> >>>
> >>> ----- Original Message -----
> >>>> On 11/07/2013 16:57, Will Froning wrote:
> >>>>> Hello All,
> >>>>>
> >>>>> I'm trying to get the connector bundles to show up in the admin
> >>>>> console, but I'm having no luck.
> >>>>>
> >>>>> System information:
> >>>>> Ubuntu 12.04.1
> >>>>> OpenJDK 64-Bit Server VM "1.6.0_27"
> >>>>> mysql 5.5.31
> >>>>> Tomcat 7.0.26
> >>>>> Apache Maven 3.0.4
> >>>>>
> >>>>> I closely followed the "Create a new Syncope project" and "Run
> >>>>> Syncope in real environments" instructions from the wiki. All
> >>>>> seems to be working up to this point.
> >>>>>
> >>>>> Next I added the AD connector and recompiled. No errors came up
> >>>>> and
> >>>>> I undeployed and redeployed the two wars (syncope.war and
> >>>>> syncope-console.war).
> >>>>>
> >>>>> Here's where the problem starts, when I try to add a new
> >>>>> connector,
> >>>>> there is nothing in the drop-down boxes for Name or Location.
> >>>>>
> >>>>> I'm attaching the 3 pom.xml files, but if there's something
> >>>>> more
> >>>>> please ask. Your help is greatly appreciated.
> >>>> Hi Will,
> >>>> what is the content of the directory (/opt/syncope/bundles in
> >>>> the
> >>>> sample
> >>>> below) that you specified (I hope both time you have built your
> >>>> project,
> >>>> not only first one) in the build command, as reported in [1]:
> >>>>
> >>>> mvn clean package -Dbundles.directory=/opt/syncope/bundles
> >>>> -Dlog.directory=/opt/syncope/log
> >>>>
> >>>> Regards.
> >>>>
> >>>> [1]
> >>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments#RunSyncopeinrealenvironments-Buildanddeploy
> >>> Thanks for the quick reply.
> >>>
> >>> That is the same command I used both times, and here are the
> >>> contents:
> >>>
> >>> root@precise64:~# ls -al /opt/syncope/bundles/
> >>> total 6092
> >>> drwxr-xr-x 2 root root    4096 Jul 11 13:50 .
> >>> drwxr-xr-x 5 root root    4096 Jul 11 11:46 ..
> >>> -rw-r--r-- 1 root root  848401 Apr 17 14:03
> >>> mysql-connector-java-5.1.25-bin.jar
> >>> -rw-r--r-- 1 root root  333297 Jul 11 13:50
> >>> org.connid.bundles.ad-1.1.1.jar
> >>> -rw-r--r-- 1 root root 1515037 Jul 11 12:55
> >>> org.connid.bundles.csvdir-0.7.jar
> >>> -rw-r--r-- 1 root root  204643 Jul 11 12:55
> >>> org.connid.bundles.ldap-1.3.6.jar
> >>> -rw-r--r-- 1 root root 3320691 Jul 11 12:55
> >>> org.connid.bundles.soap-1.2.6.jar
> >> Hum, it seems that any connector is in the right place.
> >>
> >> Could you please post the content (excluding license header) of
> >> connid.properties file, from your Tomcat webapps directory? It
> >> should
> >> be
> >> located under WEB-INF/classes.
> Could issue be caused by mysql-connector-java-5.1.25-bin.jar?
> Since it is not a bundle, mysql jdbc driver can generate some
> conflicts.
> 
> Sorry for the intrusion ;)

So glad to have the intrusion. I just saw the error in core-connid.log after 
Francesco's suggestion. I removed the file and after the restart, it 
immediately worked.

Thanks to you and Francesco for the great help.

Thanks,
Will

> > root@precise64:~# cat
> > /var/lib/tomcat7/webapps/syncope/WEB-INF/classes/connid.properties
> > <SNIP>
> > connid.locations=file:/opt/syncope/bundles/
> >
> > Thanks,
> > Will
> >
> 
> 

-- 
Will Froning
Information Security Manager
Office of the Vice Chancellor for Finance and Administration


American University of Sharjah

Tel +971 6 515 2124
Mob +971 50 737 1599
Fax +971 6 515 2120
PO Box 26666, Sharjah
United Arab Emirates
http://www.aus.edu
[email protected]

Reply via email to