Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure availability of Toolkit website #184

Closed
vaadin-bot opened this issue Feb 7, 2007 · 5 comments
Closed

Ensure availability of Toolkit website #184

vaadin-bot opened this issue Feb 7, 2007 · 5 comments

Comments

@vaadin-bot
Copy link
Collaborator

Originally by Jani Laakso


Add rudimentary tools to log

  • latency (between client-server)
  • resource (=memory) consumption
  • errors

Helps us to prevent situation where

  • website does DOS
  • demos throw errors

By adjusting hardware / JDK parameters.


Imported from https://dev.vaadin.com/ issue #325

@vaadin-bot
Copy link
Collaborator Author

Originally by Jani Laakso


Postponing milestone, release can be signoffed without this ticket.

@vaadin-bot
Copy link
Collaborator Author

Originally by Jani Laakso


Add

  • service that emails admins if index.html OR FeatureBrowser stops responding

@vaadin-bot
Copy link
Collaborator Author

Originally by Jani Laakso


Enhanced FeatureBrowser logging and system resource reporting.

  • memory resources are written to console
  • better error catching and reporting to console
  • minor navigation statistics added, logged to console

ISSUES

  • latency not resolved, should be inspected on Apache / Tomcat side
  • need to add "links" script that ensures FeatureBrowser answers
  • report to email if demo fails

@vaadin-bot
Copy link
Collaborator Author

Originally by Jani Laakso


Here's an example of statistics, error reporting (forced exception) and system status collection:

------------------ License Info -----------------------
License number: 1
Product: IT Mill Toolkit
Version: major version = 4
Use is limited to: Development and testing only, production use is forbidden
-------------------------------------------------------
timestamp=Wed Mar 14 16:34:28 EET 2007 free=39932480, total=56229888, max=504889344
[1173882496033] timestamp=[20070314 162817] userAgent=[Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy)]
[1173882496033] valueChange tree, /UI Components/Basic/Label
[1173882496033] buttonClick button, Show properties, true
[1173882496033] buttonClick button, Show properties, false
[1173882496033] valueChange tree, /UI Components/Basic/Link
[1173882496033] valueChange tree, /UI Components/Layouts/Ordered Layout
[1173882496033] valueChange tree, /UI Components/Layouts/Tab Sheet
[1173882496033] valueChange tree, /UI Components/Item Containers/Tree
[1173882496033] terminalError: java.lang.NullPointerException
java.lang.NullPointerException
	at com.itmill.toolkit.demo.features.FeatureTree.handleAction(FeatureTree.java:182)
	at com.itmill.toolkit.ui.Tree.changeVariables(Tree.java:293)
	at com.itmill.toolkit.terminal.web.AjaxVariableMap.handleVariables(AjaxVariableMap.java:575)
	at com.itmill.toolkit.terminal.web.AjaxApplicationManager.handleUidlRequest(AjaxApplicationManager.java:137)
	at com.itmill.toolkit.terminal.web.ApplicationServlet.service(ApplicationServlet.java:550)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:619)

@vaadin-bot
Copy link
Collaborator Author

Originally by Jani Laakso


Toolkit demo parts fixed, see #903

Legioth pushed a commit to Legioth/vaadin that referenced this issue Dec 10, 2016
Change-Id: I7dc98de04127c7495aed81b9e0cd2be8cb12b10c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant