kacsaaa
Hi all,

I'm having an issue with ScadaBR unfortunately. When I try to log in, I get this "System exception" error message. The weird thing is, when I press "Go back one page" on my browser, it seems the system logged me in. So after this I was able to set up everything, I could connect my OpenPLC project to ScadaBR, and I could also read the adequate point's values.
After this, I wanted to start building up the graphical interface, but whenever I click on the given icon, I get the "System exception" error message again. The "Go back one page" button pressing solution is not working this time. There are also other icons on which if I click I get the same error.
I was looking for a solution but couldn't find anything where they would have actually answered such a question.
Could you help me in this regard?

Many thanks!
Quote 0 0
thiagoralves
How did you install ScadaBR? What browser are you using? Have you tried another browser?
Quote 0 0
kacsaaa
I used your virtual machine approach. Yes, I tried with the newest version of Firefox, Microsoft Edge and an older version of Internet Explorer.
I tried to install ScadaBR based on your other description as well: https://openplc.discussion.community/post/big-update-with-new-cool-features-8173271?pid=1292945147
With this, my problem was that I couldn't start tomcat7w.exe, because I got an error message which said either the file cannot be found or I don't have the necessary permissions. The problem is that the file acting weird, because I was thinking if I try to run the .exe as an administrator I will be able to actually start it, but when I wanted to do so, it didn't have such an option. Also the available options are all quite different comparing a regular file (so I can't rename, copy, check its settings etc.). Also I was thinking maybe my firewall or something like that blocking to install the program, so I reinstalled it turning these programs off. Again, without success.
I was trying a third approach too, where I had to download this file: https://sourceforge.net/projects/scadabr/, which contains (in theory) everything I need, so I don't have to play around manually with Tomcat. The problem was here that I've got a similar error as in this post: https://openplc.discussion.community/post/error-using-scadabr-for-openplc-9508563?highlight=tomcat&pid=1303409872
just with error 404 not with 500. With the latter approach there isn't too much thing what I could do wrong, basically I have to start the installer and "next, next...finish".
The second way is kinda straight forward, I was paying a lot of attention to follow your explanation correctly, I changed the ports and everything. I was trying to not uncheck the "run tomcat" box at the end of the installer once, and it is started, but again, when I want to run the whole thing with the tomcat7w.exe, it doesn't work. I was trying to run the "Configure Tomcat" and "Monitoring Tomcat" programs, I got similar error messages again. Even if I tried to run them as administrator.

Another problem but it is maybe related with my router: When I start the ScadaBR from the virtual machine, it doesn't give me an IP, it always shows the 'MAC address:8080/ScadaBR' link which doesn't work. Later I tried with sharing my mobile internet, and I got an IP (this is how I was actually able to check if the whole thing is even working). BTW, with my regular internet connection once I got an IP, after I started and stopped and started again the virtual machine around 20x times. But this problem is not priority, I thought I would share, maybe it is really easy to solve.

Edit: meanwhile, I tried the virtual thing with Chrome, I have the System exception message again. Also I realized maybe I was not clear enough: The message shows up at the Graphical view thing, when I click on the "create a new graphical view", and not when I click on the Graphical view icon itself (on the menubar).
Quote 0 0
thiagoralves
ScadaBR is far from being a polished project, but I’ve never faced this error before with it. Have you tried reloading the OVA file from scratch on your virtual machine and see if it works? The VM approach is the easiest way to get it running as it comes with everything preconfigured and good to go. If you want to run it natively on Windows, it is a lot complicated, especially with Windows 10. ScadaBR relies on old tools that are not very well supported on Windows 10. I managed to get it running on a Windows 10 tablet using Tomcat 6. I remember that Tomcat 7 was giving me the same admin error you’re facing. Try following the same instructions, but with tomcat 6 instead of 7. Also, make sure you have purged tomcat 7 from your system before starting to make sure it won’t conflict. Good luck and keep us posted 🙂
Quote 0 0