Skip to main content
Participating Frequently
December 9, 2010
Question

The DataSource service is not available error

  • December 9, 2010
  • 3 replies
  • 6784 views

Hello,

Weblogic 10.3.3, Coldfusion 9.0.0 deployed as an application.

We've had this working for at least 5 months, and restarted the application server many times with no problems.

We restarted today and we get the output below. Nothing has changed as we know it. I've seen people having this issue after upgrading to 9.0.1, but we haven't done that. Does anyone know what could cause this problem? We can't even get to the administration console!

Thanks

The DataSource service is not available.

This exception is usually caused by service startup failure. Check your server configuration.
The error occurred in E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 88
Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 76
Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 2
Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 1
-1 : Unable to display error's location in a CFML template.

Stack Trace (click to expand)
at cfApplication2ecfm1161156468._factor0(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:88) at cfApplication2ecfm1161156468._factor3(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:76) at cfApplication2ecfm1161156468._factor7(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:2) at cfApplication2ecfm1161156468.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:1)

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The DataSource service is not available.
     at coldfusion.server.ServiceFactory.getDataSourceService(ServiceFactory.java:78)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)

    This topic has been closed for replies.

    3 replies

    emmal11697266
    New Participant
    November 18, 2016

    i had the same issue, i tried to replace the damaged files with .bak files and didn't work for me. The neo-datasource.xml and neo-drivers.xml was damaged, i know cause i tried to open on my code editor and they just showed me a list of  zeros, so i copy and paste these files from other computer with the same coldfusion version and restart the coldfusion services and started to work, hope it helps for someone else.

    regards.

    vootmonAuthor
    Participating Frequently
    December 9, 2010

    Thanks Dave, it was a corruption in the neo-datasource.xml. For some reason, there was some tags like in the SSL connection string tag area. I guess maybe a tab or something was put in. I'll be sure to back up manually now, not sure why I didn't have a .bak there, I see it on other Coldfusion installations.

    THanks again!

    vootmonAuthor
    Participating Frequently
    December 9, 2010

    The corrupt tags had "char code=something" in them...looks like the forum stripped what I put.

    Inspiring
    October 3, 2013

    I have similar error message, can you please advise how you fix the issue?

    Your information is great appreciated,

    Regards,

    Iccsi,

    Adobe Expert
    December 9, 2010

    The neo-query.xml and/or neo-datasource.xml file may have been damaged. You should have .bak files in the same directory from the last change, if you need to restore one or both files.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Read this before you post:

    http://forums.adobe.com/thread/607238

    Dave Watts, Eidolon LLC
    vootmonAuthor
    Participating Frequently
    December 9, 2010

    Thanks for the reply Dave. I don't see neo-query.xml, and I don't see neo-datasource.bak but neo-datasource.xml was updated a couple days ago. So is this really an issue with the datasources? Is there a clean datasource.xml file to start over with?

    Thanks