RESIN4 is configured on eclipse

Source: Internet
Author: User

My eclipse version is Helios Service Release 1

(1) Integrated resin4 on top, RESIN4 will create a new servers project on Eclipse, and then we can modify the configuration file Resin.xml

Found it

<cluster>

<!--
-The directory where you modify your project
-->
<web-app id= "/" root-directory= "/usr/local/app/workspace/crm/src/main/webapp" >
</web-app>

<resin:if test= "${resin_doc}" >
<web-app id= "/resin-doc" root-directory= "${resin.root}/doc/resin-doc"/>
</resin:if>

</cluster>

(2) then modify the App-default.xml

<web-app-default>
<!--configures the default class loader-->
<class-loader>
<compiling-loader path= "Web-inf/classes"/>

<!--let resin read the jar packages under the Lib directory of their own projects-->
<library-loader path= "/usr/local/app/workspace/crm/target/boss-loong/web-inf/lib/"/>
</class-loader>

</web-app-default>

(3) then modify the Cluster-default.xml

Modify <resin:import path= "Classpath:meta-inf/caucho/app-default.xml"/> To

<resin:import path= "${__dir__}/app-default.xml"/>

This allows resin to read the App-default.xml file configuration under the Eclipse project

This can be configured to complete, and you can start resin4 in Eclipse.

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.