Welcome, Guest
Username: Password: Remember me
Components and Libraries for Web Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Routes broken? 9 years 8 months ago #6868

  • Javier
  • Javier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 1
Apparently in CT 5.2 routes or service registration not work.
Simply:
New Project/Brook Framework->Embedded server (Runtime or designtime)->Run raise exception "TBrookRoute: No router service registered. "
Some workaround?
Regards.

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 8 months ago #6870

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
we will check this
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Routes broken? 9 years 8 months ago #6914

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
Any update on this? When can we have update on this? Stuck ongoing...

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 8 months ago #6915

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
I will add to Tomorrow daily task Sir
I hope my team to solve the problem
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 8 months ago #6916

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
How to get the update?

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 8 months ago #6917

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
If any solution, I we post here the new files OK
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 7 months ago #6975

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
Not yet any update. When do we have?

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 6 months ago #7225

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
In Version 5.30 still same error. When it will solve?

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 6 months ago #7226

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Oh sorry Sir
I start now :unsure:
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 6 months ago #7227

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
sir ultil we add code to pl_Brook\source\ideintf\brookideintf.pas
use this patch for unit Brokers of your project
unit Brokers;

{$mode objfpc}{$H+}

interface

uses
  BrookFCLHttpAppBroker, BrookUtils, 
  BrookRouter, BrookApplication;                 // <=====

implementation

initialization
  TBrookRouter.RegisterService;          // <=====
  BrookRegisterApp(BrookFCLHttpAppBroker.TBrookApplication.Create);   // <=====
  BrookSettings.Port := 8080;

finalization                                                // <=====
  TBrookRouter.UnregisterService;       // <=====

end.

please report here if the code work OK
screen from Typhon64 on Win7-64
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Routes broken? 9 years 6 months ago #7228

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
Yes it worked. Thanks. Why don't you add these additional lines by default in Brokers unit when it creates.

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 6 months ago #7229

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We remove code from Brook units initialization session
because static link of packages in Typhon IDE give errors
and we forgot to add code in BrookIDEIntf.pas to start-up Brook application correct :S

Now we fix and BrookFCLHttpDaemonBroker applications
Please report any other problem

PS: pl_Brook 5.4.1
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Routes broken? 9 years 6 months ago #7230

  • Md. Shariful Alam Khan
  • Md. Shariful Alam Khan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 111
  • Thank you received: 0
Brook Embeded server worked perfectly but Embeded daemon server gives attached error message. Please see the attached image.

Please Log in or Create an account to join the conversation.

Routes broken? 9 years 6 months ago #7231

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Go to Typhon IDE => Run => Run Parameters...

and add -h to start application parameters
now you must write and code for this Embeded daemon server
more info at brook web page silvioprog.github.io/brookframework/


PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1