Http-404 when registering the oracle OA framework in portal
Hello,
We have installed portal (10.1.2.0.2) and when trying to register the oracle OA framework as web provider. i am getting http-404 error error.
If anyone had this issue before. Please advise how to proceed.
Please email to [email protected]
Regards,
Priya
1) Are you using Application ServerNo
2) Version of DB/ApexDB: 9.2.0.7
Apex: 2.0.0.00.49
3) Browser you're using etcFirefox
I think it's something with the authorization-settings.
Similar Messages
-
Register the Oracle 9iFS Portlet with Oracle Portal
I did register the Oracle 9iFS Portlet with Oracle Portal.
But when I am adding the portlet to a portal page I get the error:
"500 Internal Server Error"
When I am trying to access the page by url:
http://<myserver>:7777/ifs/portlet
I get the error:
"You are not authorized to view this page"not a problem with BEA , just means your database has been configured to close your session after a period of inactivity(which is normal).
Check you connection pool testing settings and tune accordingly. -
Error whlie registering the oracle home in oracle 9i
Hi,
I am doing the oracle_home software cloning in oracle 9i.After the copy process of home i tried to register the Oracle home with the central inventory.
I tried so many commands to register the oracle_home but still i am getting same error in my log file.
OS : OEL 5.4
DB : 9.2.0
FYI,
My registration log file details:
Using paramFile: /d01/oracle/testdb/9.2.0/oui/oraparam.ini
Checking installer requirements...
Checking operating system version: must be redhat-2.1, UnitedLinux-1.0, redhat-3, SuSE-7 or SuSE-8
Failed <<<<
Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2013-11-23_07-00-04PM/installActions2013-11-23_07-00-04PM.log
Below methods also i used for home registration,
ERROR WHILE REGISTERING THE NEW ORACLE HOME IN 9i:
=================================================
[oracle@db ContentsXML]$ ./runInstaller -silent -attachHome -invPtrLoc ./oraInst.loc ORACLE_HOME="/d01/oracle/testdb/9.2.0" ORACLE_HOME_NAME="Oracle_Home_9i" LOCAL_NODE="db.sapcle.com"
-bash: ./runInstaller: No such file or directory
[oracle@db ContentsXML]$ cd /d01/oracle/testdb/9.2.0/oui/bin/
[oracle@db bin]$ pwd
/d01/oracle/testdb/9.2.0/oui/bin
[oracle@db bin]$ /d01/oracle/testdb/9.2.0/oui/bin/runInstaller -silent -clone ORACLE_HOME="/d01/oracle/testdb/9.2.0" ORACLE_HOME_NAME="Oracle_Home_9i"
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-2.1, UnitedLinux-1.0, redhat-3, SuSE-7 or SuSE-8
Failed <<<<
Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2013-11-23_06-59-27PM/installActions2013-11-23_06-59-27PM.log
[oracle@db bin]$ ./runInstaller -silent -invPtrLoc /d01/oracle/testdb/9.2.0 ORACLE_HOME="/d01/oracle/testdb/9.2.0" ORACLE_HOME_NAME="Oracle_Home_9i"
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-2.1, UnitedLinux-1.0, redhat-3, SuSE-7 or SuSE-8
Failed <<<<
Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2013-11-23_07-00-04PM/installActions2013-11-23_07-00-04PM.log
[oracle@db bin]$ vi /tmp/OraInstall2013-11-23_07-00-04PM/installActions2013-11-23_07-00-04PM.log
Please suggest me anything am i did wrong manner.
Thanks.Hi All,
I am facing the same issue again after installed the oracle linux 4.5.
My Source database is 9i it is running in oracle linux 4.4, So i couldn't register my oracle home in the ORACLE Linux 4.5.I have to downgrade my Oracle linux from 4.5 to 4.4.
I sourced the below steps from google,
Hello everybody! I have a problem with my server and I want to check that it isn't a software problem. So, firstly I want to downgrade from 4.5b6 to 4.4. Just to point out, I have a Plus license. So, to do the downgrade, Do I just have to change the following files? : bzimage
bzroot Nothing else? Thank you so much.
It is that easy.
You can rename the existing two files so you can put them back into place as bzroot and bzimage if the experiment does not result in an improvement. I do that on my system. bzroot would become bzroot.456 and bzimage woud be re-named as bzimage.456
As an alternative, you could add the 4.4.2 files as bzroot.442 and bzimage.442 and then add three lines to your syslinux.cfg file. They would result in additional menu choices when you next boot to allow you to choose to boot on either the older or the current version.
A copy of my syslinux.cfg file is below. You can see I can elect to boot on on almost any of the recent releases, as I've kept re-named copies of each release in turn on my flash drive.
(All the lines I added are in "blue", the three lines for 4.4.2 you would need to add are in "bold blue.". It would require you to put the 4.4.2 files in place renamed as bzroot.442 and bzimage.442)
The only thing you need to be aware of if you re-name the files as I've done is the names must be legal names under DOS on a FAT file-system. Therefore, the names must be at most 8 characters long with a three character "extension"
bzimage.456 is legal, bzimage.45b6 is not. (because it has a 4 character extension)
Joe L.
default menu.c32
menu title Lime Technology LLC
prompt 0
timeout 100
label unRAID OS
menu default
kernel bzimage
append initrd=bzroot rootdelay=10
label unRAID 4.5beta5 OS
kernel bzimage.455
append initrd=bzroot.455 rootdelay=10
label unRAID 4.5beta4 OS
kernel bzimage.454
append initrd=bzroot.454 rootdelay=10
label unRAID 4.5beta2 OS
kernel bzimage.452
append initrd=bzroot.452 rootdelay=10
label unRAID 4.4.2 OS
kernel bzimage.442
append initrd=bzroot.442 rootdelay=10
label unRAID 4.4 OS, no VGA
kernel bzimage.44
append initrd=bzroot.44 rootdelay=10
label unRaid 4.3.3
kernel bzimage.433
append initrd=bzroot.433 rootdelay=10
label Memtest86+
kernel memtest
But in my Linux 4.5 the syslinux.cfg file is not available.Please suggest me or refer any document for the downgrade process.
Thanks in advance. -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1) -
How to hide system tables when using the Oracle SQL Developer?
Hi,
I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
Can anyone explain to me how to do these things?
Thanks,Hi,
I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
Kuljeet -
How to install the Oracle Applications Framework Provider for Portal10g?
I am trying to intergrate Portal10g 10.4.1 with EBS 11i.5.10 and all the step required list in metalink document was done.
However,the Oracle Applications Framework Provider is not show if i view the Portlet Repostiory after refreshing it.
I guess that this problem is caused by missing something to install.
Can anyone give me any suggestion about how to solve that?
Very appreciate for any comments.Hi Tim
I Meant to say say that doing of inbound interface for apps with xml related data
raghu -
Http: 404 when starting 'manage user data' in EBP/SRM for the firs time.
We are customizing SRM 3.0 EBP 4.0 with SAPKU40005.
When we tried to create the first users we started to receive the following error 'http: 404 Page not Found' when starting 'manage user data'. (URL: http://[server]/sap/bc/bsp/bbpusermaint/!?client=400&language=EN&~logingroup=SPACE&addSession=1&parentBbpSession=SRP:[server]:0000.0005.d5ffd7b2.d87e
I've created the ADMIN user in the SU01 transaction. When logon in mySRM browser with this or any administrator user and try to 'manage user data' i get this error.
I've looked in the '(...)inetpub\wwwroot\sap' directory and didn't found any 'bc/bsp/...' directory.
Can someone please give me an hint ....
TanksHello Carlos,
the BSP Framework you are now in has nothing to do with the ITS stuff like inetpub or wwwroot.
Get the docu for Web AS 6.20 and have a look into transaction SICF. There you can activate your application: follow the path sap/bc/bsp/bbpusermaint, right mouse click on the "node" and say activate.
This maybe solves your problem. But read a little bit of the doco on Internet Communication Framework (TX SICF) first.
Regards, Bernd -
Error when registering the Provider
I have been following "How to build a portlet using an existing
java component".
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/pdk/
articles/how.to.build.java.portlet.existing.component.html
When I register the provider I get the following error:
An error occurred when attempting to call the providers register
function. (WWC-43134)
An unexpected error occurred: ORA-29532: Java call terminated by
uncaught Java exception: java.net.UnknownHostException:
pronetdev (WWC-43000)
An unexpected error occurred: java.net.UnknownHostException:
pronetdev
at java.net.InetAddress.getAllByName0(InetAddress.java:599)
at java.net.InetAddress.getAllByName0(InetAddress.java:544)
at java.net.InetAddress.getAllByName(InetAddress.java:537)
at HTTPClient.HTTPConnection$EstablishConnection.run
(HTTPConnection.java)
(WWC-43000
Thanks,
Tom HenricksenHi Agent Gibbs,
Looking at the Provider URL, I guess you are running it from JDeveloper. I don't think you can register this Provider with Oracle Portal - the reason, in my opinion, is that the embedded OC4J in JDeveloper ( or any other "regular OC4Js ) are not wired with the required JPDK Jar Files.
The JPDK takes care of the communication between Oracle Portal and Portlets & Providers.
If you have an EAR File, you need to deploy it in OC4J_PORTAL ( you will find this in the Portal Middletier ). Else, you can create your own OC4J in the Portal Middletier & try this ( just picked up from one of the Portlet README Docs...):-
1. In the Enterprise Manager, navigate to the OC4J instance that contains the application.
2. Click on your newly deployed application to view a page displaying properties of the application.
3. Click General under the Administration : Properties section.
4. In the Library Paths section, you can add a library. To add a library path, click "Add Another Row".
5. Add the following jar files :
../../../../portal/jlib/pdkjava.jar
../../../../portal/jlib/ptlshare.jar
../../../../webcache/jlib/jawc.jar
../../jazn.jar
5.Finally, Click Apply.
6.Restart the OC4J.
Good Luck !
Regards,
Sandeep -
For my app that is built using JDeveloper 11.1.1.3.0, I have a .jspx which has 3 page fragments (.jsff) built into it. I see the following error message whenever any buttons, including the out of the box, Search button, are clicked:
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
I see this error message only when I deploy the EAR to DEV and TEST environments and I don't see this error on my local env, where I am deploying the EAR to Integrated WLS.
WebLogic server logs don't give me any more info than:
"Multiple forms detected on viewId: /SpecPages/CSTHistory.jspx. Rich client currently has some limitations in dealing with multiple forms."
I didn't modify the page authorization (jazn-data.xml) for this .JSPX or the three .JSFF's I use so I am not sure why this error is popping up.I quickly added one jspx to test if it would help. However, the URL continues to display w/ the .jspx extension. Here is the updated xml file:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<view id="csthistory">
<page>/SpecPages/CSTHistory.jspx</page>
</view>
<managed-bean>
<managed-bean-name>login</managed-bean-name>
<managed-bean-class>com.qualcomm.backing.LoginHandler</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</adfc-config>
I have a total of 6 jspx and most of them have JSFF's and these jspx's are set up as navigation panes. -
Server fails when installed the Oracle Developper Suite 10 g
Hi all,
I am facing a problem which is that the server fails to connect after I istalled the Oracle Developper Suite 10 g. I am using Oracle 10g for vista and I followed exactly the instructions that were posted before.
I typed in the command prompt 'tnsping <my_database_name>', and I got the follwinf error: TNS-03505: Failed to Resolve Name.
When I deinstalled the Oracle Developper Suite, I could easily get connected after typing the same instructions.
Thanks in advance
MichaelThe server does not work once the Oracle Development
Suite is installed. When I deinstall this Oracle
Development Suite, the server starts working again. I
mean by "server fails to connect" that when I type in
the command prompt 'tnsping <my_database_name>' the
operation fails. I do not mean that the client fails
to connect to the server, of course the connection
between the client and server could not be
established as the server is already down.Hi Michael,
On Windows each new Oracle install puts itself at the front of the system path, i.e. assuming that you want to use the new environment by default. You can correct this either by editing the path manually or else by firing up the Universal Installer, selecting the "Installed Products" button and then clicking the environment tab.
Name resolution is (ignoring fancy things like directory service support etc) done by each Oracle Home by first examining the contents of the network configuration files in a directory pointed to by the TNS_ADMIN environment variable, then by examining the files in the %ORACLE_HOME%\NETWORK\ADMIN directory where %ORACLE_HOME% is the oracle home for the executable being called. Thus when you've run tnsping you've picked up tnsping from the new developer suite install and it uses the files in it's oracle home to resolve the service name (and fails).
You can correct this by
1) setting TNS_ADMIN and maintaining files in one location.
2) copying the network configuration files from the server oracle home to the developer suite oracle home.
Niall Litchfield
http://www.orawin.info/ -
Deploying LightSwitch applications to IIS using the Oracle Entity Framework
I have had no sucess running Lightswitch applications on IIS using the Oracle Beta entity framework. Applications work fine from visual studio but after deployment fail when I trying to access an Oracle data entity.
I have tried deploying to a 2008 V2 server 64Bit running IIS7.5 and also to a 32 bit windows 7 machine running IIS7. Both machines had the entity framework installed and I could connect to Oracle with SQL developer just fine. Briefly in the case of the 64 bit machine I get a bad image exception indicating a 64/32 bit conflict. (App pool switched to allow 32bit). The problem with the 32Bit machine is that the session either hangs or dies with an [Arg_TargetInvocationException]
In all tests apps could connect to SQL server fine but as soon as I use an Oracle connection they fail. It would very helpfull if someone could confirm that they have managed to use the Entity framework Beta with Lightswitch and IIS.
Thanks in advance
Edited by: user12218662 on 08-Oct-2011 11:35
Edited by: user12218662 on 08-Oct-2011 11:37Both hosts working now. Initially I created a service account for the aspnet service with extended rights and assigned this to the application pool. This subsequentluy turned out not to be required - ApplicationPoolIdentity works fine. What worked was as follows:
1. On a 64 Bit host you need to set the application pool to Enable 32 Bit Applications (Right click the relevant app pool in IIS and select advanced)
2. Switch off windows authentication for the application (leaving just anonoymous authentication) This was required on both hosts
3. On the 32 Bit host copy tnsnames to the oracle client admin folder - the framework seems to ignore theTNS_ADMIN environment variable. Probably more to this but its working for now. -
Cannot register the Web Provider Sample in Portal
Hi,
I downloaded the PDK-Java Framework and Samples to install in portal. The Portal version 3.0.9.8 on NT 4.0 platform.
I followed the instructions all the way to testing the Web Provider Sample set up. I can execute the sample from the Oracle HTTP Server. The test page is displayed correctly. Then I try to register the web provider in Portal. And I encountered the following error:
An unexpected error occurred: ORA-29531: no method getPortletList in class
oracle/webdb/provider/web/HttpProviderDispatcher ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWPRO_HTTP", line 2684
ORA-29531: no method getPortletList in class oracle/webdb/provider/web/HttpProviderDispatcher (WWC-43000)
An unexpected error occurred:
ORA-29531: no method getPortletList in class oracle/webdb/provider/web/HttpProviderDispatcher (WWC-43000)
Can anyone tell me what I need to do?
Thanks;
Kelly.Kelly,
You want to take a look at the following to try to debug your situation.
1. Make sure that no tags in the provider.xml say <getPortletList> this tag should not be in there are would not be in there unless altered.
2. You may have some invalid Java classes in your portal. You may want to check the status on your packages.
Sue -
The step-by-step guide for installing the Oracle Database and Oracle9iAS Portal
All,
I made a step-by-step guide for installing the Oracle 8.1.7 database and Oracle9iAS 1.0.2.1 (HTTP Only) install on a 'clean' Windows 2000 machine. The guide has a screen shot of every single step that I went through to get an installation of the database and Oracle9iAS Portal to work.
Because I left my email in the guide, everyone will be sending me email with questions about their particular install. [What I really wanted was some positive feedback email to show to my manager... hint hint.] As I do not want to troubleshoot everyone's install by email, I started this thread.
Let's start the step-by-step install guide discussion here.
As a start, here is what I did NOT want to do with the guide: I did not want to 'redo' the current Oracle9iAS installation guide. So I did not put any conditions in the guide. This is just what I had to do to take a clean Windows2000 machine (no Oracle software on it) and get it to work. If I keep on adding conditions, eventually I will end up with the installation document.
Also, in the next version (for the Oracle9iAS 1.0.2.2) I will probably start over again from scratch as we are planning on addressing some of the issues with the install.
Another thing I plan to do is put the following direct links in:
Oracle9iAS Portal: Troubleshooting Guide
Oracle9iAS Portal: Diagnostics Tool
Oracle9iAS Portal: FAQ
Have a look at the above, as they will answer probably all of your questions... But if not post away!
Thanks,
RichWe do have installed a Lotus Notes LDAP. Unfortunately, the documentation is company internal in German.
The steps, in general, where:
1) Create physical connection (obviously, you did that)
2) Deploy the XML Descriptor for the LDAP under "UM Configuration => Data Sources"
We used a derivate of the Sun One LDAP Profile.
3) Match the assignement LDAP Group --> EP Role --> EP User via EP user management
4. The user, in our case, is always created in the LDAP first (from a different LDA administration group) and is then visible in the Portal)
I know, this is very generic, but the "magic" is in the XML profile and I haven't seen any documentation about it yet. -
HTTP post data from the Oracle database to another web server
Hi ,
I have searched the forum and the net on this. And yes I have followed the links
http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
http://manib.wordpress.com/2007/12/03/utl_http/
and Eddie Awad's Blog on the same topic. I was successful in calling the servlet but I keep getting errors.
I am using Oracle 10 g and My servlet is part of a ADF BC JSF application.
My requirement is that I have blob table in another DB and our Oracle Forms application based on another DB has to view the documents . Viewing blobs over dblinks is not possible. So Option 1 is to call a procedure passing the doc_blob_id parameter and call the web server passing the parameters.
The errors I am getting is:
First the parameters passed returned null. and
2. Since my servlet directly downloads the document on the response outputStream, gives this error.
'com.evermind.server.http.HttpIOException: An established connection was aborted by the software in your host machine'
Any help please. I am running out of time.
Thanksuser10264958 wrote:
My requirement is that I have blob table in another DB and our Oracle Forms application based on another DB has to view the documents . Viewing blobs over dblinks is not possible. Incorrect. You can use remote LOBs via a database link. However, you cannot use a local LOB variable (called a LOB <i>locator</i>) to reference a remote LOB. A LOB variable/locator is a pointer - that pointer cannot reference a LOB that resides on a remote server. So simply do not use a LOB variable locally as it cannot reference a remote LOB.
Instead provide a remote interface that can deal with that LOB remotely, dereference that pointer on the remote system, and pass the actual contents being pointed at, to the local database.
The following demonstrates the basic approach. How one designs and implements the actual remote interface, need to be decided taking existing requirements into consideration. I simply used a very basic wrapper function.
SQL> --// we create a database link to our own database as it is easier for demonstration purposes
SQL> create database link remote_db connect to scott identified by tiger using
2 '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=dev)(SERVER=dedicated)))';
Database link created.
SQL> --// we create a table with a CLOB that we will access via this db link
SQL> create table xml_files( file_id number, xml_file clob );
Table created.
SQL> insert into xml_files values( 1, '<root><text>What do you want, universe?</text></root>' );
1 row created.
SQL> commit;
Commit complete.
SQL> --// a local select against the table works fine
SQL> select x.*, length(xml_file) as "SIZE" from xml_files x;
FILE_ID XML_FILE SIZE
1 <root><text>What do you want, universe?</text></root> 53
SQL> --// a remote select against the table fails as we cannot use remote pointers/locators
SQL> select * from xml_files@remote_db x;
ERROR:
ORA-22992: cannot use LOB locators selected from remote tables
no rows selected
SQL> //-- we create an interface on the remote db to deal with the pointer for us
SQL> create or replace function ReturnXMLFile( fileID number, offset integer, amount integer ) return varchar2 is
2 buffer varchar2(32767);
3 begin
4 select
5 DBMS_LOB.SubStr( x.xml_file, amount, offset )
6 into
7 buffer
8 from xml_files x
9 where x.file_id = fileID;
10
11 return( buffer );
12 end;
13 /
Function created.
SQL> --// we now can access the contents of the remote LOB (only in 4000 char chunks using this example)
SQL> select
2 file_id,
3 ReturnXMLFile@remote_db( x.file_id, 1, 4000 ) as "Chunk_1"
4 from xml_files@remote_db x;
FILE_ID Chunk_1
1 <root><text>What do you want, universe?</text></root>
SQL> --// we can also copy the entire remote LOB across into a local LOB and use the local one
SQL> declare
2 c clob;
3 pos integer;
4 iterations integer;
5 buf varchar2(20); --// small buffer for demonstration purposes only
6 begin
7 DBMS_LOB.CreateTemporary( c, true );
8
9 pos := 1;
10 iterations := 1;
11 loop
12 buf := ReturnXMLFile@remote_db( 1, pos, 20 );
13 exit when buf is null;
14 pos := pos + length(buf);
15 iterations := iterations + 1;
16 DBMS_LOB.WriteAppend( c, length(buf), buf );
17 end loop;
18
19 DBMS_OUTPUT.put_line( 'Copied '||length(c)||' byte(s) from remote LOB' );
20 DBMS_OUTPUT.put_line( 'Read Iterations: '||iterations );
21 DBMS_OUTPUT.put_line( 'LOB contents (1-4000):'|| DBMS_LOB.SubStr(c,4000,1) );
22
23 DBMS_LOB.FreeTemporary( c );
24 end;
25 /
Copied 53 byte(s) from remote LOB
Read Iterations: 4
LOB contents (1-4000):<root><text>What do you want, universe?</text></root>
PL/SQL procedure successfully completed.
SQL> The concern is the size of the LOB. It does not always make sense to access the entire LOB in the database. What if that LOB is a 100GB in size? Irrespective of how you do it, selecting that LOB column from that table will require a 100GB of data to be transferred from the database to your client.
So you need to decide WHY you want the LOB on the client (which will be the local PL/SQL code in case of dealing with a LOB on a remote database)? Do you need the entire LOB? Do you need a specific piece from it? Do you need the database to first parse that LOB into a more structured data struct and then pass specific information from that struct to you? Etc.
The bottom line however is that you can use remote LOBs. Simply that you cannot use a local pointer variable to point and dereference a remote LOB. -
HTTP 404 when accessing procedure on PLSQL
Hi!
I am going to install some PLSQL procedures on my Oracle 9ias
server. I install all the procedures on my database and
configure a new dad. Then I write this URL in my browser:
http://<machine_name>:<port>/pls/<dad_name>/<package.procedure>
and I obtain a 404 error
Should I do any additional step?? I have successfully configured
PLSQL providers on Portal, but clearly this is not the same caseHi, I did write the same url but it did not work and to my
knowledge this 'pls' is a virtual directory and should be
defined in httpd.conf file but i do not know exact path
for 'pls' and then 'dad' also seems to be virtual directory.
Does any body have any idea how to check whether portal
configuration was successful or not.
thx
vandana
Maybe you are looking for
-
i bought my husband an ipod nano. we already have the classic. should i put both on the same apple id or get a new id for hubby?
-
Uploading a file in a jsp page
Hii Javaites I am developing an application in which i need to upload file from a jsp page, right now i am using tomcat can anyone tell me the code for uploading a file. Thanking in Advance
-
Install SAP IdM MSSQL on different drive than "C:"
We are in the process of building our IDM systems and want to install the MSSQL DB on a different drive than C:. Has anyone else done this and what changes to the _SqlAuth.vbs & SQL4SAP.vbs (which _SqlAuth.vbs called during installation) are require
-
PDFMaker in Excel 2010 does not appear after installing Adobe Acrobat 9 Standard
I installed Adobe Acrobat 9 Standard for a user here at work on her computer with Windows XP and Office 2010 installed. She wanted the feature and/or plug-in that allows her to "Save as Adobe PDF" in Excel 2010 and then able to add/remove pages from
-
Hi guys, Suppose, I have the following line that is read from a file: "test" "aksks" 1 "ru" How can I parse the above line into the following format: String tmp = "test"; String tmp1 = "aksks"; Int id = 1; String tmp3 = "ru"; Each word is separated b