Skip to content

Standalone Server Does Not Work Properly When Compiled in Runtime Package Mode #239

@marcosnielsen

Description

@marcosnielsen

Hello,
I'm working with TNullabes type serialization
based on the example: "samples \ renders_spring4d_nullables \ renders_spring4d_nullables"
and custom serialization works perfectly.

But the DMVC presents a problem in serialization when I try to use packets at runtime:

Explanation:
I create a new default standalone server by wizard,
when you enable the Runtime package = true option,
I add the following BLPs in the package list:
loggerproRT, dmvcframeworkRT, dmvcframeworkDT.

Then I run the application and the following errors occur:
1 - The system does not generate the log files: logs \ StandAloneServer.00.dmvcframework.log
2 - Standalone Server does not recognize TCustomTypesSerializers classes.

but if I run the same server with Runtime option package = False;
DMVS generates the log file and writes the log of the serialized types:
see example of my StandAloneServer.00.dmvcframework.log:
...
2019-07-17 10: 56: 50: 043 [TID 14452] [DEBUG] Registering TypeSerializer for: Nullable <System.Integer> [dmvcframework]
2019-07-17 10: 56: 50: 043 [TID 14452] [DEBUG] Registering TypeSerializer for: Nullable <System.Currency> [dmvcframework]
2019-07-17 10: 56: 50: 043 [TID 14452] [DEBUG] Registering TypeSerializer for: Nullable <System.Double> [dmvcframework]
...
The renders_spring4d_nullables example also does not work with "Runtime package = true"

Thanks for listening.

Att
Marcos Nielsen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedIssue has been accepted and inserted in a future milestone

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions