2 Replies Latest reply on Nov 11, 2011 2:12 PM by John Solomon J

    ManagedConnectionFactory is null Problem - Not related to ho

    Ravi Prakash Reddy Ummadi Newbie

      Hi,

      I am using Jboss 4.0.2 in linux environment. I use JBOSS datasource to connect to MySQL 4.1 server. When I was testing my application, all of a sudden the application crashed and the server log showed me the following error. I googled for the error and all the links say that this problem is due to hot deployment of datasource. But in my case I am not doing any dynamic changes in the JBOSS datasources. Here is the error log.

      2005-12-26 17:11:33,373 INFO [ORG.SERAJA] getAllEvents(String topicCategoryIDs[], String cities[],java.util.Date startDate, java.util.Date endDate, String keyword,long publisherID, String publisherType) function
      2005-12-26 17:11:33,374 INFO [STDOUT] org.jboss.util.NestedSQLException: You are trying to use a cctory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)
      onnection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)
      2005-12-26 17:11:33,375 INFO [STDOUT] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:107)
      2005-12-26 17:11:33,375 INFO [STDOUT] at org.seraja.connector.metadata.MetaDataJdbcImpl.getConnection(Unknown Source)
      2005-12-26 17:11:33,375 INFO [STDOUT] at org.seraja.connector.metadata.MetaDataJdbcImpl.getAllEvents(Unknown Source)
      2005-12-26 17:11:33,375 INFO [STDOUT] at org.seraja.feps.EventManager.getAllEvents(Unknown Source)



      Thanks for the suggestions.
      Ravi Prakash