Tuesday, February 28, 2017

eXist Exception


Ref: https://sourceforge.net/p/exist/mailman/message/26727507/

Quote
The XMLRPC server will cache query results for max. 3 minutes and free
them afterwards. This timeout is set to avoid memory issues if the
client fails to explicitly release query results. The timeout is not
configurable, but if you really need to extend it, you can change the
constant TIMEOUT in org.exist.xmlrpc.QueryResultCache.

Ref: http://exist-db.org/exist/apps/doc/devguide_xmldb.xml
Free resource
 if(res != null) {
                try { ((EXistResource)res).freeResources(); } catch(XMLDBExcepti
on xe) {xe.printStackTrace();}
            }
            
            if(col != null) {
                try { col.close(); } catch(XMLDBException xe) {xe.printStackTrac
e();}
            }
        }


org.xmldb.api.base.XMLDBException: Failed to invoke method retrieveFirstChunk in class org.exist.xmlrpc.RpcConnection: result set unknown or timed out: 220
at org.exist.xmldb.AbstractRemoteResource.getRemoteContentIntoLocalFile(AbstractRemoteResource.java:374)
at org.exist.xmldb.AbstractRemoteResource.getStreamContentInternal(AbstractRemoteResource.java:497)
at org.exist.xmldb.RemoteXMLResource.getStreamContent(RemoteXMLResource.java:466)
at org.exist.xmldb.RemoteXMLResource.getContentAsDOM(RemoteXMLResource.java:161)

Monday, February 20, 2017

Tomcat tunning

https://docs.oracle.com/cd/E40520_01/integrator.311/integrator_install/src/cli_ldi_server_config.html

https://javamaster.wordpress.com/2013/03/13/apache-tomcat-tuning-guide/

https://www.mulesoft.com/tcat/tomcat-configuration
http://www.tomcatexpert.com/blog/2011/11/22/performance-tuning-jvm-running-tomcat

Monday, February 13, 2017

Full webpage screenshots

Check out "Take Webpage Screenshots Entirely - FireShot": https://chrome.google.com/webstore/detail/take-webpage-screenshots/mcbpblocgmgfnpjjppndjkmgjaogfceg?utm_source=gmail

Tuesday, February 7, 2017

WSO IoT Server start up issue

wso2server.bat -Diot.analytics.host="localhost" -Diot.analytics.https.port="9445" -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Diot.gateway.http.port="8280"


http://stackoverflow.com/questions/41960899/wso2-iot-server-3-0-0-device-management-console-not-working

Open Source (some free and some not) MDM

https://github.com/micromdm/micromdm
https://github.com/multunus/onemdm-server
https://github.com/multunus/onemdm-client/blob/master/README.md

http://wso2.com/products/iot-server/

https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html
https://github.com/oddmouse/cordova-plugin-locktask

https://www.miradore.com/miradore-online-for-mobile-device-management/
https://www.codeproof.com/
https://meraki.cisco.com/products/systems-manager
https://www.apptec360.com/solutions/mobile-device-management/
https://www.hexnode.com/mobile-device-management/
https://dm.comodo.com/