users@glassfish.java.net

Re: Starting Batch Jobs (JSR 352) on Glassfish 4.0 Open ...

From: Reza Rahman <reza.rahman_at_oracle.com>
Date: Tue, 24 Dec 2013 09:50:00 -0500

Thanks for debugging this!

Sent from my iPhone

> On Dec 24, 2013, at 1:30 AM, forums_at_java.net wrote:
>
> Dear Lord, After 5 days of the thorough investigating, debugging and what not
> I have finally found the cause of the problem. It turned out that when you
> have glassfish-web.xml descriptor in your application (I'm talking about web
> application) and in that descriptor there is a version-identifier element
> defined with whatever version number then, well, you have a problem - at
> least if you want to use the new batch API. I have no idea how this
> version-identifier affects running batch jobs (suspecting class loading
> issues), but it definitely does. To prove that I'm not making things up, I'm
> attaching the webserverlog sample from java ee 7 tutorial, but with
> glassfish-web.xml descriptor added - deploy it, launch it, start batch job
> and see for yourselves that it hangs in the STARTING status. I will open a
> new issue to address this problem, but only after Christmas. Happy holidays!
>
> --
>
> [Message sent by forum member 'jiggster']
>
> View Post: http://forums.java.net/node/900506
>
>
>
> <webserverlog.war_.pdf>