Topic
  • 10 replies
  • Latest Post - ‏2017-08-04T13:20:38Z by joecook
joecook
joecook
13 Posts

Pinned topic Tririga Platform install 3.5.2 error

‏2017-07-06T14:24:42Z | 3.5.2 platform tririga upgrade

I was able to install the 3.5.2 platform on the server without issue

I start the service without issue

when I go to the browser to access Tririga i get an error message. the errors in the log file are as follows.

Error 1

2017-07-06 10:03:57,384 ERROR [com.tririga.web.servlet.SpringWebInitServlet](Default Executor-thread-3) ERROR BeansException initializing Spring Application Context
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeScripts' defined in class path resource [com/tririga/platform/spring/upgrade.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.tririga.platform.upgrade.UpgradeScripts]: Factory method 'doUpgrade' threw exception; nested exception is com.tririga.platform.error.PlatformRuntimeException: java.util.MissingResourceException: Resource not found: 'db/TRIRIGADB'. 

 

Error 2

2017-07-06 10:04:05,353 ERROR [com.tririga.platform.error.ErrorHandler](Default Executor-thread-15) Report handled exception: com.tririga.platform.error.PlatformRuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.tririga.platform.PlatformConstants[MID-2719713824]
com.tririga.platform.error.PlatformRuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.tririga.platform.PlatformConstants

 

Any help would be great. 

 

  • Casey Cantwell
    Casey Cantwell
    177 Posts
    ACCEPTED ANSWER

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-07T17:04:06Z  
    • joecook
    • ‏2017-07-07T11:21:13Z

    Tried to re-install and same thing

    this was a fresh install the first time.

    I was able to connect to the DB during the install steps.

    Could something be wrong in the DB? I have limited visibility into the DB, we have a DB team for that.

     

    Thanks

     

    Can you do the install again, but this time leave out the - and spaces?

     

    Install to   tririga352, not Tririga - 3.5.2.

     

    Tririga - 3.5.2\config\licenses

  • Casey Cantwell
    Casey Cantwell
    177 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-06T22:27:45Z  

    What Application server are you using?  

  • joecook
    joecook
    13 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-06T22:34:40Z  

    What Application server are you using?  

    Windows server 2012 R2 using the liberty profile. not set up as a windows service

  • Casey Cantwell
    Casey Cantwell
    177 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-06T22:42:12Z  
    • joecook
    • ‏2017-07-06T22:34:40Z

    Windows server 2012 R2 using the liberty profile. not set up as a windows service

    Can you post the contents of your ant.log to this post and the start up of your server.log  I'd like to review it.  

    Based on the exceptions and experience, I suspect the DB connection can't be made for some reason.

    Have you tried installing it a second time?  When you installed it the first time, did you pick an existing directory?  If you did pick an existing install directory to upgrade from, my recommendation is to run the install again and install Liberty clean.  In the install panels manually enter the DB again and verify the DB connection was successful.

  • joecook
    joecook
    13 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-07T11:12:25Z  
    • joecook
    • ‏2017-07-06T22:34:40Z

    Windows server 2012 R2 using the liberty profile. not set up as a windows service

    here is the ant.log file

    Buildfile: D:\Tririga - 3.5.2\build.xml

    decrypt:
         [java] JVM args ignored when same JVM is used.
         [java] JVM args ignored when same JVM is used.
         [java] JVM args ignored when same JVM is used.
         [java] JVM args ignored when same JVM is used.
         [java] JVM args ignored when same JVM is used.
         [java] JVM args ignored when same JVM is used.

    deploy-config:
        [mkdir] Created dir: D:\Tririga - 3.5.2\log
         [copy] Copying 6 files to D:\Tririga - 3.5.2
        [mkdir] Created dir: D:\Tririga - 3.5.2\config\licenses
        [mkdir] Created dir: D:\Tririga - 3.5.2\tools\deployment\license
         [copy] Copying 882 files to D:\Tririga - 3.5.2
         [copy] Copied 38 empty directories to 9 empty directories under D:\Tririga - 3.5.2
    Wed Jul 05 10:45:52 EDT 2017 (1s)
         [copy] Copying 1 file to D:\Tririga - 3.5.2

    db-scripts:

    db-create-data-schema-tablespace:

    db-create-data-schema-user:

    db-data-import:

    db-create-data-schema-environment-properties:

    db-data-stats:

    db-upgrade-all:

    install-database:

    install-wlp:
         [echo] wlp ant -f wlp-build.xml
    Wed Jul 05 10:45:58 EDT 2017 (5s)

    install-was:

    install-wl:

    install-app-server:
         [echo] 1  0 0

    install-tdi:

    copy-from-old-install:
         [copy] Copying 882 files to D:\Tririga - 3.5.2
         [copy] Warning: D:\config does not exist.
         [copy] Warning: D:\config\licenses does not exist.
         [java] [Ignorable] Skipping because one of these files may not exist: /config/TRIRIGADB.properties , D:/Tririga - 3.5.2/config/TRIRIGADB.properties
         [java] Java Result: -1
         [java] [Ignorable] Skipping because one of these files may not exist: /config/TRIRIGAWEB.properties , D:/Tririga - 3.5.2/config/TRIRIGAWEB.properties
         [java] Java Result: -1
         [java] [Ignorable] Skipping because one of these files may not exist: /config/TRIRIGACRYSTAL.properties , D:/Tririga - 3.5.2/config/TRIRIGACRYSTAL.properties
         [java] Java Result: -1

    copy-licenses-dir:

    install-all:

    BUILD SUCCESSFUL
    Total time: 10 seconds

  • joecook
    joecook
    13 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-07T11:21:13Z  

    Can you post the contents of your ant.log to this post and the start up of your server.log  I'd like to review it.  

    Based on the exceptions and experience, I suspect the DB connection can't be made for some reason.

    Have you tried installing it a second time?  When you installed it the first time, did you pick an existing directory?  If you did pick an existing install directory to upgrade from, my recommendation is to run the install again and install Liberty clean.  In the install panels manually enter the DB again and verify the DB connection was successful.

    Tried to re-install and same thing

    this was a fresh install the first time.

    I was able to connect to the DB during the install steps.

    Could something be wrong in the DB? I have limited visibility into the DB, we have a DB team for that.

     

    Thanks

     

  • Casey Cantwell
    Casey Cantwell
    177 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-07T17:04:06Z  
    • joecook
    • ‏2017-07-07T11:21:13Z

    Tried to re-install and same thing

    this was a fresh install the first time.

    I was able to connect to the DB during the install steps.

    Could something be wrong in the DB? I have limited visibility into the DB, we have a DB team for that.

     

    Thanks

     

    Can you do the install again, but this time leave out the - and spaces?

     

    Install to   tririga352, not Tririga - 3.5.2.

     

    Tririga - 3.5.2\config\licenses

  • joecook
    joecook
    13 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-07T17:29:35Z  

    Can you do the install again, but this time leave out the - and spaces?

     

    Install to   tririga352, not Tririga - 3.5.2.

     

    Tririga - 3.5.2\config\licenses

    so that allowed me to get to the log in screen. I logged in with the system account and got

    com.tririga.platform.metadata.MetadataInitializationException: Could not initialize business object with id: 10005241

    funny thing I installed the platform before with the spaces and dash.

     

     

  • joecook
    joecook
    13 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-07T17:44:30Z  

    Can you do the install again, but this time leave out the - and spaces?

     

    Install to   tririga352, not Tririga - 3.5.2.

     

    Tririga - 3.5.2\config\licenses

    I was how ever able to access the admin console

     

  • MartinBurch
    MartinBurch
    75 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-07-07T17:54:32Z  
    • joecook
    • ‏2017-07-07T17:44:30Z

    I was how ever able to access the admin console

     

    Error #1 is probably related to these messages in the ant.log:

        [java] [Ignorable] Skipping because one of these files may not exist: /config/TRIRIGADB.properties , D:/Tririga - 3.5.2/config/TRIRIGADB.properties
         [java] Java Result: -1
         [java] [Ignorable] Skipping because one of these files may not exist: /config/TRIRIGAWEB.properties , D:/Tririga - 3.5.2/config/TRIRIGAWEB.properties
         [java] Java Result: -1
         [java] [Ignorable] Skipping because one of these files may not exist: /config/TRIRIGACRYSTAL.properties , D:/Tririga - 3.5.2/config/TRIRIGACRYSTAL.properties
         [java] Java Result: -1

     

    The failure to copy/deploy these files will cause other problems.  It might be worthwhile to check these files in the old vs. new directory, and checking the whole config directory files to make sure they are correctly deployed.  For a new install, check to make sure these files exist.  Make sure the license files get deployed as well.

    If the copying/merging process does not work this may cause these files to not be copied or merged properly.  I would check out if you have some file permission restrictions.  Try installing TRIRIGA as an Admin User.  I also agree with Casey that you will want to avoid spaces in your install directory.

  • joecook
    joecook
    13 Posts

    Re: Tririga Platform install 3.5.2 error

    ‏2017-08-04T13:20:38Z  

    thanks for the help