SMS Posted September 7, 2016 Posted September 7, 2016 File to deploy: MCS.war Username is: smsDomain to deploy: mcs.smot.com.br Thanks, SuperMock
Krydos Posted September 7, 2016 Posted September 7, 2016 Unable to find file: /home/sms/MCS.war Do you mean this one? # find /home/sms -name MCS.war /home/sms/public_html/mcs/MCS.war If so move it to your /home/sms directory.
SMS Posted September 7, 2016 Author Posted September 7, 2016 Moved to /home/sms/. I'll be able to access the .war by mcs.smot.com.br subdomain?
SMS Posted September 7, 2016 Author Posted September 7, 2016 Everything is OK, but my .war can not connect to the database that is on the same server Jonny.I've done a local test connecting to the database, and is OK, you block external access .war?
Krydos Posted September 8, 2016 Posted September 8, 2016 Have you enabled remote mysql connection through cpanel?
SMS Posted September 8, 2016 Author Posted September 8, 2016 Yes I activated the remote connection by cPanel.
Krydos Posted September 8, 2016 Posted September 8, 2016 That is the only thing that would block external access.
SMS Posted September 8, 2016 Author Posted September 8, 2016 At the server console, must be printed and direct the error that is giving ... For if the connection with the bank, it tries to connect to the database of 5 in 5 seconds ... If it's not too uncomfortable, you could me inform the message? Note: It also creates a log file with all errors. If I need to return the .war again, I open another topic, or can speak in the same? Thank you in advance, and sorry for the inconvenience.
Krydos Posted September 8, 2016 Posted September 8, 2016 java.sql.SQLException: Access denied for user 'sms_mock'@'johnny.heliohost.org' (using password: YES) java.io.FileNotFoundException: mock_charge_log.txt (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:192) at java.io.FileOutputStream.<init>(FileOutputStream.java:116) at java.io.FileWriter.<init>(FileWriter.java:61) at br.com.mock.LOG.save(LOG.java:21) at br.com.mock.LOG.setError(LOG.java:16) at br.com.mock.LoadGeneratorCore$1.run(LoadGeneratorCore.java:47) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) [MOCK CHARGE SYNC] Erro inesperado... Reiniciando em 5s!
SMS Posted September 8, 2016 Author Posted September 8, 2016 Thank you very much, you can take the .war. Later I'll change and sending again, and I'll take the LOG recording, as in the .war server does not have write access.
Krydos Posted September 8, 2016 Posted September 8, 2016 You probably just need specify an absolute path for the log file.
SMS Posted September 8, 2016 Author Posted September 8, 2016 In the log you sent me is saying that gave error in connection with the bank for account access. He is trying to connect by:'Sms_mock'@'johnny.heliohost.org' But there is configured to connect by:'Sms_mock'@'smot.com.br' To try to work around this problem I could set up there to connect it?'Sms_mock' @ 'localhost' If the bank is on the same server JVM, is he? Thanks in advance.
Krydos Posted September 8, 2016 Posted September 8, 2016 You could also go to remote mysql connections and add 'johnny.heliohost.org' or '%' and that should add the mysql user 'sms_mock'@'johnny.heliohost.org'.
SMS Posted September 8, 2016 Author Posted September 8, 2016 If all goes well is the last for today, hehe. You could make the deployment of the new file: MCS.war Thank you in advance: D
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now