Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have fully working localhost website(with java server, react front, MySQL database).I already moved front on host, but I can not understand or find how to move java server on web host and run it. Can anyone explain it to me?
Create a war file of the java application using maven plugin and install tomcat on the host and then just copy the war file into the tomcat directory on the host. Here is tutorial on this.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to use angular 4 with java as backend. What I need is a single war file.I dont want to run different server for front end and back end. I want that there will be single java war file so that I can deploy it on app server like tomcat or jboss.
Please suggest some approach. Your help is highly appreciated.
HI I have done this in my project and what can you do that when you take a build of your Angular2 application then after the build copy all the content from the build/install folder and paste it in your Java Work space as a static content inside WebContent folder.
Makesure that you correctly configured the url of the backend service in your angular code.
After that try to clean the tomcat server and then restart it.
I hope it will work.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have developed a java dynamic web project and i am running it now via localhost:portnumber/project Name using tomcat server 6.0. I want to make this project to be run from another machines also by hitting my machine ip address.
So how can i achieve this?
Thanks in advance.
Yes, its very much doable. very easy if you are on same network. You can access it with below format
"YOUR_MACHINE_IP:PORT_NUMBER/project Name"
make sure the port is not blocked for outside requests. possible if firewall configured.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am new to Jenkins, I configured Jenkins with my CVS and I am stuck, after building the project using Jenkins I need it to be deployed automatically into the server so I can access the project.
This can be achieved by adding a "post-build" action in Jenkins, action of type can be "Deploy war/ear to a container" - that let's you define your configuration. Your question is too broad. I would suggest you read up on jenkin configurations or at least tinker with it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
As tomcat server is completely developed in Java, yet its installation file(.exe) are available for windows. As tomcat is open source, does the process of converting this java server application into windows installation file also documented anywhere. Which tool they use and how its works. How have they created UI wizard to take user inputs and do the registry entry and install tomcat as service.
Regards
They use Nullsoft Installer called from the ant build.
The nsi script can be found on svn, as well as all of tomcat code.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
i have install mod_jk i want to disable access to tomcat directly using localhost:8080/webApp
.it should be only accessible through apache server using mod_jk module and user is also not able to see webApp in url.
You can comment out in server.xml file the Connector of type http.
This will make tomcat only listen on the ajp connector.
Regards
Philippe