Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Error OCCURRED: Failed to connect to LiveCycle server via RMI. Make sure that the server is running

Avatar

Former Community Member
I have installed LifeCycle trial version .



and trying to convert pdf to rtf



using following initialization

Properties connectionProps = new Properties();

connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");

connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);

connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");

connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");

connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");





//Create a ServiceClientFactory instance

ServiceClientFactory factory = ServiceClientFactory.createInstance(connectionProps);



but i am getting error like following though i have started jboss which is inside lifecycle folder by run.bat



ERROR IS:Error OCCURRED: Failed to connect to LiveCycle server via RMI. Make sure that the server is running and accessible to this client.
1 Reply

Avatar

Level 2
May be you could use "netstat" or other tools like "ActivePorts" to ensure that ports established are correct.



Also try if jnp://127.0.0.1:1099 works or not, if ports are correct.