Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle PDF Generator
Viewing all articles
Browse latest Browse all 31905

Remote EJBObject lookup failed for ejb/Invocation provider

$
0
0

I am getting the following runtime error and am not sure why:

 

com.adobe.edc.sdk.SDKException: Remote EJBObject lookup failed for ejb/Invocation provider -- An error occured while performing this operation(error code bin: 1, hex: 0x1)

 

I believe I have all the correct jar files.

 

Here is the code:

 

Properties properties = new Properties();

        properties.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB _ENDPOINT,

                urlName);

        properties.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_P ROTOCOL,

                ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);

        properties.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE ,

                ServiceClientFactoryProperties.DSC_JBOSS_SERVER_TYPE);

        properties.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_ USERNAME, username);

        properties.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_ PASSWORD, password);

               

        ServiceClientFactory client = ServiceClientFactory.createInstance(properties);

       

        RightsManagementClient rmClient = new RightsManagementClient(client);

        DocumentManager docManager = rmClient.getDocumentManager();

        RMSecureDocumentResult finalDoc = null;

        try {

            finalDoc = docManager.protectDocument(pdf, outputName, policySet, policyName,

                    null, null, null);

        } catch (SDKException e) {

            e.printStackTrace();

        }

 

 

Has anyone encountered the same problem?


Viewing all articles
Browse latest Browse all 31905

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>