Set filter (with presentation variables) for requests using "SQL Issued"
if I have a "SQL issued":
SELECT saw_0 saw_0, saw_1 saw_1, saw_2 saw_2, saw_3 saw_3, saw_4 saw_4 FROM (
SELECT saw_0 saw_0, saw_1 saw_1, SUM(saw_2) saw_2, SUM(saw_3) saw_3, SUM(saw_4) saw_4
FROM
SELECT "Period"."YearMonth" saw_0, "Customer"."CustomerName" saw_1, COUNT("Sales"."SalesDate") saw_2, "Sales"."No.OfConsumer" saw_3, 0 saw_4
FROM CRM
WHERE ("Period"."YearMonth" >= 200904) AND ("Period"."YearMonth" <= 200910)
UNION ALL
SELECT "Period"."YearMonth" saw_0, "Customer"."CustomerName" saw_1, 0 saw_2, 0 saw_3, Count("SuperSales"."SuperSalesDate") saw_4
FROM CRM
WHERE ("Period"."YearMonth" >= 200904) AND ("Period"."YearMonth" <= 200910)
) t1
GROUP BY saw_0, saw_1
ORDER BY saw_0, saw_1
) t2 ORDER BY saw_0
actually, in this request, I would like to set a filter for "Period"."YearMonth" using presentation variable.
is it possible to do this ?
Thanks !!
Hi Forreging,
You can use presentation variables, but not if you are directly setting the SQL via the Advanced tab.
Instead, build up the first report just like the first part of the UNION statement. Then use the "Combine with Similar request" to build up the logic for the second part of the query.
When you approach it this way, you have the ability to set filters on each "Sub-Request" via the Criteria tab. Otherwise, OBIEE only lets you add a filter at the outer level of the query when you go the route of setting the SQL in the Advanced tab.
Good luck and if you find this post useful, please award points!
Best regards,
-Joe
Similar Messages
-
Weird behaviour in report filter with Presentation variables
Hi All,
I'm facing a weird behaviour on filtering the report using presentation variables
Prompt:
1. Start Date assigned to PV_ST_DT
2. End Date assigned to PV_END_DT
Report
In the filter section given the "between" condition with these two presentation variable
Fiscal Date between {@PV_ST_DT}{01/01/1990} AND {@PV_END_DT}{01/01/1990}
this given filter condition results in the report like
Fiscal Date is equal to ({@PV_END_DT} value)
the filter criteria is not applied as I given, I have tried by changing the conditions like greater than or equal to , less than or equal to. The filter applied only the last presentation variable value with the prompt condition, It is not taking the condition specified in the report.
Can anyone provide a solution on this?Below format: works perfectly fine
Fiscal Date BETWEEN '@{PV_ST_DT}{01/01/2007}' AND '@{PV_END_DT}{01/03/2007}' -
Issue with presentation variables, dashboard prompt and filter
Dear Guru's,
I have a question about constraining a request with presentation variable set by a dashboard prompt. I have a dashboard prompt, that stores its value in a presentation variable . The prompt is about region. When the dashboard opens, the default of the prompt is all choices and it needs to show my reports with "All Choices". I've created the following filter on my two reports on the dashboard:
"Dim Student"."Region" = '@{variables.GILLES}'
or '@{variables.GILLES}' IS NULL
One report is just the column "Dim Student"."Region" (to see if it works) and with this report the above filter works just fine. When nothing is prompted it shows "All Choices" when a choice is made the report responds accordingly.
BUT
The second report on my dash with the same region column, but extended with some time dimension columns and a measure gives an error which I'm not able to solve.
+State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14023] None of the fact sources for ToDate(# Feitelijke Instroom:[DAggr(Feit Instroom en Uitstroom Opleidingen.# Feitelijke Instroom by [ Dim Tijd.Maand Omschrijving, Dim Tijd.Maand Nummer, Dim Tijd.Jaar, Dim Kwalificatie.Kwalificatie Niveau, Dim Leerling.RCBREGIO Regio] )], [Level JAAR]) are compatible with the detail filter [Dim Tijd.Maand Nummer = 3, Dim Tijd.Jaar = 2010].+
+(HY000)SQL Issued: SELECT "Dim Tijd".Jaar saw_0, "Dim Tijd"."Maand Nummer" saw_1, "Dim Tijd"."Maand Omschrijving" saw_2, "Dim Kwalificatie"."Kwalificatie Niveau" saw_3, "Dim Leerling"."RCBREGIO Regio" saw_4, "Feit Instroom en Uitstroom Opleidingen"."# Feitelijke Instroom Cumulatief" saw_5, REPORT_SUM(saw_5 BY saw_0, saw_1, saw_2) FROM repos_x WHERE ("Dim Tijd".Jaar = 2010) AND ("Dim Tijd"."Maand Nummer" = 3) AND (("Dim Leerling"."RCBREGIO Regio" = 'Noord-Oost') OR ('Noord-Oost' IS NULL)) ORDER BY saw_0, saw_1, saw_2, saw_3, saw_4+
While the exact same report but without the "or '@{variables.GILLES}' IS NULL" doesn't throw any errors but doesn't show the "all choices" by default.
The ultimate goal to achieve is to build a dashboard with several reports from several subject areas with one single prompt that opens default with "all choices" and constrains the reports accordingly.
Any help is highly appreciated.
Kind Regards,
GillesPhani,
I know "All Choices" is a special value and that it doesn't represent NULL. My filter construction seems to work fine.
My filter condition:
"Dim Student"."Region" = '@{variables.GILLES}'
or '@{variables.GILLES}' IS NULL
When it's set by the prompt it filters the request accordingly (first condition evaluates to true), when it's not set the second condition evaluates to true and shows all the results (or it's not filtered).
The problem is that it doesn't work when time dimensions are combined with this filter. Then it throws the error mentioned in the first post.
By the way: your suggested solution doesn't work. -
How to create Presentation variable for columns and to use it in Narrative?
Hi All,
Anybody know how to create presentation variable for a column (i.e., i need to create it in edit formula section itself). And then, I should use it in Narrative section to display that column value. Is it possible? Or do i need to use any other variable for this requirement? If so please let me know, how to create it? This is very urgent requirement.
Thanks in Advance
ThenmozhiHi Satya,
I just want to create a table that should horizontally display the values like below:
SUID Tag # :123456 Year Mfg: 2007
Description: computer corporation FA ID#: 4576
Model Number: 4569 hESC: #ert
Serial Number: 78945 Flags: c
Department: Hematology
User: thenmozhi
Database: OLAP
I think we can create this type of report using either Narrative or Static Text. But I am not sure whether it is possible or not? And also another thing is that sectioning is applied for SUID Tag # column. So, depending on the dashboard prompt if the SUID Tag # retrieves two or more values.
Then the first value for example 123456 and the values for the other columns related to this SUID Tag # value should display in the first page (i.e., page 1). And if the next value of the SUID Tag # for example say 678901 then the values should move to second page that is like this:
SUID Tag # :678901 Year Mfg: 2008
Description: Computer Manufacturing FA ID#: 4577
Model Number: 4570 hESC: #eth
Serial Number: 78946 Flags: G
Department: Hematology
User: Rehman
Database: OLAP
Thanks
Thenmozhi -
how use set up with office 2011 for mac as I did keep tried put download but it's always 'update' download. I want get start set up new office 2011 for mac? please help me
You must be using an update CD. You need the software that has the full version first - install that, then you can use the update one if needed. I know, cuz I made the same mistake - lol
-
Filtering with presentation variable in my report
Hi experts,
I'm using Essbase with Obiee 11g.
I have entity dimension like this:
Gen1, Entity
Gen2, Entity
Gen3, Entity...
Each Gen is a hierarchy.
I have a prompt in my dashboard that is a number: 1, 2, 3... with presentation variable = num
When prompt was number 3 I need to filter with Gen2, Entity.. if is number 2 with gen1, entity.. Always -1
In my report I can general filter like this: Gen@{num}, Entity and I see report OK, My requeriment is @{num}*-1* like: Gen@{num}, Entity but I have an error...
Can I do this??
Thanks!!!You need to get the number using substring, substract it and then concat to the string "Entity"."Gen
There is another way for the same, Based on the value from prompt can validate the column to show in the report.
Try this scenario:
I've a prompt Time.Week
in the report I've picked two columns,
Column1: Time.Week--> set to isprompt
Column2: with exp
CASE WHEN Time.Week = '2012 Week01' THEN Time."Month Name" ELSE Time."Month" END
I've used existing columns to mimic your scenario
Edited by: svee on Jul 2, 2012 9:52 AM -
How to get a "char variable" with presentation variable???
I want to pass a char variable with presentation variable, I don't have problems if I pass "int".
For example in answers page I add a column that contains years of my dimension. 2000 until 2012 and prompted my presentation variable "year" (from my dashboard prompt) and when I go to dashboard if I choose in my prompt 2006 in my report appear 2006...any problem and easy. But my problem is if I would pass a char variable, in my prompt also I have months but not numbers else names: January, February, March...and a presentation variable that name is "month". If I do the same report but change column year to month (name) I don't have any results and I have an error.
How can I solucionate this???
Thank you!!Alex,
Do you have separate columns for Year and Month Name. If Yes, Then why it is so confusing?
1. create a dashboard prompt with month name column
2. Assign it to monthname variable
3. In your report use above variable any where.., but what ever you are doing should be logical and valid to get some data.
In general above approach will work.
You said, "No! I don't want to do a filter with month! I would like to pass this variable, in this example don't make sense but I need to pass a char variable with presentation variable to do another things..."
what does that mean, what you are trying to do with the variable in your report. If you give a example that would be better.
- Madan -
Which option do I have to select If I buy the latest iPad with cellular feature for international use? If I choose verizon can I just change the sim card and insert one from another country?
I would guess you need the A1460 model
see here
http://www.apple.com/ipad/LTE/ -
I have an iPhone 4s and have set up with my provider for voicemail. however, when called my phone does not switch to voicemail. How do I set the phone to transfer to voicemail when not answered etc?
Voicemail is a carrier feature, not a phone feature. This has to be fixed by your carrier, so contact them, as obviously, voicemail is not properly provisioned on your account.
-
OBIEE 11g Front End Calculations with Presentation Variables Error
Hi Guru's,
Long time user first time poster to the forums but hopefully you can help.
I have a requirement to perform an aggregation on certain fields with a dynamic grouping requirement (so users can select which grouping they require ie, sum profit by [outlets or companies or region]).
The approach I am using is a prompt setting a presentation variable with the possible groupings for the calculation as choices, and a column in the report with a formula to SUM("table"."column" by "@{variable}{default}") this also contains a dynamic column name containing the presentation variable too.
Where the column could be profit and the variable prompt options could be outlet, company or region (from the above example).
This is currently separate from the RPD due to the dynamic nature required with groupings changing at run time and is done in the front end.
However on selecting some columns via the prompt I receive this error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22027] Union of non-compatible types. (HY000)
This only occurs on some field groupings, and is not a certain type in particular. (Including both short date, short time and varchars).
Any ideas where this problem could stem from?
Regards.Based on given info: Try this
SUM(cast("table"."column" as int) by "@{variable}{default}")
Pls mark if helps -
Issue with SQL Query with Presentation Variable as Data Source in BI Publisher
Hello All
I have an issue with creating BIP report based on OBIEE reports which is done using direct SQL. There is this one report in OBIEE dashboard, which is written using direct SQL. To create the pixel perfect version of this report, I am creating BIP data model using SQL Query as data source. The physical query that is used to create OBIEE report has several presentation variables in its where clause.
select TILE4,max(APPTS), 'Top Count' from
SELECT c5 as division,nvl(DECODE (C2,0,0,(c1/c2)*100),0) AS APPTS,NTILE (4) OVER ( ORDER BY nvl(DECODE (C2,0,0,(c1/c2)*100),0)) AS TILE4,
c4 as dept,c6 as month FROM
select sum(case when T6736.TYPE = 'ATM' then T7608.COUNT end ) as c1,
sum(case when T6736.TYPE in ('Call Center', 'LSM') then T7608.CONFIRMED_COUNT end ) as c2,
T802.NAME_LEVEL_6 as c3,
T802.NAME_LEVEL_1 as c4,
T6172.CALENDARMONTHNAMEANDYEAR as c5,
T6172.CALENDARMONTHNUMBERINYEAR as c6,
T802.DEPT_CODE as c7
from
DW_date_DIM T6736 /* z_dim_date */ ,
DW_MONTH_DIM T6172 /* z_dim_month */ ,
DW_GEOS_DIM T802 /* z_dim_dept_geo_hierarchy */ ,
DW_Count_MONTH_AGG T7608 /* z_fact_Count_month_agg */
where ( T802.DEpt_CODE = T7608.DEPT_CODE and T802.NAME_LEVEL_1 = '@{PV_D}{RSD}'
and T802.CALENDARMONTHNAMEANDYEAR = 'July 2013'
and T6172.MONTH_KEY = T7608.MONTH_KEY and T6736.DATE_KEY = T7608.DATE_KEY
and (T6172.CALENDARMONTHNUMBERINYEAR between substr('@{Month_Start}',0,6) and substr('@{Month_END}',8,13))
and (T6736.TYPE in ('Call Center', 'LSM')) )
group by T802.DEPT_CODE, T802.NAME_LEVEL_6, T802.NAME_LEVEL_1, T6172.CALENDARMONTHNAMEANDYEAR, T6172.CALENDARMONTHNUMBERINYEAR
order by c4, c3, c6, c7, c5
))where tile4=3 group by tile4
When I try to view data after creating the data set, I get the following error:
Failed to load XML
XML Parsing Error: mismatched tag. Expected: . Location: http://172.20.17.142:9704/xmlpserver/servlet/xdo Line Number 2, Column 580:
Now when I remove those Presention variables (@{PV1}, @{PV2}) in the query with some hard coded values, it is working fine.
So I know it is the PV that's causing this error.
How can I work around it?
There is no way to create equivalent report without using the direct sql..
Thanks in advanceI have found a solution to this problem after some more investigation. PowerQuery does not support to use SQL statement as source for Teradata (possibly same for other sources as well). This is "by design" according to Microsoft. Hence the problem
is not because different PowerQuery versions as mentioned above. When designing the query in PowerQuery in Excel make sure to use the interface/navigation to create the query/select tables and NOT a SQL statement. The SQL statement as source works fine on
a client machine but not when scheduling it in Power BI in the cloud. I would like to see that the functionality within PowerQuery and Excel should be the same as in Power BI in the cloud. And at least when there is a difference it would be nice with documentation
or more descriptive errors.
//Jonas -
How to create a constant variable(or presentation variable) inside request
hi i have a prompt with from_month and to_month(both i have declared as presentation variable)
i need transactions of from_month to be saved as presentation variable say from_data and use it for further processing.
I tried the below one
created one more prompt with column function as 'filter transactions using from_month' and saved it as from_data presentation variable.
but i do not know how to hide the second prompt from dashboard.
Please help.Hi,
try like this. this is a working solution.
in your report add a field with below formula. Remember you need month_id not month_name i.e. a no. needs to be passed. this will give you the value of the month you selected in your prompt in all the rows.
RSUM(case when Calendar_Month = @{Month_ID}{201212} then tot_txn end)
in your variance use like
tot_txn - RSUM(case when Calendar_Month = @{Month_ID}{201201} then tot_txn end)/ tot_txn
create a filter like month_id>= @{Month_ID}{201201} -
Setting up Cisco Aironet 1250 for home use
Hey everyone,
I'm rather new to the whole Enterprise Router lines. I've set up countless networks with Linksys routers in the past. However, this Aironet is giving me more trouble than I'd want it to. I was wondering if anyone could help. I've assigned it an IP Address and accessed that In-Browser interface and set up an SSID and activated the two extensions. I've been able to connect to the router with my computer and access the internet without restriction. However, when I attempt to connect a second PC or Laptop to the network, it won't allow network access to the second device. I've been stuck there forever. Is there any specific setup method I need to use to make sure more than one workstation/device? I want to use this router for home use, I often use laptops and move around the house a lot, so the advantage of better connection signal and speed is well worth it. Any help is highly apprieciated. If you need more information, don't hesitate to contact me.Sorry for my late reply. Here is the config:
It wasn't connected to anything. This was a raw pull from a fresh cold boot.
IOS Bootloader - Starting system.
Xmodem file system is available.
flashfs[0]: 150 files, 7 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 31868928
flashfs[0]: Bytes used: 6406144
flashfs[0]: Bytes available: 25462784
flashfs[0]: flashfs fsck took 16 seconds.
Reading cookie from flash parameter block...done.
Base Ethernet MAC address: 54:75:d0:dd:b5:12
Loading "flash:/c1250-k9w7-mx.124-10b.JDA3/c1250-k9w7-mx.124-10b.JDA3"...##################################################################################################################################################################################################################
File "flash:/c1250-k9w7-mx.124-10b.JDA3/c1250-k9w7-mx.124-10b.JDA3" uncompressed and installed, entry point: 0x3000
executing...
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, C1250 Software (C1250-K9W7-M), Version 12.4(10b)JDA3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Sun 07-Jun-09 03:50 by prod_rel_team
Image text-base: 0x00003000, data-base: 0x01000000
Initializing flashfs...
flashfs[1]: 150 files, 7 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 31868928
flashfs[1]: Bytes used: 6406144
flashfs[1]: Bytes available: 25462784
flashfs[1]: flashfs fsck took 4 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.
Warning: the compile-time code checksum does not appear to be present.
Radio 1 A600 8000 0 0 A8030000 30
Radio 1 A600 8000 0 0 B8030000 13
tx_paks 1293
tx_paks 646
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html you require further assistance please contact us by sending email to
[email protected]. AIR-AP1252AG-A-K9 (PowerPC 8349) processor (revision C0) with 49142K/16384K bytes of memory.
Processor board ID FTX1423902R
PowerPC 8349 CPU at 533Mhz, revision number 0x0031
Last reset from power-on
1 Gigabit Ethernet interface
2 802.11 Radio(s)
If
cisco
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 54:75:D0:DD:B5:12
Part Number : 73-10425-06
PCA Assembly Number : 800-27630-06
PCA Revision Number : B0
PCB Serial Number : FOC142025F4
Top Assembly Part Number : 800-29039-03
Top Assembly Serial Number : FTX1423902R
Top Revision Number : A0
Product/Model Number : AIR-AP1252AG-A-K9
Press RETURN to get started!
*Mar 1 00:00:06.211: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed
*Mar 1 00:00:07.039: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0
*Mar 1 00:00:07.543: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1
*Mar 1 00:00:09.587: %SYS-5-CONFIG_I: Configured from memory by console
*Mar 1 00:00:09.591: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C1250 Software (C1250-K9W7-M), Version 12.4(10b)JDA3, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Sun 07-Jun-09 03:50 by prod_rel_team
*Mar 1 00:00:09.591: %SNMP-5-COLDSTART: SNMP agent on host Cisco1250 is undergoing a cold start
*Mar 1 01:37:52.027: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to up
*Mar 1 01:37:52.027: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
*Mar 1 01:37:52.707: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
*Mar 1 01:37:53.467: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
*Mar 1 01:37:53.467: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down
*Mar 1 01:37:53.847: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
*Mar 1 01:37:54.467: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
*Mar 1 01:37:54.695: %CDP_PD-4-POWER_OK: Full power - INJECTOR_DETECTED inline power source
*Mar 1 01:37:54.703: %DOT11-4-NO_HT: Interface Dot11Radio1, Mcs rates disabled on vlan 0 due to not using AES encryption or
*Mar 1 01:37:58.303: %DOT11-6-FREQ_USED: Interface Dot11Radio1, frequency 5180 selected
*Mar 1 01:37:58.307: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up
*Mar 1 01:37:58.307: %DOT11-4-NO_HT: Interface Dot11Radio0, Mcs rates disabled on vlan 0 due to not using AES encryption or
*Mar 1 01:37:58.311: %DOT11-6-FREQ_SCAN: Interface Dot11Radio0, Scanning frequencies for 13 seconds
*Mar 1 01:37:59.307: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
*Mar 1 01:38:00.307: %LINK-3-UPDOWN: Interface BVI1, changed state to down
*Mar 1 01:38:02.931: %LINK-3-UPDOWN: Interface BVI1, changed state to up
*Mar 1 01:38:11.919: %DOT11-6-FREQ_USED: Interface Dot11Radio0, frequency 2462 selected
*Mar 1 01:38:11.923: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
*Mar 1 01:38:12.923: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
Cisco1250>enable
Password:
Cisco1250#show running-config
Building configuration...
Current configuration : 1717 bytes
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname Cisco1250
enable secret 5 $1$jDeQ$cFdx0aHAd8wj8tk6CCmXq/
no aaa new-model
dot11 ssid Home Network
authentication open
guest-mode
power inline negotiation prestandard source
username Cisco password 7 05280F1C2243
bridge irb
interface Dot11Radio0
no ip address
no ip route-cache
encryption key 1 size 128bit 7 23D0220D02AE7FA723492AA01E34 transmit-key
encryption mode wep mandatory
ssid Home Network
station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface Dot11Radio1
no ip address
no ip route-cache
encryption key 1 size 128bit 7 0B4935657C801B3620154AB56630 transmit-key
encryption mode wep mandatory
ssid Home Network
dfs band 3 block
channel dfs
station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface GigabitEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface BVI1
ip address 192.168.0.1 255.255.255.0
no ip route-cache
ip http server
no ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
snmp-server community Community RW
bridge 1 route ip
line con 0
line vty 0 4
login local
end
They way I connect it in the network is as follows:
BrightHouse Networks ISP Modem --> Cisco Aironet 1252 --> Incoming connections from computers and laptops.
Any ideas? -
Set-up with different urls for login server and mid-tier
The desired external host names are the following:
Portal -> http://www.myportal.com
Login Server -> http://www.login.com
The real (internal) host names are the following:
midtier -> midtier.xyz.com
infrastructure-> infra.xyz.com
How should the Oracle HTTP Server, Login/SSO server, portal be configured with this type of set-up?
In particular, what should be in the httpd.conf, dads.conf, mod_osso.conf files and which values should be passed to the ssocfg and ptlasst scripts? Does the DAS url need to have the internal or external host name?How should the scenario described above be integrated into the instructions below? $HOSTNAME may refer to the internal or external midtier or infrastructure machine name. Which should be used?
Assume HTTPS for the login server --> https://www.login.com.
<PRE>
Doc ID: Note:216126.1
Subject: How to configure SSL with Portal 9.0.2
Type: HOWTO
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 25-OCT-2002
Last Revision Date: 16-JAN-2003
PURPOSE ------- This note explains how to set up SSL with Portal. There are several ways to configure SSL with Portal. This note uses SSL only between the browser and WebCache. The communication between the Webcache/Apache or PPE/Webcache is done in HTTP. This installation is a lot less CPU extensive than a full SSL configuration. Please note the configuration outlined here is not currently certified for Portal 9.0.2; however, it is fully supported by Oracle Support and Development. This means that this configuration was not tested by the Portal QA Department within Oracle. The difference in the QA test was that all components of the configuration were in SSL mode. SCOPE & APPLICATION ------------------- This note is intended for Portal administrators. This note is based on Unix. The Windows NT configuration is very similar. HISTORY ------- Version 1.0: SSL with a Unix shell script Version 1.1: Comment about the Webcache HTTP port How to configure SSL with Portal 9.0.2 -------------------------------------- Step 1 - Prerequisite --------------------- A. Get a SSL certificate ------------------------ IAS v2 is given with dummy certificates. You can use them. If you wish to use real SSL certificates, follow a note to configure SSL with Webcache like : - Note 161863.1 - Configuring WebCache with SSL - NT/2000 - Note 165305.1 - Configuring WebCache with SSL - Unix B. Password of the database schemas of portal --------------------------------------------- You need to have the passwords of the following database users: Database user Your passwords ---------------------------------------------- portal orasso orasso_ps orasso_pa These passwords are normally randomized during the installation of IAS V2. To find them, please follow one of these notes: - Note 206514.1 : IAS 9.0.2 : How to get the portal passwords to run the PTLASST script (Windows) - Note 199633.1 : Script to determine orasso password in 9iAS 9.0.2 on Unix - Note 205984.1 : Script to determine orasso password in 9iAS 9.0.2 on Windows C. Ports -------- During this installation, you will need to know a lot of ports of IAS V2. Please collect this information, before to begin. You can see the port list by going to the homepage of the midtier and of the infrastructure web page and clicking on the tab Port. You can also read the file portlist.ini that resides in both ORACLE_HOME in the directory $ORACLE_HOME/install. Here is the list, you need: Name of the port My port numbers Your port numbers --------------------------------------------------------------------- Midtier Web Cache HTTP port 7783 Midtier Web Cache HTTPS port 4459 Midtier Web Cache Admin port 4000 Midtier Web Cache Invalidation port 4001 --------------------------------------------------------------------- Infrastructure Oracle HTTP Server port 7784 Infrastructure Oracle HTTPS Server port 4460 Infrastructure Internet Directory(non-SSL) 4039 --------------------------------------------------------------------- D. Backups ---------- You should take a backup of your IAS installation in case that you want to revert all the changes done here and/or if you make a mistake during the configuration. The only good way to do a backup of IAS 9.0.2 is to have a full backup of the both ORACLE_HOMES of the Infrastructure and of the MidTier. Step 2 - Configure Portal to run in SSL --------------------------------------- 1) Edit the Webcache configuration Go to the administration port > http://hostname:web_admin_port/ > Typically http://hostname:4000/ Login: administrator/administrator Go to General Configuration / Site to Server Mapping -> Change the rule WebCache SSL - HTTP SSL -> Below the title Select "Application Web Servers" -> Check the checkbox with HTTP -> Uncheck the one with HTTPS -> Submit On the top of Webcache admin screen, press on <Apply the changes> Then restart WebCache. 2) Edit the dads.conf (in $MIDTIER_ORACLE_HOME/Apache/modplql/conf) Add a new line in the DAD: <Location /pls/portal> PlsqlCGIEnvironmentList REQUEST_PROTOCOL=HTTPS,SERVER_PORT=4459 Where 4459 is the HTTPS port of the MIDTIER. 3) Modify the web.xml of the portal application ($MIDTIER_ORACLE_HOME/j2ee/OC4J_Portal/applications/portal/portal/WEB-INF) Add several parameters to the page servlet (PPE). [...] <servlet> <servlet-name>page</servlet-name> [...] <init-param> <param-name>useWebCache</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>useScheme</param-name> <param-value>http</param-value> </init-param> <init-param> <param-name>usePort</param-name> <param-value>7783</param-value> </init-param> </servlet> [...] Where 7783 is the HTTP port of Webcache. Step 3 - Run the PTLASST ------------------------ Because of bug 2659809, we will remove an entry in OID before to run the PTLASST script. This entry will be recreated by PTLASST. Because of bug 2654938, we will reconfigure Webcache after PTLASST. Run this script, and modify the environment variables with the values found above. This scripts does 3 things: 1) It configures SSO/DAS to run in the infrastructure HTTPS port 2) It configures Portal in HTTPS mode, and associates Portal with SSO in HTTPS. 3) Restart OC4J and HTTP processes of the MIDTIER and INFRASTRUCTURE - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - portal_ssl.sh - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - export INFRA_ORACLE_HOME=/u01/oracle/product/infra902 export MIDTIER_ORACLE_HOME=/u01/oracle/product/ias902 export INFRA_SID=iasdb export MIDTIER_SID=ias902 export PORTAL_SID=$INFRA_SID export PORTAL_TNS=iasdb export MIDTIER_HTTP_PORT=7783 export MIDTIER_HTTPS_PORT=4459 export WEBCACHE_INV_PORT=4001 export WEBCACHE_ADM_PORT=4000 export INFRA_HTTP_PORT=7784 export INFRA_HTTPS_PORT=4460 export OID_PORT=4039 export EM_PORT=1810 export PORTAL_PASSWORD=ABCDEFGH export ORASSO_PASSWORD=ABCDEFGH export ORASSO_PA_PASSWORD=ABCDEFGH export ORASSO_PS_PASSWORD=ABCDEFGH export HOSTNAME=machine.domain.com export IAS_PASSWORD=ABCDEFGH export ORAENV_ASK=NO export ORACLE_SID=$INFRA_SID . oraenv unset ORAENV_ASK echo '******** PART 1 - SSO IN SSL **********' export LD_LIBRARY_PATH=$INFRA_ORACLE_HOME/lib:$LD_LIBRARY_PATH export PATH=$INFRA_ORACLE_HOME/jdk/bin:$PATH export PATH=$ORACLE_HOME/bin:$PATH # This step will change the URL used to login by default for # all partner application cd $INFRA_ORACLE_HOME/sso/bin ./ssocfg.sh HTTPS $HOSTNAME $INFRA_HTTPS_PORT # This step add a new partner application to SSO. # It associates the new URL used by OIDDAS with SSO. cd $INFRA_ORACLE_HOME/sso/lib java -jar $ORACLE_HOME/sso/lib/ossoreg.jar -host $HOSTNAME -port 1521 -sid $INFRA_SID -site_name ssl_$HOSTNAME -success_url https://$HOSTNAME:$INFRA_HTTPS_PORT/osso_login_success -cancel_url https://$HOSTNAME:$INFRA_HTTPS_PORT/ -logout_url https://$HOSTNAME:$INFRA_HTTPS_PORT/osso_logout_success -home_url https://$HOSTNAME:$INFRA_HTTPS_PORT/ -start_date 08012002 -admin_id oracle -ip_check false -config_mod_osso true -oracle_home_path $INFRA_ORACLE_HOME -u root -sso_server_version v1.2 echo '---------------------' echo 'Change the URL of DAS' echo '---------------------' rm das.ldif echo 'dn:cn=OperationURLs,cn=DAS,cn=Products,cn=OracleContext' > das.ldif echo 'changetype:modify' >> das.ldif echo 'replace:orcldasurlbase' >> das.ldif echo orcldasurlbase:https://$HOSTNAME:$INFRA_HTTPS_PORT/ >> das.ldif ldapmodify -h $HOSTNAME -p $OID_PORT -D "cn=orcladmin" -w "$IAS_PASSWORD" -f das.ldif echo '******** PART 2 - PORTAL IN SSL **********' echo '-----------------------' echo 'Delete an entry in LDAP' echo '-----------------------' ldapdelete -h $HOSTNAME -p $OID_PORT -D "cn=orcladmin" -w "$IAS_PASSWORD" "orclApplicationCommonName=PORTAL,cn=Portal,cn=Products,cn=OracleContext"
echo '-------------' echo 'Configure SSL' echo '-------------' export ORACLE_HOME=$MIDTIER_ORACLE_HOME $MIDTIER_ORACLE_HOME/assistants/opca/ptlasst.csh -mode MIDTIER -i custom -s portal -sp $PORTAL_PASSWORD -c $HOSTNAME:1521:$PORTAL_SID -sdad portal -o orasso -op $ORASSO_PASSWORD -odad orasso -host $HOSTNAME -ssl -port $MIDTIER_HTTPS_PORT -ldap_h $HOSTNAME -ldap_p $OID_PORT -ldap_w $IAS_PASSWORD -pwd $IAS_PASSWORD -sso_c $HOSTNAME:1521:$PORTAL_SID -sso_h $HOSTNAME -sso_p $INFRA_HTTPS_PORT -ultrasearch -oh $MIDTIER_ORACLE_HOME -mc false -mi true -chost $HOSTNAME -cport_i $WEBCACHE_INV_PORT -cport_a $WEBCACHE_ADM_PORT -wc_i_pwd invalidator -emhost $HOSTNAME -emport $EM_PORT -pa orasso_pa -pap $ORASSO_PA_PASSWORD -ps orasso_ps -pp $ORASSO_PS_PASSWORD -pd portal_dblink -p_tns $PORTAL_TNS -s_tns $PORTAL_TNS -verbose -portal_only $MIDTIER_ORACLE_HOME/assistants/opca/ptlasst.csh -mode SSOPARTNERCONFIG -i custom -s portal -sp $PORTAL_PASSWORD -c $HOSTNAME:1521:$PORTAL_SID -sdad portal -o orasso -op $ORASSO_PASSWORD -odad orasso -host $HOSTNAME -ssl -port $MIDTIER_HTTPS_PORT -sso_c $HOSTNAME:1521:$PORTAL_SID -sso_h $HOSTNAME -sso_p $INFRA_HTTPS_PORT -pa orasso_pa -pap $ORASSO_PA_PASSWORD -ps orasso_ps -pp $ORASSO_PS_PASSWORD -p_tns $PORTAL_TNS -s_tns $PORTAL_TNS -verbose -silent echo '--------' echo 'WebCache' echo '--------' export ORACLE_HOME=$INFRA_ORACLE_HOME sqlplus portal/$PORTAL_PASSWORD@$PORTAL_TNS @$MIDTIER_ORACLE_HOME/portal/admin/plsql/wwc/cachseed.sql $HOSTNAME $WEBCACHE_INV_PORT $WEBCACHE_ADM_PORT invalidator on portal echo '********** Part 3 - restart the MIDTIER **************' export ORAENV_ASK=NO export ORACLE_SID=$MIDTIER_SID . oraenv unset ORAENV_ASK echo '--- MIDTIER: stop all the dcm processes' cd $ORACLE_HOME/dcm/bin dcmctl stop -v echo '--- MIDTIER: clear the PLSQL cache' rm -Rf $ORACLE_HOME/Apache/modplsql/cache/plsql echo '--- MIDTIER: start all the dcm processes' dcmctl start -v export ORAENV_ASK=NO export ORACLE_SID=$INFRA_SID . oraenv unset ORAENV_ASK echo '--- INFRA: stop all the dcm processes' cd $ORACLE_HOME/dcm/bin dcmctl stop -v echo '--- INFRA: start all the dcm processes' dcmctl start -v - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SECURITY COMMENTS ----------------- This configuration has HTTP port of Webcache reachable from outside. Webcache has no way to limit the use of a port to a specific machine or IP address. This is not a real issue because the goal of SSL is not to avoid that people access your server but that people intercept the data sent between the browser and the webserver. But in case that you/your customer is very sensible about security and want a webserver with SSL only (what is very rare), you may want to add a firewall in front of Webcache to block the HTTP port. RELATED DOCUMENTS ----------------- Note 161863.1 - Configuring WebCache with SSL - NT/2000 Note 165305.1 - Configuring WebCache with SSL - Unix
</PRE> -
Query with bind variable, how can use it in managed bean ?
Hi
I create query with bind variable (BindControlTextValue), this query return description of value that i set in BindControlTextValue variable, how can i use this query in managed bean? I need to set this value in String parameter in managed bean.
ThanksPut the query in a VO and execute it the usual way.
If you need to, you can write a parameterized method in VOImpl that executes the VO query with the parameter and then call that method from the UI (as a methodAction binding) either through the managed bean or via a direct button click on the page.
Maybe you are looking for
-
Issue Concerning Flip Book Creation using In Design and converting document to SWF file
Hello. We are a charitable organization which publishes an annual magazine. I have been looking at better ways show our magazine on the web and like the FLIP BOOK format. I have created a sample here -- 2014 Magazine When you look at this you w
-
Hebrew language PO form not geting printed correctly
Hi we are able to see hebrew language PO form in print preview. Also spool request gets printed successfully without any error. But print output at printer in diffrent location (Country) is some raw data/ not readable. device type used - I8SWIN drive
-
Sort the filenames to be loaded in data portal by date
Hi, Filenames listed in Diadem File browser are sorted alphabetically. I would like to script how to load files in search results sorted by date of creation not by name.
-
Clients distributor or dealer location as functional location
Dear All, We are implementing PM/CS module in Ice Cream Mfg. Co. Here my client purchases deep freezer and send to various distributor locations in all over India by doing some commercial agreement. In this up to the one year deep freezer is asset of
-
Synchronize two VO attributes. Best practices.
Hello, everyone. I wonder what is the best solution for the following problem. I my VO I have an attribute with name "Attr1" of type VARCHAR2. Also I have a field of type DATE on a page. I need bind the filed and Attr1. By this I mean that the value