Error set of IBM Ce (fnrcs0005e)

Source: Internet
Author: User

 

// Get all storagearea objects through ObjectStore. ceutil is a tool class encapsulated by me to get ObjectStore

ObjectStore OS = ceutil. getstore ();
Storageareaset areaset = OS. get_storageareas ();

Run the above Code and the ObjectStore is obtained successfully. The following error occurs when the storagearea is obtained:

Exception in thread "Main" com. filenet. API. Exception. engineruntimeexception:Fnrcs0005e: security_invalid_credentials: Access to the Content Engine was not allowed because the Content Engine api library or the Web Service Interface (WSI) Listener cocould not find the required security context information. expected credentials were not found in the security context.
At com. filenet. apiimpl. WSI. clientoperation. getcredential (clientoperation. Java: 361)
At com. filenet. apiimpl. WSI. clientoperation. getsoapenvelopesecurity (clientoperation. Java: 294)
At com. filenet. apiimpl. WSI. servicesessionnst. bstartxmldocument (servicesessionnst. Java: 847)
At com. filenet. apiimpl. WSI. servicesessionnst. creqresppath (servicesessionnst. Java: 155)
At com. filenet. apiimpl. WSI. servicesessionnst. getobjects (servicesessionnst. Java: 104)
At com. filenet. apiimpl. util. sessionhandle. getobjects (sessionhandle. Java: 381)
At com. filenet. apiimpl. Core. session. callgetobjects (session. Java: 122)
At com.filenet.apiimpl.core.session.exe cutegetobject (session. Java: 327)
At com. filenet. apiimpl. Core. session. getproperty (session. Java: 450)
At com. filenet. apiimpl. Property. propertyimpl. fetchvalue (propertyimpl. Java: 355)
At com. filenet. apiimpl. Property. propertyimpl. getobjectvalue (propertyimpl. Java: 295)
At com. filenet. apiimpl. Property. propertyimpl. getobjectvalue (propertyimpl. Java: 276)
At com. filenet. apiimpl. Property. propertyimpl. getindependentobjectsetvalue (propertyimpl. Java: 589)
At com. filenet. apiimpl. Property. propertiesimpl. getindependentobjectsetvalue (propertiesimpl. Java: 1191)
At com. filenet. apiimpl. Core. objectstoreimpl. get_storageareas (objectstoreimpl. Java: 621)

 

Error cause:

Although I get the ObjectStore either correctly or correctly, the following code is executed when I get the ObjectStore:

Usercontext UC = usercontext. Get ();

....

UC. popsubject (); // The authentication is completed in advance.

 

Solution:

After the objectsotre operation is completed, the authentication is completed.

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.