Hi Isomorphic. I am trying to run VisualBuilder on a basic app, for learning purposes, but I am unable to get it to run. After reading your answers here, and trying to understand what is happening, I think the problem is that some file (in particular, vbScreens.ds.xml) is expected to be on the server at this relative path: /VisualBuilder/tools/visualBuilder, but it is instead here /VisualBuilder/visualbuilder/tools/visualBuilder. Now, I can run the Console Admin just fine and work with it. Also, my simple app is correctly deployed and working, loading some data from my DB using a SQL DataSource. Everything seems to be just fine regarding DataSource processing, resource location, etc.
What is really throwing me off is that it says that this is the specified location, but I don't remember setting any path that looks remotely like that (in server.properties). So maybe I need to configure some property on server.properties to let the DataStructCache know where to find its files?
Here is my server.properties file (comments sttriped for your convenience):
Here is the the section of the server log where the error is showing:
I am working on Chrome Version 48.0.2564.116 m, SmartGWT 5.1-p20160303.
Thanks in advance for any help you can provide on this!
What is really throwing me off is that it says that this is the specified location, but I don't remember setting any path that looks remotely like that (in server.properties). So maybe I need to configure some property on server.properties to let the DataStructCache know where to find its files?
WARN DataStructCache - File vbScreens.ds not found at explicitly specified location D:/Glassfish4/glassfish/domains/domain1/eclipseApps/VisualBuilder/tools/visualBuilder, checking project-wide area
Code:
webRoot: __AUTODETECT__ gwtModuleName: visualbuilder isomorphicPathRootRelative: $gwtModuleName/sc sql.defaultDatabase: SQLServer sql.SQLServer.database.type: sqlserver sql.SQLServer.driver: com.microsoft.sqlserver.jdbc.SQLServerDriver sql.SQLServer.driver.databaseName: TestDB sql.SQLServer.interface.type: jndi sql.SQLServer.driver.name: jdbc/TestDB project.datasources: $webRoot/resources/ds project.ui: $webRoot/resources/shared/ui project.apps: $webRoot/resources/shared/app modulesDir: modules/
Code:
2016-03-08T17:36:01.795-0500|Info: === 2016-03-08 17:36:01,795 [1(4)] WARN DataStructCache - File vbScreens.ds not found at explicitly specified location D:/Glassfish4/glassfish/domains/domain1/eclipseApps/VisualBuilder/tools/visualBuilder, checking project-wide area 2016-03-08T17:36:01.795-0500|Info: === 2016-03-08 17:36:01,795 [1(4)] DEBUG PoolableDataSourceFactory - Tried to create DataSource of type 'vbScreens' but null was returned 2016-03-08T17:36:01.795-0500|Info: === 2016-03-08 17:36:01,795 [1(4)] DEBUG PoolableDataSourceFactory - Created DataSource null of type 'vbScreens' in the pooling flow 2016-03-08T17:36:01.795-0500|Info: === 2016-03-08 17:36:01,795 [1(4)] WARN DataStructCache - File vbScreens.type not found at explicitly specified location D:/Glassfish4/glassfish/domains/domain1/eclipseApps/VisualBuilder/tools/visualBuilder, checking project-wide area 2016-03-08T17:36:01.799-0500|Warning: StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: Unable to load DataSource for ID: vbScreens at com.isomorphic.taglib.LoadDSTag.outputDSAsJS(LoadDSTag.java:122) at com.isomorphic.taglib.LoadDSTag.outputJS(LoadDSTag.java:89) at com.isomorphic.taglib.LoadDSTag.doStartTag(LoadDSTag.java:59) at org.apache.jsp.visualbuilder.tools.visualBuilder.index_jsp._jspx_meth_isomorphic_loadDS_0(index_jsp.java:358) at org.apache.jsp.visualbuilder.tools.visualBuilder.index_jsp._jspService(index_jsp.java:209) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) at org.apache.jasper.servlet.JspServlet._serviceJspFile(JspServlet.java:473) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318) at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:160) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99) at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:745) at com.isomorphic.taglib.LoadDSTag.doStartTag(LoadDSTag.java:62) at org.apache.jsp.visualbuilder.tools.visualBuilder.index_jsp._jspx_meth_isomorphic_loadDS_0(index_jsp.java:358) at org.apache.jsp.visualbuilder.tools.visualBuilder.index_jsp._jspService(index_jsp.java:209) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) at org.apache.jasper.servlet.JspServlet._serviceJspFile(JspServlet.java:473) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318) at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:160) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99) at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:745) 2016-03-08T17:36:01.798-0500|Info: === 2016-03-08 17:36:01,795 [1(4)] ERROR LoadDSTag - Exception while attempting to process a loadDS tag. javax.servlet.jsp.JspException: Unable to load DataSource for ID: vbScreens at com.isomorphic.taglib.LoadDSTag.outputDSAsJS(LoadDSTag.java:122) at com.isomorphic.taglib.LoadDSTag.outputJS(LoadDSTag.java:89) at com.isomorphic.taglib.LoadDSTag.doStartTag(LoadDSTag.java:59) at org.apache.jsp.visualbuilder.tools.visualBuilder.index_jsp._jspx_meth_isomorphic_loadDS_0(index_jsp.java:358) at org.apache.jsp.visualbuilder.tools.visualBuilder.index_jsp._jspService(index_jsp.java:209) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) at org.apache.jasper.servlet.JspServlet._serviceJspFile(JspServlet.java:473) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318) at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:160) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99) at org.apache.catalina.core.StandardHostValve.__invoke(StandardHostValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:745)
Thanks in advance for any help you can provide on this!
Comment