Jump to content

Recommended Posts

Posted

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.
Posted

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?

Posted
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.

Posted

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!
Posted
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.

Posted

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.
Posted

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'.

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...