How to resolve "timed out" error when creating the sample "Money that matters"?
Accepted answer
I've found it several months before, but sorry, I didn't put it here. I do it now for someone having the same trouble.
Workaround: Take a long time for "Team Server & Application Setup".
After jazz installation, I need "Team Server & Application Setup". Even if this setup seems to be done successfully, it might actually fails. To avoid this invisible failure, I need to setup "slowly". The tip is below.
(1) Before staring the setup, launch the Resource Monitor tool to check if Apache Derby process's disk access is active.
(2) Start the setup and select "Custom Setup".
(3) Click "Next" after Apache Derby's disk access has become completely inactive(zero). It takes a bit long time though. Do the same at all the setup wizard screens.
That's all.
I'm not sure but doubt there is 2-phase commit problem between Apache Derby and SQL Server. So I need to sync by myself waiting a enough time for Apache Derby to complete its transaction.
thank you.
Comments
I'd like to mark this accepted answer, but I couldn't.
I would assume you try this with a machine that is very slow or has too few resources e.g. RAM available. I have never seen this and I have never experienced this kind of problems.
I changes to:
-Xmx8g -Xms8g -Xmn2g
-Xgcpolicy:gencon -Xcompressedrefs
-Xgc:preferredHeapBase=0x100000000
-XX:MaxDirectMemorySize=2G
and still have the same error.
SystemOut:
WSVR0605W: Thread "WebContainer : 55 @@ 09:47 jtsadmin <jts.lpa.projects.new/Guardar@80cc8223-8d89-4c30-8cff-ea967826d242> /ccm/process/project-areas" (0000023c) has been active for 610642 milliseconds and may be hung. There is/are 1 thread(s) in total in the server that may be hung.
Finally was a problem with the domain controller of the company.
One other answer
Comments
Hi Ralph,
Go to the CCM Application, or any other application via the manage server URL's.
In the menu select Templates. Deploy the predefined templates.
$GM might not be enough as all applications have to share the memory.
I assume the empty template does not create any project areas in the other application, and this is where your problem lies.
I re-installed predefined templates by "ccm -> templates -> Deploy Predefined Templates". It was done without any erros. But, the situation didn't change. I always get "Read timed out" exception.
I maybe have found the root cause of the error.
I can confirm Ralph's answer. i was getting the same error and after deploying the templates, the sample project creation was successful. Could a check for the templates be included in the other prerequisite checking that is done to avoid this error?
Comments
Donald Nong
Apr 29 '15, 11:10 p.m.Have you tried to access /ccm, /qm and /rm separately and see if they are accessible? And can you create (empty) projects in each application?
Masanori Nakazato
Apr 30 '15, 12:08 a.m.Yes, I've tried /ccm, /qm and /rm directly typing the address bar on the web browser, and I could get each pages. But I have no menu to create projects in each application. If you mean "project area" by "project", yes I can create (empty) "project area" in each application.
Paulo Blanco
Jan 27 '17, 1:21 a.m.Anyone found the solution of this problem?
Thanks
Regards
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 06 '16, 10:00 a.m.There is an accepted answer and several workarounds are mentioned if one sees this. It is also more than 1 year old and thousands of users have been able to setup the sample since then. It is also unclear if you have the same problem.
Paulo Blanco
Oct 06 '16, 10:03 a.m.I try it all, and I don't have lucky. This solutions doesn't work for me.
Donald Nong
Oct 06 '16, 8:31 p.m.What do you mean "try it all"? The problem is most likely caused by an underpowered machine. What is the spec of your machine and how many CLM applications have you installed together on the machine?
Paulo Blanco
Oct 07 '16, 10:27 a.m.Hi, My Environment is :
DB2: 10.5fp8
WAS: 8.5.5fp10
JAZZ:6.0.2
I have installed all the application in One machine. I know that works, because one time it Worked. But now in other instalation fails.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 07 '16, 10:55 a.m.Since 6.0 there are so many new applications with huge RAM requirements. 8GB is not going to cut it, not if you install everything on this one box. Plus full WAS and the DB's.
My answer would be, you have over committed your server several times and should not expect any performance or proper functionality from it. You have way too few RAM to be able to run the application server, the databases and the applications on that small box. At least put the DB on a different box or add more memory.
Paulo Blanco
Oct 09 '16, 7:09 p.m.I updated to 16Gb and still have the same problem. Any Idea?
Donald Nong
Oct 09 '16, 7:09 p.m.After you added the RAM, did you increase the -Xmx value in the startup script to make use of the extra RAM?