[Geoserver-users] is Layer not getting from MongoDb in geoserver MongoDb store?

Hi,
I am using geoserver 2.5
MongoDb 2.4
Windows 7 64bit

I am imported json file into MongoDb using the below query.
mongoimport --db GeoMongodb --collection states --file E:/states.json
--jsonArray
This query successfully created states table into GeoMongodb database.

I am created MongoDb store in geoserver. The store also created but inserted
table not showing in MongoDb store as layer.
(http://gis.stackexchange.com/questions/54950/getting-mongodb-working-with-geoserver-2)
I refereed this link for creating MongoDb store.
so I checked geoserver log, it is showing like this error,

2014-04-17 14:22:32,723 ERROR [data.mongodb] - getLayers error; command
failed [mapreduce]: { "serverUsed" : "localhost/127.0.0.1:27017" , "errmsg"
: "exception: ReferenceError: mapfields_recursive is not defined near
'ction() { mapfields_recursive (\"\", this);' " , "code" : 16722 , "ok" :
0.0}

can you please help me how to solve this issue?

Thanks and regards
Mano G

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/is-Layer-not-getting-from-MongoDb-in-geoserver-MongoDb-store-tp5135581.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I have attaching (datastore.xml) also , the store structure is showing like
this

<dataStore>
  <id>DataStoreInfoImpl--7795dc21:1456ecceb72:-7ffe</id>
  <name>states</name>
  <description>states</description>
  <type>MongoDB</type>
  <enabled>true</enabled>
  <workspace>
    <id>WorkspaceInfoImpl--7795dc21:1456ecceb72:-8000</id>
  </workspace>
  <connectionParameters>
    <entry key="mongo_host">localhost</entry>
    <entry key="mongo_port">27017</entry>
    <entry key="mongo_db_name">GeoMongodb</entry>
    <entry key="namespace">http://localhost:8080/mongodb&lt;/entry&gt;
  </connectionParameters>
  <__default>false</__default>
</dataStore>

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/is-Layer-not-getting-from-MongoDb-in-geoserver-MongoDb-store-tp5135581p5135592.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,
I found this thread while searching for a solution to the same problem. Were
you able to proceed? if so, could you please share the details?
Thanks

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/is-Layer-not-getting-from-MongoDb-in-geoserver-MongoDb-store-tp5135581p5171366.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi.
I also experienced a similar problem as follows
http://gis.stackexchange.com/questions/112398/geoserver-mongodb-connection-ok-but-layers-list-empty?rq=1
Please let me know if the solution has been found.
Thank you.

···

On Wed, Nov 5, 2014 at 8:17 PM, patb23 <pattabiraman.meenakshisundaram@anonymised.com> wrote:

Hi,
I found this thread while searching for a solution to the same problem. Were
you able to proceed? if so, could you please share the details?
Thanks


View this message in context: http://osgeo-org.1560.x6.nabble.com/is-Layer-not-getting-from-MongoDb-in-geoserver-MongoDb-store-tp5135581p5171366.html
Sent from the GeoServer - User mailing list archive at Nabble.com.



Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users