This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

TC Server timeout when using AJP

Aug 15th, 2012, 11:59 AM

Hey guys, I'm working on a project in STS and when deploying it to a TC Server with AJP the server starts up but then timesout when the time out happens. It's happening on both my Windows and Linux laptop, but I don't see anyone else with the issues. Does anyone know why this is happening? I'd really like to be able to change JSPs without stopping and starting the server (and since eclipse still thinks the server is starting it hangs, even though it's started and works completely).

I tried to create a server instance with AJP included as well and it seems to get created correctly. I can start it without any timeouts... What templates did you select exactly?

And what happens when you create such an instance from the command line in the tc Server installation and start the server from there? (Not saying you should do that all the time, just trying to figure out where the problem might me...)

-Martin

Comment

Hey Martin,
Sorry about the late reply! Been dealing with other issues all week, just circling around to this.
The server says it starts but if you check eclipse it says it still is starting (even though the app is running fine) till the 120second timeout. What I might suggest for a real test is start it and go do something then come back and test it (unless you did that and it didn't time out). But I promise you it looks like it's fully functioning till you try to either change a jsp and it tries to publish it or you are testing something that takes more than 2 minutes.

I haven't tried from command line honestly, I'm going to check that out, but even if it works fine (my guess is it won't) I'll still have the problem in STS . It does this on multiple laptops with the latest version of STS so I'm assuming it's not just me but I

I will take a closer look at your steps and try to see if I can reproduce that.
The idea with the command line was more meant to identify the problem than to propose a workaround. Would just be good to see if the problem is related to the AJP or tc Server part or totally inside STS - as a step to investigate where the problem is.