[MarkLogic Dev General] MLSQL Invalid http response code
Jason Hunter
jhunter at marklogic.com
Fri Jun 22 14:17:49 PDT 2012
Well, that's about all the debugging I can do from here. You just need to make sure you've installed the mlsql servlet correctly and are hitting it on the right URL. You have some servlet configuration issue right now. Are you familiar with servlets?
-jh-
On Jun 22, 2012, at 4:58 AM, Gillingwater, Richard wrote:
> Targeting /mlsql/mlsql responds with Invalid http response code: 404
>
> Richard
>
> From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Jason Hunter
> Sent: Friday, June 22, 2012 3:06 AM
> To: MarkLogic Developer Discussion
> Subject: Re: [MarkLogic Dev General] MLSQL Invalid http response code
>
> Odds are it's redirecting you to /mlsql/ which makes me think you really need to target /mlsql/mlsql.
>
> -jh-
>
> On Jun 21, 2012, at 1:35 PM, Gillingwater, Richard wrote:
>
>
> We are trying to set up MLSQL following the instructions in the tutorial. I have the code:
>
> import module namespace sql = "http://xqdev.com/sql" at "sql.xqy";
> sql:execute("select 1 as test", "http://dev16:8080/mlsql", ())
>
> But it responds with an sql:exception <sql:reason>Invalid http response code: 302</sql:reason>
> I have tomcat 5 running on dev16. The database is on a third node.
>
> Can you help?
>
> Richard
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://community.marklogic.com/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://community.marklogic.com/mailman/listinfo/general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://community.marklogic.com/pipermail/general/attachments/20120622/48795344/attachment-0001.html
More information about the General
mailing list