after building roller with "mvn install" (successfully),
I wanted to start the demo with "mvn jetty:run-war"

When I call: http://localhost:8080/roller
I get: Error 503 SERVICE_UNAVAILABLE

Reason (in log file):
2010-12-15 15:48:06.139:WARN::Configuration problem at <resource-ref>|       
<res-ref-name>jdbc/rollerdb</res-ref-name>|       
<res-type>javax.sql.DataSource</res-type>|       
<res-auth>Container</res-auth>      |       
<mapped-name>jdbc/roller</mapped-name>|    </resource-ref>:
java.lang.IllegalStateException: Nothing to bind for name
javax.sql.DataSource/default
2010-12-15 15:48:06.139:WARN::Failed startup of context
org.mortbay.jetty.plugin.jetty6pluginwebappcont...@1370529{/roller,/home/ralf/Desktop/WORKSPACES/Workspace-DataZuul/apache-roller-project/weblogger-webapp/target/roller.war}
javax.servlet.UnavailableException: Configuration problem
        at
org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:299)

Seems that the database is not setup correctly?
-- 
View this message in context: 
http://old.nabble.com/trunk-mvn-jetty%3Arun-war-not-working-tp30465549s12275p30465549.html
Sent from the Roller - User mailing list archive at Nabble.com.

Reply via email to