Created by: Pietro Angelo Corrao on 05-09-2013 06:00:50 AM Hi everybody,
I need to configure some jvm properties and cannot find documentations that explain how to configure such properties in CVP/VXML context. i founded and old post in this community where is expained that to edit and configure jvm properties on the server i have to edit the following registry key:
i would like to ask you if it's correct to edit such registry K to manage my jvm args. One more question i have is...How can i manage the jvm properties during the app. developing in Cisco Unified Call Studio running in debug my app?
Thanks for you Help,
Pietro
Subject: RE: jvmarg/JAVA_OPTS Configuration Replied by: Hemal Mehta on 05-09-2013 07:31:41 AM Yes, you can set under options
50% ok 50% ko the jvm properties configured in the Reg.K works fine and they are accessible from the IVR App. But the properties configured in the eclipse.ini are yes present in the eclips configuration details but they are not visible/available for the IVR App....
Any other Idea?
Subject: RE: jvmarg/JAVA_OPTS Configuration Replied by: Hemal Mehta on 05-09-2013 11:38:38 AM The eclipse ones apply to Studio only. The CVP VXML server one above is the correct one. What else do you want to change ? What is intention ?
Subject: RE: jvmarg/JAVA_OPTS Configuration Replied by: Pietro Angelo Corrao on 06-09-2013 04:10:12 AM
Hemal Mehta:
The eclipse ones apply to Studio only. The CVP VXML server one above is the correct one. What else do you want to change ? What is intention ?
My aim is to replicate and test the overall IVT app. in the development env. so using the call studio debug. I use the jvm properties to setup my app configuration references and to configure the third party API i use in my prf (Apache CXF and Common Logging). As i wrote everything work fine deployed in the server but in my local env.(call studio) such configuration doesnt work and it makes slower and develop process as you can immage. please finde below and example of what i did to configure and to verify such configuration:
public class StartApplicationImpl implements StartApplicationInterface { Logger logger = Logger.getLogger(StartApplicationImpl.class); public void onStartApplication(ApplicationStartAPI arg0)throws AudiumException { logger.debug("StartApplicationImpl start"); try { Set<Object> appo = System.getProperties().keySet(); for (Object object : appo) { logger.debug(object); ////////// Logging all the sys prop. i cant see that one configured in the eclipse.ini Running the code with the Call Studio Debug...It works fine deployed to the server } } catch (Exception e) { logger.error("StartApplicationImpl Exception: ", e); } } }
Subject: RE: jvmarg/JAVA_OPTS Configuration Replied by: Hemal Mehta on 06-09-2013 03:29:02 PM Try running your java code as a java app and see if the logging works correctly from within studio. Do not use debug studio. Please check and see what happens.
Subject: RE: jvmarg/JAVA_OPTS Configuration Replied by: Pietro Angelo Corrao on 09-09-2013 03:41:12 AM Did It already with a simple class with a main method and the result is the same...not present in the list that my code print and if i try to retrieve directly the properties the result is null. Please find below the eclipse.ini:
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: