Forum Discussion

FICO's avatar
FICO
Community Manager
7 years ago

Connection to database repository fails with 'Failure loading serialized project as resource'

When trying to connect to a versioned (BVS) database repository in a rule service deployment I'm getting the following error:

com.blazesoft.template.repository.NdRomConnectionException: Could not get ROM configuration from repository 'DDBlaze'.

Could not get ROM configuration from repository 'DDBlaze'.

Failure loading serialized project as resource

Do you have any guess on what is the problem?

Thanks.

That's how my .server configuration looks like:

<RulesProjectInnovatorLoaderFactory>

<InnovatorRepositoryAccessorFactory>

<JavaName>

com.blazesoft.server.innovator.NdInnovatorJdbcRepositoryAccessor

</JavaName>

<JavaMethodArg>

com.blazesoft.repository.jdbc.NdJdbcRepository

</JavaMethodArg>

<JavaMethodArg>com.microsoft.sqlserver.jdbc.SQLServerDriver</JavaMethodArg>

<JavaMethodArg>jdbc:sqlserver://SERVER:1433;database=DDBlaze</JavaMethodArg>

<JavaMethodArg>SA</JavaMethodArg>

<JavaMethodArg>the_password</JavaMethodArg>

<JavaMethodArg>NdDefaultJdbcRepositoryAccessor</JavaMethodArg>

<JavaMethodArg>DDBlaze</JavaMethodArg>

<JavaMethodArg>DDBlaze</JavaMethodArg>

</InnovatorRepositoryAccessorFactory>

</RulesProjectInnovatorLoaderFactory>

1 Reply

  • FICO's avatar
    FICO
    Community Manager

    For BVS database repository,  it's the private file-based workspace that needs to be defined inside the .server file to be connected with.   Currently your .server file pointes to the database repository which isn't correct,  please refer to the documentation about connecting to file-based workspace for details and make changes to your .server file accordingly.