5 Replies Latest reply on Aug 13, 2010 7:05 AM by Jochem van Dieten

    9.0.1 upgrade breaks getDataSourceService

    MichaelXMongeau Level 1

      This code has worked fine in versions 7.x to 9.x.


      <cfset factory      = createobject("java", "coldfusion.server.ServiceFactory")>

      <cfset service      = factory.getDataSourceService()>

      <cfset datasources  = service.getDataSources()>


      Now in 9.0.1 it errors on the last command with a generic "Error processing request" message.  The exception.log shows:


      "Error","jrpp-148","08/13/10","08:32:16",,"'' The specific sequence of files included or processed is: E:\Inetpub\wwwroot\....., line: 32 "
          at coldfusion.security.SecurityManager.authenticateAdmin(SecurityManager.java:1958)
          at coldfusion.sql.Executive.getDatasources(Executive.java:96)


      It appears to be related to security, most likely checking for Administrator privilege.  Any one have any ideas how to get around this?  Thanks.