Use composer to develop dfc programs

Source: Internet
Author: User

After creating the documentum project, the error "dfc. properties" file is always missing, and No DocBrokers are configured. However, the dfc on my machine has been installed normally, and we can see that D: \ Documentum \ Config

Later, I tried some experiments and found that the problem could be solved below.

 

Right-click the project and choose propertiess> Java Build Path> Libraries> Add Class Folder> D: \ Documentum \ Config.

Run the command again. If the log4j folder of the package is incorrect, configure log4j as prompted.

My coordination file is as follows:

Dfc. properties

Dfc. data. dir = D \:/Documentum
Dfc. search. ecis. enable = false
Dfc. search. ecis. host =
Dfc. search. ecis. port =
Dfc. tokenstorage. dir = D \:/Documentum/apptoken
Dfc. tokenstorage. enable = false
Dfc.doc broker. host [0] = 192.168.6.245
Dfc.doc broker. port [0] = 1489
Dfc. security. keystore. file = D \:/Documentum/config/dfc. keystore
Dfc. session. secure_connect_default = try_native_first

 

Log4j. properties

 

Log4j. rootCategory = WARN, A1, F1
Log4j. category. MUTE = OFF
Log4j. additivity. tracing = false
Log4j. category. tracing = DEBUG, FILE_TRACE

# ------------------- CONSOLE --------------------------
Log4j. appender. A1 = org. apache. log4j. leleappender

Log4j. appender. A1.threshold = ERROR
Log4j. appender. A1.layout = org. apache. log4j. PatternLayout
Log4j. appender. A1.layout. ConversionPattern = % d {ABSOLUTE} % 5 p [% t] % c-% m % n

# ------------------- FILE --------------------------
Log4j. appender. F1 = org. apache. log4j. RollingFileAppender

Log4j. appender. F1.File = D: Documentumlogs race. log
Log4j. appender. F1.MaxFileSize = 10 MB
Log4j. appender. F1.layout = org. apache. log4j. PatternLayout
Log4j. appender. F1.layout. ConversionPattern = % d {ABSOLUTE} % 5 p [% t] % c-% m % n

# ------------------- FILE_TRACE --------------------------
Log4j. appender. FILE_TRACE = org.apache.log4j.net. SocketAppender

Log4j. appender. FILE_TRACE.File = D: Documentumlogslog4j. log
Log4j. appender. FILE_TRACE.MaxFileSize = 100 MB
Log4j. appender. FILE_TRACE.layout = org. apache. log4j. PatternLayout
Log4j. appender. FILE_TRACE.layout.ConversionPattern = % d {ABSOLUTE} [% t] % m % n

Log4j. appender. FILE_TRACE.Port = 4445
Log4j. appender. FILE_TRACE.RemoteHost = localhost

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.