hot deploying simple application in jetty

后端 未结 2 1506
萌比男神i
萌比男神i 2021-01-16 15:15

I am working with jetty hightide vesion 7 currently as a stand alone server. I have a simple web project with a couple of jsp\'s and backing classes that I am currently depl

2条回答
  •  遥遥无期
    2021-01-16 15:50

    You need to define a ContextDeployer with a non-zero scan interval:

    
      
        
          
          /contexts
          1
        
      
    
    

    Regarding debugging, I guess that what you have in mind is to connect a remote debugger using JPDA. For this, you'll need to set the -agentlib:jdwp option1:

    -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
    

    The configure your IDE debugger to connect on the specified port.

    1 if the target VM is 5.0 or newer, -agentlib:jdwp is preferable over the -Xdebug and -Xrunjdwp options which are still supported though.

提交回复
热议问题