Mod_plsql: /pls/apex/f SSO on 11g (11.1) ,iAS 10.1.2.0.2 , Apex 3.1.2 bug?
Hello,
I just configured SSO on our first 11G database exactly the same way as our 9i databases( Yes we skip 10)
But I don't seem to get it running.
Environment: Apex 3.1.2 on RDBMS 11.1
Windows server 20003 standard
iAS : 10.1.2.0.2
I configured and installed SSO on the DB and registered with the ORASSO
When I login to the dev environment using:
http://w3gvb772.glaverbel.com:7778/pls/apex_dev11gut/
It works fine because SSO is not used
But when I go immediately to the SSO enabled application using
http://w3gvb772.glaverbel.com:7778/pls/apex_dev11gut/f?p=1001:1
I do not get redirected to the SSO login page but instead the URL is rewritten to
http://w3gvb772.glaverbel.com:7778/pls/apex_dev11gut/f
Giving the following error on IE7
Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
Error ERR-7620 Could not determine workspace for application ().
OK
And in firefox
Bad Request
Your browser sent a request that this server could not understand.
mod_plsql: /pls/apex_dev11gut/f HTTP-400 Bad parameter name: none specified
Has someone encountered this problem?
I saw there was a problem that /pls/apex was rewritten as /plsapex/ but this is NOT the case here.
Thanks
Erwin
Edited by: Erwin L on Feb 26, 2009 9:30 AM
Hi Scott,
Thiese are the last 5 lines from thje apache error log
[Wed Mar 04 08:34:17 2009] [error] [client 193.202.68.83] [ecid: 3061116036902,1] (10054)An existing connection was forcibly closed by the remote host: MOD_OC4J_0087: Got an unexpected error while calling send() to send a message to oc4j and the error code is 10054.
[Wed Mar 04 08:34:17 2009] [error] [client 193.202.68.83] [ecid: 3061116036902,1] MOD_OC4J_0053: Failed to call network routine to send out an ajp13 buffer message to oc4j.
[Wed Mar 04 08:34:17 2009] [warn] [client 193.202.68.83] [ecid: 3061116036902,1] MOD_OC4J_0027: Failed to send out an ajp13 message to oc4j.
[Wed Mar 04 08:34:17 2009] [error] [client 193.202.68.83] [ecid: 3061116036902,1] MOD_OC4J_0026: Failed to marshal a request to ajp13 message headers or send them to the web container.
[Wed Mar 04 08:39:35 2009] [error] [client 10.132.130.29] [ecid: 1236152375:193.202.68.83:2284:2504:2,0] File does not exist: d:/oracle/server10.1.2.2/apache/apache/htdocs/pls/apex/wwv_flow_custom_auth_sso.process_success
These are the last lines from the apache acceslog file
10.132.130.29 - APEX_PUBLIC_USER [04/Mar/2009:08:39:35 +0100] "GET /pls/apex_dev11gut/f?p=1001:1 HTTP/1.1" 200 878
10.132.130.29 - - [04/Mar/2009:08:39:35 +0100] "GET /pls/apex/wwv_flow_custom_auth_sso.process_success?urlc=v1.2~E274EB9F5E9877B824734621A287A2DD42394F7973CF4593FD816F085275EF57D4DCDFF2A11DC7854955A946E9B82D45E46A68F2755C1093B9BBC221A42CF2C26A28745E66B9F55D04C021E312EBC0D29E9974F8028679F1AAA320BB876524A3BC03148CBB44A69BC459770BBA6015DD911D5515739850EF8690AF43FC4380F2CBF7B35A27D97B51BBAB2A753FF24AD426802A6BDE6F14203FE2AEDD7BD8F2EB68C441BCF5766259C56C721070FC8C3453FA1E72EAE0802380AC2CE9919F00C04377425E06CB3048E936AD953CD74E677B3E27827F6799E3E8B8BDE6071D40F40409E98E35F2AD758D5D622459F0C00EE264BFA13508D13075B71C74EC1F3A8217758E1FBCC270CC884987B3AB8C3B52982DBB91DCA4C809C942C52844B10F713643D558BE31B0B4BD2615C70A60B4F4BF1ABD01FE49C347F71E4D220B547CC304DCE1572F6651F06A99E4A89081CE64261559CB8B352DC0DAF8EE0F8A887612CA679EE5FB86A2805DF22D9092A90D7CF37BEF5A190C3336E2842AF44FE2EC654D732573214D8C5B HTTP/1.1" 404 382
193.202.68.83 - - [04/Mar/2009:08:39:52 +0100] "POST /reports/rwservlet/getserverinfo HTTP/1.1" 200 48
193.202.68.83 - - [04/Mar/2009:08:40:10 +0100] "GET /forms/lservlet HTTP/1.1" 200 223
193.202.68.83 - - [04/Mar/2009:08:41:10 +0100] "GET /forms/lservlet HTTP/1.1" 200 223
193.202.68.83 - - [04/Mar/2009:08:41:19 +0100] "GET /reports/rwservlet/pingserver?server=W3GVB772RS01 HTTP/1.1" 200 3
193.202.68.83 - - [04/Mar/2009:08:42:10 +0100] "GET /forms/lservlet HTTP/1.1" 200 223
Erwin
Similar Messages
-
Hi All ,
I want one solution i have a report which fectches the ppt that r stored in db,If i search more results it errors out so i have reduced the results and it was working fine.Now i see it is giving the same error(as below) althorugh it was working fine by reducing results in query.Can anybody please help me in this.
the error is
Bad Request
Your browser sent a request that this server could not understand.
mod_plsql: /pls/apex/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 3250 parameters. Upper limit is 2000
Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at insightapps.oraclecorp.com Port 80Section 1.10 of the Oracle HTTP Server mod_plsql User's Guide states the following
The total number of name value pairs that can be passed to a PL/SQL procedure is 2000.
mod_plsql limits the total number of parameters that can be passed to a single procedure to 2000.
mod_plsql limits the size of a single parameter that can be passed to a procedure to 32000 bytes.
It would be helpful to know how each of these apply in the APEX context
Varad -
This is the message when I click the logout button. It destroys the session though. It should redirect to login page after clicking logout button.
We are on Apex 4.1
Bad Request
Your browser sent a request that this server could not understand.
mod_plsql: /pls/apex/f HTTP-400 Missing '=' in query string or post form
Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server Server at xxxx.xxxxx.edu Port 443
Edited by: 965704 on Oct 30, 2012 11:42 AMIt has been fixed but the new problem is: After signout, if I move back to previous page and click some link using <- sign then I suppose to get the login page, but i am getting
ORA-44004: invalid qualified SQL name error message.
The source for my login page is
wwv_flow_custom_auth_std.login(
P_UNAME => :P101_USERNAME,
P_PASSWORD => :P101_PASSWORD,
P_SESSION_ID => v('APP_SESSION'),
P_FLOW_PAGE => :APP_ID||':1'
); -
When running htmldb 2.0.00.29 with SSO , we receive
ORA-06550: line 2, column 1: PLS-00201: identifier 'WWSEC_SSO_ENABLER_PRIVATE.GENERATE_REDIRECT'
must be declared ORA-06550: line 1, column 45: PL/SQL: Statement ignored
Error Unable to run portal_sso_redirect procedure as schema: PL_USER with partner app name: people finder:mercator.hq.ccw.gov.uk:7779.
During debugging the issue we found out that the ssosdk could not be installed into FLOWS_020000 correctly
( error like:
@loadsdk.sql
create table wwsec_enabler_config_info$ OF sec_enabler_config_type
ORA-00955: name is already used by an existing object
CREATE sequence wwsec_log_pk_seq increment BY 1
ORA-00955: name is already used by an existing object
and as followup error in regapp.sql
ERROR: Error in registration. Please try again
ORA-06508: PL/SQL: could not find program unit being called
Now we created in a separate schema the ssosdk and run next steps of
Note:353023.1 CONFIGURING AN APEX (HTMLDB) APPLICATION TO USE SSO:
But bow same error like on starting up the issue.
Question:
Is it possible to install ssosdk in a separate schema and not into FLOWS_02xxx
If yes, what are the steps differennt to the Note:353023.1
thanksHi Scot,
Thank you for your response.
This is what I did for the migration by following the thread in
How can I recovery APEX application from a full database export?
- Create new empty database with APEX installed.
- Disable foreign key constraints in the FLOWS_030100 Schema
- Truncate all tables in the FLOWS_030100 Schema
- Perform user level imports of tables only with IGNORE = Y for FLOWS_030100 Schema
- Enable the constraints.
(everything seems intact including SSO SDK objects)
To register with SSO, this is what I did;
1. Load SSO SDK in FLOWS_030100 Schema anyway
2. Register APEX as Partner in SSO
ID: 1B914F48
Token: F76K433U1B914F48
Encryption Key: F76K433U1B914F48
Login URL: http://<hotsname>:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
Single Sign-Off URL: http://<hotsname>:7777/pls/orasso/orasso.wwsso_app_admin.ls_logout
Login URL : http://<hotsname>:7778/pls/apex
Success URL : http://<hotsname>:778/pls/apex/wwv_flow_custom_auth_sso.process_success
Logout URL : http://<hotsname>:7778/pls/apex
3. Run regapp.sql as FLOWS_030100
SQL> @regapp.sql
Partner Application Configuration
4.
Enter value for listener_token: HTML_DB:<hostname>:7778
Enter value for site_id: 1B914F48
Enter value for site_token: F76K433U1B914F48
Enter value for login_url: http://<hostname>:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
Enter value for encryption_key: C5EB92724C7C98B8
Enter value for IP check : N
4. Ensure wwv_flow_custom_auth_sso compile successfully and grant it to Public
When I tested it, I did get the page of SSO login. But after logging in, it will just go to Page not found. Initially, I thought there's someting wrong with
wwv_flow_custom_auth_sso.process_success but it did compile successfully and I have granted it to Public.
Yong -
Hi,
i write role in httpd.conf, to redirect to an external application, as this:
ProxyPass /pippo/ http://<myhost>:7777/pls/orasso/ORASSO.wwsso_app_admin.fapp_process_login?p_app_id=DF435C2A789ACE9C183480A1A6A982CD
ProxyPassReverse /pippo/ http://<myhost>:7777/pls/orasso/ORASSO.wwsso_app_admin.fapp_process_login?p_app_id=DF435C2A789ACE9C183480A1A6A982CD
bun when i try to access at <myhost>/pippo/ i receive the follow http error:
mod_plsql: /pls/orasso/ORASSO.wwsso_app_admin.fapp_process_login
HTTP-400 Name "ORASSO.wwsso_app_admin.fapp_process_login?p_app_id=DF435C2A789ACE9C183480A1A6A982CD" is longer than 30 chars
Is this a problem of mod_plsql or an Apache (Proxypass)?
Are somebody resolve it?
Thanks a lot to all!!!
StefanoYes Frank, I'm using DAS.
I found the problem, There was a previous SSO server installation and It was causing a conflict.
Now I have fixed the error running SSOREG script, the problem now is when accessing with a valid user the Apache.exe dies. The OID seems to be working fine since any wrong user is rejected, but when valid user the apache dies.
I'm looking for information about this error.
Any Idea? -
Interactive report with apex 3.2 oracle 11g
Hello all,
We are using oracle apex 3.2 oracle 11g .
i am using interactive reports using apex where the query is a outer join. In the interactive rport i am using collections frame work. apex_collection.create_collection_from_query_b
I am getting the following error ..
ORA-04030 OUT OF PROCESS MEMORY WHEN TRYING TO ALLOCATE 16328 BYTES
Pls let me know .
thanks/kumarAre you saying the you are creating a collection using the create_collection_from_query_b API and then using the select c001,c002,.. from apex_collections in the Query of the IR?
Is the creation of the collection failing (process) or the collection is getting created and you are getting the error when region tries to render the report?
Regards -
Using APEX as SSO redirect for existing web application
Hi,
I have an existing PHP based Web Application hosted on an Apache server. I want to protect these web pages by authenticating users via Oracle SSO.
I tested this by creating a simple APEX web page with redirect <Meta> tag to route traffic to my application upon successful SSO login. This works fine if request comes directly to APEX page....
So my question is how do I protect php pages from being directly accessed and still be able to get sso user login information (like username) coming from APEX page?
Do I still need to set up mod_sso.so in osso.conf for my Apache Server or should I just register my php web application as partner application with SSO server without going through APEX?
Any advice on this is greatly appreciate.
Thanks,
jamesTony,
Sorry for taking so long to respond as I got side tracked with other tasks.
Thank you so much for the link. The provided link is very helpful.
One difference in my situation is that I am using a generic Apache installation (version 2.2.11) and not Oracle Apache Server from OAS.
So I copied mod_osso.so from OAS 10.1.3.1.0 installation to my generic Apache location. As I tried to startup Apache instance I got following error while loading mod_osso.so.
... Cannot load /apache-2.2.11/modules/mod_osso.so into server: /apache-2.2.11/modules/mod_osso.so: undefined symbol: ap_configtestonly
I did some search and found that other folks are reporting success of using mod_osso.so on generic Apache (without saying which version of Apache). I wonder if mod_osso.so can only work with older version of Apache?
Do you have insights on this by any chance?
Thanks again,
James -
Problem regarding PDF printing in apex 3.1 and 11g database using cocoon
Hi,
i am configuring pdf printing on apex 3.1 (database 11g on windows XP OS) with cocoon/apache tomcat/fop using steps given in Carl Backstrom blog
http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html
I am using cocoon 2.2.10 / tomcat 6.0.20 and JDK 1.6
I did everything as was mentioned in Carl's blog and everything configured without any hassle. I even enabled network services for FLOWS_030100 user on database. Even after doing all the steps I'm getting the error
ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
I'm confused and don't know what to do next.Hi,
By default, the ability to interact with network services is disabled in Oracle Database 11g release 1 (11.1). Therefore, if running Oracle Application Express with Oracle Database 11g release 1 (11.1), use the new DBMS_NETWORK_ACL_ADMIN package to grant connect privileges to any host for the FLOWS_030100 database user. Failing to grant these privileges results in issues with PDF/report printing, specifically, you will get the following error message:
ORA-20001: The printing engine could not be reached because either
the URL specified is incorrect or a proxy URL needs to be specified.
Follow the steps mentioned in the Oracle Application Express Installation Guide, [Enabling Network Services in Oracle Database11g|http://download.oracle.com/docs/cd/E10513_01/doc/install.310/e10496/post_inst.htm#BGEJJIHE]. Also refer to the [troubleshooting section|http://download.oracle.com/docs/cd/E10513_01/doc/install.310/e10496/post_inst.htm#BHAGIHIB] in case you receive an ORA-44416: Invalid ACL error after running the previous script.
/Kenny -
I was having issues with SSO and APEX.
I got error in portal_sso_redirect: missing application registration information.
we followed the APEX as partner app on how to site.
Problem was that in SSO sdk docs, they state that if ports 80 or 442 are used, do not include the in p_listener_token - so we followed that.
Looking through forums I tried rerunning regapp.sql and appending the 80 port for the listener token.
Now works.
I hope this helps others that are banging their heads against a wall trying to solve this.
These forums are a fabulous resource.
PeterI've just created a new instance on the same server, installed Apex 3.2, created a single page test app, used Application Express as Partner Application as SSO authorisation scheme, accessed the app's url and exactly the same thing happens... I just get a 404 page where the URL http://OID_HOST:port/sso/auth
I must be overlooking something somewhere but as far as I know, I've followed all the guidance and have created this based on previous installs.
Again, any help would be greatly appreciated!
Thanks. -
Installation Problem with APEX 3.1 on 11g
Hey,
I've a big problem with apex3.1 on 11g. Yesterday i wanted to install the new version, which i've downloaded from the oracle server. Furthermore i have followed the instructions by the documentation.
i executed:
1. apexins.sql FLOW_1 USERS TEMP /i/ Is that correct?
2. apxconf.sql
Do i have do remove the old version (3.0)?
Thanks for your help
Best Regards,
AndiHi Andrea,
I tried to reproduce this and could not.
I created a new 11.1.0.6 database on Oracle Enterprise Linux with character set WE8MSWIN1252. I even did this with an OS locale of Italian (and trust me, it was a struggle, as my Italian is about as weak as my German). The only thing that is different between my test and your configuration is the server OS.
I then installed APEX 3.1, tried it in browser language 'it' and 'en-us', but I could not reproduce the issue.
Can you think of anything atypical in your configuration, installation, or database parameter settings?
Joel -
Apex 3.2 on 11g with EPG on Localhost - IE 8 browser running very slow.
I've just upgraded my development DB to 11gV2 but can't cut over to APEX4.0 yet as the production environment still needs to be upgraded(backward compatibility issues).
New SETUP
APEX 3.2
11g setup on localhost
EPG
IE8 runs very very slow
Firefox runs fine with acceptable speed
Old Setup
APEX 3.2
10g on localhost
HTTP server
IE7 run fine
Firefox ran fine
Any suggestions on how to speed up IE8 as it is our prefered browser?
I've tried to set TOOLS...INTERNET OPTIONS...ADVANCED...http1.1 settings on and off as suggested by someone on the forum but the results are unpredicitble.
Paul PHello Paul,
I think we are now in a similiar situation as you had a year ago, and I was wondering if you could provide me with some insight.
We are currently running on 10g with Apex 3.2.1 and are working on upgrading to 11g, and not upgrading Apex (staying at 3.2).
Did you run into any issues when upgrading to 11g? Did anything need to be done on the Apex side to support it? Or are they totally independent?
Thanks!
Annie -
Dear,
I have Oracle 11g and APEX in Win XP machine. EM also configured.
To get PDF printing in APEX, I should install Apache FOP.
As per the document for PDF printing configuration, I am not getting the EM console for OC4J. (for reports and forms, OC4J is available in the same machine)
So I should install Standalone OC4J (in the same machine). My doubts are
Is OC4J 10g Standalone enough for Oracle 11g? (I could not find a OC4J 11g download)
From documnets I found that this OC4J installation will install one HTTP server also. Is this conflict with any of the settings for EM or APEX?
Is the EM which will be installed with OC4J standalone conflict with already installed EM for database? Or any method is there to use the Database EM for OC4J also?
How to find out JAVA_HOME and J2EE_HOME?
All these installation I made using the OTN downloads.
with regards
-mathewsHi Mathews
This looks much easier than the manual configuration that I had to do.
To get to the OC4J config.......
Login to your App Server EM
Depending on what tier it is you will have various system components such as HTTP_Server, Web_Cache, home etc...
Click on home, to display OC4J page
Click on Applications
Click on Deploy WAR file
You should then be able to follow the rest of the instructions in the document.
cheers,
Ron -
Error when installing APEX 3 on Oracle 11g !!
I have Oracle db 11g on Windows Vista and there is no problem with the database. The problem is when I try to install Oracle Application Express (Apex) 3. After unzipping the Apex zip file to somewhere on my hard disk, I log to the database as sysdba using the command-line SQL*Plus to install the Application Express, but everytime I try to run the apexins.sql file the command-line SQL*Plus window disappears suddenly and the installation does not proceed !! I did all the prerequisite tasks according to the Apex installation guide and everything seemed good until I reached the installation process.
Please help !Hi Joel,
Yes, see
Re: unable to import applications into Apex on XE
That was on a XP Pro machine.
I'm trying to do the same on a linux machine now and getting the same issues. It might still relate to the downloaded file I was using. I'm about to try and copy the apex folder from the XP pc to the linux pc and try again. :-(
BTW, I can't find the 11g XE download link. Is it avaliable yet?
Many thanks
Regards
Bryan -
We are setting up APEX 4.1 with our Oracle SSO on Oracle 10g app server and I was wondering if my APEX app can reference any of the SSO attributes such as the user's first and last name or email address?
We are setting up APEX 4.1 with our Oracle SSO on Oracle 10g app server and I was wondering if my APEX app can reference any of the SSO attributes such as the user's first and last name or email address?
-
Apex on 10gR2 -- Use 11g or 10g HTTP Server?
We're just starting an Apex development effort, and have a couple of environmental limitations to respect in our production and test environments...
i) 10gR2 database
ii) Separation of database and web tiers
Given these constraints we'll be using the Oracle HTTP Server on a different host to the 10gR2 database, so my question is this: are there pros and cons to sticking with the 10g OHS versus adopting the 11g OHS straight off? Do we gain/lose anything in terms of complexity, stability, performance, integration with LDAP, platform options, licensing ... ?
Thanks in advance for any help.Any errors in error_log? Does strace -p <http pid> reveal anything? Not sure if Suse Linux has pstack command. If yes, run pstack <http pid> and search on Google for the stack trace.
Yong Huang
[email protected]
Maybe you are looking for
-
FCPX Export issue. Item cannot be shared while it is still referencing media on the camera
I am having issues with exporting a project I just shot and I missed my delivery day and am now late. Need help ASAP. I'll try to keep this as brief as possible and stick to the pertinent information. The Shoot: -2 Panasonic HVX-200's shooting on P2
-
Query to get all active customers in oracle apps
Hi All, I want to grab all active customers account number, customer name, email address, tel number. Could any one give me the query to get it. Thanks, Red.
-
Imovie hd low quality when export in "full quality"
Hi i made one hour of a movie with Imovie hd. When i exported to "full quality" is not equal to the original! I imported photos from iphoto, all in hi definition and i inserted audio track and Ken b. effects. I have to view this movie on the screen d
-
went to download some songs today but only a few seconds of the songs showed up and jumped to another songs i downloaded everythinh today and look like all the songs are only playing for a few seconds
-
Want to upgrade system RAM of preserio V 6500 presently it is 1 GB only (512 x 2)
want to upgrade system RAM of preserio V 6500 presently it is 1 GB only (512 x 2)