Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Version 1.1a2 installation help

Help
2010-10-28
2013-05-28
  • Hi all,
    I downloaded and tried to install version 1.1a2 but I get an error during DB migration:

    Migration exception caught during migration
    java.lang.RuntimeException: Migration exception caught during migration
            at com.technoetic.xplanner.filters.XPlannerMigrationLauncher.contextInitialized(XPlannerMigr
    ationLauncher.java:70)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
            at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)
            at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
            at org.apache.catalina.core.StandardService.start(StandardService.java:516)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: com.tacitknowledge.util.migration.MigrationException: SqlException during migration
            at com.tacitknowledge.util.migration.jdbc.JdbcMigrationLauncher.doMigrations(JdbcMigrationLa
    uncher.java:112)
            at com.technoetic.xplanner.filters.XPlannerMigrationLauncher.contextInitialized(XPlannerMigr
    ationLauncher.java:67)
            … 24 more
    Caused by: java.sql.SQLException: No database selected
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
            at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1364)
            at com.tacitknowledge.util.migration.jdbc.PatchTable.createPatchesTableIfNeeded(PatchTable.j
    ava:120)
            at com.tacitknowledge.util.migration.jdbc.PatchTable.getPatchLevel(PatchTable.java:138)
            at com.tacitknowledge.util.migration.jdbc.JdbcMigrationLauncher.doMigrations(JdbcMigrationLa
    uncher.java:261)
            at com.tacitknowledge.util.migration.jdbc.JdbcMigrationLauncher.doMigrations(JdbcMigrationLa
    uncher.java:108)
            … 25 more

    It says there is database selected but my xplanner-custom.properties seems to be right.

    Is there any way to disable migration?
    I tried to comment the following lines in the file xplanner.properties but obtaining exceptions because they miss ;) :
    xplanner.migration.databasetype=mysql
    xplanner.migration.patchpath=patches:com.technoetic.xplanner.upgrade:com.technoetic.xplanner.security.install

    Thanks in advance.