Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Connecting to PL/SQL procedure from WebAgent
There are two things you should check
1. I suspect the URL that you want to call is not as described below but
as follows
<MyComputer>:<WebServer Port for agent your calling>/<ows-bin>/<WebAgentService>/owa/<ProcedureName>
2. Ensure that you have mapped the virtual directories for the WebAgentService in the $ORACLE_HOME/ows/admin/sv<Port>.cfg file
eg:
/u01/app/oracle/product/7.3.3/ows/bin C
/ows-bin/<WebAgentService>
Once you have made these changes you will need to reload the web listener config info
wlctl reload <Port>
Should do the trick
Ron
kolya_at_lo-risk.stanford.edu wrote:
> Anyone who can, please help me!
>
> The Problem:
>
> Can't start up a PL/SQL procedure through Oracle Web Agent
> I have installed an Oracle Web Server.
>
> I made a Web Page with a Form which is supposed to pass on information
>
> to the PL/SQL procedure as parameters.
>
> The action of the form points to the following URL:
>
> <MyComputer><MyORACLE_HOME>/ows-bin/owa/<ProcedureName>
>
> When I push the "submit" button on the form, the PL/SQL procedure is
> not
> called -- I get a message on my screen saying "The requested URL was
> not
> found" and the Netscape URL box is showing the correct URL that I
> requested.
>
> When I look at the log files for the Web Agent, I can see that it
> received the request from the Web Listener, but my procedure has not
> been started.
>
> What is running:
>
> Web Listener --- running
>
> Web Agent --- running - shows the index.html page
> that I made but does
> not access the PL/SQL procedure
>
> PL/SQL procedure --- running (works fine by itself on
> ORACLE 7 through
> SQL* Plus -- I know this because every time it runs it puts a new
> entry
> into a DB table.)
>
> I have also tested the security priveliges of the different Web Agent
> Services and I am sure that user priveliges are not an issue in this
> problem. The PL/SQL procedure should be accesible to the Web Agent
> Service that I am using.
>
> Question 1:
> What should I do to make the Web Agent start up my PL/SQL procedure?
>
> Question 2:
> Is there anyway I can get an explaination of the format of a Web
> Listener Log file. When I open the log file I see that the form DID
> send
> a message to the Web Agent. That line in the log file is followed by
> two
> numbers which I think may be error messages. If so does anyone know
> what
> "404 99" stand for?
>
> Thank you.
Received on Thu Jul 17 1997 - 00:00:00 CDT