SMS Posted September 7, 2016 Share Posted September 7, 2016 File to deploy: MCS.war Username is: smsDomain to deploy: mcs.smot.com.br Thanks, SuperMock Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 7, 2016 Share 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. Quote Link to comment Share on other sites More sharing options...
SMS Posted September 7, 2016 Author Share Posted September 7, 2016 Moved to /home/sms/. I'll be able to access the .war by mcs.smot.com.br subdomain? Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 7, 2016 Share Posted September 7, 2016 Deployed. http://smot.com.br/MCS Quote Link to comment Share on other sites More sharing options...
SMS Posted September 7, 2016 Author Share 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? Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 8, 2016 Share Posted September 8, 2016 Have you enabled remote mysql connection through cpanel? Quote Link to comment Share on other sites More sharing options...
SMS Posted September 8, 2016 Author Share Posted September 8, 2016 Yes I activated the remote connection by cPanel. Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 8, 2016 Share Posted September 8, 2016 That is the only thing that would block external access. Quote Link to comment Share on other sites More sharing options...
SMS Posted September 8, 2016 Author Share 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. Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 8, 2016 Share 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! Quote Link to comment Share on other sites More sharing options...
SMS Posted September 8, 2016 Author Share 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. Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 8, 2016 Share Posted September 8, 2016 You probably just need specify an absolute path for the log file. Quote Link to comment Share on other sites More sharing options...
SMS Posted September 8, 2016 Author Share 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. Quote Link to comment Share on other sites More sharing options...
Krydos Posted September 8, 2016 Share 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'. Quote Link to comment Share on other sites More sharing options...
SMS Posted September 8, 2016 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.