Summary of using Puyuan

Source: Internet
Author: User

1. When the existing EOS project is slightly changed and the EOS server is started again

[EOS-default] [11:00:54, 031] [Error] [COM. primeton. SCA. host. impl. eosscadomain: 97] generate the contributin 'file:/C:/primeton/eosserver/working/EOS-default/work/user/COM. primeton. EOS/'error.
Java. Lang. classcastexception: COM. IBM. WSDL. porttypeimpl
At org. Apache. Tuscany. SCA. interfacedef. WSDL. impl. wsdldefinitionimpl. Fig (wsdldefinitionimpl. Java: 261)
At org. Apache. Tuscany. SCA. interfacedef. WSDL. impl. wsdldefinitionimpl. Fig (wsdldefinitionimpl. Java: 278)
At org. Apache. Tuscany. SCA. interfacedef. WSDL. xml. wsdlinterfaceprocessor. resolvewsdlinterface (wsdlinterfaceprocessor. Java: 211)
At org. Apache. Tuscany. SCA. interfacedef. WSDL. xml. wsdlinterfaceprocessor. Resolve (wsdlinterfaceprocessor. Java: 238)
At org. Apache. Tuscany. SCA. interfacedef. WSDL. xml. wsdlinterfaceprocessor. Resolve (wsdlinterfaceprocessor. Java: 52)
At org. Apache. Tuscany. SCA. contribution. processor. defaultstaxartifactprocessorextensionpoint $ lazystaxartifactprocessor. Resolve (defaultstaxartifactprocessorextensionpoint. Java: 364)
At org. Apache. Tuscany. SCA. contribution. processor. extensiblestaxartifactprocessor. Resolve (extensiblestaxartifactprocessor. Java: 170)
At org. Apache. Tuscany. SCA. Assembly. xml. baseassemblyprocessor. resolvecontracts (baseassemblyprocessor. Java: 405)
At org. Apache. Tuscany. SCA. Assembly. xml. compositeprocessor. Resolve (compositeprocessor. Java: 844)
At org. Apache. Tuscany. SCA. Assembly. xml. compositeprocessor. Resolve (compositeprocessor. Java: 87)
At org. Apache. Tuscany. SCA. contribution. processor. defaultstaxartifactprocessorextensionpoint $ lazystaxartifactprocessor. Resolve (defaultstaxartifactprocessorextensionpoint. Java: 364)
At org. Apache. Tuscany. SCA. contribution. processor. extensiblestaxartifactprocessor. Resolve (extensiblestaxartifactprocessor. Java: 170)
At org. Apache. Tuscany. SCA. Assembly. xml. compositedocumentprocessor. Resolve (compositedocumentprocessor. Java: 164)
At org. Apache. Tuscany. SCA. Assembly. xml. compositedocumentprocessor. Resolve (compositedocumentprocessor. Java: 56)
At org. Apache. Tuscany. SCA. contribution. processor. extensibleurlartifactprocessor. Resolve (extensibleurlartifactprocessor. Java: 106)
At org. Apache. Tuscany. SCA. contribution. Service. impl. contributionserviceimpl. processresolvephase (contributionserviceimpl. Java: 534)
At org. Apache. Tuscany. SCA. contribution. Service. impl. contributionserviceimpl. addcontribution (contributionserviceimpl. Java: 400)
At org. Apache. Tuscany. SCA. contribution. Service. impl. contributionserviceimpl. contribute (contributionserviceimpl. Java: 189)
At com. primeton. SCA. Host. impl. eosscadomain. buildcontribution (eosscadomain. Java: 94)
At com. primeton. SCA. Host. impl. eosscadomain. addcontribution (eosscadomain. Java: 164)
At com. primeton. Ext. SCA. Host. scasystem. addcontribution (scasystem. Java: 281)
At com. primeton. SCA. Host. impl. scaresourceloadlistener. Load (scaresourceloadlistener. Java: 97)
At com. primeton. runtime. Resource. impl. resourcenoworkflow. policyresource (resourcenoworkflow. Java: 192)
At com. primeton. runtime. Resource. impl. applicationresourceloadermanager. loadapplicationresource (applicationresourceloadermanager. Java: 65)
At com. primeton. Ext. runtime. Resource. startup. resourceloaderstartuplistener. Start (resourceloaderstartuplistener. Java: 60)
At com. primeton. runtime. Core. impl. runtimelistenermanagerimpl. startlistener (runtimelistenermanagerimpl. Java: 103)
At com. primeton. Ext. runtime. Core. runtimemanager. Start (runtimemanager. Java: 112)
At com. primeton. Ext. runtime. Core. runtimej2eehost. contextinitialized (runtimej2eehost. Java: 145)
At org. Apache. Catalina. Core. standardcontext. listenerstart (standardcontext. Java: 3763)
At org. Apache. Catalina. Core. standardcontext. Start (standardcontext. Java: 4211)
At org. Apache. Catalina. Core. containerbase. addchildinternal (containerbase. Java: 759)
At org. Apache. Catalina. Core. containerbase. addchild (containerbase. Java: 739)
At org. Apache. Catalina. Core. standardhost. addchild (standardhost. Java: 524)
At org. Apache. Catalina. startup. hostconfig. deploydirectory (hostconfig. Java: 904)
At org. Apache. Catalina. startup. hostconfig. deploydirectories (hostconfig. Java: 867)
At org. Apache. Catalina. startup. hostconfig. deployapps (hostconfig. Java: 474)
At org. Apache. Catalina. startup. hostconfig. Start (hostconfig. Java: 1122)
At org. Apache. Catalina. startup. hostconfig. lifecycleevent (hostconfig. Java: 310)
At org. Apache. Catalina. util. lifecyclesupport. firelifecycleevent (lifecyclesupport. Java: 119)
At org. Apache. Catalina. Core. containerbase. Start (containerbase. Java: 1021)
At org. Apache. Catalina. Core. standardhost. Start (standardhost. Java: 718)
At org. Apache. Catalina. Core. containerbase. Start (containerbase. Java: 1013)
At org. Apache. Catalina. Core. standardengine. Start (standardengine. Java: 442)
At org. Apache. Catalina. Core. standardservice. Start (standardservice. Java: 450)
At org. Apache. Catalina. Core. standardserver. Start (standardserver. Java: 709)
At org. Apache. Catalina. startup. Catalina. Start (Catalina. Java: 551)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 25)
At java. Lang. Reflect. method. Invoke (method. Java: 585)
At org. Apache. Catalina. startup. Bootstrap. Start (Bootstrap. Java: 294)
At org. Apache. Catalina. startup. Bootstrap. Main (Bootstrap. Java: 432)

I once asked xiaoj about this problem. He only said that the windows system environment variable path contains too much content, but after some content in the path is deleted, the problem still persists.

 

 

Later, I had to change all the calling services in the page stream to logic operations with liyp.

 

2. When using the carrot clustering function in the EOS project, you must add the jar package for carrot in build path --- libraries of the project.

 

To add a jar package, click "add external jar package" to find the directory for extracting the carrot2-java-api-3.3.0-dev and include the carrot2-core.jar to the project.

In addition, the extract carrot2-java-api-3.3.0-dev directory lib directory copy to the project under the Web --- WEB-INF under, by default, under web --- WEB-INF there is a node named lib but there is no content in it. Note that you cannot copy the lib directory under the carrot2-java-api-3.3.0-dev directory to the root directory under the project, then, use "add internal jar" in the Project Build path --- libraries to add the lib directory under the root directory to the same level as the JRE library. This will generate the following error message

 

 

It is indirectly referenced from required. class files

Only a type can be imported

Org. codehaus. Jackson. annotate. jsonmethod

The Type org. corrot2.cluster cannot be resolved

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.