Configuring GZip for OracleAS Portal
How do you configure gzip with OracleAS portal.
Currently i have added the gzip jar file in my application, and configured the same through the Web.xml file as
<filter>
<filter-name>Compress</filter-name>
<filter-class>com.appln.GZIPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Compress</filter-name>
<url-pattern>/portal</url-pattern>
</filter-mapping>
However the GZipFilter class is not getting invoked.
I think the problem is the the way the url-pattern is written.
Can someone please tell me how could this be written, so that the gzip utility is activated.
Regards,
Mukta
How do you configure gzip with OracleAS portal.
Currently i have added the gzip jar file in my application, and configured the same through the Web.xml file as
<filter>
<filter-name>Compress</filter-name>
<filter-class>com.appln.GZIPFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Compress</filter-name>
<url-pattern>/portal</url-pattern>
</filter-mapping>
However the GZipFilter class is not getting invoked.
I think the problem is the the way the url-pattern is written.
Can someone please tell me how could this be written, so that the gzip utility is activated.
Regards,
Mukta
Similar Messages
-
Has anyone example css configuration for Oracle Portal ?
The CSS does not have any specific Oracle Internet Directory (OID) Mibs or Oracle Portal , or directory Mibs per say. It does however comply to standard MIB II Mibs vendor extinctions to configure with SNMP.
-
Advanced Development Techniques for Oracle Portal Components
Hello friends,
I have the following problem. I have a report and a form (on a
view) in the same page, and when I select an item of the report
the form is refreshed with the values associated to the selected
item. The problem is that it makes it with delay, the first
selection doesn't show anything and the remaining sample the
data of the previous selection.
This application has been developed as Ken Atkins explains in
its document "Advanced Development Techniques for Oracle Portal
Components."
Oracle Portal Version: 3.0.9.8.0
Thanks in advance.
This is my code:
-- REPORT --
SELECT '<A HREF="http://mipc/portal30/
ALFONSO.refrescar_contenido?
p_variable=nombre_preferencia&p_variable_valor='||nombre_preferen
cia||'&p_pagina=61">'||Preferencias||'</A>' nombre_link
FROM ALFONSO.PREFERENCIAS
-- PROCEDURE TO REFRESH THE PAGE --
CREATE OR REPLACE PROCEDURE refrescar_contenido(p_varible IN
VARCHAR2,
p_variable_valor IN varchar2,p_pagina IN
VARCHAR2) IS
v_Sesion portal30.wwsto_api_session;
BEGIN
v_Sesion := portal30.wwsto_api_session.load_session
('CONTEXT','SESS_EMP');
v_Sesion.set_attribute(p_varible, p_variable_valor);
v_Sesion.save_session;
owa_util.redirect_url('http://mipc/servlet/page?
pageid='||ppagina||chr(38)||'_dad=portal30'||chr(38)
||'_schema=PORTAL30'||chr(38)||'_mode=3');
END;
-- FORM --
-- ... BEFORE DISPLAYING THE PAGE
alfonso.consulta_preferencia(p_session);
-- PROCEDURE consulta_preferencia --
CREATE OR REPLACE PROCEDURE consulta_preferencia(p_session in
out PORTAL30.wwa_api_module_session) IS
v_RowID VARCHAR2(100);
v_Session portal30.wwsto_api_session;
v_nombre VARCHAR2(40);
BEGIN
v_Session := portal30.wwsto_api_session.load_session
('CONTEXT','SESS_EMP');
v_nombre := v_Session.get_attribute_as_varchar2
('nombre_preferencia');
IF v_nombre IS NOT NULL THEN
BEGIN
SELECT rowidtochar(rowid) INTO v_RowID
FROM ALFONSO.VISTAPREFERENCIAS
WHERE nombre_preferencia = v_nombre;
-- VISTAPREFERENCIAS it is the view in which the form is
based.
END;
-- Tell the component that the query is coming from a link,
and that the rowid
-- is being used to query the correct context record.
p_session.set_value (p_block_name=>'DEFAULT',
p_attribute_name=>'_CALLED_FROM_LINK'
,p_value=>'ROWID');
-- Pass the rowid of the context record to query.
p_session.set_value (p_block_name=>'DEFAULT',
p_attribute_name=> '_ROWID'
,p_value=> v_RowID);
-- Now do the actual query, using the query button
processing in the target module
portal30.wwa_api_module_event.do_event
('DEFAULT','QUERY_TOP',1,'ON_CLICK',True,'',p_session);
-- Save the session information, which includes the
p_session.save_session;
END IF;
END;
/You can make the report with a procedure from which you may call to a form by means of a link. It is a possibility, no??
It is better a example:
TABLE A
campo1 VARCHAR2 (20)
campo2 VARCHAR2 (20)
CREATE OR REPLACE PROCEDURE REPORT IS
v_cursor NUMBER;
sentencia VARCHAR2(200);
vnumfilas NUMBER;
rowid_pref VARCHAR2(18);
v_campo1 <schemaname>.A.campo1%TYPE;
v_campo2 <schemaname>.A.campo2%TYPE;
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('</HEAD>');
htp.p('<BODY>');
sentencia := 'SELECT rowidtochar(rowid), campo1, campo2 FROM A';
DBMS_SQL.PARSE(v_cursor,sentencia,DBMS_SQL.V7);
DBMS_SQL.DEFINE_COLUMN(v_cursor,1,rowid_pref,18);
DBMS_SQL.DEFINE_COLUMN(v_cursor,2,v_campo1,20);
DBMS_SQL.DEFINE_COLUMN(v_cursor,3,v_campo2,20);
vnumfilas := DBMS_SQL.EXECUTE(v_cursor);
LOOP
IF DBMS_SQL.FETCH_ROWS(v_cursor)=0 THEN
EXIT;
END IF;
DBMS_SQL.COLUMN_VALUE(v_cursor,1,rowid_pref);
DBMS_SQL.COLUMN_VALUE(v_cursor,2,v_campo1);
DBMS_SQL.COLUMN_VALUE(v_cursor,2,campo2);
v_link := '<A href="PORTAL30.wwa_app_module.link?p_arg_names=_moduleid'||chr(38)||'p_arg_values=<form's moduleid>'||chr(38)||'p_arg_names=_rowid'||chr(38)||'p_arg_values='||rowid_pref||chr(34)||'>'||campo1||'</A> '||campo2||' <BR>';
htp.p(v_link);
END LOOP;
htp.p('</BODY>');
htp.p('</HTML>');
END;
the form has to be based on the table A.
I dont know if this example has errors, but have you the idea??
I hope it helps you out.
(Excuse my english) -
Automated tool to convert from Forms to Dynamic Page for Oracle Portal?
Hi Experts,
We are thinking to convert majority of the forms in our portal to dynamic pages. Is there any tool to automate the conversion from Forms to Dynamic page for Oracle Portal 9.0.4.1.0?
Thanks, AbbasDear Abbas,
You seem to have two issues... ;-)
If you are finding the Forms are getting corrupt very easily, I'd suggest you go and open a Service Request into Oracle Support (http://metalink.oracle.com). There are a couple of ways where you can have these not corrupted (depeding on the Portal version you are in) and if there isn't yet a way you may get a bug logged and fixed within the next patchset eventually (improving the product functionality).
As to changing it to a dynamic page it might give you a bit more flexibility... yeah. It really depends on what you desire to do. I'd slowly start to code them in this way if your goal is this. As to the former coded forms unfortunately as I've said there isn't a strait way to do that, so you may do this slowly in time...
I hope it helps you a bit further...
Cheers,
Pedro. -
Configure ASM for oracle Grid installation
Hi,
I do not know how to configure ASM for oracle grid infrastructure. As i tried to install oracle grid infrastructure says [INS - 30507] Empty ASM disk group.
I have to configure Asm before installing 11g R2. Please let me know what i have to do and provide the steps to configure and administer asm.
Thanks in advance.http://docs.oracle.com/cd/E11882_01/install.112/e24660.pdf
ORACLE-BASE - Oracle Database 11g Release 2 RAC On Oracle Linux 5.8 Using VirtualBox -
Wich oracle database i need to buy(license) for oracle portal
wich is better oracle database i need to buy(license) for oracle portal (10g)
Hmmm... I'm not too sure. But we use 10.1.4.
Try contacting your nearest Oracle reseller I guess! -
MORE DETAIL ABOUT MY problem (Configuration Steps for Oracle Forms installation)
OS:WINDOWS 2000 SERVER
DB:8I
FORMS:6I
I WANT TO TEST MY FROM TO RUN ON THE WEB ONLY TEST BY (RUN FROMS IN THE WEB)
BUT I CAN'T DO CONFIGRURATION STEPS (VIRTUAL PATH)
WHERE I CAN DO THIS CONFIGRATION
Configuration Steps for Oracle Forms installation of 06:05:38 2002/10/18
This file gives details of the configuration steps done for you by the installation process
(marked '[INFO]') and of any actions you need to do manually (marked '[ACTION]'). Please read
this file and perform the requested actions.
[ACTION] If you are installing in a new Oracle Home, please reboot the machine after the installation.
[ACTION] Please configure the following virtual path with your web listener: /dev60temp for
physical directory F:\devnt\tools\web60\temp.
[INFO] NT service Oracle Forms Server [Forms60Server] has been created and started for
the Forms Server.
[ACTION] Please configure the following virtual path with your web listener: /forms60java for
physical directory F:\devnt\FORMS60\java.
[ACTION] Please configure the following virtual path with your web listener: /dev60html for
physical directory F:\devnt\tools\web60\html.
[ACTION] Please configure the following virtual path with your web listener: /dev60cgi for
physical directory F:\devnt\tools\web60\cgi.
[INFO] An internet shortcut to run a standard test form, or any form of your choice, has been
created for you in the Oracle Forms program group.
[ACTION] Please configure the following virtual path with your web listener: /jinitiator for
physical directory F:\devnt\JINIT.Hi Guys,
Any help on this request will be very helpful.
Thanks,
Ashok Kumar.G -
Problems with Macromedia Extension for Oracle Portal
Hello,
Iâm learning about Oracle portal 10g(3.0.4). I'm having some problems about Oracle portal. Please help me as soon as possible.
I created an Web Template using Dreamweaver MX 2004, and I´m tring to send this template to Oracle Portal through dreamweaver webservice (dreamweaver_webservice.zip) using Dreamweaver extension (dreamweaver_extension.zip) but when I try to connect using the extension to send my template I get Invalid Login message (I tried all possible passwords and logins for Oracle Portal and OracleAS). Please Help!
Please help me or give me any materials about oracle portal. I want to study about this subject so if you have books in pdf format please send me.
[email protected]
thanks
DouglasWhen I try to open the url with the ORMI port in the brownser I get this error message:
Invalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol
Ports I have tryed : 1852 and 3202
ex:
http://<host>:<port>/portalTemplate/portalTemplate -
Installing and configuring PHP for ORACLE 10g Release 1
Hello Lads,
Please can anybody help me finish PHP install...
I have got this error when executing the following command..
#make install
Here is the error:
/usr/local/php-5.1.4/sapi/cli/php: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
Thanks!I answered in your other thread... the one without the I in the title :)
nstalling and configuring PHP for ORACLE 10g Release 1 -
Auto sign-on for Oracle Portal ?
How do handle auto sign-on for Oracle Portal ?
I am using Oracle Portal for my home page which should not have any login to the page.Just define your homepage as available to public. Then as PORTAL30, edit the user PUBLIC and make your homepage his default page. This way, when a user connects to your site, your page will be displayed without any login required. Note that the user will not have any personalized content until they log on and identify themselves.
-
Configuring a Apache Reverse Proxy for OracleAS Portal and OracleAS Single
I'm trying to implement my Oracle Portal 10g Release 2 with a reverse proxy (Apache 2.2) as described in this link: http://download.oracle.com/docs/cd/B14099_19/core.1012/b13998/variants.htm#BEIFECEH without success. I have Oracle Portal, Oracle SSO,OID in the same domain and Apache Reverse Proxy in another domain. Has anyone had success using OracleAS Portal with a reverse proxy?
First of all i'm trying to configure a reverse proxy only for Ora SSO (infra tier). Here is what i already do:
APACHE REVERSE PROXY (Apache 2.2)
http:/proxy.mycompany.com:80
ProxyRequests off
ProxyPassInterpolateEnv On
ProxyPass / http:/portal.tech.everett.it:7777/
ProxyPassReverse / http:/portal.tech.everett.it:7777/
ProxyPreserveHost On
ORACLE SSO
http:/portal.mycompany.com:7777
Here are the steps i already do:
1- CONFIG OID
create an ldif file called setdasurl.ldif and insert as follow:
dn:cn=OperationURLs,cn=DAS,cn=Products,cn=OracleContext
changetype: modify
replace: orcldasurlbase
orcldasurlbase: http:/proxy.mycompany.com/
then do ldapmodify as follow:
ldapmodify -x -h portal.mycompany.com -p 3060 -D "cn=orcladmin" -w password1 -v -f setdasurl.ldif
2- CONFIG ORA SSO (as gentjan user)
export ORACLE_HOME=/home/gentjan/product/10.1.2/OracleAS/infra/
2.1-config Apache config of ORA SSO
vi $ORACLE_HOME/Apache/Apache/conf/httpd.conf
change from:
ServerName portal.mycompany.com
Port 7777
KeepAlive On
to:
ServerName proxy.mycompany.com
Port 80
KeepAlive Off
and add at the end of httpd.conf
RewriteEngine On
RewriteOptions inherit
2.2- update DCM Repository (as root)
*$ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct HTTP_Server -v -d*
2.3- modify SSO Server Home URL to reverse proxy hostname and port (as root)
*$ORACLE_HOME/sso/bin/ssocfg.sh http proxy.mycompany.com 80*
2.4- Updating the targets.xml File
Open the ORACLE_HOME/sysman/emd/targets.xml file and locate the target type oracle_sso_server.
vi $ORACLE_HOME/sysman/emd/targets.xml
Update the HTTPMachine and HTTPPort attributes with the proxy server host and port attributes that were passed to ssocfg. For example:
Property NAME="HTTPMachine" VALUE="proxy.mycompany.com"
Property NAME="HTTPPort" VALUE="80"
Property NAME="HTTPProtocol" VALUE="http"
Save and close the file.
Reload the Application Server Control Console by issuing this command (as gentjan):
*$ORACLE_HOME/bin/emctl reload*
2.5- Re-register mod_osso on SSO Middle-tier with reverse proxy hostname and port
some needed permissions
chmod -R 775 /home/gentjan/product/10.1.2/OracleAS/infra/dcm/
Re-register mod_osso (as gentjan)
*$ORACLE_HOME/sso/bin/ssoreg.sh -oracle_home_path /home/gentjan/product/10.1.2/OracleAS/infra -site_name infra.proxy.mycompany.com -config_mod_osso TRUE -mod_osso_url http:/proxy.mycompany.com:80 -update_mode MODIFY*
2.6- update DCM Repository (as root)
*$ORACLE_HOME/dcm/bin/dcmctl updateconfig -ct HTTP_Server -v -d*
2.7- Restart OC4J_Security and Oracle HTTP Server at Infrastructure tier
*$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=HTTP_Server*
*$ORACLE_HOME/opmn/bin/opmnctl restartproc process-type=OC4J_SECURITY*
After this modifications my reverse proxy is ok.
I can access to http:/proxy.mycompany.com:80 and this redirect me to Oracle Application Server Welcome page.
If i try http:/proxy.mycompany.com/pls/orasso/orasso.home, i can view the SSO Server Home page.
The problem that i find is when i click to Login page for Oracle SSO.
I have the following error:
Forbidden You don't have permission to access /pls/orasso/ORASSO.wwsec_app_priv.login on this server.
So, in other words i can't do the login/logout under reverse proxy. Anyone can help?
Gentjan -
Version and Configuration Management in Oracle Portal
Hello ...
How is version and configuration management applied to real-life, large Oracle Portal applications, where e. g. both development, test, and production environments are used?
The build-in version management in Oracle Portal is inadequate for such environments.
Any suggestions, opinions, ... on this matter would be highly appreciated.
Regards,
PoulIn my opinion, Portal has a lot of work to do in terms of configuration and change management. If you are using Portal as an application platform, as opposed to KM, you are better of developing java portlets, so that you can use the SCM with JDeveloper and stay away from the application components. If you do want to use the components, then application export/import is the only way. You can setup your own procedures for handling the exported files (version etc).
You don't really version KM apps. Content is meant to be posted and otherwise administered by content area admins and users. It is not a "application", that must be change managed. There are versioning features available at the item level, which is adequate (but by no means a complete versioning system. Use iFS if you want that).
I have heard quite a few horror stories about exporting and importing content areas.
A 3-system Portal landscape, in my opinon, is overkill and trying to fit an existing approach to a new tool. A test/dev and a production Portal might be more palatable to the IT budget.
My 2.5 cents -
Oracle Aplication Server Portal 10 G - configure portlets in Oracle Portal
Hi, I was reading through the Document " ORACLE APPLICATIONS SERVER PORTAL 10G release 2 (10.1.4 - Customized Portlets with BPEL.
On page 3 it refers to chapter 20 of a document caled "BEPL 10.1.2.0.2 Developer's Guide".
I couldn't find this document. It is supposed to teach youhow to configure out-of-box portlets in Oracle Portal.
ThanksHi Sleepy,
you can find this chapter here: http://download-uk.oracle.com/docs/cd/B14099_19/integrate.1012/b14448/portal.htm#sthref3420.
How to find it? http://otn.oracle.com -> documentation -> application server -> Oracle Application Server 10g Release 2 (10.1.2.0.2) Documentation (Previous Releases section) -> View Library for B14099-11 and finally E-business Integration tab contains BPEL guides.
Regards,
Ivan -
Sample PL/SQL Portlet Source Code for Oracle Portal 9ias
Hi, I'm a newbie of Oracle Portal technology, and I have a problem:
I would create a PL/SQL portlet that realizes the following functions:
1) Retrieve the username of the portal user logged from WWCTX_API.GET_USER function.
2) Insert into an oracle db table two values about two hidden fields in the HTML FORM of the portlet.
3) Realize the insert commit through the click on the submit button on the Html form of the portlet. I would redirect by the same button to an other page url also.
I've never developed in Portal, and may be useful if someone could post me the source code of the SHOW MODE SECTION in the PROCEDURE SHOW of a SAMPLE PL/SQL PORTLET that realizes the upper functions.
Thanks a lot....Hi
Here's the code from Helloworld_Portlet example:
procedure show
p_portlet_record wwpro_api_provider.portlet_runtime_record
is
l_portlet wwpro_api_provider.portlet_record;
begin
if (not is_runnable(
p_provider_id => p_portlet_record.provider_id
,p_reference_path => p_portlet_record.reference_path)
) then
raise wwpro_api_provider.PORTLET_SECURITY_EXCEPTION;
end if;
Retrieve the portlet information.
l_portlet := get_portlet_info(
p_provider_id => p_portlet_record.provider_id
,p_language => p_portlet_record.language
if (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW) then
if (p_portlet_record.has_title_region) then
Draw the portlet header and specify what links are available
from that header (i.e. details, customize, help, and about).
The has_title property is set at the page region level.
wwui_api_portlet.draw_portlet_header
p_provider_id => p_portlet_record.provider_id
,p_portlet_id => p_portlet_record.portlet_id
,p_title => l_portlet.title
,p_has_details => true
,p_has_edit => true
,p_has_help => true
,p_has_about => true
,p_referencepath => p_portlet_record.reference_path
,p_back_url => p_portlet_record.page_url
end if;
Draw the portlet borders.
The has_border property is set at the page region level.
wwui_api_portlet.open_portlet(p_portlet_record.has_border);
Display the content of the portlet in the show mode.
Use the wwui_api_portlet.portlet_text() API when
generating the content of the portlet so that the
output uses the portlet CSS.
htp.p(wwui_api_portlet.portlet_text(
p_string => 'Hello World - Mode Show'
,p_level => 1
if (p_portlet_record.has_border) then
wwui_api_portlet.close_portlet;
end if;
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_ABOUT) then
Display the about page for the portlet.
htp.p('Hello World - Mode Show About');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_EDIT) then
Display the edit page for the portlet.
htp.p('Hello World - Mode Show Edit');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_HELP) then
Display the help page for the portlet.
htp.p('Hello World - Mode Show Help');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_EDIT_DEFAULTS) then
Display the edit defaults page for the portlet.
htp.p('Hello World - Mode Edit Defaults');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_SHOW_DETAILS) then
Display the details page for the portlet.
htp.p('Hello World - Mode Show Details');
elsif (p_portlet_record.exec_mode = wwpro_api_provider.MODE_PREVIEW) then
Display the preview page for the portlet.
htp.p('Hello World - Mode Show Preview');
end if;
end show;
I think you need to add this:
You can get the values of your html-form with this command:
v_hidden_1 varchar2(256);
v_hidden_2 varchar2(256);
v_hidden_1 := wwpro_api_parameters.get_value('name_of_hidden_1_in_html_form','p');
v_hidden_2 := wwpro_api_parameters.get_value('name_of_hidden_2_in_html_form','p');
You can get the actual URL with this command:
v_url := p_portlet_record.page_url;
Hope that helps.
Regards,
Mark -
How to create a omniportlet for oracle portal with apex
Hello everyone!
Is there someone who knows how to create a omniportlet?
This is for openning an application in apex from oracle portal using single sign on.
Could you explain me step by step how to do this please?
Thank you.
RegardsHello Erik,
Please check if the following can help you - http://www.oracle.com/technology/products/database/application_express/howtos/omniportlet_index.html .
Regards,
Arie.
Maybe you are looking for
-
Multiple SSID's on the same subnet?
Can you have Multiple SSID's on the same subnet? SSID1 authenticates clients via radius. Our corporation bought printers with wireless cards that only support WPA-PSK so we created SSID2 for the printers. We can connect to both SSID's and ping from S
-
REP-56055: ''Exceed Max Connections Allowed:''
dear gurus salamz can any one help me on this we have bi, app server with 10g2 and getting on few reports this error rgds, salim shahzad
-
How can I remove a Question Mark icon from Dock?
Long story short, I installed GeekTool from the AppStore. The first thing I noticed was it put a unremovable icon on my dock. So, I found and deleted the app (in Finder), and then I ended up with a Question Mark Icon on my Dock: If I try and Drag/Dr
-
hi, our client wants billing document number and accounting number both are same.is there any possibility to get same numbers could any body help inthis matter
-
BackgroundGradientColors Update via ActionScript error
I'm having the dickens trying to change the application background color on load. Here is my actionscript: At the top: <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*" height="100%" width="100%" verticalScroll