Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Aug 29, 2013 Aug 29, 2013

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

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Aug 29, 2013 Aug 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

Translate
Adobe Employee ,
Aug 29, 2013 Aug 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 29, 2013 Aug 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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 29, 2013 Aug 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 29, 2013 Aug 29, 2013

one more thing, when we revert back to default jvm.config, everything works fine.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE servers PUBLIC "-//Macromedia, Inc.//DTD servers 4.0//EN" "http://jrun.macromedia.com/dtds/servers.dtd">

<servers>

  <server>

    <name>default</name>

    <directory>{jrun.home}/servers/default</directory>

  </server>

  <server>

    <name>samples</name>

    <directory>{jrun.home}/servers/samples</directory>

  </server>

  <server>

    <name>admin</name>

    <directory>{jrun.home}/servers/admin</directory>

  </server>

  <server>

    <name>cfmx11</name>

  <directory>{jrun.home}/servers/cfmx11</directory></server>

<server>

  <name>cfmx12</name>

<directory>{jrun.home}/servers/cfmx12</directory></server>

<server>

    <name>cfmx13</name>

  <directory>{jrun.home}/servers/cfmx13</directory></server>

<server>

  <name>cfmx14</name>

<directory>{jrun.home}/servers/cfmx14</directory></server>

</servers>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 29, 2013 Aug 29, 2013
LATEST

Have you installed the JRun server as a Windows service? If yes, then you will first need to remove it and then reinstall it using the below command line syntax.

Install the service using the following command:

jrunsvc -install jrun_server service-name service-display service-description

-config custom_jvm.config



Regards,

Anit Kumar

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources