Hi!
This is exactly what i did
edited dashboard-builder-master/modules/dashboard-showcase/pom.xml like so
<db.url>jdbc:postgresql://localhost:5432/dashbuilder</db.url>
<db.user>myuser</db.user>
<db.password>mypwd</db.password>
created the DB and added privileges
CREATE DATABASE dashbuilder;
GRANT ALL PRIVILEGES ON DATABASE dashbuilder to myuser;
ran ./buildandrun.sh postgres
open localhost:8080/dashboard and connected to my database, and built a simple dashboard
Everything went smoth, then i closed the server and re-run it with ./run.sh postgres and got
16:07:20.299 [main] INFO o.j.d.w.GraphicElementManagerImpl - Starting org.jboss.dashboard.workspace.EnvelopesManagerImpl
16:07:20.308 [main] ERROR o.j.d.u.r.GraphicElement - No properties inside descriptor envelope.properties for item with id Default_Envelope
16:07:20.320 [main] INFO o.j.d.u.r.GraphicElement - Deploying files for org.jboss.dashboard.ui.resources.Envelope Default_Envelope
16:07:20.392 [main] INFO o.j.d.w.GraphicElementManagerImpl - Starting org.jboss.dashboard.workspace.LayoutsManagerImpl
16:07:20.406 [main] ERROR o.j.d.u.r.GraphicElement - No properties inside descriptor layout.properties for item with id Default_Layout
16:07:20.411 [main] ERROR o.j.d.e.ErrorManager - UNEXPECTED ERROR.
Error id='1452874040409'
Error date='15-01-2016 16:07'
java.lang.IllegalArgumentException: No valid xml descriptor in layout Default_Layout
The same happens if i just ./buildandrun.sh postgres, close the server and ./run.sh without editing the dashboard.
If i dropdatabase dashbuilder and create it again, it runs but now i lost my dashboard.
Seems like it cant read from the database.
Using postgresql 9.4.5-1 in archlinux
Need help to sort this out.
Thanks