[Problem]Registering "External Applications" in Oracle Portal

We want to register an external application (simple HTML based login application) with Oracle Portal 10.1.4. We followed the steps documented and registered the external application. We did provide the necessary credentials and checked the remember credentials check box.
We added the External Application Portlet which provides a link to the added application. However, everytime we click the link , instead of automatically logging into external application , we are shown the external application login screen.
Our environment: Oracle 10.1.4 Portal ; Oracle 10.1.2 Appserver
Appreciate any help to solve the problem.
Thanks

Hey 619948:
These can be tricky to track down. Typically, there are 1 or more form fields missing from the external application that the actual application needs to log you in. Here's the flow I use to setup external apps.
1) Go to login page of the external app and view the page source
2) Find the URL in the action address of the <FORM tag or in the JavaScript used for submitting the form
3) Find every form input including <INPUT, <SELECT, etc and note their names and their values (if any). This includes hidden ones
4) The tricky part -- try to make an educated guess as to which fields are required and which ones are optional. This is not always obvious
5) Setup your external application with the Action URL as the URL, the username and password fields where indicated and adding in any extra fields identified in step 4
If that still doesn't do the trick, I use the Web Developer plugin for Firefox to change the POST (if that is what is used for logging in) to a GET so I can see the exact fields being submitted on the application's login page. Sometimes, it may be an obscure button like submit=submit.
Finally, some applications just don't play well with externally logging in. This is one of the cases where it really isn't Oracle Portal's doing. Some apps just have so much coding and scripts etc. on their login page that you just can't login except through thier page.
Rgds/Mark M.

Similar Messages

  • Register external application as partner application on OSSO

    Hi All,
    I am using OracleAS Single Sign-On. I want to integrate Stellent Universal Content Management(UCM) with OracleAS Single Sign-On.
    Can someone please let me know how to achieve this?
    Also I would like to know, how can I register external application as a partner application in OracleAS Single Sign-on?
    Thanks & Regards,
    Yash Shah

    Hi,
    Thanks for your quick response. I have gone through the document which you suggested. the document says to register through sooreg.sh script. I would like to register partner application using SSO Administration UI.
    When I log in to OSSO server, I have a option of registering the partner application, there in UI I have to specify, Home URL, Success URL and Logout URL.
    For me, my sso server and my application server resides on the different servers (systems). Please let me know which URLs I shoudl specify to register my partner application using UI.
    I mean, I want to know what should I specify in Home URL, Success URL and Logout URL
    Thanks & Regards,
    Yash Shah

  • Problem with file download in oracle portal:UnsupportedEncodingException

    Hi,
    I'm developing a struts application inside Oracle Portal, when i click on a
    action link i need to download a file.
    <pdk-struts-html:link action="/fileDownload2Action?file=myfile.txt">Click Here to See the PDF</pdk-struts-html:link>
    i've tried to use org.apache.struts.actions.DownloadAction as follows:
    public class MyExampleFileDownload extends DownloadAction{
    protected StreamInfo getStreamInfo(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception {
    // File Name
    String fileName = mapping.getParameter();
    // Set the content disposition
    response.setHeader("Content-disposition",
    "attachment; filename=" + fileName);
    // Download a "pdf" file - gets the file name from the
    // Action Mapping's parameter
    String contentType = "application/pdf";
    File file = new File(fileName);
    return new FileStreamInfo(contentType, file);
    but on the forward i receive the following exception:
    received IOException
    java.io.UnsupportedEncodingException: Media Type of a TextResponseWrapper must start with "text/"
    at oracle.webdb.provider.v2.utils.http.TextResponseWrapper.getData(Unknown Source)
    at oracle.webdb.provider.v2.utils.http.TextResponseWrapper.getData(Unknown Source)
    at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
    at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
    at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    ---end
    so it seems that struts forward in oracle have to be only text/html files
    but i don't wanto to go tio another page, just download a file on the same page
    after some control in my action.
    Could you suggest me any alternative solution?
    Regards,
    Francesco Rizzello

    Hi,
    Did this work ? :-
    Struts Download action portlet:UnsupportedEncodingException
    Regards,
    Sandeep

  • ADF Application and Oracle Portal Login Page

    We have developed ADF application and deployed it in Oracle AS 10.1.2 along with the custom JAAS module, which is working fine with the application custom login page. As a next page, I want to use Oracle Portal login page for the authentication and authorization.
    How can I accomplished it? Any idea?
    Thanks,
    AP

    Shay,
    1. I created blank ADF project
    2. I copied myreport.jsp file (this one was generated by Oracle Report Builder) under ..ViewController/public_html directory
    3. Created directory 'lib' under ViewController/public_html/WEB-INF/lib
    4. Copied reports_tld.jar file under the directory created in 3.
    5. Created simple jspx page with the af:link (btw af:goLink does not exists in JDev 12c), set 'destination' to myreport.jsp
    After the steps above I could not even compile the application, many problems too many to list here, Basically JDev is trying to build the project with .jsp file generated in Report Builder and is unable to.
    So to be sure we are on the same page: I am trying to embed JSP report files generated by Report Builder into ADF project, then create EAR file and deploy on standalone WLS. Finally execute JSP web only report.

  • Custom DB authentication to an application from Oracle Portal not working.

    Hi All,
    We have a Portal customized and integrated to LDAP for SSO.
    From the portal, we have a link that takes to another custom application that requires another level of authentication. We have implemented this authentication as custom Database based authentication.
    When user login to the portal and access this link, he will be directed for authentication again. This custom application has been installed on a different OC4J instance while Oracle Portal is running in a different OC4J instance.
    Issue is though user details are being propagated to the custom application page, we are receiving an error saying authentication failed.
    In the OC4J instance specific for this custom application, we have configured jazn.xml to use custom authentication.
    Below is the code:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <jazn provider="XML" location="./jazn-data.xml" default-realm="jazn.com">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="custom.loginmodule.provider" value="true"/>
    </jazn>
    and in jazn-data.xml, we gave the role mapping.
    But the problem is when the link to the custom application is accessed, it seems like the custom autentication mechanism is not working.
    Can anyone throw light on this?
    Do we need to give the same configuration in the j2ee/home/config directory files also?
    Can we use both LDAP and custom DB authentication with in the same OAS setup. Remember as of now, Portal and custom application are running in different OC4J instances but within the same OAS.
    Any help in this regard will be highely appreciated.
    Thanks,
    Sasi Bhushan

    Hi All,
    We have a Portal customized and integrated to LDAP for SSO.
    From the portal, we have a link that takes to another custom application that requires another level of authentication. We have implemented this authentication as custom Database based authentication.
    When user login to the portal and access this link, he will be directed for authentication again. This custom application has been installed on a different OC4J instance while Oracle Portal is running in a different OC4J instance.
    Issue is though user details are being propagated to the custom application page, we are receiving an error saying authentication failed.
    In the OC4J instance specific for this custom application, we have configured jazn.xml to use custom authentication.
    Below is the code:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <jazn provider="XML" location="./jazn-data.xml" default-realm="jazn.com">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="custom.loginmodule.provider" value="true"/>
    </jazn>
    and in jazn-data.xml, we gave the role mapping.
    But the problem is when the link to the custom application is accessed, it seems like the custom autentication mechanism is not working.
    Can anyone throw light on this?
    Do we need to give the same configuration in the j2ee/home/config directory files also?
    Can we use both LDAP and custom DB authentication with in the same OAS setup. Remember as of now, Portal and custom application are running in different OC4J instances but within the same OAS.
    Any help in this regard will be highely appreciated.
    Thanks,
    Sasi Bhushan

  • How to register External table into Oracle APPS?

    hi
    can we register the External table in Oracle apps like SQL Loader?
    So if yes, please share the steps.
    Thx

    781261 wrote:
    okk..
    But i mean , we create Executable with Method type SQL Loader, to register in Oracle APPS.
    SO like what would be Executable Method for External Table?
    or can we call the External table in Procedure?
    ThanxI don't know oracle APPS (and this isn't the APPS forum), but an external table is just like another table. It's created once and then used by queries to fetch data. You would reference it in your applications just the same as you would any other table.

  • Can I run a external application on a Portal Channel

    Can I execute a external application inside a channel or a tab in portal ..
    For example assume i have the calendar application .. Is it possible to have a calendar tab ( I have a calendar channel included into the jsptabcontainer) ..and on clicking the tab ..is it possible to make the calendar application work inside the container..
    Help appreciated
    raj

    Hi everyone,
    Where can I read more on IFRAME provider and channel? Do I need to write one myself? Also could you please suggest where to find info on displaying static html pages. I was able to create tabs and to display html documents but the links to other documents do not work.
    I am a newbie who read through the desktop customization manual. Any advice is highly appreciated.
    Sure it is possible...
    - The easiest way is to create an IFrame channel
    and proxy your application using this channel.
    Make sure this channel is full_top in your tab,
    set IFrame to 100% and you are all set!
    (PS: Make sure this will work with gateway
    if you have SRAP)
    - More challenging would be a "smart proxy channel",
    which will scrapes your application and proxy the
    actions to your web application.
    Cheers,
    Alex :-)

  • Invoke external application from Oracle Application Form

    Hi,
    I need to invoke external application such as AutoCAD from Oracle Apps Form. Does anyone know how this could be done.
    Form Version : 12.0.11.12010000.2
    Oracle Applications Release R12.
    Thanks,
    Ash

    You can use DDE.App_Begin to open apps such as MS word.
    Try and see if it works for you.
    The other option is you add a menu option (called Launch Autocad) using personalization.
    And then use personalization to launch a web page. This assumes that Autocad app is available as a web service.
    Hope this helps,
    Sandeep Gandhi

  • 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
    Douglas

    When 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

  • Integrating existing Web application with Oracle Portal

    Hi,
    I have an existing application which is purely written in servlets and which is in use for quite some time. I have a requirement now of moving this application onto the Oracle Portal.
    I was just wondering if we have any quick meanse of doing this or we have to re develop from scratch in oracle Portal server(ByDefining page, Page templates..etc).
    Advance thanks for your help
    Thanks
    Sreedhar

    What do you mean with "moving this application onto the Oracle Portal"?
    The best expedite way is use in the portal a LINK that direct your users to the actual app.
    Another quick thing you could do is use the IFRAME TAG (only works in IE). This way you can embed your app in Portal (show it in some area in portal)
    Then comes the complex things:
    - You can activate SSO to your applications ( which is not THAT difficult)
    - You can PORTLATIZATE your app, this doesn't means that you have to rewrite all, but still you need to write in a "Oracle Java Way" some thing to get it work..
    You can see this link if you're using portal 10.1.2:
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1012/b14134/pdg_java_intro.htm

  • Creating partner application in Oracle Portal

    $ORACLE_HOME/sso/bin/ssoreg.sh
    -oracle_home_path <oracle_home_path>
    -config_sdk_papp TRUE -site_name SSO_APEX
    -home_url http://hal-00-dbs-08.hal.net:7777/pls/apex
    -success_url http://hal-00-dbs-08.hal.net:7777/pls/apex/wwv_flow_custom_auth_sso.pro
    cess_success
    -logout_url http://hal-00-dbs-08.hal.net:7777/pls/apex
    -u cn=orcladmin
    -papp_schema <apex schema>
    -cancel_url http://hal-00-dbs-08.hal.net:7777/pls/apex
    -papp_schema <apex schema> what goes here?

    Please tell us your first name and update your forum profile with it to assist us. Thanks.
    Where did you get that script and what are you trying to do, exactly (generally, I got that your aim is "creating partner application in Oracle").
    Scott

  • Start external application with oracle job

    I'm trying to start external program with oracle job.
    Here is an example (I used SYS as SYSDBA):
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_job',
    job_type => 'executable',
    job_action => 'C:/WINDOWS/system32/cmd.exe',
    enabled => true,
    auto_drop => false );
    END;
    But job STATE comes FAILED.
    How should I do this?
    Result was not better when I used
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM (
    program_name => 'my_prg',
    program_type => 'EXECUTABLE',
    program_action => 'C:/WINDOWS/system32/cmd.exe',
    enabled=>TRUE);
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_job',
    program_name => 'my_prg',
    enabled => TRUE,
    auto_drop => false );
    END;
    Edited by: user458393 on Feb 16, 2010 1:55 AM

    Take a look at this thread: Running a Windows BAT file using DBMS_SCHEDULER
    C.

  • Invoke external application thru oracle application server 904

    Hi all,
    We are trying to invoke an external exe (WordAPI.exe) through Oracle Application Server 9.0.4 installed on Windows 2003/XP
    This exe reads the text file and fills the data in specific word document and sends the same to the printer. The data is filled in the document w.r.t. the bookmarks added in it.
    The problem is windows task manager shows both processes WordAPI.exe and winword.exe started but it does not send anything for printing.
    The same is happening when we try to invoke notepad.exe or wordpad.exe
    The feature when executed in Jdeveloper gives perfect results.
    Also we tried using same feature in another app server and there also we got required results.
    If anyone has come across any such problem and was successful in getting it thru, please suggest.
    Thanks in advance

    Hello,
    we have a similar effect, when start winword from FORMS / ORA_FFI and I can see the winword-process in windows-taskmanager ( Server 2003 ), but nothing is going on,
    the application hangs.
    Did You solve your problem ? what's wrong ?
    Does it work in another enviroment ?
    thanks

  • Unix permission problem for external table in oracle 10g, sun solaris

    Hello All,
    I'm facing a problem in accessing external table which has stumped me a bit.
    What I'm looking for is to use a external table with restricted permission to Others(770) on unix.
    Would appreciate if someone helps me out here.
    Here are the steps:
    1.create directory ext_tab_dir1 as '/home/ravi/test'
    2.grant read,write on directory ext_tab_dir1 to scott
    3.CREATE TABLE scott.emp_load1(employee_number CHAR(5))
    ORGANIZATION EXTERNAL (
    type oracle_loader
    default directory ext_tab_dir1
    access parameters (
    records delimited by newline
    fields terminated by ' '
    optionally enclosed by '"'
    missing field values are null
    location ('info.dat')
    Now I have added unix user oracle to unix group myDbGroup and provided myDbGroup read/write/exec permission on directory /home/ravi/test.
    info.dat has been placed in /home/ravi/test.
    #pwd
    /home/ravi
    #ls -l
    drwxrwx--- 2 ravi myDbGroup 512 Mar 7 17:35 test
    I have manually logged in as user oracle and successfully created a sample file in /home/ravi/test.
    -rwxrwx--- 1 ravi myDbGroup 13 Mar 7 17:33 info.dat
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 sampleFile
    I then connect to the db using sqlplus as ravi and do a
    #select * from scott.emp_load1
    I get the following error
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file emp_load1_18567.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    After this, I gave full permission to /home/ravi/test
    drwxrwxrwx 2 ravi myDbGroup 512 Mar 7 17:35 test
    #select * from scott.emp_load1
    And this was successful.
    It created a log file in /home/ravi/test
    -rwxrwx--- 1 ravi myDbGroup 13 Mar 7 17:33 info.dat
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 sampleFile
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 emp_load1_18567.log
    Now what stumped me is the owner and group owner of the file emp_load1_18567.log.
    It is same as the sampleFile which I created manually!!
    From this it can be deducted oracle is not using user id oracle while reading/writing to the unix directory but somehow assigning user id oracle as owner to the log file at the end.
    If someone has encountered this problem earlier or has some info about this...pls share.
    Regards,
    Ravinandan

    Thanks for the reply.
    I have earlier checked this with NOLOGFILE option.
    But no luck.
    I would like to add one more detail(which I missed earlier) about the problem.
    If I give 750 access to /home/ravi(That is read/exec to Group and none perm to Others),
    I will get the same error(KUP-04063: unable to open log file emp_load1_18567.log).
    This obviously means oracle is not even able to access the directory(Although unix user oracle has access via the group perms).

  • Problem accessing j2ee application in oracle 10g AS

    Hi,
    I have Oracle 10g AS installed on a Linux 4.0 system. I have deployed an ear file in the AS. The problem is while accessing the application, the login screen is showing, but after submitting it says "Page can not be displayed". The control is not passed to the Action class.
    Please help me ...
    Santosh

    Hi Santosh,
    This problem does not sound like an OC4J issue (unless this is a set up issue), it sounds more like your code is not passing the control to your Action class. Please check your struts configuration and make sure your mappings are set up correctly.
    Hope this helps.
    Deepak

Maybe you are looking for