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-boun...@developer.marklogic.com 
> [mailto:general-boun...@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@developer.marklogic.com
> http://community.marklogic.com/mailman/listinfo/general
>  
> _______________________________________________
> General mailing list
> General@developer.marklogic.com
> http://community.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
General@developer.marklogic.com
http://community.marklogic.com/mailman/listinfo/general

Reply via email to