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 14 years ago.
Improve this question
My application's context root is /foobar and I am running an exploded deployment with maven-jetty-plugin.
I need to dynamically remap requets for /images/* to /foobar/images/*, and I cannot remap my application's context root to /.
For weblogic I have a halfwit solution where I deploy an additional war containing a proxy to context root /images.
The problem is that I cannot get this to work with maven-jetty-plugin, because I dont see how it can deploy two apps.
Anyone know how to do this ?
Are you referring to <img> links? If so, it's a job for Apache's MOD_REWRITE
http://jiajia.eu/category/Maven.aspx
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 3 years ago.
Improve this question
I have a struts2 project that I launch with a jetty server. I would like to make a dockerfile allowing me to create a struts2 image (to be able to launch it with a compose docker), my problem is that I have the impression that there is no documentation about struts2 to create the dockerfile, would you have some tricks to propose to me? Thank you in advance for your answer
Struts is part of the application scope and shouldn't be packed in a docker container by itself. It's should be packed in the EAR or Spring Boot application (for example) you are working on. You have to deploy/add the EAR or Spring Boot application to the docker image.
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 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'm able access the manager webapp of my tomcat server hosted back home. I'm able to deploy and undeploy webapps and test them. But I wanted to know, if there is a way to access the tomcat logs remotely in case of a error on the remote server.
Logback logging library (Log4j successor) has a module for that:
http://logback.qos.ch/access.html
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
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 want to find a hosting service for a small Java servlet (running on Tomcat, no database required). Any suggestions or anything I need to be careful about? Also: The only thing I need to upload to the hosting service is the .war file?
If its just a war then eatj is good.
Update:
In Feb, 2018 Amazon AWS is the best.