quality@glassfish.java.net

Re: Unable to deploy a simple schedule B71 full profile

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Wed, 18 Nov 2009 22:49:59 -0800

Richard Kolb wrote:
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=11093
>
> 2009/11/18 Richard Kolb <rjdkolb_at_gmail.com <mailto:rjdkolb_at_gmail.com>>
>
> Hi Cats
>
> Can someone help me with a simple Schedule in maven or confirm
> this is a bug.
>
For me not a bug. The maven prj is a bit weird with extra not found
able com.jersey dep and the zip structure has the "." dir at the
top...Weird....
Also, this timer does not have the @Stateless statement.
If I copy paste this timer code in one of my non maven prj, and I add
@Stateless, I see the print every minute to the GF log file.

Ludo
>
>
> I put the schedule in a simple maven EJB.
> @Schedule(second="1", minute="*", hour="*", info="Automatic
> Timer Test")
> public void test_automatic_timer(Timer t) {
> logger.log(Level.WARNING,"Schedule");
> }
>
>
> Then I get :"Deployment Error for module: test: There is no
> installed container capable of handling this application
> com.sun.enterprise.deploy.shared.FileArchive_at_98ab04%%%EOL%%%" when
> I deploy.
>
> regards
> Richard.
>
>