Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Prerequisites:

In project doms-installer

Build the project:

mvn clean package

Start Vagrant virtual machine:

cd scr/vagrant
vagrant up

Enter the Vagrant virtual machine

vagrant ssh

Install DOMS

cd /vagrant
./install-doms.sh

You now have a complete DOMS installed. It is accessible on

http://localhost:7880/fedora/

To start the DOMS with debugging enabled:

cd
tomcat/bin/shutdown.sh
tomcat/bin/catalina.sh jpda start

You can now connect a debugger on port 8000

In project doms-gui-installer

Build the project:

mvn clean package

Start Vagrant virtual machine:

cd scr/vagrant
vagrant up

Enter the Vagrant virtual machine

vagrant ssh

Install DOMS GUI

cd /vagrant
./install-gui.sh

You now have a complete DOMS GUI installed. It is accessible on

http://localhost:7801/DomsGui/

To start the DOMS GUI with debugging enabled:

cd
tomcat/bin/shutdown.sh
tomcat/bin/catalina.sh jpda start

You can now connect a debugger on port 9000

Attaching a debugger in IntelliJ Idea

Select "Run" -> "Edit Configurations..."

Press Green +-button

Select "Tomcat Server" -> "Remote"

As "Name" write "DOMS" or "DOMS GUI" (or another name of your choice)

Remove checkmark "After launch"

Edit "Port" to be 7880 for DOMS or 7801 for DOMS GUI

Select tab "Startup/Connection"

Select "Debug"

In "Port" write 8000 for DOMS or 9000 for DOMS GUI

Press OK

To attach to the debugger, Select "DOMS" or "DOMS GUI" in the dropdown, and press the button with a play logo and a little bug to the right of it.

Your debugger is now attached.

 

 

  • No labels