On Fri, 2009-01-02 at 07:29 -0700, Wendy Smoak wrote:
> On Thu, Jan 1, 2009 at 10:45 PM, Erwin Mueller <[email protected]> 
> wrote:
> > 2009-01-02 06:28:17,343 [http-8080-1] ERROR JPOX.RDBMS.Schema  - Failed
> > initialising database. Please check that your database JDBC driver is
> >  accessible, and the database URL and username/password are correct.
> > Exception : Cannot create PoolableConnectionFactory (Failed to create da
> > tabase '/path/to/database/users', see the next exception for details.)
> > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
> > PoolableConnectionFactory (Failed to create database
> > '/path/to/database/users',
> >  see the next exception for details.)
> 
> Is this verbatim?  If so, looks like you just need to replace
> "/path/to/database" with a valid path, somewhere the user running
> Tomcat/Archiva has permission to write to.  If not, still double check
> the permissions, because it's having trouble creating the database.
> 
> > Do I need to create a user  with username="sa" and no password? How do I
> > do this?
> 
> No, if you're using the embedded Derby, the ;create=true in the JDBC
> url will take care of it.
> 

Yes, I know, sorry for the stupid mistale. But it was around 6am and I
didn't slept the night because I needed to program some tool. Thank you
anyway.

Reply via email to