Comments (11)
What is the heap size (-Xmx argument)?
from selenograph.
Additional log
cat /var/log/grid-router/selenograph.log
2016-11-20 21:13:10,283 [main ] INFO ePropertyPlaceholderConfigurer - Loading properties file from URL [jar:file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/lib/camelot-mongodb-2.5.4.jar!/camelot-default.properties]
2016-11-20 21:13:10,287 [main ] INFO ePropertyPlaceholderConfigurer - Loading properties file from URL [jar:file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/lib/camelot-web-2.5.4-classes.jar!/camelot-default.properties]
2016-11-20 21:13:10,288 [main ] INFO ePropertyPlaceholderConfigurer - Loading properties file from URL [jar:file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/lib/selenograph-service-1.1.jar!/camelot-default.properties]
2016-11-20 21:13:10,288 [main ] INFO ePropertyPlaceholderConfigurer - Loading properties file from URL [jar:file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/lib/camelot-core-2.5.4.jar!/camelot-default.properties]
2016-11-20 21:13:10,288 [main ] INFO ePropertyPlaceholderConfigurer - Loading properties file from URL [file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/classes/selenograph-default.properties]
2016-11-20 21:13:10,288 [main ] INFO ePropertyPlaceholderConfigurer - Loading properties file from URL [file:/etc/grid-router/selenograph.properties]
2016-11-20 21:13:10,303 [main ] WARN XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'configRepository' defined in URL [jar:file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/lib/selenograph-service-1.1.jar!/camelot-extensions.xml]: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"
2016-11-20 21:13:10,311 [main ] ERROR ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'configRepository' defined in URL [jar:file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/lib/selenograph-service-1.1.jar!/camelot-extensions.xml]: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211)[spring-beans-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:222)[spring-beans-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at ru.yandex.qatools.camelot.spring.ListablePropertyPlaceholderConfigurer.processProperties(ListablePropertyPlaceholderConfigurer.java:54)[camelot-core-2.5.4.jar:]
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)[spring-beans-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166)[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:677)[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)[spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)[spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)[spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:835)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:530)[jetty-servlet-9.3.6.v20151106.jar:9.3.3.v20150827]
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:808)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:342)[jetty-servlet-9.3.6.v20151106.jar:9.3.3.v20150827]
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1368)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1335)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:772)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:259)[jetty-servlet-9.3.6.v20151106.jar:9.3.3.v20150827]
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:511)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.server.Server.start(Server.java:405)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.server.Server.doStart(Server.java:372)[jetty-server-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.3.3.v20150827.jar:9.3.3.v20150827]
at org.eclipse.jetty.runner.Runner.run(Runner.java:502)
at org.eclipse.jetty.runner.Runner.main(Runner.java:547)
=============== Full stacktrace follows: ===============
Caused by org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'configRepository' defined in URL [jar:file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/lib/selenograph-service-1.1.jar!/camelot-extensions.xml]: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}": Invalid bean definition with name 'configRepository' defined in URL [jar:file:/tmp/jetty-0.0.0.0-4444-selenograph-deb.war-_-any-5451890898274654621.dir/webapp/WEB-INF/lib/selenograph-service-1.1.jar!/camelot-extensions.xml]: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:222)
at ru.yandex.qatools.camelot.spring.ListablePropertyPlaceholderConfigurer.processProperties(ListablePropertyPlaceholderConfigurer.java:54)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:677)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:835)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:530)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:808)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:342)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1368)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1335)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:772)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:259)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:511)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:405)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:372)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.runner.Runner.run(Runner.java:502)
at org.eclipse.jetty.runner.Runner.main(Runner.java:547)
Caused by java.lang.IllegalArgumentException: Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}": Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:258)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanClassName(BeanDefinitionVisitor.java:101)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:78)
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:222)
at ru.yandex.qatools.camelot.spring.ListablePropertyPlaceholderConfigurer.processProperties(ListablePropertyPlaceholderConfigurer.java:54)
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:677)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:835)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:530)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:808)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:342)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1368)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1335)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:772)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:259)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:511)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:405)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:372)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.runner.Runner.run(Runner.java:502)
at org.eclipse.jetty.runner.Runner.main(Runner.java:547)
from selenograph.
the first logs is from 32 bit ubuntu (Mongodb 2.6.4 since 3.2 is not available for 32 bit i386 ) , jetty starts in 64 bit machine but I get this log in selenograph.log
from selenograph.
All these logs are useless if you don't specify correct heap size. In our installation we run Selenograph with -Xms512m -Xmx4G
.
from selenograph.
Could not resolve placeholder 'grid.router.quota.repository' in string value "${grid.router.quota.repository}"
Please use the following workaround. Add this line to /etc/grid-router/selenograph.properties
:
grid.router.quota.repository=ru.qatools.gridrouter.ConfigRepositoryXml
from selenograph.
@vania-pooh I've released newer version of gridrouter and selenograph. Could you please build and publish the respective debian packages of them?
from selenograph.
Thanks smecsia , it worked.
No I am running into in selenograph logs
Caused by com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]: Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused (Connection refused)}}]
from selenograph.
@smecsia done. Package will be available in 1 hour.
from selenograph.
@vania-pooh thanks a lot! 👍
@pranavv do you have the MongoDB instance listening at localhost:27017?
from selenograph.
@smecsia Yes i had, could n't get it running properly may since it was in an vm , pointed it to monogdb in another host , it works now
from selenograph.
it works now
Closing the issue.
from selenograph.
Related Issues (13)
- UI user filter HOT 1
- Quota bar is not update on none standard browser name HOT 2
- Enhancement: safe shutdown HOT 6
- Does is Support Native iOS & Android HOT 4
- Can't find a codec for class org.apache.camel.impl.DefaultExchangeHolder.: Can't find a codec for class org.apache.camel.impl.DefaultExchangeHolder HOT 1
- Session [null] not available and is not among the last 1000 terminated sessions
- How to initialize driver when using selenograph HOT 3
- Failed to init broadcaster: application context is probably not web application context HOT 4
- Problem installing HOT 11
- Remove split the browser name by dash "-" HOT 4
- Missing property "grid.router.quota.repository"
- Resolve node hostname/IP HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selenograph.