Skip to main content
Participant
August 29, 2013
Answered

How to create per instance jvm.config files for multi-instance ColdFusion Cluster ?

  • August 29, 2013
  • 1 reply
  • 1353 views

So when we have created our coldfusion 9 instance on solaris all the files and settings of the master instance are copied except the jvm.config file. This means that any changes made here are used for all instances of ColdFusion on that Node.  Now I want to play with memory settings for fine tuning of Application performance and I want to do it on one single instance. I want to know the process of creating individual jvm.config files for each instance.

Thanks

Pradeep

    This topic has been closed for replies.
    Correct answer Anit_Kumar

    Hello Pradeep,

    Thank you for your post. Please refer to http://helpx.adobe.com/legacy/kb/jrun-4-0-configuring-individual.html for Configuring individual JVM settings for each JRun Server

    Regards,

    Anit Kumar

    1 reply

    Anit_Kumar
    Community Manager
    Anit_KumarCommunity ManagerCorrect answer
    Community Manager
    August 29, 2013

    Hello Pradeep,

    Thank you for your post. Please refer to http://helpx.adobe.com/legacy/kb/jrun-4-0-configuring-individual.html for Configuring individual JVM settings for each JRun Server

    Regards,

    Anit Kumar

    Participant
    August 29, 2013

    Thanks Anit,  I did whatever is posted in the KB Article. Now I get this below error #

    jrunx.xml.XMLMetaData$CouldNotCreateDocumentException: Could not create document from location 'file:/data/www/appserver/jrun/lib/servers.

    xml'

            at jrunx.xml.XMLMetaData.createDocument(XMLMetaData.java:1028)

            at jrunx.xml.XMLMetaData.importXML(XMLMetaData.java:200)

            at jrunx.xml.XMLMetaData.<init>(XMLMetaData.java:122)

            at jrunx.server.metadata.ServersMetaData.<init>(ServersMetaData.java:32)

            at jrunx.server.ServerManagement.refreshServersMetaData(ServerManagement.java:82)

            at jrunx.server.ServerManagement.getServerRootDirectory(ServerManagement.java:154)

            at jrunx.server.ServerManagement.getServerProperties(ServerManagement.java:191)

            at jrunx.server.ServerManagement.getSystemProperties(ServerManagement.java:204)

            at jrunx.kernel.JRun.setSystemProperties(JRun.java:688)

            at jrunx.kernel.JRun.start(JRun.java:337)

            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 jrunx.kernel.JRun.invoke(JRun.java:180)

            at jrunx.kernel.JRun.main(JRun.java:168)

    Anit_Kumar
    Community Manager
    Community Manager
    August 29, 2013

    Are you getting the error message, while starting the instance?


    Do you have the servers.xml available at /data/www/appserver/jrun/lib/. If yes, can you share the content for the same?

    Regards,

    Anit Kumar