Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-2339

Falcon doesn't work with sql server as database

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9
    • Fix Version/s: None
    • Component/s: common
    • Labels:
      None

      Description

      Despite using JDBC to connect to database, trying to use sqlserver results in an error:

       

      2018-05-25 07:37:07,981 ERROR - [main:] ~ Failed startup of context org.mortbay.jetty.webapp.WebAppContext@304b9f1a{/,/usr/local/lib/falcon/server/webapp/falcon} (log:87)
      java.lang.RuntimeException: org.apache.falcon.FalconException: javax.persistence.PersistenceException: No persistence providers available for "falcon-sqlserver" after trying the following discovered implementations: org.apache.openjpa.persistence.PersistenceProviderImpl
      at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:59)
      at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
      at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
      at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      at org.mortbay.jetty.Server.doStart(Server.java:224)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.apache.falcon.util.EmbeddedServer.start(EmbeddedServer.java:58)
      at org.apache.falcon.FalconServer.main(FalconServer.java:120)
      Caused by: org.apache.falcon.FalconException: javax.persistence.PersistenceException: No persistence providers available for "falcon-sqlserver" after trying the following discovered implementations: org.apache.openjpa.persistence.PersistenceProviderImpl
      at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:50)
      at org.apache.falcon.listener.ContextStartupListener.contextInitialized(ContextStartupListener.java:56)
      ... 11 more
      Caused by: javax.persistence.PersistenceException: No persistence providers available for "falcon-sqlserver" after trying the following discovered implementations: org.apache.openjpa.persistence.PersistenceProviderImpl
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:182)
      at org.apache.falcon.service.FalconJPAService.init(FalconJPAService.java:89)
      at org.apache.falcon.service.ServiceInitializer.initialize(ServiceInitializer.java:47)
      ... 12 more
      
      

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prongs Rajat Khandelwal
                Reporter:
                prongs Rajat Khandelwal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: