Open GoogleCodeExporter opened 8 years ago
Is this consistently reproducible for you (must wait 5 minutes before
restarting
Persevere for it run again)? Does it appear to be specific to an OS/env, or do
you know
if there is a specific module that you have has triggered this behavior?
Original comment by kris...@gmail.com
on 19 Jun 2009 at 1:35
Yes, it is reproducible for me however the time is not constant. It looks like
start
up process is waiting for something. See attached another screenshot. In step
1st and
7th Persevere behaves as expected.
Original comment by daniel.s...@gmail.com
on 22 Jun 2009 at 11:35
Attachments:
So to be clear, it always starts up, but it seems to take a while to startup,
as though
it is waiting for something, like maybe a resource to get unlocked?
Original comment by kris...@gmail.com
on 26 Jun 2009 at 7:54
Yes, that's right.
Original comment by daniel.s...@gmail.com
on 29 Jun 2009 at 7:47
Hi Daniel, can you post the output of java -version? I personally don't
reccomend
the default version of java for much in Ubuntu and always remove it and install
Sun
java zwhich is in the universal repos IIRC.
Also have you tried running it via the persvr script?
Sean
Original comment by SeanlGar...@gmail.com
on 1 Jul 2009 at 7:30
Hi Sean,
java -version gives me an output:
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
I did another test against Persevere v1.0 beta 5. Just to confirm steps are as
follow:
- install Ubuntu 9.04 amd64 server (with default settings + OpenSSH)
- make sure there is no Java installed
- install Java Sun JDK or JRE
- install Persevere
- generate sample application
- start it up
- shutdown the server
- repeat two last steps a few times ...
The behaviour is exactly the same. Here is an output:
# === BEGIN ===================================================================
danstefan@ubuntu:/usr/local/persevere/myapps/helloworld$ ../../bin/persvr
2009-07-01 10:21:51.077::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2009-07-01 10:21:51.299::INFO: jetty-6.1.14
01-Jul-2009 10:23:37 org.persvr.remote.PersevereFilter init
INFO: Persevere v1.0 beta 5 Started
2009-07-01 10:23:37.917::INFO: Started SelectChannelConnector@0.0.0.0:8080
Type "help" at the console for more information
js>shutdown
01-Jul-2009 10:23:43 org.persvr.remote.PersevereFilter$1 run
INFO: Persevere shutting down
danstefan@ubuntu:/usr/local/persevere/myapps/helloworld$ ../../bin/persvr
2009-07-01 10:23:47.710::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2009-07-01 10:23:47.951::INFO: jetty-6.1.14
01-Jul-2009 10:28:27 org.persvr.remote.PersevereFilter init
INFO: Persevere v1.0 beta 5 Started
2009-07-01 10:28:27.929::INFO: Started SelectChannelConnector@0.0.0.0:8080
Type "help" at the console for more information
js>shutdown
01-Jul-2009 10:28:35 org.persvr.remote.PersevereFilter$1 run
INFO: Persevere shutting down
danstefan@ubuntu:/usr/local/persevere/myapps/helloworld$ ../../bin/persvr
2009-07-01 10:28:37.685::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2009-07-01 10:28:37.867::INFO: jetty-6.1.14
01-Jul-2009 10:32:52 org.persvr.remote.PersevereFilter init
INFO: Persevere v1.0 beta 5 Started
2009-07-01 10:32:52.899::INFO: Started SelectChannelConnector@0.0.0.0:8080
Type "help" at the console for more information
js>
# === END =====================================================================
Notice the start up time that can be calculated using lines ending with
"::INFO:
jetty-6.1.14" and " org.persvr.remote.PersevereFilter init".
Original comment by daniel.s...@gmail.com
on 1 Jul 2009 at 9:45
Can I be pedantic and ask you to paste the output of java -version again now
you've
installed the Sun version? I wonder if this could be an irregularity with
running it
through a VM?
Did you try running it via 'persvr' instead of starting it directly?
Sean
Original comment by SeanlGar...@gmail.com
on 2 Jul 2009 at 7:29
There is no jvm installed by default on Ubuntu 9.04 amd64 Server. To make sure I
tried to 'locate' and 'find' it. The above 'java -version' output is after
installing
java by 'sudo apt-get install sun-java6-jdk'. I have attached part of the
session log
that shows output during the installation.
I have tried both 'persvr' and 'java -jar start.jar'.
Regards,
Daniel
Original comment by daniel.s...@gmail.com
on 2 Jul 2009 at 8:47
Attachments:
Original issue reported on code.google.com by
daniel.s...@gmail.com
on 18 Jun 2009 at 4:27Attachments: