cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED]Tomcat freezes during Workflows

norgan
Champ in-the-making
Champ in-the-making
Hi there,
I just observe a phenomenon, I could not figure out yet. I am currently developing a rather complex workflow. When things go less than perfect, the Webpage seems to freeze. I either run into a timeout or I change to the tomcat console and hit ENTER or CTRL-C - and the webpage execution resumes.

has anybody else seen this and can explain, where that comes from (and how I made this happen ?)

Regards, Norgan

(Tomcat + Alfresoc Bundle v3.2 Download + myssql DB + Java 1.6.0_14 JRE)
6 REPLIES 6

mrogers
Star Contributor
Star Contributor
How strange Smiley Surprised

First things first,  are you trying to read input from the standard input stream in your workflow?

I also wondered whether you are suspending your console log with an XOFF character (Ctrl S).

norgan
Champ in-the-making
Champ in-the-making
No, I am not reading anything from console (that I know of). I do not use java or javascript at all, currently, except for logger.log ().

and the ctrl-s should not be happening, since I am using the browser and then at some point, the workflow freezes, e.g. when I forget to assign an actor to a swimlane and the transiton sends me into that pit.

norgan
Champ in-the-making
Champ in-the-making
Another example,
importing my model failed because I had <default>gr&uuml;n</default> in there instead of grün. After that, I had to press CTRL-C multiple times until tomcat started to shut down. I guess that is the same situation, except nothing is running anyway Smiley Happy

norgan
Champ in-the-making
Champ in-the-making
And another one : )

* Clean alfresco (no deployed models, workflows etc, done by jpotts "build.xml clean-tomcat")
* upload model to datadictionary/models & activate
* error message tells me something is wrong
* system wont react anymore
* switching to tomcat console, the system hangs here

at java.lang.Thread.run(Thread.java:619)
Caused by: org.jibx.runtime.JiBXException: Expected "{http://www.alfresco.org/model/dictionary/1.0}constraints" end tag, found "{http://www.alfresco.org/model/dictionary/1.0}contraint" start tag (line 399, col 40)
   at org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(UnmarshallingContext.java:800)
   at org.alfresco.repo.dictionary.M2Property.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2binding_unmarshal_1_0(M2Property.java)
   at org.alfresco.repo.dictionary.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2bindingM2Property_access.unmarshal()
   at org.alfresco.repo.dictionary.JiBX_MungeAdapter.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2binding_unmarshal_1_10()
   at org.alfresco.repo.dictionary.M2Class.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2binding_unmarshal_1_1(M2Class.java)
   at org.alfresco.repo.dictionary.M2Aspect.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2binding_unmarshal_2_0(M2Aspect.java)
   at org.alfresco.repo.dictionary.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2bindingM2Aspect_access.unmarshal()
   at org.alfresco.repo.dictionary.JiBX_MungeAdapter.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2binding_unmarshal_1_5()
   at org.alfresco.repo.dictionary.M2Model.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2binding_unmarshal_1_0(M2Model.java)
   at org.alfresco.repo.dictionary.JiBX_root_projects_repository_source_java_org_alfresco_repo_dictionary_m2bindingM2Model_access.unmarshal()
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2773)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2916)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:94)
   … 62 more
03:08:27,425 DEBUG [org.alfresco.web.ui.repo.component.property.UIPropertySheet] Put node into session with key 'editContentProps': Node Type: {http://www.alfresco.org/model/content/1.0}dictionaryModel
Node Properties: {{http://www.alfresco.org/model/content/1.0}creator=admin, {http://www.alfresco.org/model/content/1.0}author=, {http://www.alfresco.org/model/content/1.0}mimetype=text/xml, {http://www.alfresco.org/model/system/1.0}store-protocol=workspace, {http://www.alfresco.org/model/application/1.0}editInline=true, {http://www.alfresco.org/model/content/1.0}content=contentUrl=store://2009/10/1/3/8/a8c9b321-0208-494..., {http://www.alfresco.org/model/content/1.0}title=chk-Model.xml, {http://www.alfresco.org/model/content/1.0}modelActive=true, {http://www.alfresco.org/model/system/1.0}node-uuid=e4030ae2-29ed-4803-aa8e-20040d7444b7, {http://www.alfresco.org/model/content/1.0}modifier=admin, {http://www.alfresco.org/model/content/1.0}name=chk-Model.xml, {http://www.alfresco.org/model/content/1.0}modified=Thu Oct 01 03:08:21 CEST 2009, {http://www.alfresco.org/model/system/1.0}store-identifier=SpacesStore, {http://www.alfresco.org/model/content/1.0}created=Thu Oct 01 03:08:20 CEST 2009, {http://www.alfresco.org/model/system/1.0}node-dbid=802, {http://www.alfresco.org/model/content/1.0}encoding=UTF-8, {http://www.alfresco.org/model/content/1.0}description=}
Node Aspects: [{http://www.alfresco.org/model/content/1.0}auditable, {http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/content/1.0}titled, {http://www.alfresco.org/model/content/1.0}author, {http://www.alfresco.org/model/application/1.0}inlineeditable]

After hitting ENTER, the screen swooshes on, starting with
03:09:44,305 DEBUG [org.alfresco.web.ui.repo.component.property.UIPropertySheet] Configuring property sheet using ConfigService

(I am not positiv, might be a line earlier, sounds logical)

😄

norgan
Champ in-the-making
Champ in-the-making
Guess what , I got a new one Smiley Happy After hitting cancel, the details screen was displayed all right, But when I wanted to contintue, the session in firefox was gone and I cant get a reply anymore there. Just a "connection was reset by server" message. In another browser window (IE7), I can still work Smiley Happy

norgan
Champ in-the-making
Champ in-the-making
AARRRGHHHH ……


(translation by a more stable mind : MRogers, you are right - its the scroll wheel on my mouse, scrolling the tomcat console window and suspending console output (and tomcat) with that Smiley Happy )