PL/SQL WebDB
Hello Oracle-fans!!
I wonder how I can display a table from Oracle in HTML with
PL/SQL in en easy way withount any problems.
I want to show the table and add some text beside it and make
the disign as I want it.
Oracle WebDB uses an standard format and can't make the tables
look the way I want it to be.
If anyone can tell me
1) How can i display an table how i want it with HTML and
2) How can I from HTML choose a value and use that value in an
SQL-tagg and make the table-output be bases on that value
without any problems.
Please feel free to help me with this fantastic product WebDB
that is a part of Oracle 8i!!
Rune :-)
null
Try the ORacle8i or WebDB forum for this. Oracle Lite is a
different beast and doesn't support PL/SQL.
null
Similar Messages
-
Reports 6i and WeBDB 2.2 Integration Issues
1. I have installed reports6i andintegrated with WebDB 2.2 by running the fo
llo
wingScripts:
oracle_home\report60\server\security\rwwwvins.sql webdb and
\oracle_home\report60\server\security\rwenable.sql
as described in the webdb& reports6i integration issues document in oracle r
epo
rts6i beta site.
Afterinstalling, when i logged to webdb as webdb user, i was able to see sev
er
access and rdf access options in webdb 2.2
However, when i log as an userwhere i have created forms components i am una
ble
to access the abovecomponents. (there is no documentation on what privileg
es
needs to be providedto the user., however i had given grants to following ro
les
withRW_ADMINISTRATOR, RW_POWER_USER, RW_DEVELOPER AND RW_BASIC_USer
nullHi Matt,
You didn't mention but do you also wish to install the database(8i) on the same machine ?
I am also trying to install all these products(+8i and designer 6i) on the same box but I am concerned more about the min. resources needed before I get started.(I put up a question about it on the 6i Forum, but nobody has answered yet !)
The correct install order should be Forms/Reports 6i then Forms/Reports 6i Server and then WebDb 2.2.
Forms /reports server needs a http listener and installs en configures the WebDb listener for the job.(you are prompted for this during tho have the install process).This is handy if you are intending to use WebDb anyway. When you install Webdb it detects the already installed WebDb listener and does not reinstall.
You do have the SYS password on the database you will use to stored the WDK and WebDb schema.
About installing the demo.....
I dont' think there are any special issues.I have never done it.
If you are intending to install an 8i database on the same box there are some important things to consider with respect to the install order and what products in which Oracle home must be installed.
1.Forms/Reports first in the default_oracle
home.
2.Then Oracle 8i in a 2nd oracle home call
it ora81 for example.
3.Then WebDb in the non oracle 8i home !!
This is just a quick summary.
If you run into any problems let me know
Good Luck.
Dave. -
REPORTS SECURITY WITHIN WEBDB (setup errors)
As per WebDB and Reports 6i requirement, i
ran the two script files
D:\orant\report60\server\security
rwwwvins.sql webdb
and
D:\ORANT\REPORT60\SERVER\SECURITY\RWENABLE.SQL
Got errors while creating some package definitions..
those package include
package specs:
rw_comp_cal
rw_cpc_pm
package body:
wwv_rw_utl
wwv_rw_usr
wwv_rw_adm
rwutlsave
rwutlbuild
wwv_rwrepgen
rw_comp_cal
rw_cpc_pm
wwv_rwmanrwo
Warning: Package created with compilation errors.
No errors.
attached :spool file which had errors listed
SQL> @d:\orant\report60\server\security\rwwwvins.sql webdb
B E G I N O R A C L E R E P O R T S I N S T A L L
...start: Monday 27 December , 1999 14:53:43
Role dropped.
Role created.
old 1: grant RW_ADMINISTRATOR to &&1
new 1: grant RW_ADMINISTRATOR to webdb
Grant succeeded.
Role dropped.
Role created.
Role dropped.
Role created.
Role dropped.
Role created.
I. Extent utlobj.sql
Table dropped.
Table created.
Table dropped.
Sequence dropped.
Sequence created.
Table created.
Table dropped.
Table created.
Table dropped.
Table dropped.
Table dropped.
Table created.
Table created.
Table created.
Trigger created.
II. Extent moduleda.sql
0 rows deleted.
delete from WWV_SYS_MODULE_TYPES$ where ID >= 50 and id<60
ERROR at line 1:
ORA-02292: integrity constraint (WEBDB.WWV_MODULES$_FK) violated - child record found
delete from WWV_SYS_MODULE_GROUPS$ where ID >= 50 and id<60
ERROR at line 1:
ORA-02292: integrity constraint (WEBDB.WWV_SYS_MODULE_TYPES$_FK) violated - child record found
INSERT INTO wwv_sys_module_groups$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_GROUPS$_PK) violated
INSERT INTO wwv_sys_module_groups$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_GROUPS$_PK) violated
INSERT INTO wwv_sys_module_groups$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_GROUPS$_PK) violated
INSERT INTO wwv_sys_module_groups$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_GROUPS$_PK) violated
Commit complete.
Finished groups
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
Commit complete.
III. Install Oracle Reports packages
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Table dropped.
Table created.
Grant succeeded.
Package created.
No errors.
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Table dropped.
Table created.
Commit complete.
Package created.
No errors.
0 rows deleted.
delete from WWV_SYS_MODULE_TYPES$ where ID >= 50 and id<60
ERROR at line 1:
ORA-02292: integrity constraint (WEBDB.WWV_MODULES$_FK) violated - child record found
delete from WWV_SYS_MODULE_GROUPS$ where ID >= 50 and id<60
ERROR at line 1:
ORA-02292: integrity constraint (WEBDB.WWV_SYS_MODULE_TYPES$_FK) violated - child record found
INSERT INTO wwv_sys_module_groups$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_GROUPS$_PK) violated
INSERT INTO wwv_sys_module_groups$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_GROUPS$_PK) violated
INSERT INTO wwv_s ys_module_groups$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_GROUPS$_PK) violated
INSERT INTO wwv_sys_module_groups$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_GROUPS$_PK) violated
Commit complete.
Finished groups
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
INSERT INTO wwv_sys_module_types$ VALUES (
ERROR at line 1:
ORA-00001: unique constraint (WEBDB.WWV_SYS_MODULE_TYPES$_PK) violated
Commit complete.
Warning: Package created with compilation errors.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Warning: Package created with compilation errors.
Errors for PACKAGE RW_COMP_CAL:
7/5 PL/SQL: Declaration ignored
8/55 PLS-00382: expression is of wrong type
Warning: Package created with compilation errors.
Errors for PACKAGE RW_CPC_PM:
7/5 PL/SQL: Declaration ignored
8/55 PLS-00382: expression is of wrong type
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Package created.
No errors.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM wwv_rw_adm_tst FOR &&1..wwv_rw_adm_tst
new 1: CREATE PUBLIC SYNONYM wwv_rw_adm_tst FOR webdb.wwv_rw_adm_tst
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwcaljmp FOR &&1..rwcaljmp
new 1: CREATE PUBLIC SYNONYM rwcaljmp FOR webdb.rwcaljmp
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwcalsum FOR &&1..rwcalsum
new 1: CREATE PUBLIC SYNONYM rwcalsum FOR webdb.rwcalsum
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rw_comp_cal FOR &&1..rw_comp_cal
new 1: CREATE PUBLIC SYNONYM rw_comp_cal FOR webdb.rw_comp_cal
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rw_cpc_pm FOR &&1..rw_cpc_pm
new 1: CREATE PUBLIC SYNONYM rw_cpc_pm FOR webdb.rw_cpc_pm
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwfindbx FOR &&1..rwfindbx
new 1: CREATE PUBLIC SYNONYM rwfindbx FOR webdb.rwfindbx
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwpform FOR &&1..rwpform
new 1: CREATE PUBLIC SYNONYM rwpform FOR webdb.rwpform
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM wwv_rwrepgen FOR &&1..wwv_rwrepgen
new 1: CREATE PUBLIC SYNONYM wwv_rwrepgen FOR webdb.wwv_rwrepgen
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwrunrpterr FOR &&1..rwrunrpterr
new 1: CREATE PUBLIC SYNONYM rwrunrpterr FOR webdb.rwrunrpterr
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwrunrpt FOR &&1..rwrunrpt
new 1: CREATE PUBLIC SYNONYM rwrunrpt FOR webdb.rwrunrpt
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwsbuser FOR &&1..rwsbuser
new 1: CREATE PUBLIC SYNONYM rwsbuser FOR webdb.rwsbuser
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM wwv_rw_usr_tst FOR &&1..wwv_rw_usr_tst
new 1: CREATE PUBLIC SYNONYM wwv_rw_usr_tst FOR webdb.wwv_rw_usr_tst
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwutlbuild FOR &&1..rwutlbuild
new 1: CREATE PUBLIC SYNONYM rwutlbuild FOR webdb.rwutlbuild
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM rwutlsave FOR &&1..rwutlsave
new 1: CREATE PUBLIC SYNONYM rwutlsave FOR webdb.rwutlsave
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM wwv_rw_adm FOR &&1..wwv_rw_adm
new 1: CREATE PUBLIC SYNONYM wwv_rw_adm FOR webdb.wwv_rw_adm
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM wwv_rw_err FOR &&1..wwv_rw_err
new 1: CREATE PUBLIC SYNONYM wwv_rw_err FOR webdb.wwv_rw_err
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM wwv_rw_usr FOR &&1..wwv_rw_usr
new 1: CREATE PUBLIC SYNONYM wwv_rw_usr FOR webdb.wwv_rw_usr
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM wwv_rw_int FOR &&1..wwv_rw_int
new 1: CREATE PUBLIC SYNONYM wwv_rw_int FOR webdb.wwv_rw_int
Synonym created.
Grant succeeded.
Synonym dropped.
old 1: CREATE PUBLIC SYNONYM wwv_rw_utl FOR &&1..wwv_rw_utl
new 1: CREATE PUBLIC SYNONYM wwv_rw_utl FOR webdb.wwv_rw_utl
Synonym created.
Package body created.
No errors.
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WWV_RW_UTL:
194/5 PL/SQL: Statement ignored
194/16 PLS-00382: expression is of wrong type
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WWV_RW_USR:
436/5 PL/SQL: Statement ignored
436/16 PLS-00382: expression is of wrong type
508/5 PL/SQL: Statement ignored
508/12 PLS-00382: expression is of wrong type
547/5 PL/SQL: Statement ignored
547/12 PLS-00382: expression is of wrong type
595/5 PL/SQL: Statement ignored
595/16 PLS-00382: expression is of wrong type
659/5 PL/SQL: Statement ignored
659/16 PLS-00382: expression is of wrong type
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WWV_RW_ADM:
157/5 PL/SQL: Statement ignored
157/16 PLS-00382: expression is of wrong type
217/5 PL/SQL: Statement ignored
217/16 PLS-00382: expression is of wrong type
272/5 PL/SQL: Statement ignored
272/16 PLS-00382: expression is of wrong type
Package body created.
No errors.
Package body created.
No errors.
0 rows deleted.
0 rows deleted.
0 rows deleted.
... HELP.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... HEADING.sql ...
... LARGEBOX.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... SECTION_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... BOX_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
...hint.sql...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
...mode.sql...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
...welcome.sql...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S0.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... S1.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S2.sql ... users and roles
1 row created.
... S3.sql ... availability
1 row created.
1 row created.
... S4.sql ... required parameters
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
...S5.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S6.sql ...
1 row created.
... S7.sql ...
1 row created.
1 row created.
Commit complete.
0 rows deleted.
0 rows deleted.
... HELP.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... HEADING.sql ...
... LARGEBOX.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... SECTION_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... BOX_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S0.sql ...
1 row created.
1 row created.
1 row created.
... S1.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S2.sql ...
1 row created.
... S3.sql ...
1 row created.
1 row created.
... S4.sql ...
1 row created.
1 row created.
... S5.sql ...
Commit complete.
0 rows deleted.
0 rows deleted.
... HELP.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... HEADING.sql ...
... LARGEBOX.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... SECTION_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... BOX_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S0.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... S1.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S2.sql ...
1 row created.
... S3.sql ...
1 row created.
1 row created.
... S4.sql ...
1 row created.
1 row created.
Commit complete.
0 rows deleted.
0 rows deleted.
... HELP.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... HEADING.sql ...
... LARGEBOX.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... SECTION_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... BOX_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S0.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... S1.sql ...
1 row created.
1 row created.
1 row created.
... S2.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S3.sql ...
1 row created.
... S4.sql ...
1 row created.
1 row created.
Commit complete.
0 rows deleted.
0 rows deleted.
... HELP.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... HEADING.sql ...
... LARGEBOX.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... SECTION_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... BOX_IMAGE.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
... S0.sql ...
1 row created.
1 row created.
1 row created.
1 row created.
... S1.sql ...
1 row created.
1 row created.
1 row created.
... S2.sql ...
1 row created.
... S3.sql ...
1 row created.
1 row created.
... S4.sql ...
1 row created.
... S5.sql ...
1 row created.
Commit complete.
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY RWUTLSAVE:
180/5 PL/SQL: Statement ignored
180/15 PLS-00382: expression is of wrong type
181/5 PL/SQL: Statement ignored
181/15 PLS-00382: expression is of wrong type
182/5 PL/SQL: Statement ignored
182/15 PLS-00382: expression is of wrong type
183/5 PL/SQL: Statement ignored
183/15 PLS-00382: expression is of wrong type
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY RWUTLBUILD:
0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00905: object WEBDB.RWUTLBUILD is invalid
1/14 PLS-00304: cannot compile body of 'RWUTLBUILD' without its
specification
Package body created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WWV_RWREPGEN:
1122/5 PL/SQL: Statement ignored
1122/23 PLS-00382: expression is of wrong type
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY RW_COMP_CAL:
0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00905: object WEBDB.RW_COMP_CAL is invalid
1/14 PLS-00304: cannot compile body of 'RW_COMP_CAL' without its
specification
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY RW_CPC_PM:
0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00905: object WEBDB.RW_CPC_PM is invalid
1/14 PLS-00304: cannot compile body of 'RW_CPC_PM' without its
specification
Package body created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Package body created.
No errors.
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY WWV_RWMANRWO:
249/9 PL/SQL: Statement ignored
249/23 PLS-00382: expression is of wrong type
385/9 PL/SQL: Statement ignored
385/23 PLS-00382: expression is of wrong type
... grant Oracle Reports Menu privileges
PL/SQL procedure successfully completed.
... done
...end: Monday 27 December , 1999 14:57:25
D O N E I N S T A L L
SQL> SPOOL OFF
nullThe above error is occuring only if the script is ran over a pre-existing reports security on webdb.
The drop table commands in the scripts may be having some untested errors due to which the above errors resulted.
I had re-installed webdb and when
the above scripts were run for first time i didn't encounter those errors.
FYI.
Thanks. -
Finally got past (what i think is) the bulk of the WebDB
installer bugs and got all the way to the "Started WebDB
Load..." but the installer sits on task 1 of 12 and doesn't
budge. Anyone have any ideas on what could be causing this and
even better, how to fix it?
Box is Redhat 6 with EE 8.0.5.1.0 running fine. I also got the
cgi webdb script to work with the built-in Apache server but it
comes up with "ORA-06564: object webdb.home does not exist
ORA-06512: at line 51" I'm assuming this is due to the 12 tasks
that never get completed during the install...
Thanks in advance,
Michael
nullBelow is a script that you can use to create the WebDB objects in
your database. It does EXACTLY the same what orainst of webdb
usually does for you, and it WORKS. The advantage here is that
you have more control - a lot more control - compared to running
orainst and hoping for the best.
Damn, I'm giving you guys all my hard earned know-how.... ok,
that stuff is easy, no reason to be proud of it. I took it from
the orainst-files when I debugged teh webdb-installation process
and created that script from the information. I've used it a lot
since to create the webdb objects on an otherwise 'naked'
database. You need to have ORACLE_HOME set, and ORACLE_SID, of
course.
I DO hope you have created a big enough database?! The good old
8.0.5.x demo database is too small!
Attention: if using this with another database than 8i you must
probably change the file locations. On 8i, WebDB is installed
completely under $ORACLE_HOME/webdb/, while this is different
when WebDB is installed on 8.0.5. That is because Oracle didn't
want to mix old (glibc-2.0) WebDB libraries and binaries and new
8i libs and binaries.
#!/bin/bash
# Installing the PL/SQL Toolkit (OWA packages)
cd $ORACLE_HOME/webdb/support/sqlfiles/owa/
$ORACLE_HOME/bin/sqlplus sys/change_on_install << EOF
@owaload.sql OAS_PUBLIC users temp
exit
EOF
# Install the WebDB packages
cd $ORACLE_HOME/webdb/support/sqlfiles/wwvcb/
./winstall webdb change_on_install USERS TEMP
# Install English
cd $ORACLE_HOME/webdb/support/sqlfiles/langs/
$ORACLE_HOME/bin/sqlplus webdb/webdb << EOF
@webdbus.sql
exit
EOF
# Install German, Spanish, Italian, French
cd $ORACLE_HOME/webdb/support/sqlfiles/langs/
$ORACLE_HOME/bin/sqlplus webdb/webdb << EOF
@webdbd.sql
@errord.sql
@webdbe.sql
@errore.sql
@webdbi.sql
@errori.sql
@webdbf.sql
@errorfsql
exit
EOF
null -
Hi folks,
I have a privat question :-)
I trying to run the webdb (linux) cgi programm with apache.
It is running when I add the username and password in the
configuration file.
But that is not what I want :-(
The other point is I don't know Apache configuartion so well
So can somebody tell me how to configure the cgi-bin dir
in that way, that he not makes an authentication with the
web server but with the db.
The reason here for is, I like webdb by itself very much,
but the listner is a mess :-( even on linux or hp or aix.
And I have to make some progress.
You would really help, thanks, Olaf ;-)
nullBelow is a script that you can use to create the WebDB objects in
your database. It does EXACTLY the same what orainst of webdb
usually does for you, and it WORKS. The advantage here is that
you have more control - a lot more control - compared to running
orainst and hoping for the best.
Damn, I'm giving you guys all my hard earned know-how.... ok,
that stuff is easy, no reason to be proud of it. I took it from
the orainst-files when I debugged teh webdb-installation process
and created that script from the information. I've used it a lot
since to create the webdb objects on an otherwise 'naked'
database. You need to have ORACLE_HOME set, and ORACLE_SID, of
course.
I DO hope you have created a big enough database?! The good old
8.0.5.x demo database is too small!
Attention: if using this with another database than 8i you must
probably change the file locations. On 8i, WebDB is installed
completely under $ORACLE_HOME/webdb/, while this is different
when WebDB is installed on 8.0.5. That is because Oracle didn't
want to mix old (glibc-2.0) WebDB libraries and binaries and new
8i libs and binaries.
#!/bin/bash
# Installing the PL/SQL Toolkit (OWA packages)
cd $ORACLE_HOME/webdb/support/sqlfiles/owa/
$ORACLE_HOME/bin/sqlplus sys/change_on_install << EOF
@owaload.sql OAS_PUBLIC users temp
exit
EOF
# Install the WebDB packages
cd $ORACLE_HOME/webdb/support/sqlfiles/wwvcb/
./winstall webdb change_on_install USERS TEMP
# Install English
cd $ORACLE_HOME/webdb/support/sqlfiles/langs/
$ORACLE_HOME/bin/sqlplus webdb/webdb << EOF
@webdbus.sql
exit
EOF
# Install German, Spanish, Italian, French
cd $ORACLE_HOME/webdb/support/sqlfiles/langs/
$ORACLE_HOME/bin/sqlplus webdb/webdb << EOF
@webdbd.sql
@errord.sql
@webdbe.sql
@errore.sql
@webdbi.sql
@errori.sql
@webdbf.sql
@errorfsql
exit
EOF
null -
Running SQL in a WebDB report header
Is there any way to have a SQL statement generate data in the header of a WebDB Report? I've tried placing the oracle tag before and after the SQL, but the SQL text appears as the header to the report.
Have you tryed creating a stored procedure
which generates Html using the htp procedures
For example
create or replace procedure reportheader
as
cursor cSelectSomething is SELECT data
FROM table;
BEGIN
FOR rij in cSelectSomething
LOOP
htp.print(rij.data);
END LOOP;
END;
grant execute on reportheader to public;
Now use this in your report header(no oracle tags necessary)
[owner].reportheader;
Good Luck
Dave.
null -
PL/SQL and Java Swing interface
Everybody in this forum knows that Oracle is the best database around
with many functionalities, stability, performance, etc. We also know
that PL/SQL is a great language to manipulate information directly
in the database with many built in functions, OOP capability,
transaction control, among other features. Today an application that
manipulates information, which needs user interface, requires components
to be developed using different technologies and normally running in
different servers or machines. For example, the interface is done using
a dynamic HTML generator like JSP, PHP, PL/SQL Web Toolkit, etc.
This page is executed in an application server like Oracle iAS or
Tomcat, just to name two, which in turn access a database like Oracle to
build the HTML. Also rich clients like Java applets require an intermediate
server to access the database (through servlets for example) although
it is possible to access the database directly but with security issues.
Another problem with this is that complexity increases a lot, many
technologies, skills and places to maintain code which leads to a greater
failure probability. Also, an application is constantly evolving, new
calculations are added, new tables, changed columns. If you have an
application with product code for example and you need to increase its
size, you need to change it in the database, search for all occurrences
of it in the middle-tier code and perhaps adjust interfaces. Normally
there is no direct dependency among the tier components. On another
issue, many application interfaces today are based on HTML which doesn't
have interactive capabilities like rich-client interfaces. Although it
is possible to simulate many GUI widgets with JavaScript and DHTML, it is
far from the interactive level we can accomplish in rich clients like
Java Swing, Flash MX, Win32, etc. HTML is also a "tag-based" language
originally created to publish documents so even small pages require
many bytes to be transmitted, far beyond of what we see on the screen.
Even in fast networks you have a delay time to wait the page to be
loaded. Another issue, the database is in general the central location
for all kinds of data. Most applications relies on it for security,
transaction and availability. My proposal is to use Oracle as the
central location for interface, processing and data. With this approach
we can create not only the data manipulation procedures in the database,
but procedures that also control and manage user interfaces. Having
a Oracle database as the central location for all components has many
advantages:
- Unique point of maintenance, backup and restore
- Integrated database security
- One language for everything, PL/SQL or Java (even both if desired)
- Inherited database cache, transaction and processing optimizations
- Direct access to the database dictionary
- Application runs on Oracle which has support for many platforms.
- Transparent use of parallel processing, clusters and future
background technologies
Regarding the interface, I already created a Java applet renderer
which receives instructions from the database on how to create GUI
objects and how to respond to events. The applet is only 8kb and can
render any Swing or AWT object/event. The communication is done
through HTTP or HTTPS using Oracles's MOD_PLSQL included in the Apache
HTTP server which comes with the database or application server (iAS).
I am also creating a database framework and APIs in PL/SQL to
create and manipulate the client interface. The applet startup is
very fast because it is very small, you don't need to download large
classes with the client interface. Execution is done "on-demand"
according to instructions received from the database. The instructions
are very optimized in terms of network bandwidth and based on preliminary
tests it can be up to 1/10 of a similar HTML screen. Less network usage
means faster response and means that even low speed connections will
have a good performance (a future development can be to use this in
wireless devices like PDAs e even cell phones, just an idea for now).
The applet can also be executed standalone by using Java Web Start.
With this approach no business code, except the interface, is executed
on the client. This means that alterations in the application are
dynamically reflected in the client, no need to "re-download" the
application. Events are transmitted when required only so network
usage is minimized. It is also possible to establish triggering
events to further reduce network usage. Since the protocol used is
HTTP (which is stateless), the database framework I am creating will
be responsible to maintain the state of connections, variables, locks
and session information, so the developer don't need to worry about it.
The framework will have many layers, from communication up to
application so there will be pre-built functions to handle queries,
pagination, lock, mail, log, etc. The final objective is to have a
rich client application integrated into the database with minimum
programming and maintenance requirements, not forgetting customization
capabilities. Below is a very small example of what can de done. A
desktop with two windows, each window with two fields, a button with an
image to switch the values, and events to convert the typed text when
leaving the field or double-clicking it. The "leave" event also has an
optimization to only be triggered when the text changes. I am still
developing the framework and adjusting the renderer but I think that all
technical barriers were transposed by now. The framework is still in
the early stages, my guess is that only 5% is done so far. As a future
development even an IDE can be created so we have a graphical environment
do develop applications. I am willing to share this with the PL/SQL
community and listen to ideas and comments.
Example:
create or replace procedure demo1 (
jre_version in varchar2 := '1.4.2_01',
debug_info in varchar2 := 'false',
compress_buffer in varchar2 := 'false',
optimize_buffer in varchar2 := 'true'
) as
begin
interface.initialize('demo1_init','JGR Demo 1',jre_version,debug_info,compress_buffer,optimize_buffer);
end;
create or replace procedure demo1_init as
begin
toolkit.initialize;
toolkit.create_icon('icon',interface.global_root_url||'img/switch.gif');
toolkit.create_internal_frame('frame1','Frame 1',50,50,300,136);
toolkit.create_label('frame1label1','frame1',10,10,50,20,'Field 1');
toolkit.create_label('frame1label2','frame1',10,40,50,20,'Field 2');
toolkit.create_text_field('frame1field1','frame1',50,10,230,20,'Field 1','Field 1',focus_event=>true,mouse_event=>true);
toolkit.create_text_field('frame1field2','frame1',50,40,230,20,'Field 2','Field 2',focus_event=>true,mouse_event=>true);
toolkit.set_text_field_event('frame1field1',toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,'FIELD 1','false');
toolkit.set_text_field_event('frame1field2',toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,'FIELD 2','false');
toolkit.set_text_field_event('frame1field1',toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,'field 1','false');
toolkit.set_text_field_event('frame1field2',toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,'field 2','false');
toolkit.create_button('button1','frame1',10,70,100,25,'Switch','Switch the values of "Field 1" and "Field 2"','S','icon');
toolkit.set_button_event('button1',toolkit.action_performed_event,'demo1_switch_fields(''frame1field1'',''frame1field2'')','frame1field1:'||toolkit.get_text_method||',frame1field2:'||toolkit.get_text_method);
toolkit.create_internal_frame('frame2','Frame 2',100,100,300,136);
toolkit.create_label('frame2label1','frame2',10,10,50,20,'Field 1');
toolkit.create_label('frame2label2','frame2',10,40,50,20,'Field 2');
toolkit.create_text_field('frame2field1','frame2',50,10,230,20,'Field 1','Field 1',focus_event=>true,mouse_event=>true);
toolkit.create_text_field('frame2field2','frame2',50,40,230,20,'Field 2','Field 2',focus_event=>true,mouse_event=>true);
toolkit.set_text_field_event('frame2field1',toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,'FIELD 1','false');
toolkit.set_text_field_event('frame2field2',toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,'FIELD 2','false');
toolkit.set_text_field_event('frame2field1',toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,'field 1','false');
toolkit.set_text_field_event('frame2field2',toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,'field 2','false');
toolkit.create_button('button2','frame2',10,70,100,25,'Switch','Switch the values of "Field 1" and "Field 2"','S','icon');
toolkit.set_button_event('button2',toolkit.action_performed_event,'demo1_switch_fields(''frame2field1'',''frame2field2'')','frame2field1:'||toolkit.get_text_method||',frame2field2:'||toolkit.get_text_method);
end;
create or replace procedure demo1_set_upper as
begin
toolkit.set_string_method(interface.global_object_name,toolkit.set_text_method,upper(interface.array_event_value(1)));
toolkit.set_text_field_event(interface.global_object_name,toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,upper(interface.array_event_value(1)),'false');
end;
create or replace procedure demo1_set_lower as
begin
toolkit.set_string_method(interface.global_object_name,toolkit.set_text_method,lower(interface.array_event_value(1)));
toolkit.set_text_field_event(interface.global_object_name,toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,lower(interface.array_event_value(1)),'false');
end;
create or replace procedure demo1_switch_fields (
field1 in varchar2,
field2 in varchar2
) as
begin
toolkit.set_string_method(field1,toolkit.set_text_method,interface.array_event_value(2));
toolkit.set_string_method(field2,toolkit.set_text_method,interface.array_event_value(1));
toolkit.set_text_field_event(field1,toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,upper(interface.array_event_value(2)),'false');
toolkit.set_text_field_event(field2,toolkit.focus_lost_event,'demo1_set_upper',toolkit.get_text_method,upper(interface.array_event_value(1)),'false');
toolkit.set_text_field_event(field1,toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,lower(interface.array_event_value(2)),'false');
toolkit.set_text_field_event(field2,toolkit.mouse_double_clicked_event,'demo1_set_lower',toolkit.get_text_method,lower(interface.array_event_value(1)),'false');
end;Is it sound like Oracle Portal?
But you want to save a layer 9iAS.
Basically, that was the WebDB.(Oracle changed the name to Portal when version 3.0)
Over all, I agree with you.
>>Having a Oracle database as the central location for all components has many
>>advantages:
>>
>>- Unique point of maintenance, backup and restore
>>- Integrated database security
>>- One language for everything, PL/SQL or Java (even both if desired)
>>- Inherited database cache, transaction and processing optimizations
>>- Direct access to the database dictionary
>>- Application runs on Oracle which has support for many platforms.
>>- Transparent use of parallel processing, clusters and future
>>background technologies
I would like to build 'ZOPE' inside Oracle DB as a back-end
Using Flash MX as front-end.
Thomas Ku. -
Auto print Oracle report through call to PL/SQL
I have been tasked with finding a way to generate an Oracle report from a java servlet. Basically they want to pass in parameters to a PL/SQL procedure and have it automatically print out, without user interaction.
Can this be done?
JeffI am in a similar situation and have reached a bit of an impass. I am creating the report by means of passing a dynamically created URL from WebDB to the Report Server.
I have created a procedure to do various things and was planning on calling the report via the procedure using
OWA_UTIL.redirect_url depending on the params
that the user entered. Does the UTL_HTTP work in the same means as the aforementioned? Or are they the same thing?
Regards and thanks,
Steve
null -
ORA-01006 during report from SQL Query
We are running WebDB 2.2 against a 7.3.4.4 database. I have a report created from a SQL query which references 4 bind variables. During execution I receive the following, Failed to bind - :periodyr| |' with
ORA-01006: bind variable does not exist.
Anyone have any idea what causes this error, could it be because I reference a bind variable (:periodyr) more than once in the query? Is there a work around?
I have included the where clause as reference:
WHERE gcc.code_combination_id = gb.code_combination_id
AND gb.code_combination_id = gjl.code_combination_id
AND gjl.je_header_id = gjh.je_header_id
AND gb.budget_version_id =
(select budget_version_id
from gl.gl_budget_versions
where budget_name = :periodyr| |' OPERATING')
AND gjh.actual_flag = 'B'
AND gb.actual_flag = 'B'
AND gb.period_name = gjl.period_name
AND gb.period_year = nvl(:periodyr,gb.period_year)
and gcc.segment2 = nvl(:cstctr,gcc.segment2)
and ffvobj.attribute10 = nvl(:ctrlgrp,ffvobj.attribute10)
and gcc.segment3 = nvl(:objcode,gcc.segment3)
Thanks
MarkI think there is a bug in the procedure which picks up the bind variables from a SQL.
Workground: put a space between variable :periodyr and operator | | as:
where budget_name = :periodyr | |' OPERATING')
Hope this will work
null -
How can I delete the site (created in webDB) from database?
Hi I have the WebDB 2.2 and Database server Oracle8i and I created a lot of sites with WebDB but I do not know how can I delete them from database server. Could somebody help to me?
Log into sql plus as webdb
Drop user <site name>_admin cascade;
Drop user <site name>_public cascade;
Drop user <site name> cascade;
and drop any other users you have made specically for this site.
Remove the dad from the listener settings.
If you wish to use this site name again in the same database you also have to delete a record from a table in the Webdb schema.
I can't remeber what that is.....
Good Luck
Dave.
null -
If anyone else is struggling with this installation, heres a workaround that
Got things going for me.
Redhat 6.0
Oracle 8.1.5
Webdb 2.2
The database was up and working fine. Not as many problems as earlier versions but there was still much grief getting it to work. Save yourself some time, dont charge ahead like I did, read the installation notes.
The installation of Webdb didnt go so well though. Sqlplus would core dump with segmentation fault when a connection to the local instance was attempted. I tried many things, install webdb to 8.1.5 , apply glibc patch, apply 8.0.5 patches to webdb install none of this worked. The workaround I finally found was to use the 8.1.5 listener and the old formatting of a listener.ora and tnsnames.ora file. (i.e. like 7.3.x). Sqlplus would then connect via tcp. Installation still had another problem I could never get past the sys password confirmation. I could connect from the command line with sqlplus s /nolog @passwd.sql sys/mypass@mytnsname but the installer just wouldnt work. An edit of the installation_dir ->webdb-2.2/owa40/owa40.vrf file did the trick. Hard code a location to a dummy pass.sys file.
After many frustrating hours 160 or so - I think I finally have a working database and a working webdb web site. Hope this info might help others.
Craig MacPherson
nullo Did you end up with 8.1.5 and WebDB2.2 in different Oracle_homes?
Yes - product/8.1.5
- product/8.0.5
o What do you mean that you used the 8.1.5 listener? My database is 8.1.5 so the tnslistener I'm using is from the 8.1.5 install - not the 8.0.5 version.
o Can you send a sample of the tnsnames.ora file that you used?
Sure - make sure you set TNS_ADMIN
# Filename: Listener.ora
LISTENER =
(ADDRESS_LIST =
(ADDRESS= (PROTOCOL= TCP)(Host= 139.142.231.213)(Port= 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME= /oracle/product/8.1.5)
(SID_NAME = cmac)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
# Filename: Tnsnames.ora
cmac =
(DESCRIPTION =
(ADDRESS = (PROTOCOL= TCP)(Host= 139.142.231.213)(Port= 1521))
(CONNECT_DATA = (SID = cmac))
test =
(DESCRIPTION =
(ADDRESS = (PROTOCOL= TCP)(Host= dmac)(Port= 1521))
(CONNECT_DATA = (SID = cmac))
null -
Can't log in as WebDB administrator after install
Can't log in as WebDB administrator after install. At http://mymachine.mydomain.com:7777/pls/htmldb/htmldb_admin/
username = admin
password = my password during the installation
and then the page just hangs.
I think I have a configuration problem with marvel.conf. Can anyone help?
Here are the relevant details that may help diagnosing the problem.
I can get to the HTTP Server page at http://mymachine.mydomain.com:7777/
Environment Fedora core 4 Linux on a x86 PC with 512m memory
Oracel Database version 10.2.0.1.0 -- runs fine considering there is only 512 of memory
Installed Companion CD (comes with WebDB 1.6)
Upgraded to WebDB 2.0
Installed patch bug4554072
-- All installs were semi painful but error free
my marvel.conf
Alias /i/ /u01/app/oracle/product/10.2.0/companion/htmldb/images/
<Location /pls/htmldb>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_manager.process_download
PlsqlDatabaseConnectString mymachine.mydomain.com:1522:devel ServiceNameFormat
PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
PlsqlDefaultPage htmldb
PlsqlDatabasePassword mypassword
Allow from all
</Location>
AddType text/xml xbl
AddType text/x-component htc
my dads.conf -- I added nothing here
# ============================================================================
# mod_plsql DAD Configuration File
# ============================================================================
# 1. Please refer to dads.README for a description of this file
# ============================================================================
# Note: This file should typically be included in your plsql.conf file with
# the "include" directive.
# Hint: You can look at some sample DADs in the dads.README file
# ============================================================================
my .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
ORACLE_SID=devel; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
#LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
-- I can connect to the database as HTMLDB_PUBLIC_USER
SQL> connect HTMLDB_PUBLIC_USER/mypassword@devel
Connected.
SQL>
-- the HTTP_Server seems to be working fine
$ /u01/app/oracle/product/10.2.0/companion/opmn/bin/opmnctl status
Processes in Instance: standalone
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
HTTP_Server | HTTP_Server | 2544 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
my error.log
[Tue Mar 7 18:46:53 2006] [notice] FastCGI: process manager initialized (pid 20766)
[Tue Mar 7 18:47:02 2006] [notice] Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server configured -- resuming normal operations
[Tue Mar 7 18:47:02 2006] [notice] Accept mutex: fcntl (Default: sysvsem)
[Tue Mar 7 18:52:42 2006] [error] [client 192.168.1.47] [ecid: 1141775562:192.168.1.46:27172:0:6,0] File does not exist: /u01/app/oracle/product/10.2.0/companion/htmldb/images/javascript/htmldb_get.js
[Tue Mar 7 18:52:42 2006] [error] [client 192.168.1.47] [ecid: 1141775562:192.168.1.46:27172:0:7,0] File does not exist: /u01/app/oracle/product/10.2.0/companion/htmldb/images/css/htmldb_V2.css
[Tue Mar 7 18:58:18 2006] [error] [client 192.168.1.47] [ecid: 1141775898:192.168.1.46:20917:0:9,0] File does not exist: /u01/app/oracle/product/10.2.0/companion/htmldb/images/javascript/htmldb_get.js
[Tue Mar 7 18:58:18 2006] [error] [client 192.168.1.47] [ecid: 1141775898:192.168.1.46:20917:0:10,0] File does not exist: /u01/app/oracle/product/10.2.0/companion/htmldb/images/css/htmldb_V2.css
my access.log
192.168.1.47 - - [07/Mar/2006:18:51:40 -0500] "GET /pls/htmldb HTTP/1.1" 302 5
192.168.1.47 - HTMLDB_PUBLIC_USER [07/Mar/2006:18:51:49 -0500] "GET /pls/htmldb/htmldb HTTP/1.1" 302 5
192.168.1.47 - - [07/Mar/2006:18:52:42 -0500] "GET /i/javascript/htmldb_html_elements.js HTTP/1.1" 200 15990
192.168.1.47 - HTMLDB_PUBLIC_USER [07/Mar/2006:18:52:42 -0500] "GET /pls/htmldb/f?p=4550:1:8908757969697315233 HTTP/1.1" 200 5078
192.168.1.47 - - [07/Mar/2006:18:52:42 -0500] "GET /i/javascript/htmldb_get.js HTTP/1.1" 404 366
192.168.1.47 - - [07/Mar/2006:18:52:42 -0500] "GET /i/css/core.css HTTP/1.1" 200 6032
192.168.1.47 - - [07/Mar/2006:18:52:42 -0500] "GET /i/css/htmldb_V2.css HTTP/1.1" 404 359
192.168.1.47 - - [07/Mar/2006:18:52:42 -0500] "GET /i/htmldb/oracle_htmldb_logo.gif HTTP/1.1" 200 3213
192.168.1.47 - - [07/Mar/2006:18:52:42 -0500] "GET /i/htmldb/builder/1px_trans.gif HTTP/1.1" 200 43
192.168.1.47 - HTMLDB_PUBLIC_USER [07/Mar/2006:18:58:13 -0500] "GET /pls/htmldb/htmldb_admin HTTP/1.1" 302 5
192.168.1.47 - HTMLDB_PUBLIC_USER [07/Mar/2006:18:58:18 -0500] "GET /pls/htmldb/f?p=4550:10:3783099702329307520 HTTP/1.1" 200 4081
192.168.1.47 - - [07/Mar/2006:18:58:18 -0500] "GET /i/javascript/htmldb_get.js HTTP/1.1" 404 366
192.168.1.47 - - [07/Mar/2006:18:58:18 -0500] "GET /i/css/htmldb_V2.css HTTP/1.1" 404 359rmelideo,
Firstly, you refer to "WebDB administrator" and "WebDB 1.6". This is not WebDB. You're confusing this with an entirely different product released in the late 90's.
You don't say what your specific error is. But the file does not exist errors in your Apache error log look suspicious. It looks like you have not copied the images directory from the HTML DB 2.0 distribution.
Joel -
JavaScript Alert functionality in PL/SQL
I'm in need of implementing the JavaScript "Alert" functionality (display message and wait for user to acknowledge) in the "before displaying the page" PL/SQL block of portal reports and forms. While I'm at it - How about the JavaScript "history.back" function as well?
Is this possible? Can you point me in the right direction.Hi,
Where Portal says "before displaying the page" what it means is that it will run this code before it starts to htp.p() out the HTML of the page.
In WebDB this was actually what happened, in Portal there are some elements of HTML output BEFORE this block of code is run.
Anyway I don't think that you can have an alert that displays before the page is loaded. The page will still show behind the alert.
To get around this you would need a blank page to show your alert that forwards you on to the required page.
The history function can be called by the onclick event of a button or you can access Javascript through an anchor tag:-
link text
Regards Michael -
What is SQL Injection?
SQL Injection is a way to attack the data in a database through a firewall protecting it. It is a method by which the parameters of a Web-based application are modified in order to change the SQL statements that are passed to a database to return data. For example, by adding a single quote (‘) to the parameters, it is possible to cause a second query to be executed with the first.
An attack against a database using SQL Injection could be motivated by two primary objectives:
1. To steal data from a database from which the data should not normally be available, or to obtain system configuration data that would allow an attack profile to be built. One example of the latter would be obtaining all of the database password hashes so that passwords can be brute-forced.
2. To gain access to an organisation’s host computers via the machine hosting the database. This can be done using package procedures and 3GL language extensions that allow O/S access.
There are many ways to use this technique on an Oracle system. This depends upon the language used or the API. The following are some languages, APIs and tools that can access an Oracle database and be part of a Web-based application.
* JSP
* ASP
* XML, XSL and XSQL
* Javascript
* VB, MFC, and other ODBC-based tools and APIs
* Portal, the older WebDB, and other Oracle Web-based applications and API’s
* Reports, discoverer, Oracle Applications
* 3- and 4GL-based languages such as C, OCI, Pro*C, and COBOL
* Perl and CGI scripts that access Oracle databases
* many more.
Any of the above applications, tools, and products could be used as a base from which to SQL inject an Oracle database. A few simple preconditions need to be in place first though. First and foremost amongst these is that dynamic SQL must be used in the application, tool, or product, otherwise SQL Injection is not possible.
The final important point not usually mentioned in discussions about SQL injection against any database including Oracle is that SQL injection is not just a Web-based problem. As is implied in the preceding paragraph, any application that allows a user to enter data that may eventually end up being executed as a piece of dynamic SQL can potentially be SQL injected. Of course, Web-based applications present the greatest risk, as anyone with a browser and an Internet connection can potentially access data they should not.
While second article of this series will include a much more in-depth discussion of how to protect against SQL injection attacks, there are a couple of brief notes that should be mentioned in this introductory section. Data held in Oracle databases should be protected from employees and others who have network access to applications that maintain that data. Those employees could be malicious or may simply want to read data they are not authorized to read. Readers should keep in mind that most threats to data held within databases come from authorized users.
Protecting against SQL Injection on Oracle-based systems is simple in principle and includes two basic stages. These are:
1. Audit the application code and change or remove the problems that allow injection to take place. (These problems will be discussed at greater length in the second part of this series.)
2. Enforce the principle of least privilege at the database level so that even if someone is able to SQL inject an application to steal data, they cannot see anymore data than the designer intended through any normal application interface.
The “Protection” section, which will be included in the second part of this series, will discuss details of how to apply some of these ideas specifically to Oracle-based applications.
[http://www.securityfocus.com/infocus/1644]
how oracle prevent sql injections?mango_boy wrote:
damorgan wrote:
And they do so using bind variables
http://www.morganslibrary.org/reference/bindvars.html
and DBMS_ASSERT
http://www.morganslibrary.org/reference/dbms_assert.html
do you have any suggestion for mysql users??Yes. Install Oracle. -
I am trying to install and configure WebDB to work with Apache
server and have a few questions. My system is Red Hat 5.2 with
Oracle 8.0.5.
1)Should the port number for WebDB install be the same or
different from the port number used by Apache server. How do
they talk to each other?
2)Do I need to install the WebDB listener even if I only need
the Apache? Do I need to start the WebDB listener?
3)How does the Apache server talk with the database server?
4)Can the WebDB be installed at the same ORACLE_HOME for
database server? Can the Apache and Database server and WebDB
listener exist on the same machine?
Any answers to any above questions are appreciated.
Thanks.
nullThanks for clarifying some of confusions I had.
After going through several installations and de-installations,
I still could not login to the Oracle database using ../cgi-
bin/wdbcgiw. I always got a authentication failure.
I could login using the WebDB listener. When I set the listener
settings(using ../cgi-bin/wdbcgiw/admin_/gateway.htm), I got a
message that DAD setting could not changed.
I believe that someone already posted a similar problem. Could
you or someone help pointing us the right direction.
Thanks.
Sincerely
Huadong Gai
Michael Hasenstein (SuSE) (guest) wrote:
: guest (guest) wrote:
: : I am trying to install and configure WebDB to work with
Apache
: : server and have a few questions. My system is Red Hat 5.2
with
: : Oracle 8.0.5.
: : 1)Should the port number for WebDB install be the same or
: : different from the port number used by Apache server. How do
: : they talk to each other?
: They don't. WebDB listener (wedblsnr) is a standalone web
: gateway, wdbcgi[w] is the Aapche CGI. Alternative methods to
: access WebDB. Explanation: what IS WebDB? WebDB is completely
: inside your Oracle DB. It's plsql code and lots of tables and
: functions and other objects. The CGI and the WebDB listener are
: only gateways HTTP<->PL/SQL.
: : 2)Do I need to install the WebDB listener even if I only
need
: : the Apache? Do I need to start the WebDB listener?
: No.
: No.
: : 3)How does the Apache server talk with the database server?
: Apache doesn't. The CGI does, which is a regular program linked
: using the OCI (libclntsh).
: : 4)Can the WebDB be installed at the same ORACLE_HOME for
: : database server? Can the Apache and Database server and
WebDB
: : listener exist on the same machine?
: : Any answers to any above questions are appreciated.
: : Thanks.
: Yes. For 7.3.4 and 8i installations WebDB is installed under
: $ORACLE_HOME/webdb/, for 8.0.5 installations it is mixed with
the
: 8.0.5 installation, so under 8i and 7.3.4 it's actually a lot
: cleaner.
: Yes. Start the WebDB listener on a different port and/or IP
than
: Apache.
null
Maybe you are looking for
-
Hello, I need a variant which does ' quant * quant = quant '. The nearest variant that I found is QUANTI12 which does ' qant / quant = factor ' . I copied the variant to Zvariant. Now I try to modify the outpout from ' factor ' to ' quant '. Someone
-
Dears, I have a requirement from the business on clearing open item with partial payment and show only the balance left in FBL1N. We pay a down payment of USD 100 on 01st Jul, 2014, and get an invoice on 1st Aug for USD 200 for 30 days, effectively
-
No content on iPod, but it shows in iTunes
This problem started either yesterday or the day before. I plugged my iPod into my computer, it synced and recharged, but now when I go to listen to any music or audio books, it tells me no content. I can see the music in the iPod menu in iTunes, but
-
I purchased an iPad mini and would like to upload music from iTunes to it. When I attach it to my iMac OS X 10.5.8, it says I must have a different version of iTunes, but I can't upload the updated iTunes onto my iMac without 10.6.8. So I tried to
-
Hi, Is it possible to pick the value from a user entry formula variable using customer exits.