Announcement

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

    SmartGWT 6.0p and Glassfish 4.1

    Hi Isomorphic. Given the problems I am facing here and here, I tried starting fresh and running a simple app to load files from the client machine to the server. The code is taken from here with almost no changes (I'll post it in full next). I am using Glassfish 4.1 and Chrome 49.0.2623.110 m.

    So I ran the app in 5.1p 2016-04-02, and this worked correctly, allowing me to upload files. But as soon as I start using 6.0p 2016-04-08, I start getting this error message:

    2016-04-08T12:01:57.845-0500|Info: === 2016-04-08 12:01:57,845 [1(1)] INFO RequestContext - URL: '/tests/tests/sc/DataSourceLoader', User-Agent: 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36': Safari with Accept-Encoding header
    2016-04-08T12:01:57.869-0500|Info: === 2016-04-08 12:01:57,869 [1(1)] DEBUG ISCKeyedObjectPool - Borrowing object for 'bank_load'
    2016-04-08T12:01:57.869-0500|Info: === 2016-04-08 12:01:57,869 [1(1)] DEBUG PoolableDataSourceFactory - Activated DataSource 6 of type 'bank_load'
    2016-04-08T12:01:57.870-0500|Info: === 2016-04-08 12:01:57,870 [1(1)] DEBUG DataSourceLoader - For DataSource 'bank_load', got instanceId 6
    2016-04-08T12:01:57.873-0500|Info: === 2016-04-08 12:01:57,872 [1(2)] INFO Download - Returning 304: Not modified on conditional get of: D:\Dropbox\Apps\Glassfish4\glassfish\domains\BMSim\eclipseApps\tests\tests\sc\skins\Enterprise\load_skin.js
    2016-04-08T12:01:57.876-0500|Info: === 2016-04-08 12:01:57,876 [1(1)] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
    2016-04-08T12:01:57.877-0500|Info: === 2016-04-08 12:01:57,877 [1(1)] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
    2016-04-08T12:01:57.877-0500|Info: === 2016-04-08 12:01:57,877 [1(1)] DEBUG PoolableDataSourceFactory - Cleared and passivated DataSource 6 of type 'bank_load'
    2016-04-08T12:01:57.878-0500|Info: === 2016-04-08 12:01:57,877 [1(1)] INFO Compression - /tests/tests/sc/DataSourceLoader: 482 -> 353 bytes
    2016-04-08T12:01:58.969-0500|Info: === 2016-04-08 12:01:58,969 [1(3)] INFO Download - Returning 304: Not modified on conditional get of: D:\Dropbox\Apps\Glassfish4\glassfish\domains\BMSim\eclipseApps\tests\tests\sc\skins\Enterprise\skin_styles.css
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: host:localhost:8082
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: connection:keep-alive
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: content-length:1052
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: origin:http://localhost:8082
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: user-agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: content-type:application/x-www-form-urlencoded;charset=UTF-8
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: accept:*/*
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: referer:http://localhost:8082/tests/tests.html
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: accept-encoding:gzip, deflate
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: accept-language:en-US,en;q=0.8
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - Header Name:Value pair: cookie:JSESSIONID=6c4e764142b3dabf42b6855e94c7; isc_cState=ready; GLog=%7B%0A%20%20%20%20trackRPC%3Atrue%2C%20%0A%20%20%20%20isc_pageURL%3A%22http%3A//localhost%3A8082/BMSim/BMSim.html%22%2C%20%0A%20%20%20%20isc_pageGUID%3A%223F9F5D0D-BC1C-4F83-BEAE-81861A2F07C6%22%2C%20%0A%20%20%20%20priorityDefaults%3A%7B%0A%20%20%20%20%20%20%20%20sgwtInternal%3A1%2C%20%0A%20%20%20%20%20%20%20%20sizing%3A3%0A%20%20%20%20%7D%2C%20%0A%20%20%20%20defaultPriority%3A3%2C%20%0A%20%20%20%20left%3A-967%2C%20%0A%20%20%20%20top%3A0%2C%20%0A%20%20%20%20width%3A958%2C%20%0A%20%20%20%20height%3A1021%0A%7D
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - session exists: 6c4e764142b3dabf42b6855e94c7
    2016-04-08T12:02:27.241-0500|Info: === 2016-04-08 12:02:27,241 [1(5)] DEBUG IDACall - remote user: null
    2016-04-08T12:02:27.242-0500|Info: === 2016-04-08 12:02:27,242 [1(5)] INFO RequestContext - URL: '/tests/tests/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36': Safari with Accept-Encoding header
    2016-04-08T12:02:27.247-0500|Info: === 2016-04-08 12:02:27,247 [1(5)] DEBUG XML - Parsed XML from (in memory stream): 4ms
    2016-04-08T12:02:27.247-0500|Info: === 2016-04-08 12:02:27,247 [1(5)] DEBUG ISCKeyedObjectPool - Borrowing object for 'transaction'
    2016-04-08T12:02:27.247-0500|Info: === 2016-04-08 12:02:27,247 [1(5)] DEBUG PoolableDataSourceFactory - Tried to create DataSource of type 'transaction' but null was returned
    2016-04-08T12:02:27.247-0500|Info: === 2016-04-08 12:02:27,247 [1(5)] DEBUG PoolableDataSourceFactory - Created DataSource null of type 'transaction' in the pooling flow
    2016-04-08T12:02:27.248-0500|Info: === 2016-04-08 12:02:27,248 [1(5)] DEBUG ISCKeyedObjectPool - Borrowing object for 'Object'
    2016-04-08T12:02:27.248-0500|Info: === 2016-04-08 12:02:27,248 [1(5)] DEBUG PoolableDataSourceFactory - Created DataSource 10 of type 'Object' and assigned it to thread http-listener-1(5)
    2016-04-08T12:02:27.248-0500|Info: === 2016-04-08 12:02:27,248 [1(5)] DEBUG PoolableDataSourceFactory - Created DataSource 10 of type 'Object' in the pooling flow
    2016-04-08T12:02:27.248-0500|Info: === 2016-04-08 12:02:27,248 [1(5)] DEBUG PoolableDataSourceFactory - Activated DataSource 10 of type 'Object'
    2016-04-08T12:02:27.248-0500|Info: === 2016-04-08 12:02:27,248 [1(5)] DEBUG ISCKeyedObjectPool - Borrowing object for 'List'
    2016-04-08T12:02:27.249-0500|Info: === 2016-04-08 12:02:27,249 [1(5)] DEBUG PoolableDataSourceFactory - Created DataSource 11 of type 'List' and assigned it to thread http-listener-1(5)
    2016-04-08T12:02:27.249-0500|Info: === 2016-04-08 12:02:27,249 [1(5)] DEBUG PoolableDataSourceFactory - Created DataSource 11 of type 'List' in the pooling flow
    2016-04-08T12:02:27.249-0500|Info: === 2016-04-08 12:02:27,249 [1(5)] DEBUG PoolableDataSourceFactory - Activated DataSource 11 of type 'List'
    2016-04-08T12:02:27.250-0500|Info: === 2016-04-08 12:02:27,250 [1(5)] DEBUG ISCKeyedObjectPool - Borrowing object for 'elem'
    2016-04-08T12:02:27.250-0500|Info: === 2016-04-08 12:02:27,250 [1(5)] DEBUG PoolableDataSourceFactory - Tried to create DataSource of type 'elem' but null was returned
    2016-04-08T12:02:27.250-0500|Info: === 2016-04-08 12:02:27,250 [1(5)] DEBUG PoolableDataSourceFactory - Created DataSource null of type 'elem' in the pooling flow
    2016-04-08T12:02:27.251-0500|Info: === 2016-04-08 12:02:27,251 [1(5)] DEBUG RPCManager - Processing 1 requests.
    2016-04-08T12:02:27.251-0500|Info: === 2016-04-08 12:02:27,251 [1(5)] DEBUG ISCKeyedObjectPool - Borrowing object for 'bank_load'
    2016-04-08T12:02:27.251-0500|Info: === 2016-04-08 12:02:27,251 [1(5)] DEBUG PoolableDataSourceFactory - Activated DataSource 6 of type 'bank_load'
    2016-04-08T12:02:27.252-0500|Info: === 2016-04-08 12:02:27,252 [1(5)] DEBUG DSRequest - Caching instance 6 of DS 'bank_load' from DSRequest.getDataSource()
    2016-04-08T12:02:27.252-0500|Info: === 2016-04-08 12:02:27,252 [1(5)] DEBUG DSRequest - Caching instance 6 of DS bank_load
    2016-04-08T12:02:27.252-0500|Info: === 2016-04-08 12:02:27,252 [1(5)] DEBUG RPCManager - Request #1 (DSRequest) payload: {
    criteria:{
    },
    operationConfig:{
    dataSource:"bank_load",
    repo:null,
    operationType:"fetch",
    textMatchStyle:"substring"
    },
    startRow:0,
    endRow:75,
    componentId:"isc_TileGrid_0",
    appID:"builtinApplication",
    operation:"bank_load_fetch",
    oldValues:{
    }
    }
    2016-04-08T12:02:27.253-0500|Info: === 2016-04-08 12:02:27,253 [1(5)] INFO IDACall - Performing 1 operation(s)
    2016-04-08T12:02:27.253-0500|Info: === 2016-04-08 12:02:27,253 [1(5)] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
    2016-04-08T12:02:27.253-0500|Info: === 2016-04-08 12:02:27,253 [1(5)] DEBUG DeclarativeSecurity - DataSource bank_load is not in the pre-checked list, processing...
    2016-04-08T12:02:27.254-0500|Info: === 2016-04-08 12:02:27,254 [1(5)] DEBUG AppBase - [builtinApplication.bank_load_fetch] No userTypes defined, allowing anyone access to all operations for this application
    2016-04-08T12:02:27.254-0500|Info: === 2016-04-08 12:02:27,254 [1(5)] DEBUG AppBase - [builtinApplication.bank_load_fetch] No public zero-argument method named '_bank_load_fetch' found, performing generic datasource operation
    2016-04-08T12:02:27.255-0500|Info: === 2016-04-08 12:02:27,255 [1(5)] INFO SQLDataSource - [builtinApplication.bank_load_fetch] Performing fetch operation with
    criteria: {} values: {}
    2016-04-08T12:02:27.255-0500|Info: === 2016-04-08 12:02:27,255 [1(5)] INFO SQLWhereClause - [builtinApplication.bank_load_fetch] empty condition
    2016-04-08T12:02:27.255-0500|Info: === 2016-04-08 12:02:27,255 [1(5)] INFO SQLDataSource - [builtinApplication.bank_load_fetch] derived query: SELECT $defaultSelectClause FROM $defaultTableClause WHERE $defaultWhereClause
    2016-04-08T12:02:27.258-0500|Info: === 2016-04-08 12:02:27,258 [1(5)] DEBUG SQLDataSource - [builtinApplication.bank_load_fetch] Executing row count query: SELECT COUNT(*) FROM $defaultTableClause
    2016-04-08T12:02:27.259-0500|Info: === 2016-04-08 12:02:27,259 [1(5)] DEBUG SQLDataSource - [builtinApplication.bank_load_fetch] Eval'd row count query: SELECT COUNT(*) FROM bank_load
    2016-04-08T12:02:27.260-0500|Info: === 2016-04-08 12:02:27,260 [1(5)] DEBUG PoolableSQLConnectionFactory - [builtinApplication.bank_load_fetch] Initializing SQL config for 'SQLServer' via JNDI
    2016-04-08T12:02:27.262-0500|Info: === 2016-04-08 12:02:27,261 [1(5)] ERROR SQLConnectionManager - [builtinApplication.bank_load_fetch] Caught exception
    java.lang.NullPointerException
    at com.isomorphic.sql.PoolableSQLConnectionFactory.makeUnpooledObject(PoolableSQLConnectionFactory.java:309)
    at com.isomorphic.sql.PoolableSQLConnectionFactory.makeObject(PoolableSQLConnectionFactory.java:397)
    at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:99)
    at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:76)
    at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:176)
    at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:608)
    at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:576)
    at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:569)
    at com.isomorphic.sql.SQLDriver.getScalarResult(SQLDriver.java:762)
    at com.isomorphic.sql.SQLDriver.executeScalar(SQLDriver.java:1057)
    at com.isomorphic.sql.SQLDataSource.runRowCountQuery(SQLDataSource.java:3196)
    at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:2583)
    at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:2009)
    at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:447)
    at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:392)
    at com.isomorphic.datasource.DataSource.execute(DataSource.java:2236)
    at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:735)
    at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:652)
    at com.isomorphic.application.AppBase.execute(AppBase.java:493)
    at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2689)
    at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:228)
    at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:187)
    at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:152)
    at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:119)
    at com.isomorphic.servlet.IDACall.doPost(IDACall.java:79)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:162)
    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-04-08T12:02:27.263-0500|Info: === 2016-04-08 12:02:27,263 [1(5)] DEBUG DSRequest - About to free up resources for request of type fetch on DataSource bank_load
    2016-04-08T12:02:27.263-0500|Info: === 2016-04-08 12:02:27,263 [1(5)] WARN RequestContext - dsRequest.execute() failed:
    java.sql.SQLException: java.lang.NullPointerException
    at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:194)
    at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:608)
    at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:576)
    at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:569)
    at com.isomorphic.sql.SQLDriver.getScalarResult(SQLDriver.java:762)
    at com.isomorphic.sql.SQLDriver.executeScalar(SQLDriver.java:1057)
    at com.isomorphic.sql.SQLDataSource.runRowCountQuery(SQLDataSource.java:3196)
    at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:2583)
    at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:2009)
    at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:447)
    at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:392)
    at com.isomorphic.datasource.DataSource.execute(DataSource.java:2236)
    at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:735)
    at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:652)
    at com.isomorphic.application.AppBase.execute(AppBase.java:493)
    at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2689)
    at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:228)
    at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:187)
    at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:152)
    at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:119)
    at com.isomorphic.servlet.IDACall.doPost(IDACall.java:79)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:162)
    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-04-08T12:02:27.264-0500|Info: === 2016-04-08 12:02:27,264 [1(5)] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
    2016-04-08T12:02:27.264-0500|Info: === 2016-04-08 12:02:27,264 [1(5)] DEBUG RPCManager - non-DMI response, dropExtraFields: false
    2016-04-08T12:02:27.265-0500|Info: === 2016-04-08 12:02:27,265 [1(5)] DEBUG Compression - /tests/tests/sc/IDACall: Result data size of 151 bytes is less than set threshold of 250 bytes - not compressing
    2016-04-08T12:02:27.265-0500|Info: === 2016-04-08 12:02:27,265 [1(5)] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
    2016-04-08T12:02:27.265-0500|Info: === 2016-04-08 12:02:27,265 [1(5)] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
    2016-04-08T12:02:27.265-0500|Info: === 2016-04-08 12:02:27,265 [1(5)] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
    2016-04-08T12:02:27.265-0500|Info: === 2016-04-08 12:02:27,265 [1(5)] DEBUG PoolableDataSourceFactory - Cleared and passivated DataSource 6 of type 'bank_load'
    Any ideas why can this be happening?

    #2
    Here is my code...

    bank_load.ds.xml
    Code:
    <DataSource         
        ID="bank_load" 
        serverType="sql" 
        tableName="bank_load" >    
    
        <fields>
            <field name="pk" type="sequence" hidden="true" primaryKey="true"/>   
            <field name="bankfile" type="binary"/>         
        </fields>
    </DataSource>
    server.properties
    Code:
    webRoot: __AUTODETECT__
    gwtModuleName: tests
    isomorphicPathRootRelative: $gwtModuleName/sc
    sql.defaultDatabase: SQLServer
    sql.SQLServer.database.type: sqlserver
    sql.SQLServer.driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    sql.SQLServer.driver.databaseName: BMSim
    sql.SQLServer.interface.type: jndi
    sql.SQLServer.driver.name: jdbc/BMSim
    project.datasources: $webRoot/resources/ds
    project.ui: $webRoot/resources/shared/ui
    project.apps: $webRoot/resources/shared/app
    modulesDir: modules/
    My entry point class (this is almost a copy of the showcase demo for the Upload feature):
    Code:
    import com.google.gwt.core.client.EntryPoint;
    import com.smartgwt.client.data.DSRequest;
    import com.smartgwt.client.data.DSResponse;
    import com.smartgwt.client.data.DataSource;
    import com.smartgwt.client.types.SelectionType;
    import com.smartgwt.client.types.TextMatchStyle;
    import com.smartgwt.client.types.Visibility;
    import com.smartgwt.client.widgets.IButton;
    import com.smartgwt.client.widgets.form.DynamicForm;
    import com.smartgwt.client.widgets.form.fields.ButtonItem;
    import com.smartgwt.client.widgets.form.fields.FileItem;
    import com.smartgwt.client.widgets.form.fields.TextItem;
    import com.smartgwt.client.widgets.grid.ListGrid;
    import com.smartgwt.client.widgets.layout.HLayout;
    import com.smartgwt.client.widgets.layout.LayoutSpacer;
    import com.smartgwt.client.widgets.layout.VLayout;
    import com.smartgwt.client.widgets.tile.TileGrid;  
      
    public class Test implements EntryPoint {  
      
        public void onModuleLoad() {  
            DataSource dataSource = DataSource.get("bank_load");  
              
            final DynamicForm uploadForm = new DynamicForm();  
            uploadForm.setDataSource(dataSource);  
            uploadForm.setWidth(300);  
              
            TextItem uploadTitleItem = new TextItem("title");  
            uploadTitleItem.setRequired(true);  
              
            FileItem imageItem = new FileItem("bankfile");  
            imageItem.setHint("Maximum file-size is 50k");  
            imageItem.setRequired(true);  
              
            ButtonItem saveItem = new ButtonItem("save", "Save");  
            saveItem.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() {  
                public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) {  
                    if (!uploadForm.hasErrors()) {  
                        uploadForm.saveData(new com.smartgwt.client.data.DSCallback() {  
                            public void execute(DSResponse response, Object data, DSRequest request) {  
                                uploadForm.editNewRecord();  
                            }  
                        });  
                    }  
                }  
            });  
      
            uploadForm.setFields(uploadTitleItem, imageItem, saveItem);  
      
            final TileGrid mediaTileGrid = new TileGrid();  
            final ListGrid mediaListGrid = new ListGrid();  
      
      
            final DynamicForm searchForm = new DynamicForm();  
            searchForm.setWidth("100%");  
            searchForm.setNumCols(3);  
            searchForm.setColWidths(60, 200, "*");  
            searchForm.setSaveOnEnter(true);  
              
            TextItem searchTitleItem = new TextItem("title", "Title");  
              
            ButtonItem searchSearchItem = new ButtonItem("search", "Search");  
            searchSearchItem.setStartRow(false);  
            searchSearchItem.setEndRow(false);  
            searchSearchItem.addClickHandler(new com.smartgwt.client.widgets.form.fields.events.ClickHandler() {  
                public void onClick(com.smartgwt.client.widgets.form.fields.events.ClickEvent event) {  
                    DSRequest req = new DSRequest();  
                    req.setTextMatchStyle(TextMatchStyle.SUBSTRING);  
                    mediaTileGrid.fetchData(searchForm.getValuesAsCriteria(), null, req);  
                }  
            });  
              
            searchForm.setFields(searchTitleItem, searchSearchItem);  
              
      
            IButton viewAsTiles = new IButton("View as Tiles");  
            viewAsTiles.setAutoFit(true);    
            viewAsTiles.addToRadioGroup("views");  
            viewAsTiles.setSelected(true);  
            viewAsTiles.setActionType(SelectionType.CHECKBOX);  
            viewAsTiles.addClickHandler(new com.smartgwt.client.widgets.events.ClickHandler() {  
                public void onClick(com.smartgwt.client.widgets.events.ClickEvent event) {  
                    mediaTileGrid.show();  
                    mediaListGrid.hide();  
                }  
            });  
              
            IButton viewAsList = new IButton("View as List");  
            viewAsList.setAutoFit(true);   
            viewAsList.addToRadioGroup("views");  
            viewAsList.setActionType(SelectionType.CHECKBOX);  
              
            final Test thisSample = this;  
            viewAsList.addClickHandler(new com.smartgwt.client.widgets.events.ClickHandler() {  
                public void onClick(com.smartgwt.client.widgets.events.ClickEvent event) {  
                    if (thisSample.firstTimeViewingListGrid) {  
                        thisSample.firstTimeViewingListGrid = false;  
                        mediaListGrid.setData(mediaTileGrid.getResultSet());  
                    }  
                    mediaTileGrid.hide();  
                    mediaListGrid.show();  
                }  
            });  
              
              
            HLayout buttons = new HLayout(5);  
            buttons.setWidth(300);  
            buttons.setPadding(5);  
            buttons.setMembers(viewAsTiles, viewAsList);  
              
            mediaTileGrid.setWidth("100%");  
            mediaTileGrid.setHeight(224);  
            mediaTileGrid.setTileWidth(100);  
            mediaTileGrid.setTileHeight(150);  
            mediaTileGrid.setDataSource(dataSource);  
            mediaTileGrid.setAutoFetchData(true);  
              
            mediaListGrid.setWidth("100%");  
            mediaListGrid.setHeight(224);  
            mediaListGrid.setAlternateRecordStyles(true);  
            mediaListGrid.setDataSource(dataSource);  
            mediaListGrid.setVisibility(Visibility.HIDDEN);  
              
            VLayout resultsLayout = new VLayout();  
            resultsLayout.setLeft(350);  
            resultsLayout.setWidth(500);  
            resultsLayout.setHeight(250);  
            resultsLayout.setMembers(searchForm, buttons, mediaTileGrid, mediaListGrid);  
              
            LayoutSpacer spacer = new LayoutSpacer();  
            spacer.setWidth(50);  
      
            HLayout topLayout = new HLayout();  
            topLayout.setMembers(uploadForm, spacer, resultsLayout);  
              
            topLayout.draw();  
        }  
      
          
        boolean firstTimeViewingListGrid = true;
    }
    My SQL Table:
    Code:
    CREATE TABLE [dbo].[bank_load](
        [pk] [int] IDENTITY(1,1) NOT NULL,
        [bankfile] [varbinary](max),
        [bankfile_filename] [varchar](255),
        [bankfile_filesize] [numeric](10) NULL,
        [bankfile_date_created] [date],
        CONSTRAINT bank_load_pk PRIMARY KEY (pk)
    )
    Any help would be really appreciated!

    Comment


      #3
      Hi Isomorphic. Another finding I made: after shutting down the Glassfish server (where my test app is deployed) and starting it again, the errors highlighted below are show in the server log, and they reference MockInitialContextFactory, which I don't know what is and can't seem to find anything by Googling it.
      2016-04-08T15:58:44.662-0500|Info: Running GlassFish Version: GlassFish Server Open Source Edition 4.1 (build 13)
      2016-04-08T15:58:44.666-0500|Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
      2016-04-08T15:58:44.842-0500|Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
      2016-04-08T15:58:44.844-0500|Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
      2016-04-08T15:58:44.849-0500|Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
      2016-04-08T15:58:45.067-0500|Info: Authorization Service has successfully initialized.
      2016-04-08T15:58:45.353-0500|Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
      2016-04-08T15:58:45.519-0500|Info: Grizzly Framework 2.3.15 started in: 40ms - bound to [/0.0.0.0:8082]
      2016-04-08T15:58:45.555-0500|Info: Grizzly Framework 2.3.15 started in: 3ms - bound to [/0.0.0.0:8181]
      2016-04-08T15:58:45.566-0500|Info: Grizzly Framework 2.3.15 started in: 3ms - bound to [/0.0.0.0:4842]
      2016-04-08T15:58:45.632-0500|Info: Grizzly Framework 2.3.15 started in: 2ms - bound to [/0.0.0.0:3700]
      2016-04-08T15:58:48.011-0500|Info: visiting unvisited references
      2016-04-08T15:58:49.220-0500|Info: Java security manager is disabled.
      2016-04-08T15:58:49.221-0500|Info: Entering Security Startup Service.
      2016-04-08T15:58:49.224-0500|Info: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
      2016-04-08T15:58:49.259-0500|Info: Security Service(s) started successfully.
      2016-04-08T15:58:49.856-0500|Info: Created HTTP listener http-listener-1 on host/port 0.0.0.0:8082
      2016-04-08T15:58:49.865-0500|Info: Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181
      2016-04-08T15:58:49.870-0500|Info: Created HTTP listener admin-listener on host/port 0.0.0.0:4842
      2016-04-08T15:58:49.938-0500|Info: Created virtual server server
      2016-04-08T15:58:49.942-0500|Info: Created virtual server __asadmin
      2016-04-08T15:58:50.273-0500|Info: Setting JAAS app name glassfish-web
      2016-04-08T15:58:50.274-0500|Info: Virtual server server loaded default web module
      ...
      2016-04-08T15:58:51.308-0500|Info: visiting unvisited references (40 times)
      ...
      2016-04-08T15:58:53.400-0500|Info: Initializing Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) for context '/tests'
      2016-04-08T15:58:54.615-0500|Info: HV000001: Hibernate Validator 5.0.0.Final
      2016-04-08T15:58:56.091-0500|Info: ISC: Configuring log4j from: file:/D:/Dropbox/Apps/Glassfish4/glassfish/domains/BMSim/eclipseApps/tests/WEB-INF/classes/log4j.isc.config.xml
      2016-04-08T15:58:56.416-0500|Info: === 2016-04-08 15:58:56,416 [4511] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
      2016-04-08T15:58:56.463-0500|Info: === 2016-04-08 15:58:56,463 [4511] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH
      2016-04-08T15:58:56.708-0500|Info: === 2016-04-08 15:58:56,707 [4511] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/D:/Dropbox/Apps/Glassfish4/glassfish/domains/BMSim/eclipseApps/tests/WEB-INF/lib/isomorphic-core-rpc-6.0-p20160408.jar!/framework.properties
      2016-04-08T15:58:56.710-0500|Info: === 2016-04-08 15:58:56,710 [4511] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH
      2016-04-08T15:58:56.711-0500|Info: === 2016-04-08 15:58:56,711 [4511] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH
      2016-04-08T15:58:56.716-0500|Info: === 2016-04-08 15:58:56,716 [4511] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/D:/Dropbox/Apps/Glassfish4/glassfish/domains/BMSim/eclipseApps/tests/WEB-INF/lib/isomorphic-core-rpc-6.0-p20160408.jar!/isc_interfaces.properties
      2016-04-08T15:58:56.716-0500|Info: === 2016-04-08 15:58:56,716 [4511] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH
      2016-04-08T15:58:56.720-0500|Info: === 2016-04-08 15:58:56,720 [4511] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/D:/Dropbox/Apps/Glassfish4/glassfish/domains/BMSim/eclipseApps/tests/WEB-INF/classes/server.properties
      2016-04-08T15:58:56.742-0500|Info: === 2016-04-08 15:58:56,742 [4511] INFO Logger - Logging system started.
      2016-04-08T15:58:56.786-0500|Info: === 2016-04-08 15:58:56,786 [4511] DEBUG ConfigParser - Matched var name: gwtModuleName
      2016-04-08T15:58:56.787-0500|Info: === 2016-04-08 15:58:56,787 [4511] DEBUG ConfigParser - value after substitution: tests/sc
      2016-04-08T15:58:56.788-0500|Info: === 2016-04-08 15:58:56,788 [4511] INFO ISCInit - Auto-detected webRoot - using: D:\Dropbox\Apps\Glassfish4\glassfish\domains\BMSim\eclipseApps\tests
      2016-04-08T15:58:56.834-0500|Info: === 2016-04-08 15:58:56,834 [4511] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework (v11.0p_2016-04-08/Pro Deployment 2016-04-08) - Initialization Complete
      2016-04-08T15:58:56.907-0500|Info: Loading application [tests] at [/tests]
      2016-04-08T15:58:56.911-0500|Info: Loading application tests done in 11.527 ms
      2016-04-08T15:58:56.913-0500|Info: GlassFish Server Open Source Edition 4.1 (13) startup time : Felix (2.632ms), startup services(12.408ms), total(15.040ms)
      2016-04-08T15:58:57.200-0500|Info: Grizzly Framework 2.3.15 started in: 15ms - bound to [/0.0.0.0:7676]
      2016-04-08T15:58:57.343-0500|Warning: Cannot start JMX connector JmxConnector config: { name = system, Protocol = rmi_jrmp, Address = 0.0.0.0, Port = 8686, AcceptAll = false, AuthRealmName = admin-realm, SecurityEnabled = false} due to exception java.io.IOException: Cannot bind to URL [rmi://PCCS:8686/jmxrmi]: javax.naming.NoInitialContextException: Cannot instantiate class: com.isomorphic.naming.MockInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory]
      2016-04-08T15:58:57.347-0500|Severe: java.io.IOException: Cannot bind to URL [rmi://PCCS:8686/jmxrmi]: javax.naming.NoInitialContextException: Cannot instantiate class: com.isomorphic.naming.MockInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory]
      at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:827)
      at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:432)
      at org.glassfish.admin.mbeanserver.RMIConnectorStarter.start(RMIConnectorStarter.java:319)
      at org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.startConnector(JMXStartupService.java:313)
      at org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread.run(JMXStartupService.java:350)
      Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: com.isomorphic.naming.MockInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory]
      at com.sun.enterprise.naming.GlassFishNamingBuilder.createInitialContextFactory(GlassFishNamingBuilder.java:127)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
      at javax.naming.InitialContext.init(InitialContext.java:244)
      at javax.naming.InitialContext.&lt;init&gt;(InitialContext.java:216)
      at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:638)
      at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
      ... 3 more
      Caused by: java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      at com.sun.enterprise.naming.GlassFishNamingBuilder.loadClass(GlassFishNamingBuilder.java:143)
      at com.sun.enterprise.naming.GlassFishNamingBuilder.createInitialContextFactory(GlassFishNamingBuilder.java:120)
      ... 9 more
      2016-04-08T15:58:59.774-0500|Info: Initiating Jersey application, version Jersey: 2.10.4 2014-08-08 15:09:00...
      2016-04-08T15:59:00.591-0500|Info: Listening to REST requests at context: /management/domain.
      2016-04-08T15:59:00.772-0500|Info: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@34be065a as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@5a13fcf3.
      2016-04-08T15:59:00.917-0500|Info: visiting unvisited references
      2016-04-08T15:59:01.145-0500|Warning: Failed to load com.isomorphic.naming.MockInitialContextFactory using CommonClassLoader
      2016-04-08T15:59:01.257-0500|Info: visiting unvisited references
      2016-04-08T15:59:01.279-0500|Info: visiting unvisited references
      2016-04-08T15:59:01.280-0500|Info: visiting unvisited references
      2016-04-08T15:59:04.311-0500|Warning: Failed to load com.isomorphic.naming.MockInitialContextFactory using CommonClassLoader
      2016-04-08T15:59:04.312-0500|Warning: javax.naming.NoInitialContextException: Cannot instantiate class: com.isomorphic.naming.MockInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory]
      javax.naming.NoInitialContextException: Cannot instantiate class: com.isomorphic.naming.MockInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory]
      at com.sun.enterprise.naming.GlassFishNamingBuilder.createInitialContextFactory(GlassFishNamingBuilder.java:127)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
      at javax.naming.InitialContext.init(InitialContext.java:244)
      at javax.naming.InitialContext.&lt;init&gt;(InitialContext.java:192)
      at com.sun.faces.config.WebConfiguration.processJndiEntries(WebConfiguration.java:810)
      at com.sun.faces.config.WebConfiguration.&lt;init&gt;(WebConfiguration.java:153)
      at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:213)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:162)
      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5394)
      at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5932)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
      at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
      at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
      at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
      at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)
      at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:406)
      at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:211)
      at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)
      Caused by: java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      at com.sun.enterprise.naming.GlassFishNamingBuilder.loadClass(GlassFishNamingBuilder.java:152)
      at com.sun.enterprise.naming.GlassFishNamingBuilder.createInitialContextFactory(GlassFishNamingBuilder.java:120)
      ... 25 more

      2016-04-08T15:59:04.316-0500|Info: Initializing Mojarra 2.2.7 ( 20140610-1547 https://svn.java.net/svn/mojarra~svn/tags/2.2.7@13362) for context ''
      2016-04-08T15:59:04.809-0500|Warning: Failed to load com.isomorphic.naming.MockInitialContextFactory using CommonClassLoader
      2016-04-08T15:59:04.809-0500|Warning: javax.naming.NoInitialContextException: Cannot instantiate class: com.isomorphic.naming.MockInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory]
      javax.naming.NoInitialContextException: Cannot instantiate class: com.isomorphic.naming.MockInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory]

      at com.sun.enterprise.naming.GlassFishNamingBuilder.createInitialContextFactory(GlassFishNamingBuilder.java:127)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:681)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
      at javax.naming.InitialContext.init(InitialContext.java:244)
      at javax.naming.InitialContext.&lt;init&gt;(InitialContext.java:192)
      at com.sun.faces.config.processor.ApplicationConfigProcessor.isBeanValidatorAvailable(ApplicationConfigProcessor.java:397)
      at com.sun.faces.config.processor.ApplicationConfigProcessor.registerDefaultValidatorIds(ApplicationConfigProcessor.java:359)
      at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:335)
      at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
      at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
      at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:152)
      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:239)
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:435)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:221)
      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5394)
      at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:743)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5932)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:691)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
      at com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
      at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
      at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
      at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)
      at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:406)
      at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:211)
      at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)
      Caused by: java.lang.ClassNotFoundException: com.isomorphic.naming.MockInitialContextFactory
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      at com.sun.enterprise.naming.GlassFishNamingBuilder.loadClass(GlassFishNamingBuilder.java:152)
      at com.sun.enterprise.naming.GlassFishNamingBuilder.createInitialContextFactory(GlassFishNamingBuilder.java:120)
      ... 30 more

      2016-04-08T15:59:05.390-0500|Info: Loading application [__admingui] at [/]
      2016-04-08T15:59:05.392-0500|Info: Loading application __admingui done in 4.619 ms
      Any ideas or suggestions? Thanks in advance...

      Comment


        #4
        Ok, thanks for the additional detail - this looks like our bug. Should be addressed in tonight's build (available in the April 10 2016 build or newer). Please install that and let us know how it goes! Thanks.

        Comment


          #5
          Hi Isomorphic. I confirm that this is fixed in 6.0p 2016-04-12. Thanks!

          Comment


            #6
            Awesome - thanks for the heads up, glad to hear it.

            Comment

            Working...
            X