Home > Back-end >  WAR in Tomcat/webapp after decompression, not be able to access MySQL, a great god, please help solv
WAR in Tomcat/webapp after decompression, not be able to access MySQL, a great god, please help solv

Time:09-15

Start tomcat in the local eclipse, servlet through ali ECS can visit ali RDS MySQL, upload the WAR to the ali ECS after decompression, the servlet by ECS ali RDS cannot access MySQL, tomcat service is started on the ECS, connect to the database in the servlet using public IP, o great god help look at what's problem? Thank you for the great god,

CodePudding user response:

The appended drawings is ali ECS Tomcat error message,

CodePudding user response:

Why nobody reply? Problem is too small white? Never reply?
My small white, a great god glad
Hurry, online, etc.,

CodePudding user response:

Servlet through ali ECS can visit ali RDS MySQL

What this means

CodePudding user response:

refer to the original poster weixin_45638390 response:
start tomcat in the local eclipse, servlet through ali ECS can visit ali RDS MySQL, upload the WAR to the ali ECS after decompression, the servlet by ECS ali RDS cannot access MySQL, tomcat service is started on the ECS, connect to the database in the servlet using public IP, o great god help look at what's problem? Thank you for the great god,


Only see an empty value error, stick databaseutil, 40 limits should be value,
  • Related