After building my server only with ICs, these servers (on Linux and Windows) prints the following messages at startup:
abtxmap.dtd-> SGML Error #ResourceNotAvailable: 'Resource could not be accessed. PublicId=''abtxmap.dtd'' SystemId=''abtxmap.dtd''' abtschem.map-> SGML Error #ResourceNotAvailable: 'Resource could not be accessed . PublicId=''abtschem.map'' SystemId=''abtschem.map''' AbtXmlMappingParserApp failed to initialize XML mapping resource 'abtschem.map' abtvast.map-> SGML Error #ResourceNotAvailable: 'Resource could not be accessed. PublicId=''abtvast.map'' SystemId=''abtvast.map''' AbtXmlMappingParserApp failed to initialize XML mapping resource 'abtvast.map' I changed the value in the [Xml] section of the corresponding "ini" file to show to the XML directory of the server download. Any idea, what is wrong here ????? -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/Wt-T7VaNPhsJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
The first step is done. I've changed my Xml-IC and put some output messages into AbtXmlConfiguration>>startUp and I get the following initialize outputs:
All my Xml files are located at: D:\projects\va850-server\server\xml\ All my Xml files are located at: That means, that AbtXmlConfiguration startUp is called twice during the startup procedure of my IC'd server system. The first one is correct, but the second call - whereever it comes from - is not correct. -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/cbHM9doIGCcJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
And here is the startup sequence:
**AbtXmlBaseApp>>loaded is executed AbtXmlBaseApp>>startUp is executed AbtXmlConfiguration>>startUp is executed All my Xml files are located at: D:\projects\va850-server\server\xml\ read from <> **AbtXmlBaseApp>>startUp is executed AbtXmlConfiguration>>startUp is executed All my Xml files are located at: read from <> Another interesting stuff is, that the ini file location can not be retrieved (in both calling sequences above). It produced an output: Memory allocation error: VMprEsIniFileFullPathAndName->iniFileNameAll -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/pjLGXDBjQ-YJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Ok and here the explanation.
I started the application with the following command line: ..\server\bin\esvio -imskXDDemo.ic and the "loaded"-sequence (in my prior posting) is executed with the content of mskXDDemo.ini. Then I added a file "esvio.ini" (with slightly different XML path content) and the "startup"-sequence (in my prior posting) is executed with the content of esvio.ini (!!!!). Without the file esvio.ini the primitive fails (mentioned in an earlier posting) !. With the file esvio.ini I get the following startup output (which is more or less strange, because esvio.ini does NOT contain the correct XML path): **AbtXmlBaseApp>>loaded is executed AbtXmlBaseApp>>startUp is executed AbtXmlConfiguration>>startUp is executed All my Xml files are located at: D:\projects\va850-server\server\xml\ read from <esvio.ini> **AbtXmlBaseApp>>startUp is executed AbtXmlConfiguration>>startUp is executed All my Xml files are located at: D:\projects\va850-server\server\xml2\ read from <esvio.ini> Now one could say: throw away <mskXDDemo.ini> and use only <esvio.ini>, but this is not possible, because it expects <mskXDDemo.ini> for NLS stuff and other path information (e.g. IC_ROOT). I ended up with the following solution: * mskXDDemo.ini with FULL content * esvio.ini with only [Xml] stanza information Hello Instantiations ! Any idea ? -- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/ieoIt1GerUMJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Same problems exists, when trying to read values from the configuration frameworks - therefore be aware to put your config values in esvio.ini and not into your ic specific ini file.
-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/h2Ca_D5qMlMJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Free forum by Nabble | Edit this page |