Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2987

Datasource Failover using JBOSS 4.0.2 and postgres 8.0.1 database

    XMLWordPrintable

    Details

      Description

      I had discussion with Mr Adrain Brock in JBOSS Forum and as per his advice I am raising a bug report for Datasource failover capability.

      These are his comments in the forum:

      *************************************************************
      You have missing/invalid config.
      It should be throwing a better error message than NPE.
      Raise a bug report sowing your example config that causes the problem.

      ***********************************************************************

      We are running JBOSS 4.0.2 version and Postgres 8.0.3. We are trying for datasource faiover capability provided in JBOSS by providing "ha-local-tx-datasource" and "url-delimiter" configuration as mentioned in JBOSS Administration guide.

      (NOTE: A Normal connectivity with postgres without datasource failover configuration works fine)

      The configuration file "<JBOSS_HOME>\server\default\deploy\postgres-hibernate-ds.xml" contents are attached herewith:

      <?xml version="1.0" encoding="UTF-8"?>
      <datasources>
      <ha-local-tx-datasource>
      <jndi-name>com/mphasetech/tvplus/sms/biz/DefaultDS</jndi-name>
      <use-java-context>true</use-java-context>
      <connection-url>jdbc:postgresql://localhost:5432/database|jdbc:postgresql://10.203.233.43:5432/database</connection-url>
      <url-delimiter>|</url-delimiter>
      <driver-class>org.postgresql.Driver</driver-class>
      <user-name>postgres</user-name>
      <password>postgres</password>
      <check-valid-connection-sql>select now()</check-valid-connection-sql>
      <metadata>
      <type-mapping>PostgreSQL 8.0</type-mapping>
      </metadata>
      </ha-local-tx-datasource>
      </datasources>

      We are getting a NULL Pointer Exception while trying to get a connection when configured for datasource failover in postgres-hibernate-ds.xml file and error displayed on console is as attached herewith:

      12:23:11,102 INFO [HbmBinder] Mapping class: com.mphasetech.tvplus.sms.commons.valueobjects.STBAssetValue ->
      stbasset_t
      12:23:11,102 INFO [Configuration] processing extends queue
      12:23:11,102 INFO [Configuration] processing collection mappings
      12:23:11,102 INFO [Configuration] processing association property references
      12:23:11,102 INFO [Configuration] processing foreign key constraints
      12:23:11,336 INFO [NamingHelper] JNDI InitialContext properties:{}
      12:23:11,336 INFO [DatasourceConnectionProvider] Using datasource: java:/com/mphasetech/tvplus/sms/biz/Defaul
      tDS
      12:23:11,336 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
      java.lang.NullPointerException
      at org.jboss.resource.adapter.jdbc.local.HALocalManagedConnectionFactory.doCreateManagedConnection(HAL
      ocalManagedConnectionFactory.java:82)
      at org.jboss.resource.adapter.jdbc.local.HALocalManagedConnectionFactory.createManagedConnection(HALoc
      alManagedConnectionFactory.java:75)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(In
      ternalManagedConnectionPool.java:508)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedCon
      nectionPool.java:207)
      at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManaged
      ConnectionPool.java:534)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionMana
      ger2.java:395)
      at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.j
      ava:297)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManage
      r2.java:447)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnecti
      on(BaseConnectionManager2.java:874)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103)
      at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.ja
      va:59)
      at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
      at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
      at org.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:64)
      at org.hibernate.jmx.HibernateService.start(HibernateService.java:40)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:914)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:418)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
      127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScann
      er.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:
      277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:418)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
      127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
      at org.jboss.Main.boot(Main.java:195)
      at org.jboss.Main$1.run(Main.java:463)
      at java.lang.Thread.run(Thread.java:534)
      12:23:11,383 WARN [SettingsFactory] Could not obtain connection metadata
      org.jboss.util.NestedSQLException: Unexpected throwable while trying to create a connection: null; - nested th
      rowable: (java.lang.NullPointerException); - nested throwable: (org.jboss.resource.JBossResourceException: Une
      xpected throwable while trying to create a connection: null; - nested throwable: (java.lang.NullPointerExcepti
      on))
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:107)
      at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.ja
      va:59)
      at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
      at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
      at org.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:64)
      at org.hibernate.jmx.HibernateService.start(HibernateService.java:40)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:914)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:418)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
      127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScann
      er.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:
      277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:418)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
      127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
      at org.jboss.Main.boot(Main.java:195)
      at org.jboss.Main$1.run(Main.java:463)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: org.jboss.resource.JBossResourceException: Unexpected throwable while trying to create a connection
      : null; - nested throwable: (java.lang.NullPointerException)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedCon
      nectionPool.java:240)
      at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManaged
      ConnectionPool.java:534)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionMana
      ger2.java:395)
      at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.j
      ava:297)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManage
      r2.java:447)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnecti
      on(BaseConnectionManager2.java:874)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103)
      ... 97 more
      Caused by: java.lang.NullPointerException
      at org.jboss.resource.adapter.jdbc.local.HALocalManagedConnectionFactory.doCreateManagedConnection(HAL
      ocalManagedConnectionFactory.java:82)
      at org.jboss.resource.adapter.jdbc.local.HALocalManagedConnectionFactory.createManagedConnection(HALoc
      alManagedConnectionFactory.java:75)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(In
      ternalManagedConnectionPool.java:508)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedCon
      nectionPool.java:207)
      ... 103 more
      12:23:11,414 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
      12:23:11,430 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionF
      actory
      12:23:11,446 INFO [NamingHelper] JNDI InitialContext properties:{}
      12:23:11,461 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.tra
      nsaction.JBossTransactionManagerLookup
      12:23:11,477 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      12:23:11,477 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
      12:23:11,477 INFO [SettingsFactory] Automatic session close at end of transaction: enabled
      12:23:11,477 INFO [SettingsFactory] Scrollable result sets: disabled
      12:23:11,477 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
      12:23:11,477 INFO [SettingsFactory] Connection release mode: null
      12:23:11,477 INFO [SettingsFactory] Maximum outer join fetch depth: 5
      12:23:11,477 INFO [SettingsFactory] Default batch fetch size: 1
      12:23:11,492 INFO [SettingsFactory] Generate SQL with comments: disabled
      12:23:11,492 INFO [SettingsFactory] Order SQL updates by primary key: disabled
      12:23:11,492 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      12:23:11,492 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      12:23:11,492 INFO [SettingsFactory] Query language substitutions: {}
      12:23:11,492 INFO [SettingsFactory] Second-level cache: enabled
      12:23:11,492 INFO [SettingsFactory] Query cache: enabled
      12:23:11,492 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
      12:23:11,508 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
      12:23:11,508 INFO [SettingsFactory] Structured second-level cache entries: disabled
      12:23:11,508 INFO [SettingsFactory] Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
      12:23:11,524 INFO [SettingsFactory] Echoing all SQL to stdout
      12:23:11,524 INFO [SettingsFactory] Statistics: disabled
      12:23:11,524 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      12:23:11,524 INFO [SettingsFactory] Default entity-mode: pojo
      12:23:11,602 INFO [SessionFactoryImpl] building session factory
      12:23:11,617 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found
      in the classpath: jar:file:/D:/jboss-4.0.2/server/default/deploy/tvplus-sms.ear/ehcache-1.1.jar!/ehcache-fails
      afe.xml
      12:23:12,680 INFO [SessionFactoryObjectFactory] Factory name: com/mphasetech/tvplus/sms/biz/hibernate/Session
      Factory
      12:23:12,680 INFO [NamingHelper] JNDI InitialContext properties:{}
      12:23:12,680 INFO [NamingHelper] Creating subcontext: com
      12:23:12,680 INFO [NamingHelper] Creating subcontext: mphasetech
      12:23:12,680 INFO [NamingHelper] Creating subcontext: tvplus
      12:23:12,680 INFO [NamingHelper] Creating subcontext: sms
      12:23:12,680 INFO [NamingHelper] Creating subcontext: biz
      12:23:12,680 INFO [NamingHelper] Creating subcontext: hibernate
      12:23:12,680 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: com/mphasetech/tvplus/sms/biz/hib
      ernate/SessionFactory
      12:23:12,680 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
      12:23:12,680 INFO [NamingHelper] JNDI InitialContext properties:{}
      12:23:12,695 INFO [UpdateTimestampsCache] starting update timestamps cache at region: org.hibernate.cache.Upd
      ateTimestampsCache
      12:23:12,695 WARN [EhCacheProvider] Could not find configuration [org.hibernate.cache.UpdateTimestampsCache];
      using defaults.
      12:23:12,727 INFO [StandardQueryCache] starting query cache at region: org.hibernate.cache.StandardQueryCache

      12:23:12,727 WARN [EhCacheProvider] Could not find configuration [org.hibernate.cache.StandardQueryCache]; us
      ing defaults.
      12:23:12,742 INFO [SessionFactoryImpl] Checking 0 named queries
      12:23:12,945 INFO [EJBDeployer] Deployed: file:/D:/jboss-4.0.2/server/default/deploy/tvplus-sms.ear/tvplus-sm
      s-app-ejbs-1.0-build1.jar
      12:23:13,149 INFO [WSDLFilePublisher] WSDL published to: file:/D:/jboss-4.0.2/server/default/data/wsdl/tvplus
      -sms.ear/tvplus-sms-app-ejbs-1.0-build1.jar/StbMgrService.wsdl
      12:23:13,711 INFO [AxisService] WSDD published to: D:\jboss-4.0.2\server\default\data\wsdl\tvplus-sms.ear\tvp
      lus-sms-app-ejbs-1.0-build1.jar\StbMgr.wsdd
      12:23:14,102 INFO [AxisService] Web Service deployed: http://bghwf5290:8080/tvplus-sms/tvplus-sms-app-ejbs-1/
      StbMgr
      12:23:14,164 INFO [TomcatDeployer] deploy, ctxPath=/tvplus-sms/tvplus-sms-app-ejbs-1, warUrl=file:/D:/jboss-4
      .0.2/server/default/tmp/deploy/tvplus-sms.ear-tvplus-sms-app-ejbs-1.0-build1.jar-ws2542.war/
      12:23:14,227 INFO [TomcatDeployer] deploy, ctxPath=/tvplus-sms, warUrl=file:/D:/jboss-4.0.2/server/default/tm
      p/deploy/tmp2540tvplus-sms-web-app-exp.war/
      12:23:14,649 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator-rules.xml'
      12:23:14,649 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validation.xml'
      12:23:14,649 INFO [ValidatorPlugIn] Loading validation rules file from 'WEB-INF/validate-custom.xml'
      12:23:15,899 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 1
      12:23:15,899 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found
      12:23:15,899 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled
      12:23:15,992 INFO [EARDeployer] Started J2EE application: file:/D:/jboss-4.0.2/server/default/deploy/tvplus-s
      ms.ear/
      12:23:16,117 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      12:23:16,664 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
      12:23:16,664 INFO [JkMain] Jk running ID=0 time=0/515 config=null
      12:23:16,680 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Start
      ed in 21s:640ms

      Thanks & Regards,
      Krishna Kumar Raman
      Flextronics Software

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adrian.brock Adrian Brock
                Reporter:
                krishnakumar.raman Krishna Kumar Raman
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: