Configuration deployment and debugging for resin under windows

Source: Internet
Author: User

Configuration

Download resin extract from resin official website (http://www.caucho.com), start resin, run resin file under Resin.exe root, and the command prompt window shown will appear during operation.

Indicates that resin has started successfully, and http://localhost:8080/enters the resin default page after launching in the browser.

Deploy we select the/resin-admin link (admin console), enter the admin console and ask for a username and password, because for the first time, we need to create a new admin user. After entering your username and password, click the Register button

After you enter it correctly, you will be prompted with the information shown:

Indicates that an administrator user was created successfully, and we need to do this again as above.

Restart Resin.exe, enter http://localhost:8080/, click the Administration is available here link to the admin login page, enter the user name and password correctly to access the Administrator console.

We're going to do the last one here. Deploy the project, locate the Confresin.xml file in the resin directory, and find it in the Resin.xml file

The others don't move it. What does that code mean? Id= "" refers to the name of the project that needs to be run in resin (make changes according to your needs), root-directory= "${resin.root}/deploy/jpetstore" means the root of the running project, Note Because most servers are actually running projects that are deployed into the server (resin-3.2.1 will place the project in the Deploy directory under the root directory), resin will only run the items in this directory. OK, now that all deployment is complete, if you need to join other projects to resin run, you only need to copy <web-app id= "/jpetstore" root-directory= "${resin.root}/deploy/ Jpetstore "/> Change to the corresponding project name and path. Test it! Debugging

httpd-xdebug-xnoagent-xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345

After starting resin, open the Eclipse project, select Run, Debug ...., remote Java application, new to create a remote Java application, fill in the host:127 .0.0.1, port:12345, note that this Port is the address parameter of the resin startup. Now, you can use Eclipse's powerful and convenient debugging interface to debug and track Web App breakpoints! or find <server-default> in resin's resin.conf and add the following parameters:

<resin xmlns= "Http://caucho.com/ns/resin" xmlns:resin= "Http://caucho.com/ns/resin/core" > <log name= "" Level= "Info" path= "stdout:"/> <cluster id= "" ><root-directory>.</root-directory>< server-default> 

Configuration deployment and debugging for resin under windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.