[Dart] issues with dart2

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jun 29 02:33:17 EDT 2006


-------- Original-Nachricht --------
Datum: Wed, 28 Jun 2006 16:04:35 -0400
Von: "Blezek, Daniel J (GE, Research)" <blezek at crd.ge.com>
An: Alexander Neundorf <a.neundorf-work at gmx.net>, dart at public.kitware.com
Betreff: RE: [Dart] issues with dart2

> Alex,
> 
>   I don't know the exact cause of your problems, be we're trying to track
> down a resource exhaustion problem in Dart.  You may try to increase the
> memory that you allocate to Dart (Java really) through a -Xmx###M argument
> where ### is memory in megabytes.  We tend to be fairly liberal with our
> settings.  8M log files are likely to cause memory usage to go up a bit.
> 
> I haven't documented this yet, but you can google for the details of
> running jconsole in conjunction with Dart and Java 1.5.  Basically start your
> Dart like this:
> 
> java -Dcom.sun.management.jmxremote -Xmx300M -jar DartServer.jar ...
> 
> Then fire up jconsole ($JAVA_HOME/bin/jconsole).  If you are on the same
> local machine, you should be able to locally connect to Dart.  In the memory
> tab, you can see how the memory usage is doing.  If you see OutOfMemory
> errors in the log, that can be an indication that you might need to give Dart
> more memory.
> 
> Jim and I have recently been battling this error, but without giving it
> the time it deserves.  We hope to fix these issues soon.
> 
> -dan
> 
> -----Original Message-----
> From: dart-bounces+blezek=crd.ge.com at public.kitware.com
> [mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com]On Behalf Of
> Alexander Neundorf
> Sent: Wednesday, June 28, 2006 3:51 PM
> To: dart at public.kitware.com
> Subject: [Dart] issues with dart2
> 
> 
> Hi,
> 
> I'm having issues with our dart2 server, it doesn't work exactly reliably.
> 
> I'm still running 1.0.0.
> After a few days it still shows me the overviews over the projects, but
> then it takes a really long time until it displays the results of one
> project, and then usually instead of warnings and errors of the project there are
> error messages from dart.
> Should I post them here ?
> 
> Then I updated to 1.0.7.
> Since this day it didn't reliably display the results of all nightly
> builds not even for one day. They just don't appear.
> How can I find out more ?
> 
> Now I went back to 1.0.0.
> Works better again, but I see two issues now:
> when clicking on "Login or create account" I get an error 500 "cannot
> follow empty link" or something like this. I can check tomorrow at work
> for the exact words.

Ok, when trying to change to the login page I get:

HTTP ERROR: 500
Cannot pass a null connection
RequestURI=/ecos/User/UserLogin
Powered by Jetty://

Here's what the dart debug output says:

        Dart2Server: Failed to get connection
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted
        at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:103)
        at dart.server.Database.getConnection(Database.java:174)
        at dart.server.Container.getConnection(Container.java:157)
        at dart.server.task.MissingSubmissionTask.execute(MissingSubmissionTask.java:74)
        at dart.server.task.ScheduledTask.execute(ScheduledTask.java:36)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: java.util.NoSuchElementException: Could not create a validated object, cause: A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection.
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:806)
        at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95)
        ... 6 more
<29 Jun 2006 08:30:02,008> [SimpleThreadPoolWorker-1] ERROR dart.server.task.ScheduledTask
        Execution failed: slms:dart.server.task.MissingSubmissionTask:4
java.lang.IllegalArgumentException: Cannot pass a null connection
        at net.sourceforge.jaxor.db.SingleConnectionTransaction.<init>(SingleConnectionTransaction.java:23)
        at net.sourceforge.jaxor.JaxorContextImpl.<init>(JaxorContextImpl.java:29)
        at dart.server.task.MissingSubmissionTask.execute(MissingSubmissionTask.java:75)
        at dart.server.task.ScheduledTask.execute(ScheduledTask.java:36)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

Why is the databas read-only ?
Could it be file permissions ?
dart2 runs as wwwrun:www, and from a quick look all files belong to this user, but I didn't check all yet.

Any ideas ?

Thanks
Alex

-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


More information about the Dart mailing list