Nouvelle publication

Rechercher

Article
· Mai 9, 2024 2m de lecture

Notes on changing the system date for testing purposes

InterSystems FAQ rubric

If you change the system date, InterSystems Data Platform (IRIS) may not start properly.

IRIS performs a journal file deletion process when it starts, but if the system date is changed, a journal file with an incorrect date is created. During journal file deletion processing, the process proceeds by referring to the information of the previous and subsequent files recorded inside the journal file. Please note that if a change in the system date causes an inconsistency in the connection of journal files, the deletion process may go into a loop and the IRIS startup process may not be completed. Changing the system date can have various effects, not only on IRIS, but also on dependencies on the OS, middleware, and applications running on it.

If you must change the system date for testing or verification purposes, we recommend testing in an environment (virtual environment, etc.) where you can freely uninstall and reinstall IRIS.

The basic flow of the test is as follows.

  1. System date change
  2. Installing IRIS
  3. Test implementation
  4. Stopping IRIS
  5. Complete uninstallation of IRIS (*)
  6. Change system date (return to current date and time)
  7. Installing IRIS

(*) Even after uninstallation, some files will remain in the IRIS installation directory, so you will need to delete the entire IRIS installation folder.

If you perform a date change test in an environment where IRIS cannot be uninstalled or reinstalled, you may need to perform IRIS recovery work.

Please contact our Worldwide Responce Center for details.

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Mai 9, 2024

Meet the trainers at Global Summit!

Spotlight on personal training, Global Summit. Sign up for a session with Joel Solon, Principal Technical Trainer.  

At Global Summit (June 9–12), you can meet one-on-one with our technical trainers!

💫This week the spotlight is on @Joel Solon, Principal Technical Trainer!

💭 Talk to him about InterSystems ObjectScript and system admin/mirroring/security.

In a 45-minute personal training session, you can refresh your memory on previous classroom training, discuss a technical concept, or start learning about InterSystems technologies.

📧 Email GSTechExchange@intersystems.com or visit the Tech Exchange concierge desk at the Summit.

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Mai 9, 2024

Business Service error handling - exception not visible in Log

We have a custom business service that is triggered by a scheduled task. The service queries a table, iterates over the result set and sends a message on to a business process for each result. Happy path functionality is all fine.

However, when there is an error detected in the business service code, neither throwing an exception nor returning an error %Status behaves as we'd expect.

Our error handling scheme, which is working for the other business processes and operations, is to throw an exception on error. Messages are suspended, allowed to error, or the component disabled depending on the nature of the error detected, and alerts successfully sent on to Ens.Alert. Again, apart from this business service, all is working as expected.

Here's the current start of the business service OnProcessInput method:

Even deliberately forcing an exception (as screenshot above), or explicitly returning an error status (as commented out in screenshot) does not show an error in the Log - see second screenshot below - you can see the trace message, but no sign of the exception - and nothing goes to Ens.Alert. But processing does stop at this point - no code further on in the method is executed.

Does exception handling work differently for business services compared to business processes? Or is it something to do with the scheduled task triggering mechanism? We are pretty confused about what is going on! Any insights welcome!

1 Comment
Discussion (1)1
Connectez-vous ou inscrivez-vous pour continuer
Discussion (0)0
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Mai 9, 2024

Meet the Global Masters Winners for April 2024!

It's time to announce the Winners for April! Please welcome our awesome Global Masters Heroes!

The storm of applause goes to these developers and their great contribution to DC in April:

🥇@David Hockenbroch senior analyst, WoodWare Systems, United States
🥈@Sylvain GuilbaudSales Engineer, InterSystems, France
🥉@Robert Cemperex Senior Sales Engineer from InterSystems, Austria 

 Learn more about the competition and our awesome winners below.  

About @David Hockenbroch 
 

  • 📝 1 post and 10 comments on DC
  • 🏅Blogger Badge for 10 articles on DC

Congratulations, David!  🌟

"I'm a senior analyst at WoodWare Systems, which provides ERP solutions for the millwork industry. I've been in this position since August 2020. In my free time, I cook and overindulge in great barbecue!"

🔗Connect with David on Developer Community now to boost your network!


About @Sylvain Guilbaud

  • 🔁 4 translated articles on DC
  • 📝 2 posts and 9 comments on DC
  • 🛠 3 Open Exchange Pull Requests 
  • 🏅 Gold Open Exchange Reviewer Badge for 50 published reviews on Open Exchange 

 Congratulations, Sylvain! 

Experience: Sylvain is a Sales Engineer for InterSystems France since the opening of this office in the French area, in 2001. Specialized engineer in database management systems, Sylvain has participated in the development of applications for several software editors, since 1993, in the medical field or healthcare end-users, notably at the head office of the APHP.  To complete his expertise in data storage, he then joined the editor Oracle, before joining InterSystems in June 2001. His skills in data processing have therefore been extended, to an incredible rate, thanks to InterSystems enhancements.

Other facts: Born in Nantes, near the Atlantic Ocean, but felt Mediterranean by adoption at a very young age. Culture lover, passionate about music (playing the piano whenever he can), and other Arts and Letters, and more particularly from a philosophical angle, he’s definitely attached to the natural side and wild aspect of the world. And taste with equal pleasure Dorothee OBERLINGERJimi HENDRIXHélène GRIMAUD playing Valentin SILVESTROV,Black SabbathOphélie GAILLARDGila Monster from the King Gizzard & the Lizard WizardBruce LIUTaj MahalEstranged Fruit from FishboneEmmanuelle HAÏMUluru Rock from EarthlessAlain PLANÈSYèkèrmo Sèw from Mulatu AstatkeDave van RonkTom WAITSMichel PETRUCCIANI, or one of the most beautiful piece of music ever heard, and so many others.

🔗Connect with Sylvain now to boost your network:


About @Robert Cemper 

  • 📝 3 posts and 22 comments on DC
  • 🎓 2 accepted answers
  • 💻 2 OEX applications
  • 🛠 3 Open Exchange Pull Requests 

 Congratulations, Robert! 

Robert C. Cemper is an ex Senior Sales Engineer from InterSystems in Darmstadt. He has been 45 years in this profession and worked for more than 12 years directly for InterSystems. Personal mission statement: "For an engineer ‘IMPOSSIBLE’ doesn’t exist"

Read complete and inspiring Robert's bio in this post.

🔗Connect with Robert on Developer Community now to boost your network!

Thanks to all the winners for your constant great contribution to InterSystems Developer Community! 

Let's congratulate our Heroes in the comments below!

2 Comments
Discussion (2)2
Connectez-vous ou inscrivez-vous pour continuer