Upgrade View from 5.3.0 to 6.1?
I was reading the upgrade notes for 6.1 and I was confused if I needed to upgrade to 5.3.3 BEFORE going to 6.1 or if I can go straight to 6.1 from 5.3.0? I am thinking the latter but I wanted to be sure before I gave it a go. Anyone else done this upgrade recently?
Thanks in advance
If Gen 2 is running a version other than 5.3.6, upgrade to 6.0.1 is not supported. You should upgrade from earlier versions of 5.x to 5.3.6. See the Release Notes for Cisco Security MARS Appliance version 6.0.1 for upgrade procedure.
Upgrade from 5.3.6 to 6.0.1. For details on upgrading from 5.x to 6.0.1, see the Release Notes for Cisco Security MARS Appliance version 6.0.1.
Similar Messages
-
Unable to Sign in analytics After Upgraded obiee from 10g to 11g
Hi all,
I have problem when upgrading catalog from 10g to 11g.
The error is:" Unable to Sign In . An invalid User Name or Password was entered. "
I upgraded following the steps like this:
1.Login EM and check BI server is running successfully.
2.Started the UA.bat.
Select the operation:Upgrade Oracle BI RPD and Web Catalog.
Step by Step,and the upgrade completed successfully.
3.Open the RPD online using the Admintool succefully.
4.But when I Login the BI and view the dashboard with the 10g's user (Administrator),the page appear the error "*Unable to Sign In . An invalid User Name or Password was entered.* "
5.Then I Try to Regenerating User GUIDs
1. Update the FMW_UPDATE_ROLE_AND_USER_REF_GUIDS parameter in NQSConfig.INI:
a. Open NQSConfig.INI for editing at:
b. ORACLE_INSTANCE/config/OracleBIServerComponent/coreapplication_obisn
c. Locate the FMW_UPDATE_ROLE_AND_USER_REF_GUIDS parameter and set it to YES, as follows:
d. FMW_UPDATE_ROLE_AND_USER_REF_GUIDS = YES;
e. Save and close the file.
2. Update the Catalog element in instanceconfig.xml:
a. Open instanceconfig.xml for editing at:
b. ORACLE_INSTANCE/config/OracleBIPresentationServicesComponent/
c. coreapplication_obipsn
d. Locate the Catalog element and update it as follows:
e. <Catalog>
f. <UpgradeAndExit>false</UpgradeAndExit>
g. <UpdateAccountGUIDs>UpdateAndExit</UpdateAccountGUIDs>
h. </Catalog>
i. Save and close the file.
3. Restart the Oracle Business Intelligence system components using opmnctl:
4. cd ORACLE_HOME/admin/instancen/bin
5. ./opmnctl stopall
6. ./opmnctl startall
7. Set the FMW_UPDATE_ROLE_AND_USER_REF_GUIDS parameter in NQSConfig.INI back to NO.
Important: You must perform this step to ensure that your system is secure.
8. Update the Catalog element in instanceconfig.xml to remove the UpdateAccount GUIDs entry.
9. Restart the Oracle Business Intelligence system components again using opmnctl:
10. cd ORACLE_HOME/admin/instancen/bin
11. ./opmnctl stopall
12. ./opmnctl startall
BUT THE ERROR ALSO EXISTING!
So,waiting for the help,thanks!Hi,
if your using oracle db please make sure your db settings and tnsnames.oRA settings
also try you please try below troubleshooting steps:
1) please check latest error message and find the root cause,
presentation catalog log path:
obiee installed Drive:\Oracle\Middleware\instances\instance1\diagnostics\logs\OracleBIPresentationServicesComponent\coreapplication_obips1\sawlog0.txt file
also check it nqserver.log file
oracle bi server log path ref:
obiee installed Drive:\Oracle\Middleware\instances\instance1\diagnostics\logs\OracleBIServerComponent\coreapplication_obis1\nqserver.log
2)can you try to login RPD,EM and console by using your weblogic a/c then try to login with some other user.
if its not working then try to delete that users from catlog and check it Check OPMN services are running state.
e.x:
C:\Oracle\Middleware\instances\instance1\bin>opmnctl startall
opmnctl startall: starting opmn and all managed processes...
C:\Oracle\Middleware\instances\instance1\bin>opmnctl status
Processes in Instance: instance1
--------------------------------------------------------------+---------
ias-component | process-type | pid | status
--------------------------------------------------------------+---------
coreapplication_obiccs1 | OracleBIClusterCo~ | 4992 | Alive
coreapplication_obisch1 | OracleBIScheduler~ | 2420 | Alive
coreapplication_obijh1 | OracleBIJavaHostC~ | 1856 | Alive
coreapplication_obips1 | OracleBIPresentat~ | 5684 | Alive
coreapplication_obis1 | OracleBIServerCom~ | 5232 | Alive
3) Refresh GUIDs and Restart WebLogic and OPMN Services then try it again...still if your getting same issues then try to
check DB(try to login and confirm) and check it RPD --> physical layer connection pool setting and try to
view physical data.
also paste it your latest error log message (nqserver.log and sawlog01.log message) here
THanks
Deva -
How to create a normal view from the RDF sparql query?
Hi,
I am trying to create a view from the below query.
select id, name from table(SEM_MATCH('
(?id rdf:type dm:Conceptual_SMA_Information_Group)
(?id dm:hasConceptualSmaInformationGroupName ?name)',
SEM_Models('nyc_sma_curr'), null,
SEM_ALIASES(SEM_ALIAS('dm','http://www.cdse.com/sbip/dwh/mdm/data_modeling#')), null))
order by name,id;
I am trying the below syntax to create a viewa but its giving the error and m unable to create view.
create view Information_Group as
select id, name from table(SEM_MATCH('
(?id rdf:type dm:Conceptual_SMA_Information_Group)
(?id dm:hasConceptualSmaInformationGroupName ?name)',
SEM_Models('nyc_sma_curr'), null,
SEM_ALIASES(SEM_ALIAS('dm','http://www.cdse.com/sbip/dwh/mdm/data_modeling#')), null))
order by name,id;
Error: ORA-00600: internal error code, arguments: [17046], [0x46E62D720], [0x46F2485F0], [1], [], [], [], [], [], [], [], []
Please help me to create a view.
Let me know if you need more details.
Regards,
Kavitha.Hi,
This is a known issue in 11.1 (RDBMS Bug 6688356).
Please contact Oracle Support to get the patch for this bug. Alternatively, you can upgrade to release 11.2.
Thanks,
Matt -
Upgrade Failure from apex 3.0 to 3.1 on Oracle 10.2.0.3
Hi:
When I was upgrading apex from 3.0 to 3.1 on Oracle 10.2.0.3, I experienced the error below: I did use the sysdba login when I was doing the upgrade.
Thank you for your help!
...create wwv_flow_sw_binds
references flows_files.wwv_flow_file_objects$(id)
ERROR at line 7:
ORA-02270: no matching unique or primary key for this column-list
create index wwv_flow_sw_bind_idx1 on wwv_flow_sw_binds (file_id)
ERROR at line 1:
ORA-00942: table or view does not existSurely that's telling you something?
If you did manage to hack it, you would then have an unsupported installation of APEX.
Upgrade the DB, or upgrade to the max supported APEX version for your current database version (which I think would be 3.2.1).
Cheers
Ben -
Hi BWers,
Currently my clinet using BW 3.5 system and looking for a Global Roll-out by making existing solution as Global template.
However I am for upgradation of existing system to 7.0 and then for Roll-out for remaining countries. Hence my client asking me inturn advantages of upgradation from 3.5 to 7.0 from both Technical & Customer centric view.
I am aware that we could take advantage of new tools in BI 7.0 but need to provide advantage in better manner (to convience client). As per the future road map, there wanted to implement BPS / IP for planing and BO for corporate reporting.
I am requesting all of BW experts to highlight the advantages of upgrading system from 3.5 to 7.0 in customer perspective (pls dont highlight in technical point of view).
***Please send any PPT already prepared and given for Client presentations***
Can we implement / Integrate Bussines objects with 3.5 version or Integration limited to 7.0 version..
Thanks,
BI ConsultantHi,
From the customer perspective, one of the most tangible advatge of upgrading to 7.0 version is ability to use BI Accelerator. The query performance with BIA increases significantly and this is one of the point which should be emphasized in order to convince customer to upgrade.
Regards,
Praveen -
Upgrade procedure from 4.6c to ECC 6.0
Hi
I had gone through SAP solution browser tool and observed the differences for 4.6C and 6.0
Can u please let me know How to start and end the upgrade project i.e sequence of activities.
1) should the configuration be done in ECC 6.0 same as 4.6C?
2)master data upload?
3)Z-objects movement from 4.6C to 6.0....?
4)Open PO's and stock upload......in ECC 6.0 ?
5) what are the precautions to be taken before Go-live?
Please send any links for upgrade procedure from 4.6C to 6.0 i.e sequence of activities.........
Thanking you
DeepakHi,
About your questions:
1) should the configuration be done in ECC 6.0 same as 4.6C?
The configuration (if you mean how the system is configured from the Basis point of view) will be almost the same as you had in 4.6C. Of course you will find new aspects you don't have in the old version (for example the integrated ITS, ICM, etc.), but you will have the system running after the upgrade.
2)master data upload?
Master data will be adapted to new version during the upgrade. Unless you need fresh data, you won't need to reload master data.
3)Z-objects movement from 4.6C to 6.0....?
Z objects are not touched by the upgrade process. It's your responsibility to keep them running after the upgrade.
4)Open PO's and stock upload......in ECC 6.0 ?
Same as question 2). Business data remains in the system after the upgrade.
5) what are the precautions to be taken before Go-live?
It is recommended to carry out functional tests, as well as connection tests with external interfaces. In any case, you shouldn't take any special precaution, at least not so different from those you would take in a normal installation.
Regards
Francisco -
Delete Views from type PEU...
Hi there,
after an Upgrade to ERP2005 i got a few views from type PEU....
that are unknown in the ABAP Dictionary but exist on the DB so they can be deleted . There are 256 views.. but i dont want to use
SE11 => menu Utilites/Database utility =>delete database view
I found this Note:
Note 418682 - Deleting views for local currency changeover
Can i use this Report with ECC ERP 2005 to?
Message was edited by:
bjoern bayerschmidtThe note is valid until ECC 5.0 but I'm pretty sure, the same is true for ECC 6.0.
You create programs in SE38 - and you can execute them there.
Markus -
Dear Experts,
I had created a view in standard component BP_EEW (This component itself was created through EEWB). I created view in it without enhacing it. The changes were moved from CRD to CRQ and then to CRP and was working fine.
Recently we had a CRD upgrade and after that the view is absent in CRD, i am able to see the view in CRQ though. Is there any way i can copy the view from CRQ to CRD? or i will have to create the view in CRD again?
The view is a very complex one and will take a lot of effort if i have to create it again in CRD.
Please suggest.
Regards
AshimYes you can.
In CRQ, please check transport request for this view. If all changes are in same transport, ask basis to import this transport to CRD.
If all changes are not in same transport then you will have to open CRQ, go to se80 open your BSP, write a transport entry and then pull this transport to CRD.
As long as your changes are in transport request, I believe basis can pull your changes in any system in landscape.
Regards,
BJ -
Can not select from data dictionary view from a procedure
Hi,
I wonder, which privilege is missing here:
my schema has this roles and privs:
GRANT CONNECT, RESOURCE TO cb ;
GRANT CREATE SESSION TO cb ;
GRANT SELECT_CATALOG_ROLE TO cb ;
GRANT CREATE SYNONYM TO CB;
GRANT CREATE VIEW TO CB;
I create a procedure:
create or replace procedure dd_test as
begin
dbms_output.enable(2000000);
for r in (select table_name from sys.dba_tab_partitions where owner = 'CB') loop
dbms_output.put_line(r.table_name);
end loop;
end;
sho err
4/38 PL/SQL: ORA-00942: table or view does not exist
When I run the core statement form sql prompt, it works !
so what privilege is missing here ???
thanks for any hint, Lao DeHi,
thanks for that reply, after doing that I can not select this DD-view from sql-prompt anymore (which I don't wonder ;-). Can you tell me, what idea you had behind that test ?
I found another instance, where the procedure works and I will compare those privileges, but it's hard to sort out that complex structure of nested roles and sys_privs.
How ever, I will update here, when I found the missing privilege.
regards LaoDe -
How to call a maintenance view from a program
Hello Abapers,
Can anybody explain with some examples. How to call a mainetenance view from a program.
Thanks
Ranjith.Use FM 'VIEW_MAINTENANCE_CALL'.
REPORT zmaintaintest.
VARIABLES / CONSTANTS
CONSTANTS:
c_action(1) TYPE c VALUE 'U', "Update
c_viewname TYPE tabname value 'ZEMP_EXAMPLE', "View Name
c_field(6) TYPE c VALUE 'EMPNO'. "Field Name
INTERNAL TABLES
DATA: itab_rangetab TYPE STANDARD TABLE OF vimsellist,
v_empno TYPE zempno,
wa_rangetab TYPE vimsellist.
SELECTION SCREEN
PARAMETERS: p_empno TYPE zempno OBLIGATORY. "Emplyee ID
AT SELECTION-SCREEN
AT SELECTION-SCREEN.
Chcking the existence of the user in EMPLOYEE table
PERFORM validate_employee.
START_OF_SELECTION
START-OF-SELECTION.
This will restrict the user view so that user can only view/change
Table data corresponding to his/her Employee ID
PERFORM define_limited_data_area.
Displaying table maintenance view for a particular employee ID
PERFORM call_view_maintenance.
*& Form validate_employee
Validate plant entered in the selection screen
FORM validate_employee.
SELECT SINGLE empno u201CEmployee ID
FROM zemp_example u201CEmployee Table
INTO v_empno
WHERE empno = p_empno.
IF sy-subrc <> 0.
MESSAGE 'Not an Valid User' TYPE 'I'.
ENDIF.
ENDFORM. "validate_employee
*& Form DEFINE_LIMITED_DATA_AREA
To restrict the user view so that user can see/change table data
corresponding to his employee ID. Here one internal table is
getting populated with field name as u201CEMPNOu201D (Key field of the table)
And value as given by user in Selection Screen and this is passed as
Parameter in function module 'VIEW_MAINTENANCE_CALL'
FORM define_limited_data_area.
CLEAR wa_rangetab.
wa_rangetab-viewfield = c_field.
wa_rangetab-operator = 'EQ'.
wa_rangetab-value = p_empno.
APPEND wa_rangetab TO itab_rangetab.
ENDFORM. "define_limited_data_area
*& Form CALL_VIEW_MAINTENANCE.
Displaying table maintenance view for a particular employee ID
FORM call_view_maintenance.
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = c_action
view_name = c_viewname
TABLES
dba_sellist = itab_rangetab.
ENDFORM. "call_view_maintenance
Regards,
Joy. -
Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy. It is a Macbook Pro osx 10.6.8 (late 2010).
Almost certainly none of the above! Try each of the following in this order:
Select 'Reset Safari' from the Safari menu.
Close down Safari; move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false -
Hi experts,
we enhanced the BI Content standard DataSource 2LIS_04_P_COMP "Component View from PP/PP-PI" with the field AMGLG (Scrap quantity) per maintenance of the relevant extract structure MC04P_0COM via LBWE:
The enhancement of the extract structure worked fine.
Unfortunately the enhanced field is not filled after the Statistical Setup of the LIS Application 04 "Production" (t/code OLI4BW).
RSA3 -> 2LIS_04_P_COMP:
Any ideas or experiences?
Many thanks in advance and regards,
MichaelAttached one example:
BW DataSource 2LIS_04_P_COMP:
ERP Summarized BOM Multilevel (t/code CS13) Component 456:
ERP Summarized BOM Multilevel (t/code CS13) Component 301:
Any ideas why there are no values for the field AMGLG extracted?
Thanks and regards,
Michael -
Facing Parse Errors after upgrading database from 10g to 11g
Hi,
We are facing parse errors in the SQL's after upgrading database from 10g to 11g.
Kindly look into below parse errors.
********************************** Parse Error *****************************************************
Tue Aug 13 14:13:08 2013
kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
PARSE ERROR: ospid=15598, error=1446 for statement:
SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
Tue Aug 13 14:13:10 2013
kksfbc 16173533: parse err=942 hd=3c387c4028 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
PARSE ERROR: ospid=29813, error=942 for statement:
Select feature from toad.toad_restrictions where user_name=USER or user_name in ( select ROLE from sys.session_roles)
kksfbc 16173533: parse err=942 hd=3c97d83648 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
PARSE ERROR: ospid=29813, error=942 for statement:
SELECT password
FROM SYS.USER$
WHERE 0=1
kksfbc 16173533: parse err=6550 hd=35185e4278 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
object line object
handle number name
319e277050 30 anonymous block
319e277050 57 anonymous block
PARSE ERROR: ospid=29813, error=6550 for statement:
BEGIN sys.dbms_profiler."146775420110782746251362632012"; END;
kksfbc 16173533: parse err=942 hd=3c142d8600 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
object line object
handle number name
319e277050 67 anonymous block
PARSE ERROR: ospid=29813, error=942 for statement:
SELECT 1 FROM plsql_profiler_data WHERE 0 = 1
Please help.
Regards
SureshHi Suresh,
Apologies for misunderstanding..
Tue Aug 13 14:13:08 2013
kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
PARSE ERROR: ospid=15598, error=1446 for statement:
SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
Assuming you see the above error message in the alert log file, which was your original post, follow the below steps:
1 Get the 'ospid' value from the error
2. Issue the below command:
SQL> select request_id,ORACLE_PROCESS_ID
2 from fnd_concurrent_requests
3 where request_id = 15598;
3. After obtaining the request_id
4, Query it from the front-end using SYSADMIN responsibility
Hopefully this should get you the respective concurrent report/program.
Thanks &
Best Regards, -
SharePoint 2013 List View with query string filter stops working after editing view from browser
I have created one list definition in which I have added one list view which will filter data from query string paramater
So when I am creating list from my list definition, view with query string filter is working fine.
But when I am modifying view from UI(I am not changing any thing , just opening "Modify View" page and then click on "Save" button), view gets stop working means it's not filtering data based on query string
Any suggestion what I am missing?
Below is my list view schema
<View BaseViewID="11" Type="HTML" TabularView="FALSE" WebPartZoneID="Main" DisplayName="$Resources:OIPLBScoreCard,viewFilterTasksByTarget;" MobileView="True" MobileDefaultView="False" Url="FilteredTasks.aspx" SetupPath="pages\viewpage.aspx" DefaultView="FALSE" ImageUrl="/_layouts/15/images/issuelst.png?rev=23">
<Toolbar Type="Standard" />
<ParameterBindings>
<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
<ParameterBinding Name="TargetId" Location="QueryString(TargetId)" />
</ParameterBindings>
<JSLink>hierarchytaskslist.js</JSLink>
<XslLink Default="TRUE">main.xsl</XslLink>
<JSLink>clienttemplates.js</JSLink>
<RowLimit Paged="TRUE">100</RowLimit>
<ViewFields>
<FieldRef Name="Body"></FieldRef>
<FieldRef Name="Title"></FieldRef>
<FieldRef Name="StartDate"></FieldRef>
<FieldRef Name="DueDate"></FieldRef>
</ViewFields>
<ViewData>
<FieldRef Name="PercentComplete" Type="StrikeThroughPercentComplete"></FieldRef>
<FieldRef Name="DueDate" Type="TimelineDueDate"></FieldRef>
</ViewData>
<Query>
<Where>
<Eq>
<FieldRef Name="oipscTargetLookup" LookupId="TRUE"/>
<Value Type="Lookup">{TargetId}</Value>
</Eq>
</Where>
</Query>
</View>
I have one lookup field from "Target List" in my source list and I want to filter data based on that lookup field.Hi JayJT,
The Miscellaneous is located in the contact list that you used for the connection.
So , you need to edit the page, then edit the contact list that you used, in the web part properties of the contact list, you will find Miscellaneous, then expand it and select ‘Server Render’ .
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
If you want to stop a JATO request in its tracks, you have a little black
magic at your disposal: you can throw a CompleteRequestException. This
indicates to the JATO infrastructure that it should immeditately stop
handling the request, but not generate an error, as the develper has taken
full control. You can generally throw this error from anywhere, at any
point--it is a RuntimeException, and is "tunneled" through other exception
handlers where appropriate.
In your scenario, you want to check if the user is logged in, and if not,
save the target URL using the parsePathInfo() method. Then, forward to the
login page and then throw a CompleteRequestException.
Todd
----- Original Message -----
From: "nickmalthus" <nickmalthus@h...>
Sent: Monday, January 07, 2002 3:05 PM
Subject: [iPlanet-JATO] Re: onBeforeRequest(); Finding requested view from
requestContext
I guess what I am thinking about doing is capturing the requested URL,
i.e. /appname/modulename/RequestName. In the onBeforeRequest(). I
would then check to see if the user is logged in, and if not, set the
URL in the session(or page session of the Login bean) and forward to
the Login viewbean using the viewbean manager. Inside the login view
in the handleSubmit() method I would authenticate the user and then
get the URL out of the session (or pagesession). I would then
magically get the ViewBean/Command object for the URL or otherwise
"forward the request" as if the user had typed in
/appname/modulename/RequestName, which is the behavior I am trying to
acheive.
It turns out I cannot forward in the onBeforeRequest() as it will
output the viewbean and then continue to process the request which in
turn trys to do a RequestDispatcher().forward after data has been
written to the stream which does not bode well with the servlet
container. Thus, it appears I have no control of the request in the
onBeforeRequest() method. Is this correct?
In light of this new observation I am now going to create a base view
class that all views will extend from and override the
onSecurityCheck() method to forward to my login bean. If I can't find
any other way, I will get the URL from the page session and do a
response.sendRedirect() to the URL.
Thanks for the help!
--- In iPlanet-JATO@y..., "Craig V. Conover" <craig.conover@s...> wrote:
The problem is that you don't know what the target view is until it has
been forwarded to.
Think about it... the request handling view bean (or command object)has
the request handler that has the code that will ultimately forward to
another view bean. This is code that you have written. So, until that
forwardTo() is invoked, there is no notion of a "target page".
What you do know is which "page" (view bean) the request is coming from
(the handling view bean or command class). You can get this from the
HttpServletRequest. The attribute name is "viewBean".
So you can get the view bean name by doing the following inonBeforeRequest:
<HttpServletRequest>.getAttribute("viewBean");
But I suspect this is not going to solve your current issue.
You could add the target page name to the page session. If there ismore
than one possible target page, it might get a little more involved.
Let me know if the use of page session needs further explanation.
c
For more information about JATO, including download information, pleasevisit:
http://developer.iplanet.com/tech/appserver/framework/index.jspIf you want to stop a JATO request in its tracks, you have a little black
magic at your disposal: you can throw a CompleteRequestException. This
indicates to the JATO infrastructure that it should immeditately stop
handling the request, but not generate an error, as the develper has taken
full control. You can generally throw this error from anywhere, at any
point--it is a RuntimeException, and is "tunneled" through other exception
handlers where appropriate.
In your scenario, you want to check if the user is logged in, and if not,
save the target URL using the parsePathInfo() method. Then, forward to the
login page and then throw a CompleteRequestException.
Todd
----- Original Message -----
From: "nickmalthus" <nickmalthus@h...>
Sent: Monday, January 07, 2002 3:05 PM
Subject: [iPlanet-JATO] Re: onBeforeRequest(); Finding requested view from
requestContext
I guess what I am thinking about doing is capturing the requested URL,
i.e. /appname/modulename/RequestName. In the onBeforeRequest(). I
would then check to see if the user is logged in, and if not, set the
URL in the session(or page session of the Login bean) and forward to
the Login viewbean using the viewbean manager. Inside the login view
in the handleSubmit() method I would authenticate the user and then
get the URL out of the session (or pagesession). I would then
magically get the ViewBean/Command object for the URL or otherwise
"forward the request" as if the user had typed in
/appname/modulename/RequestName, which is the behavior I am trying to
acheive.
It turns out I cannot forward in the onBeforeRequest() as it will
output the viewbean and then continue to process the request which in
turn trys to do a RequestDispatcher().forward after data has been
written to the stream which does not bode well with the servlet
container. Thus, it appears I have no control of the request in the
onBeforeRequest() method. Is this correct?
In light of this new observation I am now going to create a base view
class that all views will extend from and override the
onSecurityCheck() method to forward to my login bean. If I can't find
any other way, I will get the URL from the page session and do a
response.sendRedirect() to the URL.
Thanks for the help!
--- In iPlanet-JATO@y..., "Craig V. Conover" <craig.conover@s...> wrote:
The problem is that you don't know what the target view is until it has
been forwarded to.
Think about it... the request handling view bean (or command object)has
the request handler that has the code that will ultimately forward to
another view bean. This is code that you have written. So, until that
forwardTo() is invoked, there is no notion of a "target page".
What you do know is which "page" (view bean) the request is coming from
(the handling view bean or command class). You can get this from the
HttpServletRequest. The attribute name is "viewBean".
So you can get the view bean name by doing the following inonBeforeRequest:
<HttpServletRequest>.getAttribute("viewBean");
But I suspect this is not going to solve your current issue.
You could add the target page name to the page session. If there ismore
than one possible target page, it might get a little more involved.
Let me know if the use of page session needs further explanation.
c
For more information about JATO, including download information, pleasevisit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp
Maybe you are looking for
-
when I chose an email address directly, while using firefox browser, it triggers an overflow of tabs, numbering in the hundreds. It makes me have to force quit firefox and I lose whatever I may be doing online. this is consistent for some months and
-
hi, please can anybody help me with my macbook white (13-inch, Early 2009). My backlight turn on/off in wrong angles, sometimes is backlight automatically turn off. Next problem - the headphone output still red light, so my speaker doesn't play :(. H
-
What is the format of 0calmonth data in flat file
Hi, What is the format for 0calmonth field data in flatfile to load data in to cube. Thanks .
-
Dear Apple Team, Please be informed that I am currently experiencing an issue flashing after i finished my call/ receiveng a call or miscalls, Showing this phrases as "ERROR in application occured Please call support qouting error code 2907". This is
-
Can't get podcasts to download
I'm having a horrible time getting podcasts to download (from ESPN and NPR publishers). They'll get about 1/4 of the way through and then just stop. I did a speed test and can download at 35 mbs/sec. itunes diagnostics said I passed all network conne