Ticket #842 (closed Bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Installing using a database not on localhost fails.

Reported by: svr Owned by: karel
Priority: Major Milestone: 2.5
Component: Installation Version: 2.4
Keywords: Cc:

Description

I'm trying to do a fresh install of daisy 2.4. The MySQL database runs on another server. I'm following the steps on the installation page of the docs so I'm using the install.properties file. I edited the file to my needs, but I got the impression that the script doesn't look at the "advanced database" values.

After a closer look, I discovered that on org.outerj.daisy.install.RepositoryServerInit?.java::335 a typePrefix gets built, but this gives "repo.mysql5" instead of the "repo.db.mysql5" at the generated install.properties file, so the value you give up there, never got read.

Also, the driverclasspath is still the one from a pre-maven2 daisy version which can give you a ClassNotFoundException? when you just uncomment the line and run the installation.

Change History

comment:1 Changed 2 years ago by karel

  • Status changed from new to closed
  • Resolution set to fixed

In [5831]:

Use the correct install property for accessig the database during installation.

Also added missing properties for the jms database & properly report db connection problems during installation.
fixes #842

Note: See TracTickets for help on using tickets.