Overriding a dynamicdata in 11g
Hi all,
Is it possible to override a dynamicdata table, or to add extra information/custom information into it? so something similar to overriding/extending a dynamichtml ?
Thanks,
Vlad
Marcin says:
Unfortunatelly overriding is not possible in ABAP, only redefinition is allowed. The method singature must stay the same in all subsequent classes.
I guess,
Overriding - Redefinition of the implementation of inherited method. This is possible by addition REDEFINITION to the method.
Overloading - Changing the method parameters of inherited method
Regards,
Naimesh Patel
Similar Messages
-
Override lifecycle event-handler in 11g
Hello,
I am trying to override lifecycle event-handling in 11g environment with the standard ADFPhaseListener.
In faces-config.xml I registered:
<lifecycle>
<phase-listener>oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener</phase-listener>
</lifecycle>
I have a backing-bean that extends oracle.adf.controller.v2.lifecycle.PageController
and override some methods like
@Override
public void prepareModel(LifecycleContext lifecycleContext) {
int x = 1; // Dummy Statement
super.prepareModel(lifecycleContext);
@Override
public void prepareRender(LifecycleContext lifecycleContext) {
int x = 1; // Dummy Statement
super.prepareRender(lifecycleContext);
@Override
public void processComponentEvents(LifecycleContext lifecycleContext) {
int x = 1; // Dummy Statement
super.processComponentEvents(lifecycleContext);
@Override
public void processUpdateModel(LifecycleContext lifecycleContext) {
int x = 1; // Dummy Statement
super.processUpdateModel(lifecycleContext);
If I set breakpoints in all 4 methods however they are never matched, not when entering the page nor during roundtrips.
Is there anything else I have to do to make it work. I couldn't find a detailed example for 11g.
BrunoHello,
and thanks for your help.
Meanwhile I created a Custom PagePhaseListener with PhaseListener Interface and registered it on the JSPX <f:phaseListener binding="..."/>
This matches my requirements even better since I need a listener for only one JSPX.
Since this is a JSF (not ADF) Interface I only get the Standard Lifecycle-Phases, which are fewer than in Frank's example, but they are sufficient for my purposes.
Or do you see any other major drawbacks.
Bruno -
Can we override X-UA-Compatible metatag generated by ADF 11g?
I have a page with google maps embedded in it. The page when run displays the map fine in Firefox and Safari but not in IE (7 or 8). In IE 8, if I change the document mode to IE8 then it displays fine. I notice that when I run the page in IE, ADF Faces generates a meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=7">
Is it possible to override this? I want to set it to IE8, so that maps display work. I am using Jdeveloper 11g and code is pasted below.
Template code:
<af:pageTemplateDef var="attrs">
<af:xmlContent>
<component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
</af:xmlContent>
<af:document title="#{userSessionBean.windowTitlePrefix}#{attrs.windowTitle}"
id="mainDoc" onunload="routePageMapUnload()"
clientComponent="true">
<f:facet name="metaContainer">
<af:group>
<h:outputText escape="false"
value='<meta http-equiv="X-UA-Compatible" content="IE=8">'/>
<h:outputText escape="false"
value='<link rel="shortcut icon" type="image/png" href="images/favicon.png">'/>
<trh:script source="http://maps.google.com/maps?file=api&v=2&key=#{userSessionBean.mapKey}"></trh:script>
<trh:script source="/scripts/mapScripts.js"></trh:script>
<trh:script text="arnsLoadFunctionInd='#{attrs.pageLoadFunctionInd}';"></trh:script>
</af:group>
</f:facet>
<af:form defaultCommand="#{attrs.defaultCommand}" id="mainFrm"
usesUpload="#{attrs.usesUpload}">
<af:panelSplitter orientation="vertical" splitterPosition="165"
id="mnSplit">
<f:facet name="first">
<af:panelGroupLayout layout="scroll">
</af:panelGroupLayout>
</f:facet>
<f:facet name="second">
<af:facetRef facetName="centerContent"/>
</f:facet>
</af:panelSplitter>
</af:form>
<af:clientListener method="loadPage()" type="load"/>
</af:document>
</af:pageTemplateDef>
Page Code:
<f:view>
<af:pageTemplate viewId="/templates/mapTemplate.jspx" id='arns'>
<f:facet name="centerContent">
<af:panelStretchLayout>
<f:facet name="bottom"/>
<f:facet name="center">
<af:panelSplitter splitterPosition="350">
<f:facet name="first">
<af:panelStretchLayout topHeight="130">
<f:facet name="bottom"/>
<f:facet name="center">
</f:facet>
</af:panelStretchLayout>
</f:facet>
<f:facet name="second">
<f:verbatim>
<div id="arnsRouteMap" style="width:100%; height:100%;"/>
</f:verbatim>
</f:facet>
</af:panelSplitter>
</f:facet>
<f:facet name="start"/>
<f:facet name="end"/>
<f:facet name="top">
<af:panelGroupLayout layout="vertical"
partialTriggers="getDirecton getDirV2" id="pageMsgTop"
binding="#{backing_routing.pageMsgTop}"
visible="false">
<af:message id="pageMsg" binding="#{backing_routing.pageMsg}"/>
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
<f:attribute name="windowTitle" value="Driving Direction"/>
<f:attribute name="pageLoadFunctionInd" value="3"/>
</af:pageTemplate>
</f:view>So here's what I did.
I found this javascript function, which checks IE mode: http://www.strictly-software.com/scripts/downloads/IE8.js (thanks Rob Reid).
Next, I modified my jspx a bit, to disqualify X-UA-Compatible meta tag (IE respects it only if it's the first meta tag in the header):
<jsp:output doctype-root-element="xhtml" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
<f:view>
<meta http-equiv="X-UA-Compatible" content="bar"/>
<af:document id="document11">
<af:clientListener type="load" method="checkCompatibilityMode"/>
<f:facet name="metaContainer">
<f:verbatim>
<script type="text/javascript">
* Author: Rob Reid
* CreateDate: 20-Mar-09
* Description: Little helper function to return details about IE 8 and its various compatibility settings either use as it is
* or incorporate into a browser object. Remember browser sniffing is not the best way to detect user-settings as spoofing is
* very common so use with caution.
function IEVersion(){
var _n=navigator,_w=window,_d=document;
var version="NA";
var na=_n.userAgent;
var ieDocMode="NA";
var ie8BrowserMode="NA";
// Look for msie and make sure its not opera in disguise
if(/msie/i.test(na) && (!_w.opera)){
// also check for spoofers by checking known IE objects
if(_w.attachEvent && _w.ActiveXObject){
// Get version displayed in UA although if its IE 8 running in 7 or compat mode it will appear as 7
version = (na.match( /.+ie\s([\d.]+)/i ) || [])[1];
// Its IE 8 pretending to be IE 7 or in compat mode
if(parseInt(version)==7){
// documentMode is only supported in IE 8 so we know if its here its really IE 8
if(_d.documentMode){
version = 8; //reset? change if you need to
// IE in Compat mode will mention Trident in the useragent
if(/trident\/\d/i.test(na)){
ie8BrowserMode = "Compat Mode";
// if it doesn't then its running in IE 7 mode
}else{
ie8BrowserMode = "IE 7 Mode";
}else if(parseInt(version)==8){
// IE 8 will always have documentMode available
if(_d.documentMode){ ie8BrowserMode = "IE 8 Mode";}
// If we are in IE 8 (any mode) or previous versions of IE we check for the documentMode or compatMode for pre 8 versions
ieDocMode = (_d.documentMode) ? _d.documentMode : (_d.compatMode && _d.compatMode=="CSS1Compat") ? 7 : 5;//default to quirks mode IE5
return {
"UserAgent" : na,
"Version" : version,
"BrowserMode" : ie8BrowserMode,
"DocMode": ieDocMode
function checkCompatibilityMode()
if(IEVersion().BrowserMode=="IE 8 Mode")
AdfPage.PAGE.findComponent("emp:dialog1").setInlineStyleProperty('display','none');
document.getElementById('emp:pt_psl3::t').style.height='200px';
document.getElementById('compatModeAlert').style.display='block';
</script>
</f:verbatim>
</f:facet>And voila, if a user tries to login with IE8, he is required to switch into compatibility mode: http://imgur.com/2OZvr.png
Once it's on, a login prompt is visible and the whole application runs in compatibility mode (which - for some reason - works different than IE mode). -
B2B 11G Outbound EDI Envelope Override
Hi all
I'm working with B2B 11G and I'm trying to override the ISA and GS SenderID's for an outbound document through the internal properties. This functionality does not seem to work as it did in 10G. The default envelope is getting generated regardless if the internal properties envelope is there or not. I tried removing the identification ids from the agreement and it would just generate blank sender and receive ids in the edi file. I need to be able to upgrade a 10g solution which does this kind of enveloping.
Is there a configuration option or setup I am missing to enable this functionality? Or is there another way for dynamically enveloping the outbound document?
Sample EDIXML I am using
<?xml version = '1.0' encoding = 'UTF-8'?>
<Transaction-855 xmlns:ns0="urn:oracle:integration:b2b:5953977F5B36478BA36533EE7E71C144" Standard="X12" Version="V4010" GUID="{12345678-1234-1234-1234-123456789012}" xmlns="urn:oracle:integration:b2b:5953977F5B36478BA36533EE7E71C144">
<ns0:Internal-Properties>
<ns0:Data-Structure Name="Interchange">
<ns0:Property Name="InterchangeSenderID">NewId</ns0:Property>
<ns0:Data-Structure Name="Group">
<ns0:Property Name="GroupSenderID">NewId1</ns0:Property>
<ns0:Data-Structure Name="Transaction">
<ns0:Property Name="TransactionID">855</ns0:Property>
</ns0:Data-Structure>
</ns0:Data-Structure>
</ns0:Data-Structure>
</ns0:Internal-Properties>
<ns0:Segment-ST> ...You need to mention them as the lookup properties as well. Here is an example
<Internal-Properties><Data-Structure Name="Interchange"><Lookup Name="InterchangeSenderID">NewId </Lookup><Property Name="InterchangeSenderID">NewId </Property><Data-Structure Name="Group"><Lookup Name="GroupSenderID">NewId1 </Lookup><Property Name="GroupSenderID">NewId1 </Property><Data-Structure Name="Transaction"><Property Name="TransactionID">850</Property></Data-Structure></Data-Structure></Data-Structure></Internal-Properties>
Regards,
Dheeraj -
JDEV 11G TP3 : Private virtual database / prepareSession overriding
I'm implementing PVD in a ADF BC project.
All the business components will access the database using the PVD, with no exception. The documentation explain how to override the prepareSession in application modules. We will have more than one application module and I would prefer to set our context parameters into one place instead of in each application module.
I think it is a better design to override oracle.jbo.server.ApplicationModuleImpl once instead the application modules and change base class to the overrided class in the ADF BC project properties for application modules.
I would like a confirmation for this design.Found needed confirmation in chapter 35 ADF Developer Guide.
Thank you guys. -
Jdev 11g: Overriding actionPerformed in JUNavigationBar
Hi All:
I migrated from 10g to 11g and following that, the customizations for the JUNavigationBar i had are not working. I created my own class that extended JUNavigationBar and overrode the actionPerformed method to customize the actions. Has anything changed in 11g that is causing this failure.
I have a simple table and a navigation bar that links to an oracle table via entity/view. This was all working in 10g and now it has stopped. My customised JUNavigationBar looks something like the following. To me, this stuff is pretty basic and sounds very odd that has stopped working after the migration.
public class Test_JUNavigationBar extends JUNavigationBar{
public Test_JUNavigationBar (){
super();
public void actionPerformed(ActionEvent ev){
//do actions here...
}Found needed confirmation in chapter 35 ADF Developer Guide.
Thank you guys. -
Unable to authenticate users using Custom plugins in OAM 11g
We are working on a requirement in which we have to write a custom authentication plugin in OAM 11g.
we were able to import and activate the plugin
we created a new authentication module with steps in the following order
1)UserIdentificationPlugin
2)UserAuthenticationPlugin
3)Our custom plugin to create custom responses(We just created the class with mandatory methods and process method returning success)
but finally when we try to authenticate,authentication fails resulting in OAM-2 error.We had entered valid credentials
Can somebody please help me on resolving this issue.
The plugin code,manifest file and Metadata XML is shared below.
Plugin Code
public class NewPlugin extends AbstractAuthenticationPlugIn {
private static final String CLASS_NAME = "FirstTestClass";
public ExecutionStatus initialize (PluginConfig config){
super.initialize(config);
if(LOGGER.isLoggable(Level.FINE)){
LOGGER.logp(Level.FINE,CLASS_NAME,"initialize","Entering initialize");
return ExecutionStatus.SUCCESS;
@Override
public String getDescription() {
// TODO Auto-generated method stub
return null;
@Override
public Map<String, MonitoringData> getMonitoringData() {
// TODO Auto-generated method stub
return null;
@Override
public String getPluginName() {
// TODO Auto-generated method stub
return null;
@Override
public int getRevision() {
// TODO Auto-generated method stub
return 0;
@Override
public ExecutionStatus process(AuthenticationContext context)
throws AuthenticationException {
if(LOGGER.isLoggable(Level.FINE)){
LOGGER.logp(Level.FINE,CLASS_NAME,"initialize","Entering process");
return ExecutionStatus.SUCCESS;
@Override
public void setMonitoringStatus(boolean arg0) {
// TODO Auto-generated method stub
@Override
public boolean getMonitoringStatus() {
// TODO Auto-generated method stub
return false;
MANIFEST.MF
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: NewPlugin Plug-in
Bundle-SymbolicName: NewPlugin
Bundle-Version: 1.0.0
ImportPackage:org.osgi.framework;version="1.3.0",oracle.security.am.plugin,oracle.security.am.plugin.authn,oracle.security.am.plugin.api,oracle.security.am.common.utilities.principal,oracle.security.idm,javax.naming,javax.sql,javax.security.auth
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
METADATA XML
<?xml version="1.0" encoding="UTF-8" ?>
<Plugin name="NewPlugin" type="Authentication">
<author>me</author>
<email>[email protected]</email>
<creationDate>11:40:20,2012-13-02</creationDate>
<version>1</version>
<description>Custom User Authentication Plugin</description>
<interface>oracle.security.am.plugin.authn.AbstractAuthenticationPlugIn</interface>
<implementation>newplugin.NewPlugin</implementation>
<configuration>
<AttributeValuePair>
<Attribute type="String" length="20">DataSource</Attribute>
<mandatory>true</mandatory>
<instanceOverride>false</instanceOverride>
<globalUIOverride>true</globalUIOverride>
<value>jdbc/CISCO</value>
</AttributeValuePair>
</configuration>
</Plugin>Your search results show that the user "collini" was not found (nentries=0). This could be caused by a number of reasons.
1) The user doesn't exist under "ou=people,dc=our,dc=domain"
2) The user doesn't contain the posixAccount objectclass
3) The user account that performed the search doesn't have access rights to read/search that user account
What user account was used to BIND on the connection that the search was done on?
Try performing the same exact search with an account you know can retrieve the entry. For example:
ldapsearch -D "cn=Directory Manager" -w - -b ou=people,dc=our,dc=domain -s one "(&(objectClass=posixAccount)(uid=collini))"
If the entry doesn't return as a result of the search then either #1 or #2 above is the problem. If the entry does return then #3 is your problem. -
Problem when installing Oracle 11g R2 x64 on rhel 5.8 x86_64
Hi All,
I’m trying to install oracle 11g software only to upgrade my database from 10g to 11g and i install all required packages listed in installation prerequisites but the below error appeared
error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile
$tail -15 $ORACLE_HOME/install/make.log
/oradata/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo' make -f /oradata/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk relink_exe EXENAME=nmo make[1]: Entering directory `/oradata/db/tech_st/11.2.0/sysman/lib' /oradata/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk:113: warning: overriding commands for target `nmosudo' /oradata/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo' gcc -o /oradata/db/tech_st/11.2.0/sysman/lib/nmo -L/oradata/db/tech_st/11.2.0/lib/ -L/oradata/db/tech_st/11.2.0/sysman/lib/ `cat /oradata/db/tech_st/11.2.0/lib/sysliblist` -lm `cat /oradata/db/tech_st/11.2.0/lib/sysliblist` -ldl -lm -L/oradata/db/tech_st/11.2.0/lib /oradata/db/tech_st/11.2.0/sysman/lib/s0nmo.o /oradata/db/tech_st/11.2.0/sysman/lib/libnmo.a -lcrypt -ldl `cat /oradata/db/tech_st/11.2.0/lib/sysliblist` -ldl -lm /bin/sh: cat: command not found /bin/sh: cat: command not found /bin/sh: cat: command not found /oradata/db/tech_st/11.2.0/sysman/lib/s0nmo.o: In function `main': s0nmo.c:(.text+0x1b): undefined reference to `__intel_new_proc_init' make[1]: Leaving directory `/oradata/db/tech_st/11.2.0/sysman/lib' collect2: ld returned 1 exit status make[1]: *** [/oradata/db/tech_st/11.2.0/sysman/lib/nmo] Error 1 make: *** [nmo] Error 2 EBS :12.0.4
Please help me in this issue. Thanks in advanceSeems you are trying to Install 32-bit 11g R2 on Linux RHEL 5 (64-bit) server fails with relinking errors - 'Mkldflags ntcontab.o nnfgt.o'
Please check following MOS Notes.
Install/Clone 32-bit 11GR2 Client On Linux x86_64 Fails With Error In Invoking Target 'Mkldflags ntcontab.o nnfgt.o' Of Makefile ins_net_client.mk (Doc ID 1473421.1) -
Custom Component UI not displaying in 11G
Hi All,
We have a custom component in 10G where we have added new link in the UCM Home Page, it will be displayed beside Administration tab with name Edit Tables, under this we have sub links Alldistr_RVS, Distprod, Distuser, Prdstate, Products_RVS, State_RVS, Stateusr. When we deployed this code in 11G it is not working. Could any one please provide me code to make it work in 11G instace. Appreciate your help on this.
Below is the code used in 10G in resource file
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
ampfRVSEditTables htmlIncludeOrString
</title>
</head>
<body>
<@dynamichtml custom_finish_layout_init@>
<$include super.custom_finish_layout_init$>
<$include how_to_components_menu$>
<$include vbis_edit_tables_link$>
<@end@>
<@dynamichtml how_to_components_menu@>
<$if not how_to_components_menu_included$>
//add a drop-down menu, or a tray to the UI
navBuilder.addChildNodeTo('NAVTREE', 'collection', 'id==EDIT_Tables', 'label==Edit Tables');
if (navBuilder.menuB)
navBuilder.menuB.addTopLevelNode("EDIT_Tables");
else if (navBuilder.trayA)
navBuilder.trayA.addTopLevelNode("EDIT_Tables");
<$EDIT_Tables_menu_included=1$>
<$endif$>
<@end@>
<@dynamichtml vbis_edit_tables_link@>
navBuilder.addChildNodeTo('EDIT_Tables', 'item', 'id==ALLDISTR_RVS',
'label==Alldistr_RVS', 'url==<$HttpCgiPath$>?IdcService=GET_ALLDISTR_RVS_PAGE');
navBuilder.addChildNodeTo('EDIT_Tables', 'item', 'id==DISTPROD',
'label==Distprod', 'url==<$HttpCgiPath$>?IdcService=GET_DISTPROD_PAGE');
navBuilder.addChildNodeTo('EDIT_Tables', 'item', 'id==DISTUSER',
'label==Distuser', 'url==<$HttpCgiPath$>?IdcService=GET_DISTUSER_PAGE');
navBuilder.addChildNodeTo('EDIT_Tables', 'item', 'id==PRDSTATE',
'label==Prdstate', 'url==<$HttpCgiPath$>?IdcService=GET_PRDSTATE_PAGE');
navBuilder.addChildNodeTo('EDIT_Tables', 'item', 'id==PRODUCTS_RVS',
'label==Products_RVS', 'url==<$HttpCgiPath$>?IdcService=GET_PRODUCTS_RVS_PAGE');
navBuilder.addChildNodeTo('EDIT_Tables', 'item', 'id==STATE_RVS',
'label==State_RVS', 'url==<$HttpCgiPath$>?IdcService=GET_STATE_RVS_PAGE');
navBuilder.addChildNodeTo('EDIT_Tables', 'item', 'id==STATEUSR',
'label==Stateusr', 'url==<$HttpCgiPath$>?IdcService=GET_STATEUSR_PAGE');
<@end@>
</body>
</html>
Thanks.
AshokHi Jiri,
I from the sample example I tried to develop component to display HOW_TO_COMPONENTS as Menu item under which there is sub item Annuity_Dispname_Mapping, but it is not displaying. I am afraid where it went wrong. Below is the code i used, please help me to fix this. Thank you
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
MenuExample htmlIncludeOrString
</title>
</head>
<body>
<@dynamicdata CoreMenuItems@>
id, label, linkType, linkData
HOW_TO_COMPONENTS, How To Components, YuiDev,
ANNUITY_DISPNAME_MAPPING, Annuity_Dispname_Mapping, YuiDev, <$HttpCgiPath$>?IdcService=GET_DATA_ACCESS_PAGE
<@end@>
<@dynamicdata CoreMenuItemRelationships@>
<?commatable mergeKey="primaryKey"?>
parentId, id, loadOrder
MENU_A, HOW_TO_COMPONENTS, 1000
HOW_TO_COMPONENTS, ANNUITY_DISPNAME_MAPPING, 10
<@end@>
<@dynamicdata CoreMenuItemsFlags@>
id, flags
HOW_TO_COMPONENTS, isLoggedIn
ANNUITY_DISPNAME_MAPPING, isLoggedIn
<@end@>
<@dynamicdata CoreMenuItemsImages@>
id, image, imageOpen
HOW_TO_COMPONENTS, ScsPageItem.gif,
ANNUITY_DISPNAME_MAPPING, ScsPageItem.gif,
<@end@>
<@dynamicdata ampcustom_menu_items_template_data@>
<?commatable indexedColumns="id"?>
id, parentId, linkType, flags
HOW_TO_COMPONENTS_LINK_TEMPLATE, HOW_TO_COMPONENTS, external,
<@end@>
<@dynamichtml custom_navigation_menu_items@>
<$include super.custom_navigation_menu_items$>
<$urlCount = 0$>
<$if utLoadResultSet("pne_portal", "PersonalURLS")$>
<$if rsFirst("PersonalURLS")$>
<$loop PersonalURLS$>
<$ddAppendIndexedColumnResultSet("ampcustom_menu_items_template_data", "NavigationMenuItems", "id", "HOW_TO_COMPONENTS_LINK_TEMPLATE")$>
<$rsLast("NavigationMenuItems")$>
<$NavigationMenuItems.id = "HOW_TO_COMPONENTS_" & urlCount$>
<$NavigationMenuItems.label = js(title)$>
<$NavigationMenuItems.linkData = js(website)$>
<$NavigationMenuItems.loadOrder = urlCount$>
<$urlCount = urlCount + 1$>
<$endloop$>
<$endif$>
<$endif$>
<@end@>
</body>
</html>
Thanks -
OBIEE 11g Prompt's default value doesn't work with a presentation variable
Hi, I'm using OBIEE 11g and I have two dashboard prompts (Product Name and Product Number). Theses prompts are hierarquical, so the values that are displayed in the Product Number prompt have dependency with the values chosen on the Product Name prompt. This I was able to do, but now I want to put a default value on the Product Number prompt. The steps are:
1 - The user chooses the value for the Product Name Prompt and by doing that the Product Number prompt is automatically filled with the correspondent value.
But unfortunatelly this is not working, after choosing the value for the Product Name the default value for Product Number is not displayed (when you open the prompt the values displayed are correct and already filtered considering the Product Name but the prompt is not automatically filled with the default value).
What I did is:
On the Product Name Prompt I've created a Presentation Variable called PROD.
On the Product Number Prompt I've selected:
1 - For the "Choice List Values" field I've checked the option "Limit Values by All Prompts"
2 - For the "Default Selection" field I've chosen the SQL Results option and enter the following SQL:
SELECT "Products"."Product Number" FROM "Sample Sales Lite"."Products" WHERE "Products"."Product"='@{variables.PROD}
What am I doing wrong?
Thank you,
CarlaSorry I was wrong in my previous thread.
Actually your approach is not correct, Product Number choose constraint that will show as per the selection of Product Name.
Coming to default value for Product Number you are going for sql override that is okay but not work with variable, instead of setting default values for product number set that to product name.
if not you need to go for 2 different prompts
Prompt 1 Product Name hit GO
Prompt 2 will work based on as you defined earlier with variables
Hope this helps -
Forms 11g with Webutil don´t show in browser IE 9
Hi people,
I have a problem with Webutil. I installed th Oracle Forms/Reports 11g in Red Hat 5.5 x86_64, and when is necessary run a pure Forms, it´s works.
Now, when I will try run a Forms with Webutil, don´t show in browser IE 9 - Win 7 64bits - Java Plug-in 1.6.0_25 Using JRE version 1.6.0_25-b04 Java HotSpot(TM) Client.
What can be to show only a gray screen and dont show my Forms ? In java console don´t showed any error, neither in WLS_FORMS.log and forms-diagnost.log.
My files (cfg and env) configuration is below (sorry by excess of information, but I believe the more information better):
=========================================
File Located
=========================================
webutil.pll in $FORMS_PATH
webutil.plx in $FORMS_PATH
webutil.olb in $FORMS_PATH
frmwebutil.jar $ORACLE_HOME/forms/java
frmall.jar $ORACLE_HOME/forms/java
jacob.jar $ORACLE_HOME/forms/java
forms_base_ie.js $ORACLE_HOME/forms/java
forms_ie.js $ORACLE_HOME/forms/java
jacob.dll $ORACLE_HOME/forms/webutil/
ffisamp.dll $ORACLE_HOME/forms/webutil/
d2kwut60.dll $ORACLE_HOME/forms/webutil/
JNIsharedstubs.dll $ORACLE_HOME/forms/webutil/
webutil.cfg $ORACLE_INSTANCE/config/FormsComponent/forms/server/
webutilbase.htm $ORACLE_INSTANCE/config/FormsComponent/forms/server
webutiljini.htm $ORACLE_INSTANCE/config/FormsComponent/forms/server
webutiljpi.htm $ORACLE_INSTANCE/config/FormsComponent/forms/server
=========================================
Java Console Information
=========================================
basic: Starting applet teardown
basic: Finished applet teardown
basic: Starting applet teardown
basic: Finished applet teardown
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@88d319
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmall.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmwebutil.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/jacob.jar
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 270461 us, pluginInit dt 1187686126 us, TotalTime: 1187956587 us
RegisterWebUtil - Loading WebUtil Version 11.1.1.4
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@88d319
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1b06a21
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmall.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmall.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/frmwebutil.jar
basic: Plugin2ClassLoader.addURL parent called for http://machine01.br.job.com:8002/forms/java/jacob.jar
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Start to check whether root CA is replaced
security: The root CA hasnt been replaced
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 270461 us, pluginInit dt 1187728773 us, TotalTime: 1187999234 us
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1b06a21
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Loaded image: jar:http://machine01.br.job.com:8002/forms/java/frmall.jar!/oracle/forms/icons/splash.gif
basic: Loaded image: jar:http://machine01.br.job.com:8002/forms/java/frmall.jar!/oracle/forms/icons/oracle_logo.gif
basic: Loaded image: jar:http://machine01.br.job.com:8002/forms/java/frmall.jar!/oracle/forms/icons/bgnd.gif
Forms Session ID is formsapp.14
network: Cache entry not found [url: http://machine01.br.job.com:8002/forms/registry/oracle/forms/registry/default.dat, version: null]
network: Connecting http://machine01.br.job.com:8002/forms/registry/oracle/forms/registry/default.dat with proxy=DIRECT
network: Connecting http://machine01.br.job.com:8002/ with proxy=DIRECT
The proxy host is null, and the proxy port is 0.
Native HTTP implementation is being used for the connection.
The connection mode is HTTP.
network: Connecting http://machine01.br.job.com:8002/forms/frmservlet?config=flash&ifsessid=formsapp.14&acceptLanguage=en-US&ifcmd=startsession&iflocale=en-US with proxy=DIRECT
network: Connecting http://machine01.br.job.com:8002/forms/lservlet;jsessionid=1scsTYJcjSTg2LR7JTqXv9gq9bWvRJbLzWt1FTFrk2rcp2qrGNHL!1640610756?ifcmd=getinfo&ifhost=Mxxxx&ifip=10.xx.xx.xxx with proxy=DIRECT
network: Connecting http://machine01.br.job.com:8002/forms/lservlet;jsessionid=1scsTYJcjSTg2LR7JTqXv9gq9bWvRJbLzWt1FTFrk2rcp2qrGNHL!1640610756 with proxy=DIRECT
Forms Applet version is 11.1.1.4
network: Connecting http://machine01.br.job.com:8002/forms/lservlet;jsessionid=1scsTYJcjSTg2LR7JTqXv9gq9bWvRJbLzWt1FTFrk2rcp2qrGNHL!1640610756 with proxy=DIRECT
2011-Aug-26 18:00:31.823 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.832 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.837 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.841 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.849 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.854 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.858 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.864 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2011-Aug-26 18:00:31.869 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed..
2011-Aug-26 18:00:31.870 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed..
2011-Aug-26 18:00:31.870 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed..
2011-Aug-26 18:00:31.871 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed..
2011-Aug-26 18:00:31.872 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed..
2011-Aug-26 18:00:31.872 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed..
2011-Aug-26 18:00:31.872 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed..
2011-Aug-26 18:00:32.16 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..
network: Connecting http://machine01.br.job.com:8002/forms/lservlet;jsessionid=1scsTYJcjSTg2LR7JTqXv9gq9bWvRJbLzWt1FTFrk2rcp2qrGNHL!1640610756 with proxy=DIRECT
basic: Applet started
basic: Told clients applet is started
Dumping class loader cache...
Live entry: key=http://machine01.br.job.com:8002/forms/java/,frmall.jar,frmwebutil.jar,jacob.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://machine01.br.job.com:8002/forms/java/-threadGroup,maxpri=4]
Live entry: key=http://machine01.br.job.com:8002/forms/java/,frmall.jar,frmall.jar,frmwebutil.jar,jacob.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://machine01.br.job.com:8002/forms/java/-threadGroup,maxpri=4]
Done.
! ======== This information above is show when I execute the forms in IE 9 ======== !
! ========Below information about the JRE Plugin ======== !
Dump system properties ...
======== ======== ======== ========
__jvm_launched = 109763333269
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
file.separator.applet = true
http.agent = Mozilla/4.0 (Windows 7 6.1)
http.auth.serializeRequests = true
https.protocols = TLSv1,SSLv3
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\\PROGRA~2\\Java\\jre6\\classes
java.class.version = 50.0
java.class.version.applet = true
java.endorsed.dirs = C:\Program Files (x86)\Java\jre6\lib\endorsed
java.ext.dirs = C:\Program Files (x86)\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home = C:\Program Files (x86)\Java\jre6
java.io.tmpdir = C:\Users\users-dir\AppData\Local\Temp\
java.library.path = C:\Program Files (x86)\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Internet Explorer;;C:\Program Files (x86)\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_27\bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;
java.protocol.handler.pkgs = sun.plugin.net.protocol|com.sun.deploy.net.protocol
java.rmi.server.RMIClassLoaderSpi = sun.plugin2.applet.JNLP2RMIClassLoaderSpi
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.6.0_25-b04
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.6
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.6.0_25
java.version.applet = true
java.vm.info = mixed mode, sharing
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 20.0-b11
javaplugin.nodotversion = 160_25
javaplugin.version = 1.6.0_25
javaplugin.vm.options =
javawebstart.version = javaws-1.6.0_25
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = Windows 7
os.name.applet = true
os.version = 6.1
os.version.applet = true
package.restrict.access.com.sun.deploy = true
package.restrict.access.netscape = false
package.restrict.access.org.mozilla.jss = true
package.restrict.access.sun = true
package.restrict.definition.com.sun.deploy = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.org.mozilla.jss = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.awt.warmup = true
sun.boot.class.path = C:\Program Files (x86)\Java\jre6\lib\resources.jar;C:\Program Files (x86)\Java\jre6\lib\rt.jar;C:\Program Files (x86)\Java\jre6\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre6\lib\jsse.jar;C:\Program Files (x86)\Java\jre6\lib\jce.jar;C:\Program Files (x86)\Java\jre6\lib\charsets.jar;C:\Program Files (x86)\Java\jre6\lib\modules\jdk.boot.jar;C:\Program Files (x86)\Java\jre6\classes;C:\\PROGRA~2\\Java\\jre6\\lib\\deploy.jar;C:\\PROGRA~2\\Java\\jre6\\lib\\javaws.jar;C:\\PROGRA~2\\Java\\jre6\\lib\\plugin.jar
sun.boot.library.path = C:\Program Files (x86)\Java\jre6\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop = windows
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid2480_pipe4,read_pipe_name=jpi2_pid2480_pipe3
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = Cp1252
sun.management.compiler = HotSpot Client Compiler
sun.net.client.defaultConnectTimeout = 120000
sun.net.http.errorstream.enableBuffering = true
sun.os.patch.level = Service Pack 1
sun.plugin2.jvm.args = -D__jvm_launched=109763333269 "-Xbootclasspath/a:C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\deploy.jar;C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\javaws.jar;C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\plugin.jar" "-Djava.class.path=C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\classes" -Dsun.awt.warmup=true --- --
trustProxy = true
user.country = US
user.dir = \\machine-desktop\USERS$\users-dir\Desktop
user.home = C:\Users\users-dir
user.language = en
user.name = users-dir
user.timezone = America/Sao_Paulo
user.variant =
================================
Dump deployment properties ...
================================
deployment.browser.path = C:\Program Files (x86)\Internet Explorer\iexplore.exe
deployment.browser.vm.iexplorer = true
deployment.browser.vm.mozilla = true
deployment.cache.enabled = true
deployment.cache.jarcompression = 0
deployment.cache.max.size = -1
deployment.capture.mime.types = true
deployment.console.startup.mode = SHOW
deployment.control.panel.log = false
deployment.javapi.cache.update = false
deployment.javapi.lifecycle.exception = true
deployment.javapi.log.filename =
deployment.javapi.runtime.type = 0
deployment.javapi.stop.timeout = 200
deployment.javapi.trace.filename =
deployment.javaws.associations = ASK_USER
deployment.javaws.autodownload = PROMPT
deployment.javaws.cache.update = false
deployment.javaws.concurrentDownloads = 4
deployment.javaws.home.jnlp.url = http://java.sun.com/products/javawebstart
deployment.javaws.installURL = http://java.sun.com/products/autodl/j2se
deployment.javaws.logFileName =
deployment.javaws.muffin.max = 256
deployment.javaws.shortcut = ASK_IF_HINTED
deployment.javaws.ssv.enabled = true
deployment.javaws.traceFileName =
deployment.javaws.uninstall.shortcut = false
deployment.javaws.update.timeout = 1500
deployment.javaws.viewer.bounds = 280,272,720,360
deployment.jpi.mode.new = true
deployment.log = true
deployment.max.output.file.size = 10
deployment.max.output.files = 5
deployment.mime.types.use.default = true
deployment.proxy.bypass.local = false
deployment.proxy.override.hosts =
deployment.proxy.same = false
deployment.proxy.type = 3
deployment.repository.askdownloaddialog.show = true
deployment.repository.enabled = true
deployment.security.SSLv2Hello = false
deployment.security.SSLv3 = true
deployment.security.TLSv1 = true
deployment.security.askgrantdialog.notinca = true
deployment.security.askgrantdialog.show = true
deployment.security.authenticator = true
deployment.security.blacklist.check = true
deployment.security.browser.keystore.use = true
deployment.security.clientauth.keystore.auto = true
deployment.security.expired.warning = true
deployment.security.https.warning.show = true
deployment.security.jsse.hostmismatch.warning = true
deployment.security.mixcode = ENABLE
deployment.security.notinca.warning = true
deployment.security.password.cache = true
deployment.security.pretrust.list = true
deployment.security.sandbox.awtwarningwindow = true
deployment.security.sandbox.jnlp.enhanced = true
deployment.security.trusted.policy =
deployment.security.validation.crl = false
deployment.security.validation.ocsp = false
deployment.security.validation.ocsp.publisher = false
deployment.system.cachedir = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\SystemCache
deployment.system.security.blacklist = C:\Program Files (x86)\Java\jre6\lib\security\blacklist
deployment.system.security.cacerts = C:\Program Files (x86)\Java\jre6\lib\security\cacerts
deployment.system.security.jssecacerts = C:\Program Files (x86)\Java\jre6\lib\security\jssecacerts
deployment.system.security.oldcacerts = C:\Program Files (x86)\Java\jre6\lib\security\cacerts
deployment.system.security.oldjssecacerts = C:\Program Files (x86)\Java\jre6\lib\security\jssecacerts
deployment.system.security.trusted.certs = C:\Program Files (x86)\Java\jre6\lib\security\trusted.certs
deployment.system.security.trusted.clientauthcerts = C:\Program Files (x86)\Java\jre6\lib\security\trusted.clientcerts
deployment.system.security.trusted.jssecerts = C:\Program Files (x86)\Java\jre6\lib\security\trusted.jssecerts
deployment.system.security.trusted.libraries = C:\Program Files (x86)\Java\jre6\lib\security\trusted.libraries
deployment.system.security.trusted.publishers = C:\Program Files (x86)\Java\jre6\lib\security\trusted.publishers
deployment.system.tray.icon = true
deployment.trace = true
deployment.update.mime.types = true
deployment.user.cachedir = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\cache
deployment.user.extdir = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\ext
deployment.user.logdir = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\log
deployment.user.security.blacklist = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\blacklist
deployment.user.security.policy = file://C:/Users/users-dir/AppData/LocalLow/Sun/Java/Deployment/security/java.policy
deployment.user.security.saved.credentials = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\auth.dat
deployment.user.security.trusted.cacerts = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.cacerts
deployment.user.security.trusted.certs = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
deployment.user.security.trusted.clientauthcerts = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.clientcerts
deployment.user.security.trusted.jssecacerts = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecacerts
deployment.user.security.trusted.jssecerts = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts
deployment.user.security.trusted.libraries = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.libraries
deployment.user.security.trusted.publishers = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\security\trusted.publishers
deployment.user.tmp = C:\Users\users-dir\AppData\LocalLow\Sun\Java\Deployment\tmp
deployment.version = 6.0
java.quick.starter = false
================================
# ================================
# formsweb.cfg -
# ================================
[default]
baseHTML=base.htm
baseHTMLjpi=basejpi.htm
HTMLdelimiter=%
envFile=default.env
escapeparams=true
form=test.fmx
userid=
debug=no
host=
port=
digitSubstitution=context
otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
obr=no
record=
tracegroup=
log=
term=
pageTitle=Oracle Fusion Middleware Forms Services
HTMLbodyAttrs=
HTMLbeforeForm=
HTMLafterForm=
serverURL=/forms/lservlet
codebase=/forms/java
imageBase=codebase
width=750
height=600
separateFrame=false
splashScreen=
allowAlertClipboard=true
disableValidateClipboard=false
highContrast=false
background=
lookAndFeel=Oracle
colorScheme=teal
logo=
restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
formsMessageListener=
recordFileName=
serverApp=default
archive=frmall.jar
networkRetries=0
jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
legacy_lifecycle=false
ssoDynamicResourceCreate=false
ssoErrorUrl=
ssoCancelUrl=
ssoMode=false
ssoProxyConnect=no
allow_debug=false
allowNewConnections=true
EndUserMonitoringEnabled=false
EndUserMonitoringURL=
applet_name=
enableJavascriptEvent=true
JavaScriptBlocksHeartBeat=false
[webutil]
allow_debug=false
debug=false
form=WU_TEST_106.fmx
allowNewConnections=false
userid=webutil/webutil@des_tcp.world
WebUtilArchive=frmwebutil.jar,jacob.jar,frmall.jar
WebUtilLogging=on
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
archive=
lookAndFeel=oracle
[flash]
HTMLdelimiter=%
envFile=flashwebn.env
escapeparams=true
form=flash/FLASHWEB.fmx
userid=user/password/tns_names
debug=no
host=
port=
digitSubstitution=context
otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
obr=no
record=
tracegroup=
log=/tmp/flashweb.log
term=
pageTitle=Oracle Fusion Middleware Forms Services
HTMLbodyAttrs=
HTMLbeforeForm=
HTMLafterForm=
serverURL=/forms/lservlet
codebase=/forms/java
imageBase=codebase
width=750
height=600
separateFrame=false
splashScreen=
allowAlertClipboard=true
disableValidateClipboard=false
highContrast=false
background=
colorScheme=teal
logo=
restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
formsMessageListener=
recordFileName=
serverApp=default
archive=frmall.jar
networkRetries=0
jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
legacy_lifecycle=false
ssoDynamicResourceCreate=false
ssoErrorUrl=
ssoCancelUrl=
ssoMode=false
ssoProxyConnect=no
allow_debug=false
allowNewConnections=true
EndUserMonitoringEnabled=false
EndUserMonitoringURL=
applet_name=
enableJavascriptEvent=true
JavaScriptBlocksHeartBeat=false
WebUtilArchive=frmall.jar,frmwebutil.jar,jacob.jar
WebUtilLogging=all
WebUtilLoggingDetail=CONSOLE
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
lookAndFeel=oracle
# ================================
# webutil.cfg - WebUtil default configuration file
# ================================
logging.file=/tmp/webutil.log
logging.enabled=TRUE
logging.errorsonly=TRUE
logging.connections=TRUE
install.syslib.location=/webutil
install.syslib.0.7.1=jacob.dll|106496|1.10.1|true
install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.workAreaRoot=/tmp
transfer.appsrv.accessControl=TRUE
transfer.appsrv.read.1=/tmp
transfer.appsrv.write.1=/tmp
BlockAllowHeartBeat=False
# ================================
# default.env - default Forms environment file, Linux version
# ================================
ORACLE_HOME=/usr/lic/oracle/home/Oracle/Middleware/as
ORACLE_INSTANCE=/usr/lic/oracle/home/Oracle/Middleware/asinst
TNS_ADMIN=/usr/lic/oracle/home/Oracle/Middleware/asinst/config
FORMS_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash:/usr/lic/oracle/home/Oracle/Middleware/as/forms:/usr/lic/oracle/home/Oracle/Middleware/asinst/FormsComponent/forms:/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash/tool
WEBUTIL_CONFIG=/usr/lic/oracle/home/Oracle/Middleware/asinst/config/FormsComponent/forms/server/webutil.cfg
FORMS_RESTRICT_ENTER_QUERY=TRUE
CLASSPATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/frmall.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/frmwebutil.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/jacob.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/j2ee/frmsrv.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/ldapjclnt11.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/debugger.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/ewt3.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/share.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/utj.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/zrclient.jar:/usr/lic/oracle/home/Oracle/Middleware/as/reports/jlib/rwrun.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/start_dejvm.jar:/usr/lic/oracle/home/Oracle/Middleware/as/opmn/lib/optic.jar
PATH=/usr/lic/oracle/home/Oracle/Middleware/as/bin:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/bin
LD_LIBRARY_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/lib:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/server:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/native_threads
LD_PRELOAD=/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/libjsig.so
# ================================
# flashwebn.env - default Forms environment file, Linux version
# ================================
ORACLE_HOME=/usr/lic/oracle/home/Oracle/Middleware/as
ORACLE_INSTANCE=/usr/lic/oracle/home/Oracle/Middleware/asinst
TNS_ADMIN=/usr/lic/oracle/home/Oracle/Middleware/asinst/config
FORMS_RESTRICT_ENTER_QUERY=TRUE
FORMS_TIMEOUT=120
FORMS_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash:/usr/lic/oracle/home/Oracle/Middleware/as/forms:/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash/tool
REPORTS_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/reports
REPORTS_SERVER=rep_wls_reports_machine01_asinst
PATH_REPORTS_CACHE=/tmp/
PATH_REPORTS_LOCAL=/tmp/
WEBUTIL_CONFIG=/usr/lic/oracle/home/Oracle/Middleware/asinst/config/FormsComponent/forms/server/webutil.cfg
FORMS_RESTRICT_ENTER_QUERY=FALSE
FORMS_USERNAME_CASESENSITIVE=1
CLASSPATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/frmall.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/frmwebutil.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/j2ee/frmsrv.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/ldapjclnt11.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/debugger.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/ewt3.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/share.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/utj.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/zrclient.jar:/usr/lic/oracle/home/Oracle/Middleware/as/reports/jlib/rwrun.jar:/usr/lic/oracle/home/Oracle/Middleware/as/jlib/start_dejvm.jar:/usr/lic/oracle/home/Oracle/Middleware/as/opmn/lib/optic.jar:/usr/lic/oracle/home/Oracle/Middleware/as/forms/java/jacob.jar
#PATH=/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash:/usr/lic/oracle/home/Oracle/Middleware/as/forms:/usr/lic/oracle/home/Oracle/Middleware/asinst/FormsComponent/forms:/usr/lic/oracle/home/Oracle/Middleware/as/forms/flash/tool
LD_PRELOAD=/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/libjsig.so:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/server/libjvm.so:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/native_threads/libhpi.so
LD_LIBRARY_PATH=/usr/lic/oracle/home/Oracle/Middleware/as/lib:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/server:/usr/lic/oracle/home/Oracle/Middleware/as/jdk/jre/lib/amd64/native_threadsIf you managed to get to the point where the applet container is created (the "gray square"), but the form never appears then you can assume one or more of the following has occurred:
1. The JRE crashed after startup. Many times, but not always, if such a crash occurs it will leave a JRE dump file on the desktop. Its content may help to identify the cause.
2. The Forms runtime crashed at startup. Many times, but not always, a Forms dump file will be created on the server. Its content may help to identify the cause.
3. The Forms runtime was unable to start at all. This can occur on unix systems when/if there is a resource or permissions issue. One of the more common causes is if the file descriptor (nofiles) value is set too low.
4. The applet is actually running, but has attempted to display a dialog box and is awaiting your acknowledgement, but the box was wrongfully sent to the background behind the browser. A similar issue was reported in one of the JRE 1.6.0_xx series, however I don't recall which one. Uninstall your current version and install the latest which is 1.6.0_27
There are other possibilities, but these are most common.
I would recommend the following:
1. Uninstall any JRE older than 1.6.0_27. Reboot. Install 1.6.0_27
2. Set networkRetries=5 in formsweb.cfg
3. Set FORMS_TIMEOUT to 15 (default). Setting to a high value as you have is not recommended and is rarely necessary.
4. Verify that the test form works. For example:
http://machine:port/forms/frmservlet?form=test
5. It appears that you are trying to use WU_TEST_106.fmx. Instead, download an updated version of this file (the name has also changed)
http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/196249.zip
6. Ensure that you have compiled webutil.pll into .plx. Do not use an old version of this file. The installation will include one. If not, check for it in an installation that also includes the Builders. -
OAM 11g: Error while importing Custom Authentication Plug-in.
We are trying to create a sample custom authentication plugin in OAM 11g as per the 11.1.1.5.0 doc.
But while trying to import the plugin via oamconsole (system configuration->Plugins->Import Plugin) we receive an error "Invalid XML Structure".
Do we have to embed the XSD (XML Schema Definition) as well ?
-------------------------SamplePlugin.java-------------------------------------
import oracle.security.am.plugin.ExecutionStatus;
import oracle.security.am.plugin.MonitoringData;
import oracle.security.am.plugin.PluginConfig;
import oracle.security.am.plugin.authn.AuthenticationContext;
import oracle.security.am.plugin.authn.AuthenticationException;
import oracle.security.am.plugin.authn.AbstractAuthenticationPlugIn;
import java.util.Map;
import java.util.logging.Level;
class SamplePlugin extends AbstractAuthenticationPlugIn {
private static final String CLASS_NAME = "FirstTestClass";
public ExecutionStatus initialize (PluginConfig config){
super.initialize(config);
if(LOGGER.isLoggable(Level.FINE)){
LOGGER.logp(Level.FINE,CLASS_NAME,"initialize","Entering initialize");
return ExecutionStatus.SUCCESS;
@Override
public String getDescription() {
// TODO Auto-generated method stub
return null;
@Override
public Map<String, MonitoringData> getMonitoringData() {
// TODO Auto-generated method stub
return null;
@Override
public String getPluginName() {
// TODO Auto-generated method stub
return null;
@Override
public int getRevision() {
// TODO Auto-generated method stub
return 0;
@Override
public ExecutionStatus process(AuthenticationContext arg0)
throws AuthenticationException {
if(LOGGER.isLoggable(Level.FINE)){
LOGGER.logp(Level.FINE,CLASS_NAME,"initialize","Entering process");
return ExecutionStatus.SUCCESS;
@Override
public void setMonitoringStatus(boolean arg0) {
// TODO Auto-generated method stub
@Override
public boolean getMonitoringStatus() {
// TODO Auto-generated method stub
return false;
-------------------------SamplePlugin.java-------------------------------------
------------------------SamplePlugin.xml--------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<Plugin name="SamplePlugin" type="Authentication">
<author>Self</author>
<email>[email protected]</email>
<creationDate>09:41:22, 2012-02-05</creationDate>
<version>1</version>
<description>SamplePlugin</description>
<interface>oracle.security.am.plugin.authn.AbstractAuthenticationPlugIn</interface>
<implementation>SamplePlugin</implementation>
</Plugin>
------------------------SamplePlugin.xml--------------------------------
------------------------MANIFEST.MF--------------------------------
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.8.2
Bundle-Version: 1.0.0.qualifier
Bundle-Name: SamplePlugin
Bundle-Activator: SamplePlugin
Bundle-ManifestVersion: 2
Created-By: 1.6.0_24-b07 (Sun Microsystems Inc.)
Import-Package: org.osgi.framework;version="1.3.0",oracle.security.am.
plugin,oracle.security.am.plugin.authn,oracle.security.am.plugin.api,
oracle.security.am.common.utilities.principal,oracle.security.idm,jav
ax.naming,javax.sql,java.management,javax.security.auth
Bundle-SymbolicName: SamplePlugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
------------------------MANIFEST.MF--------------------------------
Contents of SamplePlugin.jar
1. SamplePlugin.xml
2. SamplePlugin.class
3. META-INF/
MANIFEST.MFI build the Plugin.jar file similarly as above(followed the same steps)..
But when i log into OAM and trying to import the plugin (System Configuration->Plugins- Import Plugin) the browser goes to hung state and i see below error in logs (domain log and in diag log)
I see the jar file created in this location (\Middleware\user_projects\domains\IAMdomain\oam\plugins)
Please let me know if you have any idea..Thanks!
####<Feb 29, 2012 1:10:03 PM PST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-00000000000003fe> <1330549803273> <BEA-000000> <ADFc: /WEB-INF/adfc-config.xml: >
####<Feb 29, 2012 1:10:03 PM PST> <Warning> <oracle.adf.controller.internal.metadata.MetadataService> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-00000000000003fe> <1330549803274> <ADFC-52024> <ADFc: Duplicate managed bean definition for 'accessCheck' detected.>
####<Feb 29, 2012 1:10:03 PM PST> <Warning> <oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-0000000000000402> <1330549803479> <ADF_FACES-60099> <The region component with id: pt1:_lar has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.>
####<Feb 29, 2012 1:10:33 PM PST> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-0000000000000593> <1330549833253> <BEA-000000> <java.lang.NullPointerException
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190
####<Feb 29, 2012 1:10:33 PM PST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-0000000000000593> <1330549833316> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
javax.faces.FacesException: #{FileProcessor.doUpload}: java.lang.NullPointerException
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.rich.RichPopup$BroadcastContextCallback.invokeContextCallback(RichPopup.java:666)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBa
>
####<Feb 29, 2012 1:10:33 PM PST> <Error> <oracle.oam.admin.console.policy> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-0000000000000593> <1330549833361> <OAM-400016> <Failed to authenticate the user
javax.servlet.ServletException: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
####<Feb 29, 2012 1:10:34 PM PST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-000000000000059a> <1330549834008> <ADF_FACES-00009> <Error processing viewId: /plugin-taskflow/authplugins URI: /oracle/security/am/taskflows/authplugin.jsff actual-URI: /oracle/security/am/taskflows/authplugin.jsff.
javax.el.ELException: java.lang.NullPointerException
at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer$PanelCollectionHelper._encodeAll(PanelCollectionRenderer.java:728)
at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer$PanelCollectionHelper.access$500(PanelCollectionRenderer.java:537)
at oracle.adfinternal.view.faces.renderkit.rich.PanelCollectionRenderer.encodeAll(PanelCollectionRenderer.java:402)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
####<Feb 29, 2012 1:10:34 PM PST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <spsolutions> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d6305b57ff260991:700b4664:135ca3d69dc:-8000-000000000000059a> <1330549834020> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
javax.faces.FacesException: javax.el.ELException: java.lang.NullPointerException
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:804)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214) -
Help with displaying BLOBs in OBIEE 11g
I am trying to get OBIEE 11g to display photographs in an Analysis report. I know BLOB fields are not supported, and I have been reading posts on this board and following examples on internet sites that try to get round this problem. But, try as I might, I cannot get those pesky photos to display.
Below are all the steps I have followed. Sorry that there is a lot to read, but I was hoping that somebody has been successful in doing this, and may spot something in one of my steps that I am doing wrong.
ORACLE TRANSACTIONAL SOURCE_
Table : EMPL_PHOTO
Fields:
USN VARCHAR2(11) ( Unique Key )
EMPLOYEE_PHOTO BLOB ( I think the photos are stored as 'png' )
ORACLE WAREHOUSE SOURCE_
Table : D_PERSON_PHOTO_LKUP
Fields :
PERSON_KEY NUMBER(38,0) ( Primary Key - Surrogate )
USN VARCHAR2(11)
PHOTO CLOB
BLOB to CLOB conversion.
I used this function :
create or replace function blob_to_clob_base64(p_data in blob)
return clob
is
l_bufsize integer := 16386;
l_buffer raw(16386);
l_offset integer default 1;
l_result clob;
begin
dbms_lob.createtemporary(l_result, false, dbms_lob.call);
loop
begin
dbms_lob.read(p_data, l_bufsize, l_offset, l_buffer);
exception
when no_data_found then
exit;
end;
l_offset := l_offset + l_bufsize;
dbms_lob.append(l_result, to_clob(utl_raw.cast_to_varchar2(utl_encode.base64_encode(l_buffer))));
end loop;
return l_result;
end;
select usn, employee_photo ,
BLOB_TO_CLOB_BASE64(employee_photo)
from empl_photo
IN OBIEE ADMINISTRATION TOOL_
*1) Physical Layer*
Added D_PERSON_PHOTO_LKUP from Connection Pool
Left it as 'Cachable'
Didn't join it to any tables
Changed field PHOTO to a 'LONGVARCHAR' length 100000
Set USN as the Key ( not the surrogate key )
*2) BMM Layer*
Dragged D_PERSON_PHOTO_LKUP across.
Renamed it to 'LkUp - Photo'
Ticked the 'lookup table' box
Removed the surrogate key
Kept USN as the Primary key
The icon shows it similar to a Fact table, with a yellow key and green arrow.
On Dimension table D_PERSON_DETAILS (Dim - P01 - Person Details) added a new logical column
Called it 'Photo'
Changed the column source to be derived from an expression.
Set the expression to be :
Lookup(DENSE
"People"."LkUp - Photo"."PHOTO",
"People"."Dim - P01 - Person Details"."USN" )
Icon now shows an 'fx' against it.
Note: This table also had it Surrogate key removed, and USN setting as primary key.
*3) Presentation Layer*
Dragged the new Photo field across.
Saved Repository file, uploaded, and restarted server.
ONLINE OBIEE_
Created a new Analysis.
Selected USN from 'Person Details'
Selected Photo from 'Person Details'
Selected a measure from the Fact table
Under column properties of Photo ( data format ) :
- Ticked 'Override Default Data Format' box
- Set to Image URL
- Custom text format changed to : @[html]"<img alt="" src=""@H"">"
Under column properties of Photo ( edit formula ) :
- Changed to : 'data:image/png;base64,'||"Person Details"."Photo"
The Advanced tab shows the sql as :
SELECT
0 s_0,
"People"."Person Details"."USN" s_1,
'data:image/png;base64,'||"People"."Person Details"."Photo" s_2,
"People"."MEASURE"."Count" s_3
FROM "People"
ORDER BY 1, 2 ASC NULLS LAST, 3 ASC NULLS LAST
FETCH FIRST 65001 ROWS ONLY
Going into the 'results' tab, get error message:
+State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 932, message: ORA-00932: inconsistent datatypes: expected - got CLOB at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)+
It doesn't seem to be using the Lookup table, but can't work out at which step I have gone wrong.
Any help would be appreciated.
ThanksThanks, yes I followed http://docs.oracle.com/cd/E28280_01/bi.1111/e10540/busmodlayer.htm#BGBDBDHI, but when I get to the part of setting the LOOKUP function on th Physical source, only ONE physical source is displayed. I need TWO sources ( The Employee Table, and the Photo LookUp.
I have raised this as an error with Oracle. We are now on OBIEE 11.1.1.7, but Oracle say BLOBS are still not supported in that release. It will be fixed in 11.1.1.8 and it will be backported into 11.1.1.6.11
In the meantime we have abandoned showing Photo's in any of our reports. -
OBIEE 11g : query log not found
Hi,
I am not able to see the query log in 11g answers manage session throwing error query log not found.
I am using obiee 11g. 11g admin client is installed in local machine and I upload the rpd through enterprise manager. But I can not able to open the rpd in online mode that's why cannot change the query log level=2 (as in obiee 10g) for seeing the query log in Answers. Usually after making changes in 11g rpd, I upload that in server via enterprise manager console.
Can anyone please tell me what should be correct option to see the query log and how I can open the rpd in online mode and how I can set the query log level in obiee 11g????
Please help.
Thanks
TitasHi,
Its known bug and it can be done by below methods,
Method1:
If you enabled loglevel for each users wise it may be override with below place also can you confirm both places.
enabled Tools-->Options-->Repository-->
System log level by default will be 0 just try to increase to 2 or 3 and save it.
Method1:
by each report wise enabling loglevel
try putting the below syntax in prefix section of advanced tab.
SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;
It should generate the log with database sql as well.
Method 3:
Create Session variable(LOGLEVEL) with initblock
in your init block --> datasource place put it like below query
select 3 from IW_POSITION
Note:just point any existing physical table from u r RPD.
Then try to save it and test it.
Refer screen
http://bidevata.wordpress.com/2012/03/03/no-log-found-error-in-obiee-11g/
Thanks
Deva
Edited by: Devarasu on Oct 11, 2012 11:44 PM -
ToolTip in OBIEE 11G Reports when we hover on its data!!
Hello gurus,
I have a requirement where I have to display ToolTip in OBIEE 11G reports when one hovers on its data. For example, If I have a column in a report which displays "serial no." say the data in column is 1,2,3,4,5 etc. when I hover on 1, it should display name corresponding to it. when I hover on 2, it should display another name.
These values which will be displayed on hover action can be hardcoded, they are static values.
Thanks in advance !!Hi User,
Try this , Goto Column Properties of a particular Column ->Data Format->Check mark "Override Default Data Format" and select
Treat Numbers As : Custom
In Custom Numeric Format, Copy paste this code: [html]<p title=\""Comments which you want to Mention" \">#
Please Mark helpful if it is correct.
Regards,
OBIEELearner.
Edited by: obieelearner on Nov 2, 2012 10:09 AM
Maybe you are looking for
-
Dreamweaver update failed with U41M1C212
After installing Dreamweaver CS5.5 in Windows 7, and then trying to update, received message from Adobe Application Manager error code U41M1C212. ( could not connect, and download updates). Found solution in Forums acrobat discussion ( Update server
-
PURCHASE INFO RECORD TAX CODE UPDATION THROUGH PO
In Purchase info record tax code is alredy exist for one vendor and material. while making new Purchase order for same vendor and material but tax code is differant then can tax code will not update automatic in purchase info record. How to do auto
-
How do I add the word "DRAFT" as a watermark on a Pages document?
How do I add the word "DRAFT" as a watermark on a Pages document? I don't want to create an image - I just want to type in the word and have it appear across every page.
-
Does PP CS6 support DV output with MPE (CUDA) Hardware Acceleration turned on?
I am wondering if Adobe has addressed the issue of not allowing DV (firewire, ieee1394) output when MPE is turned on with hardware support? Any ideas? I am using CS5.52 and wonder if this is corrected in CS6. Thanks, Doug A
-
Display Currency tab during General ledger view in T-Code F-53
Hi When Iam making a payment in foreign currency using T-Code F-53, then on simulation of the document in the General Ledger View (Ctr+F12), Iam trying to press the tab 'Currency' (F9), however, it shows blank, there is no currency visible in it. Ho