Quantcast
Channel: SmartClient Forums
Viewing all 4756 articles
Browse latest View live

Calendar.getMainView().addTabSelectedHandler breaks control bar

$
0
0
Code:

        @Override
        public void onModuleLoad() {
                new Calendar(){{
                        doOnRender(new Function(){
                                @Override
                                public void execute() {
                                        TabSet tabs = getMainView();
                                        tabs.addTabSelectedHandler(new TabSelectedHandler() {
                                                @Override
                                                public void onTabSelected(TabSelectedEvent event) {
                                                }
                                        });
                                }});
                }}.show();
        }


Attached Images
File Type: png screen-shot.png (35.1 KB)

RPC call fails Client:Internal Server Error(500), server:java.io.Exception Stream Clo

$
0
0
The client sits on the webpage for a while (either due to session timeout, or, by manually removing the cookie from the browser using Developer Tools of Chrome for example). We click on a widget (which results in an RPC call to the backend). We notice that the RPC call succeeds and while sending the response back to the client, the server encounters an exception (java.io.IOException: Stream closed). Please see the exception below. We are using tomcat6 (6.0.24-80.el6).
Not sure if the issue is related to tomcat... In the javascript console, we see the message "The call failed on the server; see server log for details".

The session timeout may have been the issue and we are looking into using the guidelines to setup loginRequiredMarkers. However, we don't believe this issue is related to markers. It appears that the client side is prematurely closing the socket connection.

1. SmartClient Version: v10.0p_2015-02-25/PowerEdition Deployment (built 2015-02-25)

2. Chrome Version 40.0.2214.115 m

3. === 2015-03-12 15:35:24,210 [sor2] INFO RequestContext - URL: '/<removed>/<removed>/<removed>', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36': Safari with Accept-Encoding header
Mar 12, 2015 3:35:24 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
java.io.IOException: Stream closed
at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:325)
at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
at com.google.gwt.user.server.rpc.RPCServletUtils.readContent(RPCServletUtils.java:224)
at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsGwtRpc(RPCServletUtils.java:252)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:182)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:364)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.alcatel_lucent.aware.web.wnganalytic.server.SecurityFilter.doFilter(SecurityFilter.java:79)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769))
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:745)

SmartGWT in professional Environment

$
0
0
Hi Folks,

I evaluate smartgwt since feb 28th and built just a small test app with one page. I used DB2 as Database and with a click on a button I do one select to see how the database stuff works. Application server is a clustered Webshpere Server.

My results are

1. The app didnt work in a clustered environment. Only switching to a single instance it worked.
2. Sometimes I got an error in browser like "Exception caught: (TypeError) description. The property "cc" from a undefined or null pointer...." with IE11

On my local Testenvironment with a single tomcat it works fine.

So, as a result I think the framework isn't able to run on a professional environment. Maybe the sql connector isnt able to run on a cluster. And about the "cc error exception" I dont know but I think it must be also generated because of websphere server

Does anybody else got the same experiences? Before we can go further I need to clear those things.

Thx,
Ola

set the ID for each row/record dynamically for the listGrid

$
0
0
Hi,

We are using Smart Gwt-4.1p(10th March 2015)
Browser : IE10, 11, Google Chrome: 37.0.2062.124 m

Our project uses smartgwt listGrid. Now we are trying to write selenium web driver test cases for the ListGrid. How would I set the ID for each row/record dynamically for the listGrid?. Is there any special property which can automatically append the id for each record?.



Thanks.

Change position of Filter Editor

$
0
0
We have a business requirement to show the filter editor below the column headers instead of above. Is this acheivable in SmartGWT ?

Unable to export Listgrid contents to xls and ooxml formats

$
0
0
Version : smartclient v9.0p_2013-11-03
Browsers : All

Hi we are having an issue when trying to export listGrid contents to xls and ooxml formats. exporting to csv format is working fine.


This is how we are making the call to export the data

listGrid.exportClientData({ exportAs: "ooxml"});

we have even tried

listGrid.exportData({ exportAs: "ooxml"});

When we try to open the file after the export is complete we get the following error

Excel cannot open the file export.xlsx because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.

When we check the content in Fiddler when exporting as csv we see the following

HTTP/1.1 200 OK
Date: Fri, 13 Mar 2015 13:57:11 GMT
Server: Apache-Coyote/1.1
X-Included-Test2: true
X-Included-Test: true
content-disposition: attachment; fileName=export.csv
Content-Type: text/csv;charset=UTF-8
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Length: 3059

[
data
]

And when exporting as xls or ooxml we see the following

HTTP/1.1 200 OK
Date: Fri, 13 Mar 2015 14:15:24 GMT
Server: Apache-Coyote/1.1
X-Included-Test2: true
X-Included-Test: true
content-disposition: attachment; fileName=export.xlsx
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8
Content-Length: 0
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive

[
No data
]

Can you please let us know if we are missing something while making the call to exportData/exportClientData that is causing the issue.

Also do we need to have the "exportFormat" defined on the listGrid fields?

Highlighting a row when any field is edited

$
0
0
Version : smartclient v9.0p_2013-11-03
Browsers : All

Hi we have a list grid that can be edited. We would like to highlight the row once any field has been edited.

In the getCellCSSText we are using the rowHasChanges(rowNum) to identify any changes and returning back the apropriate CSS string.

But the issue with this the row is not immediately highlighted. Once we hover on the row that was edited, then we see the CSS applied on that row.

Is there any way we can have the change detected right away and highlight the row ?

cpu usage and performance problem

$
0
0
Hi Isomorphic,

Frequently, when I refresh webbrowser, and re-start my Smart-Client app,

I can see that the cpu usage raises up to 25% and my app running extremely slow.
When this occurrs, fiddler shows that my app is downloading an Smart-Client image file

in an infinite loop.

Is this a bug or any workaround ?

Tests are done with
IE 8 (8.0.7601)
Smart-client v10.0p_2015-02-09/LGPL Deployment (built 2015-02-09).
Attached is the fiddler screen shot.
Thanks.

Attached Images
File Type: gif bug_infiniteLoop.gif (59.9 KB)

Servlet context initialization in standalone application

$
0
0
Hi Isomorphic,

I'm trying to create a standalone application using smartGwt but I have an issue concerning the servlet context initialization.
(I'm using SmartClient Version: v9.1p_2014-08-11/PowerEdition Deployment (built 2014-08-11) and smartgwt 4.1.1)

Here is the complete stacktrace :
Code:



Registering application configuration directory C:\Src\trust\standalone\src\main\resources
- Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@4eedf3f6: startup date [Mon Mar 16 12:18:46 CET 2015]; root of context hierarchy
- Loading XML bean definitions from class path resource [applicationContext-root.xml]
- Loading XML bean definitions from class path resource [applicationContext-clustering.xml]
- Loading XML bean definitions from class path resource [applicationContext-reporting.xml]
- Overriding bean definition for bean 'reportDao': replacing [Generic bean: class [com.fircosoft.cdb.server.report.dao.ReportDaoImpl]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Src\cdb\reporting\target\classes\com\fircosoft\cdb\server\report\dao\ReportDaoImpl.class]] with [Generic bean: class [com.fircosoft.cdb.server.report.dao.ReportDaoImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext-reporting.xml]]
- Loading XML bean definitions from class path resource [applicationContext-scheduler.xml]
- Loading XML bean definitions from class path resource [applicationContext-trust-hazelcast.xml]
- Overriding bean definition for bean 'hazelcastInstance': replacing [Root bean: class [com.hazelcast.instance.HazelcastInstanceFactory]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=newHazelcastInstance; initMethodName=null; destroyMethodName=shutdown] with [Root bean: class [com.hazelcast.instance.HazelcastInstanceFactory]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=newHazelcastInstance; initMethodName=null; destroyMethodName=shutdown]
- Loading XML bean definitions from class path resource [applicationContext-standalone.xml]
- Loading properties file from URL [file:C:/Src/trust/standalone/src/main/resources/application.properties]
- Loading properties file from URL [file:C:/Src/trust/standalone/src/main/resources/hazelcast.properties]
- Loading properties file from URL [file:C:/Src/trust/standalone/src/main/resources/mail.properties]
- Loading properties file from URL [file:C:/Src/trust/standalone/src/main/resources/rfi.properties]
- Loading properties file from URL [file:C:/Src/trust/standalone/src/main/resources/quartz.properties]
- Loading properties file from URL [file:C:/Src/trust/standalone/src/main/resources/scripting.properties]
- Loading properties file from URL [file:C:/Src/trust/standalone/src/main/resources/security/security.properties]
- Loading properties file from URL [file:C:/Src/trust/standalone/src/main/resources/standalone-datasource.properties]
- Initializing ExecutorService
- Bean 'localTaskExecutor' of type [class org.springframework.scheduling.config.TaskExecutorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
- Bean 'localTaskExecutor' of type [class org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
- Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3d9478c7: defining beans [txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,passwordManagementServiceImpl,attachmentDao,auditLogDaoImpl,daoAuditor,eventDescriptorDaoImpl,methodAuditor,bCryptPasswordEncoder,securityContextHolder,CDBUserDetailsService,authRfiDao,securityAuditor,cacheLoaderImpl,clusteringManager,commentDao,lockDaoImpl,lockingService,logUtils,mailDao,mailAuditor,mailServiceImpl,operatorDao,accessDeniedExceptionTranslator,baseMethodPermissionChecker,preferences,profileManagerImpl,searchRepository,serviceLocator,templateDao,afterCommitManagerImpl,reportDao,dataSourceSolver,reportingAuditorImpl,reportService,MSDocumentBuilder,PDFBuilder,rfiDao,rfiResponseDataDao,rfiAuditor,rfiService,RFIFunctionsPackageBuilder,calendarBuilder,scheduledObjectsListener,schedulerAuditor,schedulerFunctionRegistration,schedulerListener,schedulerServiceImpl,scriptManagerImpl,queueActionDaoImpl,queueDao,scriptDao,workflowDao,workflowStatusDao,functionPackagesBuilder,workflowAuditor,workflowEngine,workflowServiceImpl,workflowUserService,trustCacheManager,trustImportListener,hitDaoImpl,relationshipDaoImpl,relationshipUtils,scoringDaoImpl,screeningDaoImpl,filterProxyService,scoringAuditorImpl,scoringServiceImpl,postFilterFunctionsRegistrator,screeningAuditorImpl,screeningServiceImpl,trustFunctionsRegistration,proxyInstanceConfigDaoImpl,filterInstanceManager,postFiltering,postFilteringDaoImpl,beanUtils,watchListCacheImpl,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.cache.annotation.AnnotationCacheOperationSource#0,org.springframework.cache.interceptor.CacheInterceptor#0,org.springframework.cache.config.internalCacheAdvisor,mailSender,velocityEngine,templateLoader,localTaskExecutor,org.springframework.context.annotation.internalAsyncAnnotationProcessor,org.springframework.context.annotation.internalScheduledAnnotationProcessor,jspServiceLocator,hazelcastInstance,noOpCacheManager,cacheManagerWrapper,cacheFactory,cacheManager,executorService,org.springframework.scheduling.quartz.SchedulerFactoryBean#0,operatorSerializer,securityContextSerializer,upatSerializer,cdbudSerializer,queueSerializer,workflowSerializer,scriptSerializer,typeSerializer,activitySerializer,addressSerializer,hitSerializer,bankAccountSerializer,companySerializer,individualSerializer,linkSerializer,relationshipSerializer,relationshipCountrySerializer,bankScoreSerializer,scoringResultSerializer,scoringConfigSerializer,checkListSerializer,checkListItemSerializer,relshipCheckListItemSerializer,scoringTaskSerializer,scoringBPSerializer,searchDetailsSerializer,screenHitSerializer,entityDetailsSerializer,watchListEntrySerializer,dataSource,reportDataSource,configProperties,org.springframework.context.support.PropertySourcesPlaceholderConfigurer#0,cdbSessionRegistry,licenseChecker,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
- MLog clients using log4j logging.
- Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; trace: 10]
- Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 2sbg59989iov58i603pf|5b2b6037, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> oracle.jdbc.driver.OracleDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 2sbg59989iov58i603pf|5b2b6037, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:oracle:thin:@10.11.10.55:1521:orcl, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
ISC: Configuring log4j from: file:/C:/Src/trust/standalone/src/main/resources/log4j.isc.config.xml
=== 2015-03-16 12:19:04,207 [main] INFO  ConfigLoader - Attempting to load framework.properties from CLASSPATH
=== 2015-03-16 12:19:04,347 [main] INFO  ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/C:/Development/Maven/repository/com/isomorphic/isomorphic-core-rpc/4.1.1/isomorphic-core-rpc-4.1.1.jar!/framework.properties
=== 2015-03-16 12:19:04,347 [main] INFO  ConfigLoader - Attempting to load project.properties from CLASSPATH
=== 2015-03-16 12:19:04,347 [main] INFO  ConfigLoader - Unable to locate project.properties in CLASSPATH
=== 2015-03-16 12:19:04,357 [main] INFO  ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/C:/Development/Maven/repository/com/isomorphic/isomorphic-core-rpc/4.1.1/isomorphic-core-rpc-4.1.1.jar!/isc_interfaces.properties
=== 2015-03-16 12:19:04,357 [main] INFO  ConfigLoader - Attempting to load server.properties from CLASSPATH
=== 2015-03-16 12:19:04,357 [main] INFO  ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/C:/Src/cdb/core/target/classes/server.properties
=== 2015-03-16 12:19:05,097 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
=== 2015-03-16 12:19:05,097 [main] INFO  Logger - Logging system started.
=== 2015-03-16 12:19:05,107 [main] INFO  ISCInit - No ServletContext available yet - using container IO for now
=== 2015-03-16 12:19:05,107 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework (v9.1p_2014-08-11/PowerEdition Deployment 2014-08-11) - Initialization Complete
Problem loading builtinTypes.xml
Exception when loading from __USE_CONTAINER__/application/sc/system/schema/builtinTypes.xml:
java.io.IOException: Configured for containerIO, but servletContext not available!  You need to install the Init servlet
        at com.isomorphic.io.ISCFile.<init>(ISCFile.java:163)
        at com.isomorphic.xml.XML.getXMLDocument(XML.java:286)
        at com.isomorphic.xml.XML.toDSRecords(XML.java:294)
        at com.isomorphic.xml.XML.toDSRecords(XML.java:298)
        at com.isomorphic.xml.XML.toDSRecords(XML.java:301)
        at com.isomorphic.datasource.DataSource.<clinit>(DataSource.java:674)
        at com.isomorphic.datasource.DSRequest.getCriteria(DSRequest.java:934)
        at com.isomorphic.datasource.DSRequest.getCriteria(DSRequest.java:927)
        at com.isomorphic.datasource.DSRequest.setCriteriaValue(DSRequest.java:2111)
        at com.fircosoft.cdb.server.preference.PreferencesImpl.getPreferences(PreferencesImpl.java:76)
        at com.fircosoft.cdb.server.preference.PreferencesImpl.getPreference(PreferencesImpl.java:50)
        at com.fircosoft.cdb.server.preference.PreferencesImpl.getPreference(PreferencesImpl.java:34)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58)
        at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:211)
        at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy25.getPreference(Unknown Source)
        at com.fircosoft.cdb.server.search.SearchRepository.loadProxies(SearchRepository.java:112)
        at com.fircosoft.cdb.server.search.SearchRepository.load(SearchRepository.java:99)
        at com.fircosoft.cdb.server.search.SearchRepository.<init>(SearchRepository.java:38)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1077)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:981)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
        at com.fircosoft.cdb.server.service.ServiceLocator.init(ServiceLocator.java:40)
        at com.fircosoft.cdb.server.StandaloneNode.init(StandaloneNode.java:71)
        at com.fircosoft.cdb.server.StandaloneNode.main(StandaloneNode.java:81)

=== 2015-03-16 12:19:05,227 [main] INFO  PoolManager - SmartClient pooling started for 'sys_configuration' objects
=== 2015-03-16 12:19:05,237 [main] INFO  RepoRegistry - RepoRegistry unavailable: can't find RepoRegistry.ds.xml - using datasources.repo.default
=== 2015-03-16 12:19:05,237 [main] ERROR com.fircosoft.cdb.server.preference.Preferences -
java.io.IOException: Configured for containerIO, but servletContext not available!  You need to install the Init servlet
        at com.isomorphic.io.ISCFile.<init>(ISCFile.java:163)
        at com.isomorphic.store.DataStructCache.XMLOrJSFile(DataStructCache.java:294)
        at com.isomorphic.store.DataStructCache._getInstanceFile(DataStructCache.java:250)
        at com.isomorphic.store.DataStructCache.getInstanceFile(DataStructCache.java:196)
        at com.isomorphic.datasource.FileSystemDSRepo.loadDS(FileSystemDSRepo.java:63)
        at com.isomorphic.datasource.DataSource.forName(DataSource.java:230)
        at com.isomorphic.datasource.DataSource.forName(DataSource.java:222)
        at com.isomorphic.datasource.DataSource.forName(DataSource.java:211)
        at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject(PoolableDataSourceFactory.java:130)
        at com.isomorphic.datasource.PoolableDataSourceFactory.makeObject(PoolableDataSourceFactory.java:138)
        at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1179)
        at com.isomorphic.pool.ISCKeyedObjectPool.borrowObject(ISCKeyedObjectPool.java:106)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:84)
        at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:135)
        at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:86)
        at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:82)
        at com.isomorphic.datasource.DataSourceManager.get(DataSourceManager.java:167)
        at com.fircosoft.cdb.server.preference.PreferencesImpl.getPreferences(PreferencesImpl.java:84)
        at com.fircosoft.cdb.server.preference.PreferencesImpl.getPreference(PreferencesImpl.java:50)
        at com.fircosoft.cdb.server.preference.PreferencesImpl.getPreference(PreferencesImpl.java:34)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58)
        at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:211)
        at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy25.getPreference(Unknown Source)
        at com.fircosoft.cdb.server.search.SearchRepository.loadProxies(SearchRepository.java:112)
        at com.fircosoft.cdb.server.search.SearchRepository.load(SearchRepository.java:99)
        at com.fircosoft.cdb.server.search.SearchRepository.<init>(SearchRepository.java:38)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1077)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:981)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
        at com.fircosoft.cdb.server.service.ServiceLocator.init(ServiceLocator.java:40)
        at com.fircosoft.cdb.server.StandaloneNode.init(StandaloneNode.java:71)
        at com.fircosoft.cdb.server.StandaloneNode.main(StandaloneNode.java:81)
=== 2015-03-16 12:19:05,237 [main] WARN  DSRequest - freeAllResources() called for a DSRequest that has not yet started processing - ignoring
=== 2015-03-16 12:19:05,248 [main] ERROR com.fircosoft.cdb.server.search.SearchRepository - Could not create an instance of com.fircosoft.cdb.server.DataSourceSearchConnector. Error : Configured for containerIO, but servletContext not available!  You need to install the Init servlet
=== 2015-03-16 12:19:05,248 [main] ERROR com.fircosoft.cdb.server.search.SearchRepository - Could not create an instance of com.fircosoft.cdb.server.DataSourceSearchConnector. Error : Configured for containerIO, but servletContext not available!  You need to install the Init servlet
=== 2015-03-16 12:19:05,248 [main] ERROR com.fircosoft.cdb.server.search.SearchRepository - Could not create an instance of com.fircosoft.cdb.server.DataSourceSearchConnector. Error : Configured for containerIO, but servletContext not available!  You need to install the Init servlet
=== 2015-03-16 12:19:05,248 [main] ERROR com.fircosoft.cdb.server.search.SearchRepository - Could not create an instance of com.fircosoft.cdb.trust.server.search.RelationshipConnector. Error : Configured for containerIO, but servletContext not available!  You need to install the Init servlet
=== 2015-03-16 12:19:05,248 [main] ERROR com.fircosoft.cdb.server.search.SearchRepository - Could not create an instance of com.fircosoft.cdb.server.DataSourceSearchConnector. Error : Configured for containerIO, but servletContext not available!  You need to install the Init servlet
=== 2015-03-16 12:19:05,248 [main] ERROR com.fircosoft.cdb.server.search.SearchRepository - Could not create an instance of com.fircosoft.cdb.server.DataSourceSearchConnector. Error : Configured for containerIO, but servletContext not available!  You need to install the Init servlet

Of course, I've read about this kind of problem on this forum and on the Quick start guide's installation part but didn't find the clues to resolve mine.
In the server.properties, I've specified the webRoot to the path where the war is deployed and the isomorphicPathRootRelative.

It seems like if I've forgotten to do something...

Thanks a lot in advance !

Can't make work ViewFileItem with datasource imageFile field having base64 String

$
0
0
I have a datasource with an imageFile type field (and the name is also imageFile by the way) :

Code:

<field name="imageFile" emptyDisplayValue="Image file not found" title="Image file" type="imageFile" required="true" />
On the server side, the file is read as byte[], encoded into Base64 String and correct headers are added.
Example of String I get representing image binary :

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4..."

On the client side, first I display this image as a field of a ListGrid :

Code:

// Image File
final ListGridField imageGridField = new ListGridField("imageFile", CatvMessages._instance.imageFile());
imageGridField.setType(ListGridFieldType.IMAGE);
imageGridField.setShowFileInline(true);

The ListGridField is added to ListGrid and everything works fine.
The grid displays the image.

Now when I edit one record of the grid, I have a DynamicForm to displays all databind values.

And I can't make a ViewFileItem display the Image and I don't know why, please help me.

I declare the ViewFileItem :

Code:

ViewFileItem viewFileItem = new ViewFileItem("imageFile", CatvMessages._instance.imageFile());
viewFileItem.setShowFileInline(true);

I declare the datasource to the DynamicForm and add the ViewFileItem (and others databind FormItems) to the DynamicForm

Code:

mainForm.setDataSource(dsImage);
mainForm.setItems(..., viewFileItem);

What I am missing ?

Server-side gruping

$
0
0
I'm new to SmartGWT. I want to implement ListGrid with serverside gruping. I'm using version 5.1.

So far i managed to implement custom data source which feeds the grid with data but grouping is done on client only. Grid asks server for data but does grouping on his own.

What do i have to do to make Grid ask for grouping on the serverside?

TreeGrid: node stays in the tree after removal

$
0
0
I have a databound TreeGrid and I can't get the remove operation working correctly.

The effect is that when clicking on the removal icon, the datasource sends a deletion request to the server, the server deletes the record, and the deleted record disappears from the TreeGrid. But then immediately re-appears on the bottom of the Tree, un-parented (if it had a parent). The node has been successfully deleted.

The ResultTree:
Code:

    final ResultTree resultTree = new ResultTree();
    resultTree.setDefaultNewNodesToRoot(true);
    resultTree.setLoadDataOnDemand(true);
    resultTree.setModelType(TreeModelType.PARENT);
    resultTree.setUpdateCacheFromRequest(true);
    resultTree.setDataSource(TransportItemsDS.getInstance(batchBk, incomingBatch));
    resultTree.setIdField("businessKey");
    resultTree.setParentIdField(parentIdField);
    return resultTree;

The TreeGrid:
Code:

    final TreeGrid treeGrd = new TreeGrid();
    treeGrd.setAlwaysShowOpener(true);
    treeGrd.setCanRemoveRecords(true);
    treeGrd.setWarnOnRemoval(true);
    treeGrd.setCanEdit(true);
    treeGrd.setEditEvent(ListGridEditEvent.DOUBLECLICK);
    treeGrd.setNodeIcon("icons/16/item.png");
    treeGrd.setFolderIcon("icons/16/item.png");
    treeGrd.setShowOpenIcons(false);
    treeGrd.setShowDropIcons(false);
    treeGrd.setClosedIconSuffix("");
    treeGrd.setData(parenTree);
    treeGrd.setClosedIconSuffix("");
    treeGrd.addEditorExitHandler(new EditorExitHandler() {

      @Override
      public void onEditorExit(EditorExitEvent event) {
        if (event.getColNum() == treeGrd.getFieldNum("businessKey")) {
          locallySavedBusinessKey = (String) event.getNewValue();
        }
      }
    });
    treeGrd.addRemoveRecordClickHandler(new RemoveRecordClickHandler() {

      @Override
      public void onRemoveRecordClick(RemoveRecordClickEvent event) {
        TreeNode treeNode = treeGrd.getRecord(event.getRowNum());
        if (treeNode != null) {
          locallySavedBusinessKey = treeNode.getAttribute("businessKey");
        }
      }
    });
    treeGrd.setContextMenu(buildContextMenu());

    TreeGridField idField = new TreeGridField("id", constants.id());
    idField.setCanEdit(false);
    TreeGridField businessKeyField = new TreeGridField("businessKey", constants.customerDefinedId());
    TreeGridField typeField = new TreeGridField("type", constants.type());
    TreeGridField categoryField = new TreeGridField("category", constants.category());
    TreeGridField incomingContainerField = new TreeGridField("incomingContainer", constants.incomingContainer());
    TreeGridField outgoingContainerField = new TreeGridField("outgoingContainer", constants.outgoingContainer());
    TreeGridField originField = new TreeGridField("origin", constants.origin());
    TreeGridField destinationField = new TreeGridField("destination", constants.destination());
    TreeGridField productCodeField = new TreeGridField("productCode", constants.product());
    TreeGridField lengthField = new TreeGridField("length", constants.length());
    TreeGridField widthField = new TreeGridField("width", constants.width());
    TreeGridField heightField = new TreeGridField("height", constants.height());
    TreeGridField weightField = new TreeGridField("weight", constants.weight());
    TreeGridField volumeField = new TreeGridField("volume", constants.volume());
    TreeGridField latestHandlingTimeField = new TreeGridField("latestHandlingTime", constants.latestHandlingTime());
    latestHandlingTimeField.setCanEdit(false);
    treeGrd.setFields(idField, businessKeyField, typeField, categoryField,
            incomingContainerField, outgoingContainerField, originField, destinationField, productCodeField, lengthField, widthField,
            heightField, weightField, volumeField, latestHandlingTimeField);
    return treeGrd;

Server response:
Code:


  "response":{ 
      "status":0,
      "startRow":0,
      "endRow":0,
      "totalRows":0,
      "invalidateCache":false,
      "data":{ 
        "changeIdent":null,
        "id":921,
        "businessKey":"theNode",
        "type":null,
        "incomingContainer":null,
        "outgoingContainer":null,
        "destination":null,
        "origin":null,
        "productCode":null,
        "length":null,
        "width":null,
        "height":null,
        "volume":null,
        "weight":null,
        "category":null,
        "incomingBatchBusinessKey":"RD 1000_20150302_1114_Batch 2 FRA",
        "outgoingBatchBusinessKey":null,
        "latestHandlingTime":null
      }
  }
}

What am I missing?

SmartClient Version: v10.0p_2014-11-26/Pro Deployment (built 2014-11-26)

Firefox 36.0.1

Bug on RichTextEditor?

$
0
0
Hi,
I want to drag images from outside the browser to inside a richTextEditor, for instance, from another application or other navigator. In Chrome and IE the image is added ok. However, for Firefox the image is converted to a string of Asian chars (see atachments).

I am using smartgwt 3.1 but I have seen that showcase has same problem. It is a bug? In other case, how can I solve it? Or it is solved in Enterprise edition?

Thanks in advance

Attached Images
File Type: jpg DragImageFirefox.jpg (35.7 KB)
File Type: jpg DragImageChrome.jpg (36.3 KB)

Disable right-click context menu on HeaderSpan in smartGWT

$
0
0
I have couple of HeaderSpans on my ListGrid, when I right click each header span, it will bring up a context menu like the following: attached.

Is there a way to disable this behavior for HeaderSpan? I do not want this context menu to show up.

Attached Images
File Type: png header.png (18.3 KB)

PoolableSQLConnectionFactory - [...] Exception running pingTest

$
0
0
PROBLEM
We get these exceptions and then our app freezes upon loading data. We restart tomcat and then our apps are happy.

Please advise.

Be sure your post includes:

1. SNAPSHOT_v10.1d_2015-03-01/Enterprise Deployment 2015-03-01

2. server.properties
Code:

# Configuration for Mysql Connector/J
sql.Mysql.database.type: mysql
sql.Mysql.interface.type: driverManager
sql.Mysql.driver: com.mysql.jdbc.Driver
sql.Mysql.driverName: mysql
sql.Mysql.driver.url: jdbc:mysql://mysql1.fcm.net/fermat?user=adsf&password=asdf&zeroDateTimeBehavior=convertToNull&autoReconnect=true

3. JDBC and JDB server
- mysql-connector-java-5.1.30-bin.jar
- Server version: 5.6.15 MySQL Community Server (GPL)


4. Here is the log output:

Code:

=== 2015-03-16 00:53:35,477 [ec-1] INFO  SQLDataSource - [builtinApplication.author_fetch] derived query: SELECT $defaultSelectClause FROM $defaultTableClause WHERE $defaultWhereClause
=== 2015-03-16 00:53:35,477 [ec-1] INFO  SQLDataSource - [builtinApplication.author_fetch] derived query: SELECT $defaultSelectClause FROM $defaultTableClause WHERE $defaultWhereClause
=== 2015-03-16 00:53:35,477 [ec-1] INFO  SQLDataSource - [builtinApplication.author_fetch] 24: Executing SQL query on 'Mysql': SELECT author.id, author.code, author.name, id AS authorid, code AS authorcode FROM author WHERE
 (author.code='Anqi')
=== 2015-03-16 00:53:35,477 [ec-1] INFO  SQLDataSource - [builtinApplication.author_fetch] 24: Executing SQL query on 'Mysql': SELECT author.id, author.code, author.name, id AS authorid, code AS authorcode FROM author WHERE
 (author.code='Anqi')
=== 2015-03-16 00:53:35,477 [ec-1] WARN  PoolableSQLConnectionFactory - [builtinApplication.author_fetch] Exception running pingTest: The last packet successfully received from the server was 135,319,424 milliseconds ago. 
The last packet sent successfully to the server was 135,319,425 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before u
se in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
=== 2015-03-16 00:53:35,477 [ec-1] WARN  PoolableSQLConnectionFactory - [builtinApplication.author_fetch] Exception running pingTest: The last packet successfully received from the server was 135,319,424 milliseconds ago. 
The last packet sent successfully to the server was 135,319,425 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before u
se in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
=== 2015-03-16 00:53:35,478 [ec-1] ERROR ISCObjectPool - [builtinApplication.author_fetch] return of object already in pool - stack trace of previous return: java.lang.Exception
        at com.isomorphic.pool.ISCObjectPool.returnObject(ISCObjectPool.java:99)
        at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:87)
        at com.isomorphic.sql.SQLConnectionManager.free(SQLConnectionManager.java:306)
        at com.isomorphic.sql.SQLConnectionManager.free(SQLConnectionManager.java:281)
        at com.isomorphic.sql.SQLDriver.freeConnection(SQLDriver.java:409)
        at com.isomorphic.sql.SQLDriver.clearState(SQLDriver.java:1543)
        at com.isomorphic.sql.SQLDataSource.clearState(SQLDataSource.java:635)
        at com.isomorphic.datasource.BasicDataSource.freeQueueResources(BasicDataSource.java:3099)
        at com.isomorphic.datasource.DSRequest.freeQueueResources(DSRequest.java:4782)
        at com.isomorphic.datasource.DSRequest.freeQueueResources(DSRequest.java:128)
        at com.isomorphic.datasource.DSTransaction.freeQueueResources(DSTransaction.java:388)
        at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:1699)
        at com.isomorphic.rpc.RPCManager.send(RPCManager.java:690)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:180)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:140)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
        at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
 stack trace of this call:
java.lang.Exception
        at com.isomorphic.pool.ISCObjectPool.returnObject(ISCObjectPool.java:95)
        at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:87)
        at com.isomorphic.sql.PoolableSQLConnectionFactory.validateObject(PoolableSQLConnectionFactory.java:456)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:991)
        at com.isomorphic.pool.ISCObjectPool.borrowObject(ISCObjectPool.java:112)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:97)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:76)
        at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:173)
        at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:598)
        at com.isomorphic.sql.SQLDriver.executeQuery(SQLDriver.java:1040)
        at com.isomorphic.sql.SQLDataSource.executeNativeQuery(SQLDataSource.java:575)
        at com.isomorphic.sql.SQLDataSource.executeNativeQuery(SQLDataSource.java:569)
        at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1977)
        at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:450)
        at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:395)
        at com.isomorphic.datasource.DataSource.execute(DataSource.java:2132)
        at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:724)
        at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:650)
        at com.isomorphic.application.AppBase.execute(AppBase.java:491)
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2614)
        at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:215)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:180)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:140)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
        at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
=== 2015-03-16 00:53:35,478 [ec-1] ERROR ISCObjectPool - [builtinApplication.author_fetch] return of object already in pool - stack trace of previous return: java.lang.Exception
        at com.isomorphic.pool.ISCObjectPool.returnObject(ISCObjectPool.java:99)
        at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:87)
        at com.isomorphic.sql.SQLConnectionManager.free(SQLConnectionManager.java:306)
        at com.isomorphic.sql.SQLConnectionManager.free(SQLConnectionManager.java:281)
        at com.isomorphic.sql.SQLDriver.freeConnection(SQLDriver.java:409)
        at com.isomorphic.sql.SQLDriver.clearState(SQLDriver.java:1543)
        at com.isomorphic.sql.SQLDataSource.clearState(SQLDataSource.java:635)
        at com.isomorphic.datasource.BasicDataSource.freeQueueResources(BasicDataSource.java:3099)
        at com.isomorphic.datasource.DSRequest.freeQueueResources(DSRequest.java:4782)
        at com.isomorphic.datasource.DSRequest.freeQueueResources(DSRequest.java:128)
        at com.isomorphic.datasource.DSTransaction.freeQueueResources(DSTransaction.java:388)
        at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:1699)
        at com.isomorphic.rpc.RPCManager.send(RPCManager.java:690)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:180)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:140)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
        at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
 stack trace of this call:
java.lang.Exception
        at com.isomorphic.pool.ISCObjectPool.returnObject(ISCObjectPool.java:95)
        at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:87)
        at com.isomorphic.sql.PoolableSQLConnectionFactory.validateObject(PoolableSQLConnectionFactory.java:456)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:991)
        at com.isomorphic.pool.ISCObjectPool.borrowObject(ISCObjectPool.java:112)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:97)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:76)
        at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:173)
        at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:598)
        at com.isomorphic.sql.SQLDriver.executeQuery(SQLDriver.java:1040)
        at com.isomorphic.sql.SQLDataSource.executeNativeQuery(SQLDataSource.java:575)
        at com.isomorphic.sql.SQLDataSource.executeNativeQuery(SQLDataSource.java:569)
        at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1977)
        at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:450)
        at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:395)
        at com.isomorphic.datasource.DataSource.execute(DataSource.java:2132)
        at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:724)
        at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:650)
        at com.isomorphic.application.AppBase.execute(AppBase.java:491)
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2614)
        at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:215)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:180)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:140)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
        at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
=== 2015-03-16 00:53:35,715 [ec-1] ERROR ISCObjectPool - [builtinApplication.author_fetch] object was originally borrowed here:
java.lang.Exception
        at com.isomorphic.pool.ISCObjectPool.borrowObject(ISCObjectPool.java:114)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:97)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:76)
        at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:173)
        at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:598)
        at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:566)
        at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:559)
        at com.isomorphic.sql.SQLDriver.getScalarResult(SQLDriver.java:752)
        at com.isomorphic.sql.SQLDriver.executeScalar(SQLDriver.java:1047)
        at com.isomorphic.sql.SQLDataSource.runRowCountQuery(SQLDataSource.java:3027)
        at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:2423)
        at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1965)
        at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:450)
        at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:395)
        at com.isomorphic.datasource.DataSource.execute(DataSource.java:2132)
        at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:724)
        at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:650)
        at com.isomorphic.application.AppBase.execute(AppBase.java:491)
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2614)
        at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:215)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:180)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:140)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
        at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
=== 2015-03-16 00:53:35,715 [ec-1] ERROR ISCObjectPool - [builtinApplication.author_fetch] object was originally borrowed here:
java.lang.Exception
        at com.isomorphic.pool.ISCObjectPool.borrowObject(ISCObjectPool.java:114)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:97)
        at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:76)
        at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:173)
        at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:598)
        at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:566)
        at com.isomorphic.sql.SQLDriver.getTransformedResults(SQLDriver.java:559)
        at com.isomorphic.sql.SQLDriver.getScalarResult(SQLDriver.java:752)
        at com.isomorphic.sql.SQLDriver.executeScalar(SQLDriver.java:1047)
        at com.isomorphic.sql.SQLDataSource.runRowCountQuery(SQLDataSource.java:3027)
        at com.isomorphic.sql.SQLDataSource.executeWindowedSelect(SQLDataSource.java:2423)
        at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1965)
        at com.isomorphic.sql.SQLDataSource.processRequest(SQLDataSource.java:450)
        at com.isomorphic.sql.SQLDataSource.executeFetch(SQLDataSource.java:395)
        at com.isomorphic.datasource.DataSource.execute(DataSource.java:2132)
        at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:724)
        at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:650)
        at com.isomorphic.application.AppBase.execute(AppBase.java:491)
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2614)
        at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:215)
        at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:180)
        at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:140)
        at com.isomorphic.servlet.IDACall.doPost(IDACall.java:78)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
        at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
        at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
=== 2015-03-16 00:53:35,693 [ec-6] INFO  RequestContext - URL: '/BondEdit/bondedit/sc/IDACall', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18': Safari with Accept-Encoding header
=== 2015-03-16 00:53:35,693 [ec-6] INFO  RequestContext - URL: '/BondEdit/bondedit/sc/IDACall', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18': Safari with Accept-Encoding header
=== 2015-03-16 00:53:35,718 [ec-5] INFO  RequestContext - URL: '/BondEdit/bondedit/sc/skins/Enterprise/images/SectionHeader/opener_opened.png', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18': Safari with Accept-Encoding header
=== 2015-03-16 00:53:35,718 [ec-5] INFO  RequestContext - URL: '/BondEdit/bondedit/sc/skins/Enterprise/images/SectionHeader/opener_opened.png', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18': Safari with Accept-Encoding header
=== 2015-03-16 00:53:35,693 [ec-9] INFO  RequestContext - URL: '/BondEdit/bondedit/sc/skins/Enterprise/images/ToolStrip/separator.png', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18': Safari with Accept-Encoding header
=== 2015-03-16 00:53:35,693 [ec-9] INFO  RequestContext - URL: '/BondEdit/bondedit/sc/skins/Enterprise/images/ToolStrip/separator.png', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18': Safari with Accept-Encoding header


Adding empty spacing between columns in a ListGrid

$
0
0
I want to have some spacing in between the column Statuses and Users. This is current look:

http://i.stack.imgur.com/DzUiU.png

I want to add some spacing between to separate the 2 header spans Statuses and Users.

How can I achieve this with css? If not using CSS, would a good way to do this is add a new HeaderSpan between the two columns?

displayField not working correctly in my SelectItem dropdowns

$
0
0
Dropdowns in my applications are displaying their "valueField" data when the page loads, rather than the correct displayField data. If the user clicks on the dropdowns, it populates with the correct displayField text.

Also, there is output from dropdowns displaying in my Firebug console. The Firebug output stops if I comment out the "displayField" parameter of the dropdowns.

The attachments for this thread include screenshots of the error, and how the text should look, and the Firebug output.


Please help. Thanks!

==============

*SmartClient:
SmartClient Version: v10.0p_2015-02-13/LGPL Deployment (built 2015-02-13)

*Browser:
Firefox 36.0.1:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0

*Code snippet:

I can send a zip of the stripped-down application if needed, but the dropdowns look pretty standard to me. For example:

Code:

        this.billToCustomerInfoDForm = isc.DynamicForm.create({
            parent: this,
            name: "billToCustomerInfoDForm",
            validateForm: true,
            margin: 4,
            dataSource: isc.EASDataSources.CMR.customerBillTo,
            autoFetchData: false,
            colWidths: ["0%", "*"],
            itemHoverWidth: 300,
            fields: [
                {type: "header",
                    defaultValue: "Basic Customer Information",
                    align: "center"
                },
                {name: "CUSTOMER_GROUP",
                    title: "Customer Group",
                    titleStyle: "formTitleRequired",
//                    //isProtected: true,
                    tabIndex: 500,
                    prompt: "Customer Group",
                    editorType: "SelectItem",
                    autoFetchData: false,
                    width: 200,
                    wrapTitle: false,
                    optionDataSource: isc.EASDataSources.CMR.customerGroupsDS,
                    displayField: "CUSTOMER_GROUP_LBL",
                    valueField: "CUSTOMER_GROUP_VAL",
                    defaultValue: "999",
                    validators: [{type: "requiredIfFormValidates"}],
                    pickListWidth: 500,
                    pickListFields: [
                        {name: "CUSTOMER_GROUP_VAL", title: "ID", width: 30},
                        {name: "CUSTOMER_GROUP_LBL", title: "Name"}
                    ]
                },
            ]
        });


Attached Images
File Type: gif dropdown_fields_onload.gif (50.3 KB)
File Type: gif correct_dd_text.gif (33.5 KB)
File Type: gif firebug_dropdown_output.gif (58.5 KB)

ListGrid and aria-posinset

$
0
0
Dear Isomorphic team,

we have a short question, wether it is desired behaviour or a bug.

If we set ListGrid.setShowAllRecords(Boolean.TRUE), the generated HTML for a line in the grid looks like

<tr role="listitem">...</tr>

If I set ListGrid.setShowAllRecords(Boolean.FALSE) it looks like:

<tr role="listitem" aria-setsize="11" aria-posinset="1">...</tr>

I would like to have the aria-posinset attribute always available.

We use IE11, Firefox 36 and Chrome 41.

Our SmartGWT version is v10.0p_2015-02-18 PowerEdition

Best regards and thank you for your answer in advance

IE Clients fail on XHR when fetchData called to CORS server. Chrome, FF, Opera all OK

$
0
0
Summary: Internet Explorer either gives a popup or does nothing when making a XmlHttpRequest via SmartClient's datasource.fetchdata() if the server (CORS enabled) is on a different domain. It works flawlessly in other browsers.

SmartClient Version: v9.1p_2015-03-13/PowerEdition Deployment (built 2015-03-13)

Browsers that work:
Chrome Version: 41.0.2272.89 m on Windows 8.1 Pro x64
Chrome Version: 40.0.2214.109 on Android Lollipop
Firefox Version: 36.0.1
Opera version: 28.0.1750.40


Browser that does not work
Internet Explorer 11 Version: 11.0.9600.17.631 on Windows 8.1 Pro x64
Received Popup Stating "This page is accessing information that is not under its control. This poses a security risk. Do you want to continue?"
Internet Explorer 11 on Windows Phone 8.1
Receive popup "contacting server" message. (The call never actually makes it to the server) And the page looks like its broken


The Setup:

SmartClient enabled server deployed to an Amazon EC2 instance.
CORS Enabled: "Access-Control-Allow-Origin: *" returned in header
Extended BasicDatasource and overrided executeFetch.

Client uses static HTML and Javascript files deployed to Amazon S3 and used as a static web hosting

Here is a sample client script with CORS enabled on my server
Code:

<!DOCTYPE html>
<html>
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                <title>Smart Client Test</title>
       

                <script type="text/javascript" >var isomorphicDir="isomorphic/";</script>
                <script type="text/javascript" charset="UTF-8" src="isomorphic/system/modules/ISC_Core.js"></script>
                <script type="text/javascript" charset="UTF-8" src="isomorphic/system/modules/ISC_Foundation.js"></script>
                <script type="text/javascript" charset="UTF-8" src="isomorphic/system/modules/ISC_Containers.js"></script>
                        <script type="text/javascript" charset="UTF-8" src="isomorphic/system/modules/ISC_Grids.js"></script>
                <script type="text/javascript" charset="UTF-8" src="isomorphic/system/modules/ISC_DataBinding.js"></script>
                <script type="text/javascript" charset="UTF-8" src="isomorphic/skins/Mobile/load_skin.js"></script>
       
       
        </head>
        <body>
                <br><br><br>

                <button onclick="fetchData()">Fetch data from different server</button>
                <br><br>
                <div id="fetchedData"></div>

                <script>
       
                //Data source that will call cross origin server
                isc.DataSource.create({
                    ID:"webCategoryDataSource",
                    dataURL: "http://qa.juxappose.com/isomorphic/IDACall",
                    fields:[
                        {
                            title:"Category ID",
                            primaryKey:true,
                            name:"categoryId",
                            type:"text",
                            required:true
                        },
                        {
                            title:"Name",
                            name:"name",
                            type:"text",
                            required:true
                        },
                        ]
                });
               
                        //function that is used to fetch the data
                        fetchData = function(){
                               
                       
                                webCategoryDataSource.fetchData(null, function(dsResponse, data, dsRequest){
                       
                                        var list = "<ul>";
                                        for(var i = 0; i < data.length; i++)
                                                list += "<li>" + data[i].name + "</li>";
                                               
                                        list += "</ul>"
                                document.getElementById("fetchedData").innerHTML = list;
                        });
                       
                        }
        </script>
       
       
        </body>
</html>


And here is the callstack from IE Dev Tools.
Code:

isc_c_Comm_sendXmlHttpRequest [Line: 1103, Col: 1], ISC_Core.js
isc_c_RPCManager__sendQueue [Line: 1504, Col: 44], ISC_DataBinding.js
isc_c_RPCManager_sendQueue [Line: 1452, Col: 49], ISC_DataBinding.js
isc_c_RPCManager_sendRequest [Line: 1327, Col: 179], ISC_DataBinding.js
isc_DataSource_performSCServerOperation [Line: 2405, Col: 53], ISC_DataBinding.js
isc_DataSource_sendDSRequest [Line: 803, Col: 12], ISC_DataBinding.js
isc_DataSource_performDSOperation [Line: 777, Col: 50], ISC_DataBinding.js
isc_DataSource_fetchData [Line: 740, Col: 94], ISC_DataBinding.js
fetchData [Line: 52, Col: 5], test.html
onclick [Line: 21, Col: 20], test.html

Questions:
1. Is there something I can do to make sure that IE desktop does not get the popup?
2. Because there is no popup on IE on Windows Phone the server is never called so therefore the page is broken. Is there a way around this?

I have also attached a standalone test case.

Thanks in advance.
shatta_deya

Attached Files
File Type: html test.html (2.0 KB)

Timeline Criteria

$
0
0
Dear Isomorphic team,
we have some questions about the TimeLine object.

We setted the autoFetchData: false option. But we need to have this TimeLine bound to a dataSource. This is already done, the first data fetch is done manually with some advance criteria.

We even created a dateChanged function... but there is a way to block the auto fetch when datetime is changed (example with arrow) or at least to use every time a specific set of Criteria?

Sorry for my english...
Viewing all 4756 articles
Browse latest View live