2 Replies Latest reply on Jul 18, 2003 7:35 AM by 23680

    bz_demo from http://otn.oracle.com/products/aq/content.html

    23680

      Hi,

      I am trying the bz_demo (windows) sample application from http://otn.oracle.com/products/aq/content.html

      After inputting the required data in the BzCardOrderForm.html and on submitting I get blank page. It invokes the servlet from http://<my_pc>:7778/servlets/AQDemo. But the result page is blank. Same is the case with "Search Business Card Order"

      I have Oracle 9.2.0.3 with Apache Jserv (shipped with oracle).

      Any ideas?

      thanks,
      Prince.
        • 1. Re: bz_demo from http://otn.oracle.com/products/aq/content.html
          23680
          Also,

          Does anyone know whether there is a sample bizCard.xsl. AQDemo.java refers to this style sheet.

          Thanks,
          • 2. Re: bz_demo from http://otn.oracle.com/products/aq/content.html
            23680
            Hi,

            The servlet log file has the following. Now, how do I pass the userid/password to the servlet?

            http.conf has the following:
            ============================

            <Location /AQServlet/>
            <Limit POST GET>
                 AuthName "Welcome to Advanced Queuing Internet Access Demo."
            AuthType Basic
            AuthUserFile D:\Oracle\Ora9i\Apache\Apache\conf\aqpasswd
            require valid-user
            </Limit>
            </Location>

            and the users "bob" and "jane" are added to the aqpasswd file

            servlet log
            ===========
            Thread-14 AQxmlDataSource:constructor: u/p/s/h/p - entry
            Thread-14 AQxmlDataSource:constructor: exit
            Thread-14 content-type: application/x-www-form-urlencoded
            Thread-14 AQxmlServlet: before AQxmlProcessor
            Thread-14 AQxmlServlet.getAQProcessor: entry
            Thread-14 AQxmlServlet: getting db driver
            Thread-14 AQxmlServContext:constructor-2: entry
            Thread-14 AQxmlIdapConverter.constructor: Entry
            Thread-14 AQxmlServContext.registerConverter: entry-namespace: http://ns.oracle.com/AQ/schemas/envelope
            Thread-14 AQxmlServContext.registerConverter: exit
            Thread-14 AQxmlSoapConverter.constructor: Entry
            Thread-14 AQxmlServContext.registerConverter: entry-namespace: http://schemas.xmlsoap.org/soap/envelope/
            Thread-14 AQxmlServContext.registerConverter: exit
            Thread-14 AQxmlServContext:constructor-2: exit
            Thread-14 AQxmlServlet.getAQProcessor: http_sess=null
            Thread-14 AQxmlServlet.getAgentName: entry
            Thread-14 AQxmlServlet.getAgentName: remote host: remote addr: 127.0.0.1
            Thread-14 AQxmlServlet.getAgentName: remote auth user: null
            Thread-14 AQxmlServlet.doPost-ex: Exception: oracle.AQ.xml.AQxmlException: JMS-433: User not authenticated

            oracle.AQ.xml.AQxmlException: JMS-433: User not authenticated

                 at oracle.AQ.xml.AQxmlError.throwAQEx(AQxmlError.java)
                 at oracle.AQ.xml.AQxmlServlet20.getAgentName(AQxmlServlet20.java)
                 at oracle.AQ.xml.AQxmlServlet20.getAQProcessor(AQxmlServlet20.java)
                 at oracle.AQ.xml.AQxmlServlet20.doPost(AQxmlServlet20.java)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
                 at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
                 at org.apache.jserv.JServConnection.run(JServConnection.java:294)
                 at java.lang.Thread.run(Thread.java:484)