Answer the question
In order to leave comments, you need to log in
IDEA Intelij + remote Tomcat deploy?
Dear Habravchane,
There is the following situation - Linux 12.10 x64, LXC container in which Tomcat 6.0.24 is running and the IDEA Intelij 12.0.2 environment. A Maven project is being developed, with an output in the form of a WAR. The question is how to correctly configure the deployment of this web application?
No matter how much I tried, I came to the upload option via SFTP, but I don’t quite understand the names of the fields in the configuration (File System - SFTP, Path relative to root - /, Mapping - ???). No matter how I tried it, I always get a FIleNotFoundException or Invalid WAR file error, although the file is actually there, it opens, and I don’t see any problems ... Accordingly, a container is created in Tomcat, but it does not start.
I sort of figured out JNDI by adding the lines
-Dcom.sun.management.jmxremote= \
-Dcom.sun.management.jmxremote.port=1099 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false \
in /usr/sbin/tomcat6
Thanks.
Answer the question
In order to leave comments, you need to log in
Will you deploy there alone? If so, then in general you can insert the tomcat6-maven-plugin into the maven and call run-war with the indication of the relay server. It will throw it there through the Manager application.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question