About resin methods for deploying with debug mode on Eclipse or MyEclipse and some of the problems encountered

Source: Internet
Author: User

This article transferred from: http://blog.csdn.net/yangvip101/article/details/47310985

Recently new job-hopping company, the previous company has been using Tomcat and the new company is resin, no way can only install a resin on the machine and related configuration, the background is finished, not wordy, the following first explain the configuration method, the final will be attached to some of the problems encountered in the configuration and solutions.

1. Open Eclipse or MyEclipse, select the debug mode debuge Co ' nfigurations configuration item in the toolbar on the side of the main interface, as shown in:


2. In the pop-up screen , select the Java application item in the left panel, Select Create a new Java application on the ② above, and configure it on the right, such as label ⑤ the name can be arbitrarily named to the configuration has no effect, labeling ③ is selected to start the project, click on the right of the browse to select the project to configure the start, the callout ④ is the main class configuration, the class is a fixed item, This configuration is used in the resin3.x version, but resin2.x I remember it seems that it is not the configuration, need to configure 2.x friends can go to check


3. After configuring the contents of the main tab and then configuring the arguments option, the main configuration content as shown, for the novice convenience, I will configure the code to paste out, save the novice to follow the image 1.1 points to hit the code

-conf d:/resin-pro-3.1.9/conf/pcat.conf

-dresin.home= "d:/resin-pro-3.1.9"
-djava.util.logging.manager=com.caucho.log.logmanagerimpl
-xms1000m-xmx1000m-xmn100m


4. The following configuration of the Classpath item, as shown in, check bootstrap Entries, will be added to the directory of all the jar files of the Lib package under the Resin installation directory, add and then add the Lib under the JDK.

Labeling ② is to add your own project (project) First, and then add the jar file under your own item (i.e. Add projects and add jars), and configure it so far, click the Debug button on the lower side of the configuration item to run

5. Configuration complete now explain the pcat.conf configuration item, I also just get started resin, personally think, this profile main note two points, one is the port, one is the project's startup path, as shown in


In general, these two items can be configured to start their own projects


6. Now tell me about the problems I encountered during the configuration process

Question 1:



This problem is because the resin inside the resin.conf configuration item xmx and XMS configuration is a bit large, slightly to a small configuration such as 512m and so on

2. I map out the error content, the basic error message is:

Offending Resource:url [Jar:file:/d:/workspaces/myeclipse%208/pcat2/webroot/web-inf/lib/pcat3-config-beta1.0.jar !/sys/spring/beans-security.xml]


The general meaning of the translation is what the resource violation, in fact, is because your pcat.conf configuration item in the project's reference path more than a space. That's it!!! So please other students must pay attention to this problem, resin referencing the path of the project or even the installation path is best not to have a space, because of this broken space, toss me an afternoon, remember!!!


About resin methods for deploying with debug mode on Eclipse or MyEclipse and some of the problems encountered

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.