tomcat:
open tomcat's service manager and go into the java tab
configure jdwp to use intellij settings. this will enable intellij to publish artifacts into tomcat make sure each directive is in its own line
-Xdebug -Xrunjdwp:transport=dt_socket,address=54312,suspend=n,server=y -javaagent:C:\Users\uye\.IntelliJIdea12\system\groovyHotSwap\gragent.jar
configure rmi and debugging
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=fxdms-hp
intellij:
create a new remote tomcat server
under the server tab, configure and pick tomcat's binaries
set jmx port to 1099
set remote staging>type to Same file system
under remote connection settings set host to localhost and port to 8080
No comments:
Post a Comment