hi,
http 401 means "unauthorized" the reason could be the http header user-agent. the user-agent would be java and the version of your jvm (where cocoon is running) some webservers won�t accept this user-agent. check the serveconfig whre your oraclexsql servlet is running. regards manfred [EMAIL PROTECTED] am 05.02.2004 16:36:37 Bitte antworten an [EMAIL PROTECTED]@inet An: [EMAIL PROTECTED] Kopie: Thema: 401 error code for HttpProxyGenerator hi all, I am using cocoon-2.1.2 running under Tomcat-4.1.27 server on Win2k . I am trying to make use of the OracleXSQL servlet running on the same machine to fetch XML and do the next part of the processing using HttpProxyGenerator The error that i get when i call the test pipeline as set up in my sitemap is as follows: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.io.IOException: Unable to access HTTP resource at "http://localhost/xsql/" (status=401) This is what my pipeline in the sitemap looks like: <map:match pattern="fetch-layer-svg.html"> <map:generate type="proxy" src="http://localhost/xsql/"> <map:parameter name="method" value="GET"/> <map:parameter name="url" value="http://localhost/xsql/"/> <map:parameter name="query" value="fetch-layer.xsql?layer-id=12"/> </map:generate> <map:serialize type="xml"/> </map:match> But when i use these same url (http://localhost/xsql/fetch-layer.xsql?layer-id=12) from the browser,i do see the xml being returned. Any ideas as to whats causing these to happen?any suggestions as to what i might me missing would also be of help. regards Gautam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message and any attachment ("the Message") are confidential. If you have received the Message in error, please notify the sender immediately and delete the Message from your system , any use of the Message is forbidden. Correspondence via e-mail is primarily for information purposes. RZB neither makes nor accepts legally binding statements unless otherwise agreed to the contrary. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
