Deploying admin to production server?
Posted: Wed Jul 16, 2014 1:25 pm
Hello All,
When I create HeatClinic locally, it loads by going to http://localhost:8080, and the admin works by going to http://localhost:8080/admin
I am using Tomcat 7, with MySQL. But when I drop the .war files into Tomcat on my Production server and restart...it builds the project but it becomes: http://www.server.com/mycompany/ I had my ISP add this /mycompany/ context and the site loads fine on production....
But the issue is how to deploy the admin??? Basically it deploys to http://www.server.com/admin/ but is that the correct place? I would think it would need to be here: http://www.server.com/mycompany/admin/ ?
Can I get some feedback on which files to change that when I make the .war (mvn clean install) that it will deploy and the admin be available at /mycompany/admin/
The larger question is why it doesn't add /mycompany/ locally when I build....
Thanks!
When I create HeatClinic locally, it loads by going to http://localhost:8080, and the admin works by going to http://localhost:8080/admin
I am using Tomcat 7, with MySQL. But when I drop the .war files into Tomcat on my Production server and restart...it builds the project but it becomes: http://www.server.com/mycompany/ I had my ISP add this /mycompany/ context and the site loads fine on production....
But the issue is how to deploy the admin??? Basically it deploys to http://www.server.com/admin/ but is that the correct place? I would think it would need to be here: http://www.server.com/mycompany/admin/ ?
Can I get some feedback on which files to change that when I make the .war (mvn clean install) that it will deploy and the admin be available at /mycompany/admin/
The larger question is why it doesn't add /mycompany/ locally when I build....
Thanks!