Play application can't start

47 views
Skip to first unread message

Azwar Akbar

unread,
Dec 10, 2010, 10:27:55 AM12/10/10
to play-fr...@googlegroups.com
Hi all..

I have a problem with my Play which is running on openSuse.
Yesterday, I can run my Play application 'Play run /opt/myApp'
but now I can't run it, sadly there is no error message displayed.

Anyone know why?

Just for info, last night I had try install virtual machine in my
Linux box and it was
failed. Can it effect to Play?

Thanks.

--


regards,
Azwar Akbar

GrailsDeveloper

unread,
Dec 10, 2010, 10:39:16 AM12/10/10
to play-framework
There should be always a message on linux if you call a command. In
this case Play cannot found. It must be play.
Please give more information. Version and the output. You can
furthermore check python -V
It should answer 2.5. or higher.

Niels

Azwar Akbar

unread,
Dec 10, 2010, 10:47:23 AM12/10/10
to play-fr...@googlegroups.com
This is the output of my Play:

/***********Start Konsole*************/

linux-gemo:/home/azwar-suse # play run /opt/yabe/
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! 1.1, http://www.playframework.org
~
~ Ctrl+C to stop
~

/***********End*************/


there is no more messages displayed, last line of message is only:
Ctrl+C to stop

Yesterday my Play application was running, there is no problem, just
works normal.

My Python version is 2.6.2

> --
> 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.
>
>

--

regards,
Azwar Akbar

GrailsDeveloper

unread,
Dec 10, 2010, 11:57:26 AM12/10/10
to play-framework
Thanks for the information. Can you try if this only affected you
application? For example
play run <path to play>/samples-and-tests/yabe

Niels

On 10 Dez., 16:47, Azwar Akbar <az...@crystalbamboo.com> wrote:
> This is the output of my Play:
>
> /***********Start Konsole*************/
>
> linux-gemo:/home/azwar-suse # play run /opt/yabe/
> ~        _            _
> ~  _ __ | | __ _ _  _| |
> ~ | '_ \| |/ _' | || |_|
> ~ |  __/|_|\____|\__ (_)
> ~ |_|            |__/
> ~
> ~ play! 1.1,http://www.playframework.org
> > For more options, visit this group athttp://groups.google.com/group/play-framework?hl=en.
>
> --
>
> regards,
> Azwar Akbar

Azwar Akbar

unread,
Dec 10, 2010, 11:57:54 AM12/10/10
to play-fr...@googlegroups.com
Hi, I have been got an exception, this is my terminal screen:

linux-gemo:~ # play run /opt/yabe/


~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! 1.1, http://www.playframework.org
~
~ Ctrl+C to stop
~

Exception in JDWP back-end:
gnu.classpath.jdwp.transport.TransportException: java.io.EOFException


how can I fix this problem? because reinstall my Linux is bad idea.

--

regards,
Azwar Akbar

Azwar Akbar

unread,
Dec 10, 2010, 12:01:58 PM12/10/10
to play-fr...@googlegroups.com
Thanks for the response.

On Fri, Dec 10, 2010 at 11:57 PM, GrailsDeveloper
<openso...@googlemail.com> wrote:
> Thanks for the information. Can you try if this only affected you
> application? For example
> play run <path to play>/samples-and-tests/yabe
>


Btw no, this not only affected my application. I have also try to make
a new application and then I run it, but
the result is just same.

--

regards,
Azwar Akbar

GrailsDeveloper

unread,
Dec 10, 2010, 1:26:05 PM12/10/10
to play-framework
Can you try sun-jre or at least open-jre?
Niels

On 10 Dez., 18:01, Azwar Akbar <az...@crystalbamboo.com> wrote:
> Thanks for the response.
>
> On Fri, Dec 10, 2010 at 11:57 PM, GrailsDeveloper
>

Azwar Akbar

unread,
Dec 10, 2010, 9:15:55 PM12/10/10
to play-fr...@googlegroups.com
I'm using one of them when developing java application. Usually sun jdk.
Now I'm using sun jdk, I didn't change variable environment or my jdk version.

By looking at the exception, can you tell me what's going on?

> --
> 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.
>
>

--

regards,
Azwar Akbar

GrailsDeveloper

unread,
Dec 11, 2010, 3:07:57 AM12/11/10
to play-framework
Unfortunately I don't know. It could be that the port 8000 is blocked
by another application. What is wired is that
gnu.classpath.jdwp.transport.TransportException not part of my
classpath and gnu.classpath is another jre implementation.
Can you check java -version
and echo $JAVA_HOME

Niels
> > For more options, visit this group athttp://groups.google.com/group/play-framework?hl=en.
>
> --
>
> regards,
> Azwar Akbar

Guillaume Bort

unread,
Dec 11, 2010, 9:10:14 AM12/11/10
to play-fr...@googlegroups.com
Yes I think that gnu classpath is related to gcj. Gcj will not work with play.

--
Guillaume Bort, http://guillaume.bort.fr

For anything work-related, use g...@zenexity.fr; for everything else,
write guillau...@gmail.com

Azwar Akbar

unread,
Dec 11, 2010, 11:12:25 AM12/11/10
to play-fr...@googlegroups.com
Hi GrailsDeveloper and Guillaume Bort

Thanks for the info, your clue has solve my problem.
So the problem is, gcj had been installed without my attention when
I'm installing one program from repositories.
I have remove it, and then cleaning my Java setting variable
environment. Then rewrite it from scratch.
The problem still not solved. The Play exception said about JAVA_HOME setting.
I have set the path of JAVA_HOME several times, but still not work.
Paths that I have tried for JAVA_HOME are:
/opt/jdk1.6.0_22/bin/java
/opt/jdk1.6.0_22/bin/
/opt/jdk1.6.0_22/

But, then the problem was solved when I try to remove JAVA_HOME path setting.
I remove JAVA_HOME from variable environment setting, so I just using
PATH setting to point to my java folder.
then I start my play...
The result is, my application running normally.. :-)

-------------------------------------------------------------------------
linux-gemo:/home/azwar-suse # echo $JAVA_HOME

linux-gemo:/home/azwar-suse # play run /opt/yabe/
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~

~ play! 1.1, http://www.playframework.org


~
~ Ctrl+C to stop
~

Listening for transport dt_socket at address: 8000
22:44:32,995 INFO ~ Starting /opt/yabe
22:44:33,027 INFO ~ Module secure is available (/opt/play-1.1/modules/secure)
22:44:33,038 INFO ~ Module crud is available (/opt/play-1.1/modules/crud)
22:44:34,659 WARN ~ You're running Play! in DEV mode
22:44:34,968 INFO ~ Listening for HTTP on port 9000 (Waiting a first
request to start) ...
22:45:03,656 INFO ~ Connected to jdbc:hsqldb:mem:playembed
22:45:07,000 INFO ~ Application 'Yet Another Blog Engine' is now started !
-------------------------------------------------------------------------

Your information give me inspiration, and solve my problem.
Thank you very much... :-)

--
Azwar Akbar

Reply all
Reply to author
Forward
0 new messages