Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    VisualBuilder Not Working (Blank Page)

    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?

    WARN DataStructCache - File vbScreens.ds not found at explicitly specified location D:/Glassfish4/glassfish/domains/domain1/eclipseApps/VisualBuilder/tools/visualBuilder, checking project-wide area
    Here is my server.properties file (comments sttriped for your convenience):
    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/
    Here is the the section of the server log where the error is showing:
    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)
    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!

    #2
    We think we see the reason for this; if we're correct, you should be able to get working by defining the following 4 properties in server.properties (these differ from the default in that your project name - "visualbuilder" - has been added

    datasources.vbDataSources.location: $webRoot/$gwtModuleName/tools/visualBuilder
    datasources.vbProjects.location: $webRoot/$gwtModuleName/tools/visualBuilder
    datasources.vbSettings.location: $webRoot/$gwtModuleName/tools/visualBuilder
    datasources.vbScreens.location: $webRoot/$gwtModuleName/tools/visualBuilder
    Please confirm that this works and we'll adjust the framework so that this won't be necessary for others.

    Comment


      #3
      Hi Isomorphic for your answer. Indeed, adding these lines to server.properties solved the problem...
      Thanks for your valuable help!

      Comment


        #4
        Hi Isomorphic. I kept exploring with this same app, and after successfully configuring Visual Builder to work with it, I wanted to try and add Spring Security to it, using the same configuration I have already working on other applications I've developed recently.

        Again, everything works fine (the app behaves as expected, asking for credentials at the beginning, I can see my basic ListGrid populated with some data form my DB, I can access Admin Console and explore my database through it's capabilities, etc), but when I try to open Visual Builder, now it shows another exception:
        Code:
        2016-03-10T12:30:52.205-0500|Info: === 2016-03-10 12:30:52,205 [1(2)] INFO  RequestContext - URL: '/visualbuilder/visualbuilder/tools/visualBuilder/index.jsp', User-Agent: 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36': Safari with Accept-Encoding header
        2016-03-10T12:30:52.206-0500|Warning: StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
        java.lang.ClassCastException: org.springframework.security.authentication.UsernamePasswordAuthenticationToken cannot be cast to java.util.Map
            at org.apache.jsp.visualbuilder.tools.visualBuilder.index_jsp._jspService(index_jsp.java:108)
            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.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
            at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
            at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
            at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
            at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)
            at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)
            at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
            at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)
            at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
            at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
            at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)
            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)
        This would seem like an Spring Security issue, but since everything else is working correctly and this only happens when I try to run Visual Builder, maybe I'm missing some additional set of properties or configurations?

        Thanks in advance...

        Comment


          #5
          It looks like you're trying to put Spring Security in front of the Visual Builder tool, as though people might log in in order to use it. While we do support the implied use case (runtime modification of live applications by administrative users is a capability you get with the Dashboards & Tools module, part of the Enterprise-level license), it seems unlikely you're trying to set that up, so the simplest thing is just to not use Spring Security in front of Visual Builder while you're developing the application.

          Comment


            #6
            We will fix the fact that Spring security is crashing our code shortly. Fix should be in the March 12 or March 13 build.

            Comment


              #7
              Thanks Isomorphic. I appreciate your help on this. I'll be testing this next week again then!
              ps. you are right. I'm just trying to use Visual Builder while developing.

              Comment


                #8
                The framework has been adjusted so that you no longer need to add new settings to server.properties. Please try the next nightly build, dated March 17.

                Regards
                Isomorphic Software

                Comment


                  #9
                  Hi Isomorphic. I can confirm that the two changes were correctly applied on the 2016-03-18 build. I can now use Visual Builder without the server.properties settings and with Spring Security enabled.
                  Thank you so much for all your help with these issues!

                  Comment

                  Working...
                  X