Base X Multi threaded

5 views
Skip to first unread message

Shaarif Zia

unread,
Mar 7, 2014, 2:29:43 PM3/7/14
to BG-Social...@googlegroups.com

My Data Store is Base X. I am able to run the loading phase with 1 thread. But as soon as i am increasing the number of threads, my program shows all kind of junk exceptions.

I am running base x 7.7.2 on Mac OS x.

Jason Yap

unread,
Mar 7, 2014, 3:02:50 PM3/7/14
to BG-Social...@googlegroups.com
What kind of exceptions do you see? Are you using a shared/static object?


On Fri, Mar 7, 2014 at 11:29 AM, Shaarif Zia <shaa...@gmail.com> wrote:

My Data Store is Base X. I am able to run the loading phase with 1 thread. But as soon as i am increasing the number of threads, my program shows all kind of junk exceptions.

I am running base x 7.7.2 on Mac OS x.

--
You received this message because you are subscribed to the Google Groups "BG Social Benchmark" group.
To unsubscribe from this group and stop receiving emails from it, send an email to BG-SocialBenchm...@googlegroups.com.
Visit this group at http://groups.google.com/group/BG-SocialBenchmark.
For more options, visit https://groups.google.com/d/optout.

Shaarif Zia

unread,
Mar 8, 2014, 2:01:47 AM3/8/14
to BG-Social...@googlegroups.com
The problem is solved. :)

Thank you so much for the response anyways!

Shaarif Zia

unread,
Mar 10, 2014, 8:41:23 PM3/10/14
to BG-Social...@googlegroups.com
The problem was with escaping the characters. I did not escape the Xml characters because of which it was throwing some random errors. I just used Stringutils.escapeXml in order to escape the characters which might lead to wrong tags. for example:

<pw>#%#@%@fdsgfs<dsgg</pw>

The < character demands the xml tag to end the tag but here it just the part of data and we need to escape the XML.

Hope this helps. :)
Reply all
Reply to author
Forward
0 new messages