SmartClient version: SmartClient_SNAPSHOT_v101d_2015-07-27_Pro
Hi,
I've been trying out SC10.1 and I've had a problem.
If I set unpackWAR="false" in my Tomcat servlet context descriptor then I get the error below during servlet startup.
This problem does not occur in 10.0 and it does not occur in 10.1 if I set unpackWAR="true".
It seems that a FileInputStream is being used instead of the ServletContext.getResourceAsStream method.
Andrew.
Hi,
I've been trying out SC10.1 and I've had a problem.
If I set unpackWAR="false" in my Tomcat servlet context descriptor then I get the error below during servlet startup.
This problem does not occur in 10.0 and it does not occur in 10.1 if I set unpackWAR="true".
It seems that a FileInputStream is being used instead of the ServletContext.getResourceAsStream method.
Andrew.
Code:
2015-07-28 14:04:26,286 WARN localhost-startStop-1 com.isomorphic.servlet.PreCache.init(PreCache.java:91) Problem during PreCache: java.io.FileNotFoundException: /isomorphic/system/schema/DataSource.ds.xml (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at com.isomorphic.io.file.ISCNativeFile.getInputStream(ISCNativeFile.java:157) at com.isomorphic.io.ISCFile.getInputStream(ISCFile.java:421) at com.isomorphic.xml.XML$RecordsFromXMLCache.loadObjectFromFile(XML.java:478) at com.isomorphic.store.ProcessedFileCache.getObjectFromFile(ProcessedFileCache.java:141) at com.isomorphic.xml.XML.loadCacheableDSRecords(XML.java:493) at com.isomorphic.store.DataStructCache.loadInstance(DataStructCache.java:183) at com.isomorphic.datasource.DataSource.loadDS(DataSource.java:428) at com.isomorphic.datasource.DataSource.forName(DataSource.java:403) at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject(PoolableDataSourceFactory.java:130) at com.isomorphic.datasource.PoolableDataSourceFactory.makeObject(PoolableDataSourceFactory.java:146) at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220) at com.isomorphic.pool.ISCKeyedObjectPool.borrowObject(ISCKeyedObjectPool.java:106) at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:90) at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:135) at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:86) at com.isomorphic.servlet.PreCache.preLoadDataSources(PreCache.java:142) at com.isomorphic.servlet.PreCache.init(PreCache.java:89) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1279) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Comment