Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Something broken trying to load DataSources

    I cannot seem to find the reason why our datasources our suddenly broken other than I am now getting a ton of these errors. Can you explain the cause?
    Last edited by jpappalardo; 24 Sep 2014, 09:15.

    #2
    I believe I found the error that is causing all of my issues.



    I need to find a mechanism for determining when the servlet context is available before trying to accumulate entity changes to send to the client
    Last edited by jpappalardo; 24 Sep 2014, 09:15.

    Comment


      #3
      It looks like you don't have the InitServlet installed anymore, or possibly you are using Spring and don't have ContextListener installed - see this overview.

      Comment


        #4
        The issue is that I am actually trying to use a server side DataSource prior to the servlet context being loaded. I fixed the issue by making my cdi bean application scoped, listening for servlet context, and not allowing any other observer methods to cause the bean to be constructed

        Comment

        Working...
        X