This is tricky.
What is the differences between your app that works and your app that doesn't ?
One thing that jumps out at me is I never use the scheme xdbc:// but rather
xcc://
A quick try may be illuminating use
xcc://mluser:[email protected]:8009
Also are you *sure* you are using the same version of XCC JAR file in your app
as in the example case that works ?
-----------------------------------------------------------------------------
David Lee
Lead Engineer
MarkLogic Corporation
[email protected]
Phone: +1 650-287-2531
Cell: +1 812-630-7622
www.marklogic.com<http://www.marklogic.com/>
This e-mail and any accompanying attachments are confidential. The information
is intended solely for the use of the individual to whom it is addressed. Any
review, disclosure, copying, distribution, or use of this e-mail communication
by others is strictly prohibited. If you are not the intended recipient, please
notify us immediately by returning this message to the sender and delete all
copies. Thank you for your cooperation.
From: [email protected]
[mailto:[email protected]] On Behalf Of TArun Mps
Sent: Tuesday, July 24, 2012 8:54 AM
To: MarkLogic Developer Discussion
Cc: [email protected]; Md.iftekha Alam
Subject: Re: [MarkLogic Dev General] ML 41. to 5
When I tried using a ml example of 4.2.9 xcc to connect ML 5, it works. But
doesn't work from inside application.
Thanks
TArun
Sent from my iPhone
On Jul 24, 2012, at 6:12 PM, Clark Richey
<[email protected]<mailto:[email protected]>> wrote:
What version of xcc are you using? You need to upgrade to the latest version of
xcc to be compatible with the new server version.
Sent from my iPhone
On Jul 24, 2012, at 7:51, "Tarun Gupta"
<[email protected]<mailto:[email protected]>> wrote:
Hello All,
> I am working on from moving ML 4.1 to ML 5. I am getting under mentioned
> error while making connection to new ML. Please suggest.
>
> [STDOUT] connectionStatus : false For : xdbc://mluser:[email protected]:8009
> 2012-07-24 09:13:18,710 INFO [STDOUT]
> urlbuilder.toString()xdbc://mluser:[email protected]:8009
> 2012-07-24 09:13:18,717 INFO [STDOUT]
> com.marklogic.xcc.exceptions.XccConfigException: Unrecognized connection
> scheme: null
> 2012-07-24 09:13:18,717 INFO [STDOUT] at
> com.marklogic.xcc.ContentSourceFactory.newContentSource(ContentSourceFactory.java:100)
> 2012-07-24 09:13:18,717 INFO [STDOUT] at
> org.latex.interact.ModuleRunner.<init>(ModuleRunner.java:65)
> 2012-07-24 09:13:18,717 INFO [STDOUT] at
> org.latex.helper.LatexHelper.fetchContentForArticleTitle(LatexHelper.java:602)
> 2012-07-24 09:13:18,718 INFO [STDOUT] at
> org.latex.helper.LatexHelper.fetchContentForFacets(LatexHelper.java:5Best
> Regards
>
TArun Gupta
Best Regards
TArun Gupta
This e-mail and/or attachments are confidential and may also be legally
privileged. If you are not the intended recipient, any disclosure, copying,
distribution or action taken relying on the contents is strictly prohibited and
may be unlawful. If you have received this communication in error, please
notify the sender immediately by responding to this e-mail and deleting the
contents of the e-mail & related attachments from your system. Though MPS
Limited has taken reasonable steps to ensure no viruses are present in this
e-mail, it cannot accept responsibility for any loss or damage arising from the
use of this e-mail or attachments. No contracts may be concluded with MPS
through e-mail communication. Please consider the environment before printing
this e-mail
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general