Infinite loading running helloworld using play20 on Lion

56 views
Skip to first unread message

Valentin Jacquemin

unread,
May 24, 2012, 5:59:06 PM5/24/12
to play-framework
Hi,

I'm on a Mac Lion setup (10.7.4). I installed play using `brew install
play` (got play 2.0.1) and when I launch the helloworld sample app in
dev mode an inconvenient behavior occurs...

I launch the app in Chrome (http://localhost:9000) and I keep having
to reload each action I do 3-4 times so that it actually works.
Without relaunching the request, the app loads indefinitely.

When running the app in production mode (`play start`) the app runs as
expected.

Any idea?

$ java -version
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)

Pascal Voitot Dev

unread,
May 25, 2012, 2:37:41 AM5/25/12
to play-fr...@googlegroups.com
Did you try with a JDK 1.6 on Mac?

Pascal


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.


Valentin Jacquemin

unread,
May 25, 2012, 2:48:11 AM5/25/12
to play-framework
OH! I tried yesterday (too much into the night probably) to use jdk6
but always got a 404. Turned out I had to recompile the app with jdk6
and then run and everything is back to normal.

Thanks for the suggestion Pascal!

$ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3646)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

$ play clean
$ play compile
$ play run

On May 25, 8:37 am, Pascal Voitot Dev <pascal.voitot....@gmail.com>
wrote:
> Did you try with a JDK 1.6 on Mac?
>
> Pascal
>
> On Thu, May 24, 2012 at 11:59 PM, Valentin Jacquemin
> <jacquem...@gmail.com>wrote:

Pascal Voitot Dev

unread,
May 25, 2012, 2:49:56 AM5/25/12
to play-fr...@googlegroups.com
JDK7 on Mac is a bit young afaik ;)

peter hausel

unread,
May 25, 2012, 6:54:38 AM5/25/12
to play-fr...@googlegroups.com
Just an FYI, master(2.1-snapshot) is working fine with java 7 (2.0.1 had some problems). 
> > To post to this group, send email to play-framework@googlegroups.com.

> > To unsubscribe from this group, send email to

> > For more options, visit this group at
> >http://groups.google.com/group/play-framework?hl=en.

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-framework@googlegroups.com.
To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages