<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:00:15 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-22385] Mongo client unable to load js file </title>
                <link>https://jira.mongodb.org/browse/SERVER-22385</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;1) &lt;span class=&quot;error&quot;&gt;&amp;#91;narayana@xeon mongodb-linux-x86_64-rhel62-3.2.1&amp;#93;&lt;/span&gt;$ pwd&lt;br/&gt;
/tmp/mongodb-linux-x86_64-rhel62-3.2.1&lt;br/&gt;
2) &lt;span class=&quot;error&quot;&gt;&amp;#91;narayana@xeon mongodb-linux-x86_64-rhel62-3.2.1&amp;#93;&lt;/span&gt;$ cat myReplicaSetConf.js &lt;br/&gt;
 {&lt;br/&gt;
  &quot;_id&quot; : &quot;rs0&quot;, &lt;br/&gt;
  &quot;version&quot; : 1,&lt;br/&gt;
  &quot;members&quot; : [ &lt;br/&gt;
               &lt;/p&gt;
{&quot;_id&quot;:0, &quot;host&quot;: &quot;localhost:27017&quot;}
&lt;p&gt;,&lt;br/&gt;
               &lt;/p&gt;
{&quot;_id&quot;:1, &quot;host&quot;: &quot;localhost:27018&quot;}
&lt;p&gt;,&lt;/p&gt;
               {&quot;_id&quot;:2, &quot;host&quot;: &quot;localhost:27019&quot;}
&lt;p&gt;              ]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;3) bin/mongo --nodb --port 27017 myReplicaSetConf.js&lt;/p&gt;

&lt;p&gt; Error&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;narayana@xeon mongodb-linux-x86_64-rhel62-3.2.1&amp;#93;&lt;/span&gt;$ bin/mongo --nodb --port 27017 myReplicaSetConf.js &lt;br/&gt;
MongoDB shell version: 3.2.1&lt;br/&gt;
2016-01-31T15:12:38.206+0530 E QUERY    &lt;span class=&quot;error&quot;&gt;&amp;#91;thread1&amp;#93;&lt;/span&gt; SyntaxError: missing ; before statement @myReplicaSetConf.js:2:8&lt;/p&gt;

&lt;p&gt;failed to load: myReplicaSetConf.js&lt;/p&gt;

</description>
                <environment></environment>
        <key id="262016">SERVER-22385</key>
            <summary>Mongo client unable to load js file </summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="narayanab16">Narayana B</reporter>
                        <labels>
                    </labels>
                <created>Sun, 31 Jan 2016 09:50:50 +0000</created>
                <updated>Sun, 31 Jan 2016 11:17:58 +0000</updated>
                            <resolved>Sun, 31 Jan 2016 11:17:42 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1158964" author="stennie" created="Sun, 31 Jan 2016 11:17:42 +0000"  >&lt;p&gt;Hi Narayana,&lt;/p&gt;

&lt;p&gt;The content of your &quot;myReplicaSetConf.js&quot; file is a JSON document rather than JavaScript code, so the error message is expected.&lt;/p&gt;

&lt;p&gt;Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the &lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user group&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag&lt;/a&gt;, where your question will reach a larger audience.&lt;/p&gt;

&lt;p&gt;If you do ask for help on a community forum, I would also suggest including a description of what you are trying to achieve. Replica set configuration is normally managed in the &lt;tt&gt;mongo&lt;/tt&gt; shell using the &lt;tt&gt;rs.conf()&lt;/tt&gt; helper (as per the &lt;a href=&quot;https://docs.mongodb.org/manual/tutorial/deploy-replica-set/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Deploy a Replica Set&lt;/a&gt; tutorial).&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                            <comment id="1158958" author="narayanab16" created="Sun, 31 Jan 2016 10:04:07 +0000"  >&lt;p&gt;Please check the mongo help&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;narayana@xeon mongodb-linux-x86_64-rhel62-3.2.1&amp;#93;&lt;/span&gt;$ bin/mongo --help&lt;br/&gt;
MongoDB shell version: 3.2.1&lt;br/&gt;
usage: bin/mongo &lt;span class=&quot;error&quot;&gt;&amp;#91;options&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;db address&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;file names (ending in .js)&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 31 Jan 2016 11:17:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 2 weeks, 3 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 2 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>narayanab16</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkjg7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hshwan:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsfa1b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>