Hi All,

We're trying to setup mongo db session clustering on jetty. I'm following
the online documentation for the setup, ie :

1. Enable no-sql module
2. Configure MongoSessionIdManager
3. Configure MongoSessionManager

I have mongo db setup on a remote machine and I made the corresponding
changes on jetty-nosql.xml

Now while bringing up the application, I'm running into this error and the
server doesnot startup:

2015-11-02 15:29:28.766:WARN:oejx.XmlParser:main:
FATAL@file:/webapps/ibpui_jetty9.3/profile/etc/jetty-nosql.xml
line:26 col:2 : org.xml.sax.SAXParseException; systemId:
file:/webapps/ibpui_jetty9.3/profile/etc/jetty-nosql.xml; lineNumber: 26;
columnNumber: 2; The markup in the document following the root element must
be well-formed.
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.eclipse.jetty.start.Main.invokeMain(Main.java:214)
        at org.eclipse.jetty.start.Main.start(Main.java:457)
        at org.eclipse.jetty.start.Main.main(Main.java:75)

I'm using the default template provided in jetty documentation site. The
lines 21-32 from the file are below. Please let me know if I'm missing
something:

21   </Call>
 22   <!-- If you want to configure Jetty to be able to read through the
slaves, call the following: -->
 23   <Call name="slaveOk"/>
 24 </New>
 25
 26 <Set name="sessionIdManager">
 27   <New id="mongoIdMgr"
class="org.eclipse.jetty.nosql.mongodb.MongoSessionIdManager">
 28     <Arg>
 29       <Ref id="Server"/>
 30     </Arg>
 31     <Arg>
 32       <Ref id="sessionDocument"/>


Thanks,

Ravi.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to