Found a solution.

The hanging occurred in three places that I saw. The websphere endpoint
enabler that runs on the finished ear file to let websphere "fix it up",
running tests and compiling. The last lines printed on the maven output show
that. (I used -X and it didn't show anything different.)

The solution, add a MAVEN_OPTS with some more memory.

FYI. I am running Maven 2.0.4. It also happened under 2.0.3. I am running
maven under Sun's jvm 1.5.0_06. I'm compiling to jdk 1.4.

Thanks.
-- Lee

On 4/12/06, Lee Meador <[EMAIL PROTECTED]> wrote:
>
> I changed the subject because I have more infomation.
>
> I took out my attempt to get cobertura to report and now, instead of
> hanging during the websphere task, it hangs after printing this:
>
> ------------------------------------------------------
>
>  T E S T S
> -------------------------------------------------------
>
> It's running tests on one of my topmost projects (according to
> dependencies and it just stops.
>
> The symptoms are as described in the previous email. One of the
> hyperthread pseudo-processors is pegged and shows 13 hours of procesor time.
> The build started about 15 hours ago when I left last night.
>
> Does anyone know what sort of thing might cause maven to hang this way
> during a build but only if a clean is done first or done at the same time.
>
> Thanks.
>
> -- Lee
>
> On 4/10/06, Lee Meador <[EMAIL PROTECTED]> wrote:
> >
> > I need some advice on where to look.
> >
> > First, this project has been building property from the command line,
> > from within eclipse and from continuum for some time. (several months) All
> > these builds are, however, on the same Windows XP machine.
> >
> > Second, I have been adding things, fixing bugs and so forth but the
> > changes have been minor lately.
> >
> > Third, the problem popped up sometime last week. If I was guessing, I
> > would guess Wednesday. As you read you will see how I didn't notice what was
> > happening for a while.
> >
> > The problem only happens when there is a clean. You can do mvn clean and
> > then mvn install or you can do mvn clean install. Either way, the problem
> > happens.
> >
> > The problem is that the Websphere endpoint enabler hangs. If I look in
> > the task manager, I can see it eating up the seconds. It takes almost all of
> > the processor time. I run it from an ant task called from my pom in the
> > package stage. The project is a ear projects. That's what the pom says. It
> > builds the ear file and then lets the websphere tool run on that ear to add
> > a war to the ear and fiddle with the xml files inside the ear.
> >
> > When it hangs in continuum, I can see the java task that it threw off.
> > It uses up about 160 meg and when I kill that task, continuum thinks the
> > build finished. At first I thought continuum was messing up but that isn't
> > the case since it will happen outside continuum, outside continuums build
> > directories.
> >
> > When it hangs from the command line, the DOS box is totally dead. ctrl-c
> > does nothing. Clicking the X on the window says you need to kill the task.
> >
> > One even funnier thing is that once I have killed the process that has
> > hung. If I go back in and do a mvn install, it works. It only fails right
> > after a mvn clean or as part of a mvn clean install.
> >
> > I doubt anyone has the answer for me. What I need are some suggestions
> > on where to look. As I said, the build isn't much different and suddenly it
> > hangs.
> >
> > What sorts of things might cause this?
> >
> > -- Lee Meador
> > Sent from gmail. My real email address is [EMAIL PROTECTED]
> >
>
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is [EMAIL PROTECTED]
>



--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

Reply via email to