Hi,
I am using evaluation version of SmartGWT and trying to deploy it on JBoss Gatein 3.5 Final version.
The app works fine when run from eclipse in development mode. However, when it is deployed on JBoss Gatein server it gives following error:
06:48:07,893 INFO [stdout] (http--198.61.213.95-8080-3) java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "org/apache/commons/pool/ObjectPool"
06:48:07,895 INFO [stdout] (http--198.61.213.95-8080-3) at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:87)
06:48:07,896 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLConnectionManager.free(SQLConnectionManager.java:285)
06:48:07,898 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLDSGenerator.generate(SQLDSGenerator.java:201)
06:48:07,899 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLDataSource.getConfigFromTable(SQLDataSource.java:2627)
06:48:07,900 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLDataSource.fromTable(SQLDataSource.java:2576)
06:48:07,901 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLDataSource.init(SQLDataSource.java:158)
06:48:07,902 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.initialize(DataSource.java:400)
06:48:07,903 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.BasicDataSource.fromConfig(BasicDataSource.java:163)
06:48:07,905 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.fromConfig(DataSource.java:385)
06:48:07,906 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.FileSystemDSRepo.loadDS(FileSystemDSRepo.java:110)
06:48:07,907 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.forName(DataSource.java:204)
06:48:07,908 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.forName(DataSource.java:195)
06:48:07,909 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.forName(DataSource.java:184)
06:48:07,911 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject(PoolableDataSourceFactory.java:119)
06:48:07,913 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.PoolableDataSourceFactory.makeObject(PoolableDataSourceFactory.java:127)
06:48:07,914 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:94)
06:48:07,915 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:89)
06:48:07,917 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:83)
06:48:07,918 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.servlet.DataSourceLoader.processRequest(DataSourceLoader.java:126)
06:48:07,919 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.servlet.DataSourceLoader.doGet(DataSourceLoader.java:94)
06:48:07,920 INFO [stdout] (http--198.61.213.95-8080-3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
06:48:07,921 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
06:48:07,923 INFO [stdout] (http--198.61.213.95-8080-3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
06:48:07,924 INFO [stdout] (http--198.61.213.95-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
06:48:07,926 INFO [stdout] (http--198.61.213.95-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248
Kindly help.
Regards,
Bipul Sinha
I am using evaluation version of SmartGWT and trying to deploy it on JBoss Gatein 3.5 Final version.
The app works fine when run from eclipse in development mode. However, when it is deployed on JBoss Gatein server it gives following error:
06:48:07,893 INFO [stdout] (http--198.61.213.95-8080-3) java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "org/apache/commons/pool/ObjectPool"
06:48:07,895 INFO [stdout] (http--198.61.213.95-8080-3) at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:87)
06:48:07,896 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLConnectionManager.free(SQLConnectionManager.java:285)
06:48:07,898 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLDSGenerator.generate(SQLDSGenerator.java:201)
06:48:07,899 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLDataSource.getConfigFromTable(SQLDataSource.java:2627)
06:48:07,900 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLDataSource.fromTable(SQLDataSource.java:2576)
06:48:07,901 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.sql.SQLDataSource.init(SQLDataSource.java:158)
06:48:07,902 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.initialize(DataSource.java:400)
06:48:07,903 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.BasicDataSource.fromConfig(BasicDataSource.java:163)
06:48:07,905 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.fromConfig(DataSource.java:385)
06:48:07,906 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.FileSystemDSRepo.loadDS(FileSystemDSRepo.java:110)
06:48:07,907 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.forName(DataSource.java:204)
06:48:07,908 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.forName(DataSource.java:195)
06:48:07,909 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSource.forName(DataSource.java:184)
06:48:07,911 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject(PoolableDataSourceFactory.java:119)
06:48:07,913 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.PoolableDataSourceFactory.makeObject(PoolableDataSourceFactory.java:127)
06:48:07,914 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:94)
06:48:07,915 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:89)
06:48:07,917 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:83)
06:48:07,918 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.servlet.DataSourceLoader.processRequest(DataSourceLoader.java:126)
06:48:07,919 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.servlet.DataSourceLoader.doGet(DataSourceLoader.java:94)
06:48:07,920 INFO [stdout] (http--198.61.213.95-8080-3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
06:48:07,921 INFO [stdout] (http--198.61.213.95-8080-3) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
06:48:07,923 INFO [stdout] (http--198.61.213.95-8080-3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
06:48:07,924 INFO [stdout] (http--198.61.213.95-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
06:48:07,926 INFO [stdout] (http--198.61.213.95-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248
Kindly help.
Regards,
Bipul Sinha
Comment