Hello, I am having trouble in starting the 4.0.2 server in default with sar file in the deploy folder. Even though It binds the datasource, It does not somehow recognizes the datasource when deploying the sar file.
However, I don't have problem in hot deploying the sar file. It readily recognizes the binded datasource. FYI, please look at my datasource config and also jboss-service.xml Thanks for your help. Satish Datasource <local-tx-datasource> <jndi-name>OptitDS</jndi-name> <connection-url>jdbc:postgresql://localhost:5432/optitdb</connection-url> <driver-class>org.postgresql.Driver</driver-class> <user-name>optitdbuser</user-name> opt1t <valid-connection-sql>select count (*) from state</valid-connection-sql> </local-tx-datasource> jboss-service.xml jboss.jca:service=LocalTxCM,name=OptitDS jboss.jca:service=RARDeployer java:/hibernate/HibernateFactory java:OptitDS org.hibernate.dialect.PostgreSQLDialect <!-- Transaction integration --> org.hibernate.transaction.JTATransactionFactory org.hibernate.transaction.JBossTransactionManagerLookup true true <!-- Fetching options --> 5 <!-- Second-level caching --> true org.hibernate.cache.EhCacheProvider true <!-- Logging --> true com/optit/subscriber/hibernate/UserRequest.hbm.xml, com/optit/subscriber/hibernate/XactionalMessage.hbm.xml, com/optit/subscriber/hibernate/XactionalMessageSubscriber.hbm.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946365#3946365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946365 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user