How to set-up OHS to connect to the DB(mod_plsql) [message #581687] |
Tue, 09 April 2013 23:29 |
|
senthilkumar35raju
Messages: 7 Registered: April 2013 Location: Las Vegas
|
Junior Member |
|
|
I've installed Oracle 11g on my laptop(windows 8). I've also installed OHS for 11g and had configured the dads.conf. But when I try accessing the DB, I'm unable to do so from the browser(Page not found 404). Can somebody provide inputs on the mod_plsql configuration and help me the config files, if any. Please let me know if you need more inputs.
[EDITED by LF: disabled smilies]
[Updated on: Wed, 10 April 2013 01:21] by Moderator Report message to a moderator
|
|
|
|
|
|
Re: How to set-up OHS to connect to the DB(mod_plsql) [message #581825 is a reply to message #581687] |
Thu, 11 April 2013 02:43 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
OK, I'll have a go.
First, can you post the lines from your httpd.conf file that enable the mod_plsql module? Is it actually there?
Second, post your dads.conf file.
Third, post the lines from the access_log that show what happens when you hit the OHS with a request that should go to the DAD.
I need some idea of how you have configured it, and what happens when you try to use it.
(Don't worry about running Oracle on home Windows, I've been doing that for years, no problems)
|
|
|
|
Re: How to set-up OHS to connect to the DB(mod_plsql) [message #581829 is a reply to message #581827] |
Thu, 11 April 2013 03:41 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Two immediate issues:
First, URLs are supposed to be case sensitive (except for the host name) so your virtual path should be /pls/DEV/Verti as in the DAD, but the access log shows that you are trying /pls/Dev/Verti. I think smoe platforms will do case conversion, but you can't rely on that.
Second, have you created a procedure HelloWorld in the SYSTEM schema? (That name if I rememebr correctly need not be case sensitive)
|
|
|
|
|
Re: How to set-up OHS to connect to the DB(mod_plsql) [message #581851 is a reply to message #581847] |
Thu, 11 April 2013 04:51 |
|
senthilkumar35raju
Messages: 7 Registered: April 2013 Location: Las Vegas
|
Junior Member |
|
|
Definitely Watson, thanks a lot for your time and help!
I've executed the procedure after logging into the DB using SYSTEM as user
C:\Users\senthil>sqlplus SYSTEM/********@Vertisystem
SQL*Plus: Release 11.2.0.1.0 Production on Thu Apr 11 02:49:12 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
SQL> execute HelloWorld
BEGIN HelloWorld; END;
*
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.OWA_UTIL", line 356
ORA-06512: at "SYS.HTP", line 1368
ORA-06512: at "SYS.HTP", line 1443
ORA-06512: at "SYS.HTP", line 1735
ORA-06512: at "SYS.HTP", line 101
ORA-06512: at "SYSTEM.HELLOWORLD", line 3
ORA-06512: at line 1
SQL>
|
|
|
|
|
Re: How to set-up OHS to connect to the DB(mod_plsql) [message #581854 is a reply to message #581853] |
Thu, 11 April 2013 05:03 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Well, it all looks OK to me. If the module is actually loading. You haven't provided any information on that.
I think it would normally be loaded by a LoadModule directive. You had better post the relevant files, you may need to follow a track of include directives starting with httpd.conf to find it.
|
|
|
|