Hi again,

I'm having some trouble setting up the mySql Connection to the services page. I've modified every file according to http://www.ja-sig.org/wiki/display/CASUM/Configuring page.

I've have mysql running (clean install) but I keep having

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/lookup/DataSourceLookup

I think its a mysql connection problem. I have to do something for this bean to work or it should automatically be working when i start mysql?

<bean                id="dataSource"
                class="org.apache.commons.dbcp.BasicDataSource"
                p:driverClassName="com.mysql.jdbc.Driver"
                p:url="jdbc:mysql://localhost:3306/test?autoReconnect=true"
                p:password="..."
                p:username="root" />

Thanks,

Francisco


Scott Battaglia wrote:
The easiest way is to remove it from the database if you've configured it to point to one of your databases.

And actually, if you wouldn't mind, can you open up a JIRA issue for an improvement that basically says "if there are 0 services, display a warning message that says the first service you should put in should be for the services management tool" I think its apparently an unsafe assumption to assume people see that message in our wiki.

Cheers,
Scott


On Fri, Nov 27, 2009 at 1:41 PM, Francisco Estanqueiro <fwestanque...@fc.ul.pt <mailto:fwestanque...@fc.ul.pt>> wrote:

    My bad, I didnt found that page. How do I remove the service I
    added to gain access to the page again?

    Thanks,
    Francisco

    Scott Battaglia wrote:

        Did you browse our documentation on the Services Management page?
        It says the first thing you should do when using the services
        management tool is authorize the tool itself to use CAS.  Yes,
        a tiny bit backwards, but ensures every application is treated
        the same (which may or may not be a good thing when it locks
        you out ;-))

        Cheers,
        Scott


        On Fri, Nov 27, 2009 at 1:10 PM, Francisco
        <fwestanque...@fc.ul.pt <mailto:fwestanque...@fc.ul.pt>
        <mailto:fwestanque...@fc.ul.pt
        <mailto:fwestanque...@fc.ul.pt>>> wrote:

           Hi there,

           I'm having a problem with the CAS services page.. When I
        add a new
           service on that page, everything seems alright. I then
        logout, try
           to access the services page again, it appears the following
        message:


           Application Not Authorized to Use CAS

           The application you attempted to authenticate to is not
        authorized
           to use CAS.


           What am I doing wrong?

           Francisco Estanqueiro
           Faculty of Science - University of Lisbon
           --
           You are currently subscribed to cas-user@lists.jasig.org
        <mailto:cas-user@lists.jasig.org>
           <mailto:cas-user@lists.jasig.org
        <mailto:cas-user@lists.jasig.org>> as:
        scott.battag...@gmail.com <mailto:scott.battag...@gmail.com>
           <mailto:scott.battag...@gmail.com
        <mailto:scott.battag...@gmail.com>>

           To unsubscribe, change settings or access archives, see
           http://www.ja-sig.org/wiki/display/JSG/cas-user


-- You are currently subscribed to cas-user@lists.jasig.org
        <mailto:cas-user@lists.jasig.org> as: fwestanque...@fc.ul.pt
        <mailto:fwestanque...@fc.ul.pt>

        To unsubscribe, change settings or access archives, see
        http://www.ja-sig.org/wiki/display/JSG/cas-user



-- You are currently subscribed to cas-user@lists.jasig.org
    <mailto:cas-user@lists.jasig.org> as: scott.battag...@gmail.com
    <mailto:scott.battag...@gmail.com>
    To unsubscribe, change settings or access archives, see
    http://www.ja-sig.org/wiki/display/JSG/cas-user


--
You are currently subscribed to cas-user@lists.jasig.org as: 
fwestanque...@fc.ul.pt
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


--
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to