Step 1: Download the pre-configured Tomcat with JPetStore from this link and extract it to the C-drive.
Step 2: Navigate to the C:\apache-tomcat-9.0.60\bin directory and start Tomcat by executing startup.bat
Perform Step 3 only if the Derby database is not running on the machine.
Step 3: Navigate to the C:\apache-tomcat-9.0.60\javadb\bin directory and start Derby by running startNetworkServer.bat
The following messages will be displayed once the Derby has started.
Step 4: If you enter the following URL in to the browser, the Petstore application will appear.
http://localhost:8080/JPetStore/shop/index.shtml
Comments
0 comments
Article is closed for comments.