rg.springframework.beans.factory.BeanCreationException errors when deploying ssc

Hi,

Deploying the ssc 4.40 war in Tomcat is failing due to java errors.

Using Java 1.8.0.65.

Errormessage;

2016-02-03 10:53:17,779   [ERROR] org.springframework.web.context.ContextLoader - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activityFeedContoller': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.fortify.server.platform.business.interfaces.ActivityFeedCoreBLL ..........

Full log attached.

What did i miss.? Anyone

Running configuration template worked ok.


Thanks

Detlef Kroeze

ASR Netherlands

ssc.log.zip
  • Is this an upgrade from a previous version of SSC?

    Looking at the logs, the failure to startup is caused by some missing config in the database which should have been added by generating migration SQL and running it against the database. If this was an upgrade, did you generate and run the migration SQL script? After doing that, you should then seed the process template bundle.

    -Josh

    Fortify L3 Support Engineer

  • Hi Josh,

    No I didn’t run the migration script. I missed that due to the fact that we first where installing 4.21.

    The fortify server is a new installation, the db is a copy of an existing 4.21 database.

    I will create the migration script and run it on the database

    Thank you.

    Detlef Kroeze

    Van: Josh Anderson

    Verzonden: woensdag 3 februari 2016 11:32

    Aan: Kroeze D.W. (Detlef)

    Onderwerp: Re: - rg.springframework.beans.factory.BeanCreationException errors when deploying ssc

    Protect724<https://protect724.hp.com/>

    rg.springframework.beans.factory.BeanCreationException errors when deploying ssc

    reply from Josh Anderson<protect724.hp.com/.../josh.anderson in Fortify - View the full discussion<protect724.hp.com/.../76205

  • Hi Josh,

    Our db Admin run the conversion script, but it’s full of errors.

    See attachement.

    I assume this not the way it should work

    The database was a copy of a running 4.21 system and the conversion script was generate with 4.40

    Thanks Detlef kroeze

    Van: Josh Anderson

    Verzonden: woensdag 3 februari 2016 11:32

    Aan: Kroeze D.W. (Detlef)

    Onderwerp: Re: - rg.springframework.beans.factory.BeanCreationException errors when deploying ssc

    Protect724<https://protect724.hp.com/>

    rg.springframework.beans.factory.BeanCreationException errors when deploying ssc

    reply from Josh Anderson<protect724.hp.com/.../josh.anderson in Fortify - View the full discussion<protect724.hp.com/.../76205

    conversie.log.zip
  • Hi,

    Yes, that isn't right... the migration script should only contain the necessary statements to update the schema to the latest version, not all the same queries as in the create-tables.sql file.

    It will be best to open a support ticket (either email fortifytechsupport@hpe.com or open a case with your account at https://support.fortify.com) to get some direct help for this issue. In your ticket, please either summarise the issue, or even include a link to this thread for context, and a member of our support team will provide assistance.

    Thanks,

    -Josh