Hi,
Using ReStore for an application and it works fine during development. When I create a runtime executable, the app doesn't connect. Can't figure out what I'm doing wrong as initialization code runs during app start up. For example,
ReStore
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Is there something I'm doing wrong here or something I missed?
Thanks
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
John Aspinall
On Thursday, December 22, 2022 at 8:52:26 AM UTC, charyb...@gmail.com wrote:
Hi,
Using ReStore for an application and it works fine during development. When I create a runtime executable, the app doesn't connect. Can't figure out what I'm doing wrong as initialization code runs during app start up. For example,
ReStore
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Is there something I'm doing wrong here or something I missed?
Thanks
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
ReStore
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
On Thursday, December 22, 2022 at 2:12:56 AM UTC-7, john.a...@gmail.com wrote:reference to ReStore at the web level (swazoo) since it is the root package?
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
John Aspinall
On Thursday, December 22, 2022 at 8:52:26 AM UTC, charyb...@gmail.com wrote:
Hi,
Using ReStore for an application and it works fine during development. When I create a runtime executable, the app doesn't connect. Can't figure out what I'm doing wrong as initialization code runs during app start up. For example,
ReStore
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Is there something I'm doing wrong here or something I missed?
Mark Davis's profile photoThanks
Mark Davis
4:24 AM (now)
to
On Thursday, December 22, 2022 at 2:12:56 AM UTC-7, john.a...@gmail.com wrote:
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
Hi John,
I'm using MySQL and the image is 7.1.24 under Windows. The package I'm deploying from is Swazoo 2.2. It has no pre-req for ReStore but the package that needs to access the database does have a prereq for SSWRestore for Dolphin. Maybe I should add a
The error occurs when retrieving an object from the database:
allUsers := (self userClass) storedInstances.
Where userClass is returns the name of the class for users. In class Object>>storedInstances just returns the tables with SSWReStore default. I'll double check the exe manifest again to make sure the for omissions after stripping the image.
I put in a runtime debug methods that writes out a file...
ReStore isConnected ifFalse: [ ^self writeLogFile: 'ReStore Not Connected To Database']. So, I know there's no connection. Has to be something silly occuring here. Stumped right now but, how would I manually add a package reference manually?
Thanks
The prerequisite of SSW ReStore for Dolphin doesn't need to be at the top level, it just needs to be somewhere in the prerequisite tree. You can check this by expanding the tree in the Prerequisites tab of the Package Manager when your root package isselected.
To add a manual prerequisite to a package, inspect the package by selecting "Properties" from the context menu, double-click on the manualPrerequisites aspect in the resulting inspector and click the + button.reference to ReStore at the web level (swazoo) since it is the root package?
I just noticed you gave your initialization code as:
ReStoreDo you also send "ReStore connect" ?
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Hope this helps.
On Thursday, December 22, 2022 at 11:28:57 AM UTC, charyb...@gmail.com wrote:
On Thursday, December 22, 2022 at 2:12:56 AM UTC-7, john.a...@gmail.com wrote:
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
John Aspinall
On Thursday, December 22, 2022 at 8:52:26 AM UTC, charyb...@gmail.com wrote:
Hi,
Using ReStore for an application and it works fine during development. When I create a runtime executable, the app doesn't connect. Can't figure out what I'm doing wrong as initialization code runs during app start up. For example,
ReStore
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Is there something I'm doing wrong here or something I missed?
Mark Davis's profile photoThanks
Mark Davis
4:24 AM (now)
to
On Thursday, December 22, 2022 at 2:12:56 AM UTC-7, john.a...@gmail.com wrote:
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
Hi John,
I'm using MySQL and the image is 7.1.24 under Windows. The package I'm deploying from is Swazoo 2.2. It has no pre-req for ReStore but the package that needs to access the database does have a prereq for SSWRestore for Dolphin. Maybe I should add a
The error occurs when retrieving an object from the database:
allUsers := (self userClass) storedInstances.
Where userClass is returns the name of the class for users. In class Object>>storedInstances just returns the tables with SSWReStore default. I'll double check the exe manifest again to make sure the for omissions after stripping the image.
I put in a runtime debug methods that writes out a file...
ReStore isConnected ifFalse: [ ^self writeLogFile: 'ReStore Not Connected To Database']. So, I know there's no connection. Has to be something silly occuring here. Stumped right now but, how would I manually add a package reference manually?
Thanks
On Friday, December 23, 2022 at 4:25:36 AM UTC-7, john.a...@gmail.com wrote:is selected.
The prerequisite of SSW ReStore for Dolphin doesn't need to be at the top level, it just needs to be somewhere in the prerequisite tree. You can check this by expanding the tree in the Prerequisites tab of the Package Manager when your root package
reference to ReStore at the web level (swazoo) since it is the root package?To add a manual prerequisite to a package, inspect the package by selecting "Properties" from the context menu, double-click on the manualPrerequisites aspect in the resulting inspector and click the + button.
I just noticed you gave your initialization code as:
ReStoreDo you also send "ReStore connect" ?
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Hope this helps.
On Thursday, December 22, 2022 at 11:28:57 AM UTC, charyb...@gmail.com wrote:
On Thursday, December 22, 2022 at 2:12:56 AM UTC-7, john.a...@gmail.com wrote:
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
John Aspinall
On Thursday, December 22, 2022 at 8:52:26 AM UTC, charyb...@gmail.com wrote:
Hi,
Using ReStore for an application and it works fine during development. When I create a runtime executable, the app doesn't connect. Can't figure out what I'm doing wrong as initialization code runs during app start up. For example,
ReStore
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Is there something I'm doing wrong here or something I missed?
Mark Davis's profile photoThanks
Mark Davis
4:24 AM (now)
to
On Thursday, December 22, 2022 at 2:12:56 AM UTC-7, john.a...@gmail.com wrote:
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
Hi John,
I'm using MySQL and the image is 7.1.24 under Windows. The package I'm deploying from is Swazoo 2.2. It has no pre-req for ReStore but the package that needs to access the database does have a prereq for SSWRestore for Dolphin. Maybe I should add a
The error occurs when retrieving an object from the database:
allUsers := (self userClass) storedInstances.
Where userClass is returns the name of the class for users. In class Object>>storedInstances just returns the tables with SSWReStore default. I'll double check the exe manifest again to make sure the for omissions after stripping the image.
I put in a runtime debug methods that writes out a file...
ReStore isConnected ifFalse: [ ^self writeLogFile: 'ReStore Not Connected To Database']. So, I know there's no connection. Has to be something silly occuring here. Stumped right now but, how would I manually add a package reference manually?
ReStore is properly initialized during startup with ReStore connect. All works fine in the development environment. I setup a new image (7.1.24) loaded my packages and still get the same error at runtime. Output from runtime error file shows:Thanks
:
{026706D4: cf 026706B1, sp 026706E8, bp 026706CC, ip 12, MessageNotUnderstood class>>receiver:message:}
receiver: MessageNotUnderstood
arg[0]: SSWReStore
arg[1]: Message selector: onStartup arguments: 0296B8A0
{026706B0: cf 02670691, sp 026706C4, bp 026706AC, ip 4, SSWReStore class(Object)>>doesNotUnderstand:}
receiver: SSWReStore
arg[0]: Message selector: onStartup arguments: 0296B8A0
{02670690: cf 0267066D, sp 026706A4, bp 02670688, ip 13, EventMessageSend>>forwardTo:withArguments:}
receiver: a EventMessageSend
arg[0]: SSWReStore
arg[1]: a Array
:
Still investigating as ReStore is a well designed/documented framework, so I must have some error taking place that prevents my Swazoo Resource from reaching my domain instance which utilizes ReStore. Thanks for your assistance in this matter.
Cheers
Hi - the error log would indicate the method SSWReStore class>>onStartup is missing from the deployed image. I'm not sure why this would be the case as it's defined in the SSW ReStore Main package which would suggest a prerequisite issue.is selected.
When you install your application in a fresh image are you manually installing ReStore, or do you just select your application's main package and ReStore loads automatically via prerequisite links?
Thanks for the kind words on ReStore!
John
On Saturday, December 31, 2022 at 11:13:12 AM UTC, charyb...@gmail.com wrote:
On Friday, December 23, 2022 at 4:25:36 AM UTC-7, john.a...@gmail.com wrote:
The prerequisite of SSW ReStore for Dolphin doesn't need to be at the top level, it just needs to be somewhere in the prerequisite tree. You can check this by expanding the tree in the Prerequisites tab of the Package Manager when your root package
a reference to ReStore at the web level (swazoo) since it is the root package?To add a manual prerequisite to a package, inspect the package by selecting "Properties" from the context menu, double-click on the manualPrerequisites aspect in the resulting inspector and click the + button.
I just noticed you gave your initialization code as:
ReStoreDo you also send "ReStore connect" ?
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Hope this helps.
On Thursday, December 22, 2022 at 11:28:57 AM UTC, charyb...@gmail.com wrote:
On Thursday, December 22, 2022 at 2:12:56 AM UTC-7, john.a...@gmail.com wrote:
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
John Aspinall
On Thursday, December 22, 2022 at 8:52:26 AM UTC, charyb...@gmail.com wrote:
Hi,
Using ReStore for an application and it works fine during development. When I create a runtime executable, the app doesn't connect. Can't figure out what I'm doing wrong as initialization code runs during app start up. For example,
ReStore
dsn: (self databaseName);
uid: (self userId);
pwd: (self password).
Is there something I'm doing wrong here or something I missed?
Mark Davis's profile photoThanks
Mark Davis
4:24 AM (now)
to
On Thursday, December 22, 2022 at 2:12:56 AM UTC-7, john.a...@gmail.com wrote:
Hi,
The first thing to check is that you have the SSW ReStore for Dolphin package as a prerequisite of your deployment package. You may need to add this as a manual prerequisite.
If this doesn't help please reply with any specific error messages you're seeing. Also let me know which database you're using (SQLite, MySQL etc.).
Cheers.
Hi John,
I'm using MySQL and the image is 7.1.24 under Windows. The package I'm deploying from is Swazoo 2.2. It has no pre-req for ReStore but the package that needs to access the database does have a prereq for SSWRestore for Dolphin. Maybe I should add
The error occurs when retrieving an object from the database:
allUsers := (self userClass) storedInstances.
Where userClass is returns the name of the class for users. In class Object>>storedInstances just returns the tables with SSWReStore default. I'll double check the exe manifest again to make sure the for omissions after stripping the image.
I put in a runtime debug methods that writes out a file...
ReStore isConnected ifFalse: [ ^self writeLogFile: 'ReStore Not Connected To Database']. So, I know there's no connection. Has to be something silly occuring here. Stumped right now but, how would I manually add a package reference manually?
ReStore is properly initialized during startup with ReStore connect. All works fine in the development environment. I setup a new image (7.1.24) loaded my packages and still get the same error at runtime. Output from runtime error file shows:Thanks
:
{026706D4: cf 026706B1, sp 026706E8, bp 026706CC, ip 12, MessageNotUnderstood class>>receiver:message:}
receiver: MessageNotUnderstood
arg[0]: SSWReStore
arg[1]: Message selector: onStartup arguments: 0296B8A0
{026706B0: cf 02670691, sp 026706C4, bp 026706AC, ip 4, SSWReStore class(Object)>>doesNotUnderstand:}
receiver: SSWReStore
arg[0]: Message selector: onStartup arguments: 0296B8A0
{02670690: cf 0267066D, sp 026706A4, bp 02670688, ip 13, EventMessageSend>>forwardTo:withArguments:}
receiver: a EventMessageSend
arg[0]: SSWReStore
arg[1]: a Array
:
Still investigating as ReStore is a well designed/documented framework, so I must have some error taking place that prevents my Swazoo Resource from reaching my domain instance which utilizes ReStore. Thanks for your assistance in this matter.
Cheers
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 32:31:55 |
Calls: | 6,707 |
Files: | 12,239 |
Messages: | 5,353,197 |