How to disable extra visit to portal server

hi Experts,
I am using wcp11.1.1.8, in a customized page template with portal builder, I used an EL expression to generate link like this:
"http://localhost/webcenter/portal/Portal1/page1?_adf.ctrl-state=1dvjebskda_596"
I clicked this link, using httpwatch to monitor network traffic, found IE visited portal server twice: first visit is a "Get" method for ""http://localhost/webcenter/portal/Portal1/page1?_adf.ctrl-state=1dvjebskda_596"", result code is 200, the second visit is a "Post" method for "http://localhost/webcenter/faces/oracle/webcenter/page/scopedMD/s64679523_e5d0_454a_952a_55128e607e07/Page7.jspx?wc.contextURL=/spaces/Portal1&_adf.ctrl-state=1dvjebskda_596", result code is 200.
If I paste this url "http://localhost/webcenter/portal/Portal1/page1?_adf.ctrl-state=1dvjebskda_596" to ie addressing  field, and press return, httpwatch showed me there is no "second visit" for "/faces/oracle/webcenter/page/scopedMD/s64679523_e5d0_454a_952a_55128e607e07/Page7".
Seems the "second visit" is auto generated by portal framework, how to disable it?
Best regards

Hi.
Sorry about the delay, I was too busy and I only could do a small testing.
I was checking quickly how WebCenter Portal (formerly Spaces) works with links compared to Framework Portal.
The responsible of the "possible twice visit" is the following ViewHandler: oracle.webcenter.webcenterapp.internal.view.navigation.NavigationViewHandler in spaces-model.web.jar (method getPageTargetViewId, getActionURL and also isRedirectRequired).
First of all, try to check that you're Pages have the "Redirect" checkbox unchecked (or you're navigation-model links). In case of being checked it will be 2 Requests.
There are following behaviors:
Using <af:commandLink> just will navigate using PPR and doing a POST.
Using <af:goLink> using goLinkPrettyUrl there are many behavior:
Already wc.contextURL is present in the URL and then it will call just one GET.
If not is present, getActionURL it will add it in order to maintain the correctly the relationship Page - Space. It will generate you're behavior.
I'm trying to understand why sometimes just call one GET and why sometimes generate a GET,POST,GET behavior.
Anyway if it's urgent open a SR to Oracle.
I think that If you try to add to your goLinkPrettyUrl the wc.contextURL parameter it just should do a visit once time (one GET). Try it if you have free time .
I hope this information helps.
Regards.

Similar Messages

  • How to disable or rename Oracle Report Server servlet command?

    Hi,
    I'm using Oracle9i App Server R2.
    I would like to learn how to disable or rename Oracle Report Server's servlet command?
    This is to avoid user from accessing http://myserver/reports/rwservlet/showmap to view the key map file content.
    Please advise.

    or example, my report server was rep_appserver, then i want to rename it to rep_test.
    Here some step to accomplish it,
    1. stop mid-tier
    $ORACLE_HOME\opmn\bin\opmnctl stopall
    2. stop em website
    $ORACLE_HOME\bin\emctl stop iasconsole
    3. rename $ORACLE_HOME\reports\conf\rep_<old_report_server_name>.conf to something else or delete it
    4. rename $ORACLE_HOME\reports\server\rep_<old_report_server_name>.dat to something else or delete it
    5. edit $ORACLE_HOME\reports\conf\rwservlet.properties file then change the SERVER parameter to new report server name(remember this new name has to be a unique name)
    6. create a backup copy of the $ORACLE_HOME\sysman\emd\targets.xml file
    7. open $ORACLE_HOME\sysman\emd\targets.xml, find old report server name and then replace it to new report server name
    8. save new targets.xml file
    9. open $ORACLE_HOME\opmn\conf\opmn.xml, old report server name and then replace it to new report server name
    10. start em website
    $ORACLE_HOME\bin\emctl start iasconsole
    11. start mid-tier
    $ORACLE_HOME\opmn\bin\opmnctl startall
    HTH
    Amkotz

  • How to disable autostart (application) when managed server restart ?

    Hi Ppl,
    How to disable autostart (application) when managed server restart ?
    I want some of the applications to remain not started. In WebSPhere, we have an option disable auto start for applications.
    I don't find in weblogic.
    Thanks

    Hi,
    I agree with Faisal. When you shutdown your WL server while the application is running, the thing is when you start your server again, it would automatically start the application with it. Now if the application was down when you shutdown the server, it _the application_ won't start with the server.
    So it depends on the application last state, when you start your server.
    Regards,
    Mohab

  • How to Create a system in portal server

    I am trying to do the tutorial: How to Create a JDBC-based iView for Add/Update/Delete Record.
    Its pre-requisite is: A system – with an alias “JDBC” – defined on your portal server, and mapped to a database.
    Since I am new to VC, I do not know how to create a system, and I also do not know how to access the portal server.
    Please help...

    Hi Makarand,
    Do you have any one who has the access to portal with administrator rights. I am hereby sending you the steps on how to create a system.
    To define a system:
    1. Create a new system; define all its properties
    2. Create a default system alias.
    3. Create a user mapping (from the user you use in VC) to the system alias, using the user\password to the backend system.
    4. TEST the connection in the portal. If the test succeeds, it should be visible in VC discovery panel.
    VC retrieves the systems via the portal.
    You have to define the systems or use the defined systems in the portal you are connected.
    To define systems in the portal:
    System Administration => system configuration => system landscape:
    in the PCD: right click on a folder and Add new system.
    Then you have to define all the mandatory properties: Connector / Was / User management ...
    don’t forget to map your portal user with an R3/JDBC user...
    thank you very much.

  • How to disable drop down of Report Server

    Hi,
    i had install Report server 2012 and want to move form 2008 to 2012 .
    1) how to disable drop down that show on folder and report level for end user (as shown in following screen shot).
    2) report name coming on report server are not full name how to show full name of report like we have in 2008. Following is screen shot

    Hi Mujahid,
    1.) For migrating from Sql server 2008 to 2012, please follow this links
    Migrating the whole Instance from 2008 to 2012 - > http://msdn.microsoft.com/en-us/library/ms143747.aspx
    Migrating the rdl defination to 2008 to 2012 - > http://msdn.microsoft.com/en-us/library/a1a10c67-7462-4562-9b07-a8822188a161
    2.) We can't disable the drop down box for the reporting services per user basic(end user), If you really want to do it, you
    need to edit the ReportingServices.js file (This will effect all the user including admins) located at C:\Program Files\Microsoft SQL Server\<<SSRS Instance>>\Reporting Services\ReportManager\js\ReportingServices.js
    If you want the end user not to perform certain action, you set appropriated permission for the report.
    Managing Permissions and Security for Reporting Services
    http://technet.microsoft.com/en-us/library/ms156014.aspx
    3.)  When report name is too long it truncated and dot dot are shown in the end. User always have a option to move from Title View to Details View
         You need click on the right side of the report manager preview and click on the detail view to change between detail view and title view
    Regards Harsh

  • How to set common profile in portal server 6.2

    Hi,
    I have two servers installed with portal server 6.2 and Directory server 5.2 in both.
    I hav to configure common ldap authentication for server1 and server2 i.e..primary LDAP is server1 and secondary ldap is server2 for both the servers,
    when i try to login to server2, the password is authenticated from server1 successfully, but the profile is taking from local server i.e..server2 profile.
    Please give some tips to configure external LDAP server for authentication as well as profile.
    thanks & regards,
    iqbal.

    do you have a load balancer in front ?
    then it would make sence to load balance both portal instance, use both DS in MMR mode.
    /u

  • How to find document for WebSphere Portal Server and OIM Integration?

    Last time, I used WebSphere Portal Server and OAM that works well. Herein the document for integration http://download-west.oracle.com/docs/cd/B28196_01/idmanage.1014/b25347/websphr.htm.
    Now, I would like to use OIM to integrate with WebSphere Portal Server. Is there any document like above? If yes, please let me know where I can find it or give me a link.
    Hope to get your response soon.
    Thanks in advance.
    Message was edited by:
    user596181

    Is it possible to do that? I need to configure WebSphere Application Server and WebSphere Portal with enabling global security by using "Custom User Register" and LTPA to integrate with Oracle Identity Management (OIM).
    Any comment is highly appreciate!

  • How to Disable Library Services on Portal Administration Console?

    How do we set the Library Services Enabled to false on Portal Administration Console?
    Thanks

    Thanks for the response.
    Is it not possible to disable it in the config file (content-config.xml)?
    not sure if this is related to that: [ http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/deploydescriptorCM.html#wp1074440|http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/deploydescriptorCM.html#wp1074440]

  • How to disable windows protection on multipoint server?

    Hi!
    I'm trying to install some software on windows multipoint server 2011 (single workstation with six stations). The application woudn't start at all. The system gives a standard windows mesage error with two optinos: stop app or try to find a solution online.
    On windows 7 with antivirus software, when trying to copy files from DVD to hard drive, file like install.exe is been deleted with mesage that it is "susspicious". But when I disable it, software is instaled perfectly.
    So, I'm not sure if the software has some certificate problem...or whatever.. It is not a virus.
    I just want to install it.
    How I'm going to disable windows server protection? Or, what should I do?

    There should be link with Install anyway option located in right bottom corner. Can you post a screenshot? Did you try to install it with admin privilages?

  • How to Disable DMS in Oracle App Server

    We are doing some tests for which we need to disable DMS. How can we do that in Oracle App Server. One of the FAQs on oracle's site says that we need to set "Doracle.dms.console.DMSConsole" property value to "racle.dms.instrument_stub.DMSConsole". But when I do that I get a ClassNotFoundException. Any clues?Pointers?

    Have you read section "Setting the OC4J DMS Sensors Option", chapter 6 "Setting the OC4J DMS Sensors Option", book "Oracle® Application Server Performance Guide, 10g Release 2 (10.1.2), Part No. B14001-01"? or similar section of the release you are using?
    Please note most, if not all, oracle documentation books are available starting from the first google hit of "oracle documentation".

  • How to disable TRACE on Web Application Server v 7.0?

    Hello Professional Sun Users,
    According to:
    http://blogs.sun.com/meena/entry/disabling_trace_in_sun_java
    I can disable HTTP TRACE by either through:
    1. Adding the following code into obj.conf
    <Client method="TRACE">
    AuthTrans fn="set-variable"
    remove-headers="transfer-encoding"
    set-headers="content-length: -1"
    error="501"
    </Client>
    which I get 413 Request Entity Too Large
    here is my obj.conf file:
    # Sun Microsystems, Inc. - obj.conf
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    <Client method="TRACE">
    AuthTrans fn="set-variable" remove-headers="transfer-encoding" set-headers="content-length: -1" error="501"
    </Client>
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="D:/Sun/AppServer7U10/lib/icons" name="es-internal"
    NameTrans fn="document-root" root="$docroot"
    PathCheck fn="nt-uri-clean"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html"
    PathCheck fn="check-acl" acl="default"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Error fn="error-j2ee"
    AddLog fn="flex-log" name="access"
    </Object>
    <Object name="j2ee">
    ObjectType fn="force-type" type="text/html"
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    or
    2. adding the following code into generated.server1.acl and genwork.server1.acl
    deny absolute (http_trace, http_put, http_delete, http_move, http_mkdir, http_rmdir) user="anyone";
    which I get 200 OK
    My generated.server1.acl file:
    version 3.0;
    acl "default";
    authenticate (user, group) {
    prompt = "Sun ONE Application Server";
    deny absolute (http_trace, http_put, http_delete, http_move, http_mkdir, http_rmdir) user="anyone";
    acl "es-internal";
    deny absolute (http_trace, http_put, http_delete, http_move, http_mkdir, http_rmdir) user="anyone";
    and genwork.server1.acl file:
    version 3.0;
    acl "default";
    authenticate (user, group) {
    prompt = "Sun ONE Application Server";
    deny absolute (http_trace, http_put, http_delete, http_move, http_mkdir, http_rmdir) user="anyone";
    acl "es-internal";
    deny absolute (http_trace, http_put, http_delete, http_move, http_mkdir, http_rmdir) user="anyone";
    Both methods of disabling HTTP TRACE seems not working......... Could anyone point where had went wrong?
    Thank you
    Edited by: draggy on Jan 5, 2009 8:28 AM

    Hello Joe,
    Thank you for replying.
    However I did recheck everything
    here my /server1/config/obj.conf:
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    <Client method="TRACE">
    AuthTrans fn="set-variable" remove-headers="transfer-encoding" set-headers="content-length: -1" error="501"
    </Client>
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn=pfx2dir from=/mc-icons dir="D:/Sun/AppServer7/lib/icons" name="es-internal"
    NameTrans fn=document-root root="$docroot"
    PathCheck fn=nt-uri-clean
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    PathCheck fn=find-index index-names="index.html,home.html"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
    Error fn="error-j2ee"
    AddLog fn=flex-log name="access"
    </Object>
    <Object name="j2ee">
    ObjectType fn=force-type type=text/html
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="cgi">
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>and my /server1/config/server1-obj.conf:
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    <Client method="TRACE">
    AuthTrans fn="set-variable" remove-headers="transfer-encoding" set-headers="content-length: -1" error="501"
    </Client>
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn=pfx2dir from=/mc-icons dir="D:/Sun/AppServer7/lib/icons" name="es-internal"
    NameTrans fn=document-root root="$docroot"
    PathCheck fn=nt-uri-clean
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    PathCheck fn=find-index index-names="index.html,home.html"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
    Error fn="error-j2ee"
    AddLog fn=flex-log name="access"
    </Object>
    <Object name="j2ee">
    ObjectType fn=force-type type=text/html
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="cgi">
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>I still getting the same 413...
    $ telnet localhost 81
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    TRACE / HTTP/1.1
    HOST: foo
    HTTP/1.1 413 Request Entity Too Large
    Server: Sun-ONE-Application-Server/7.0.0_01
    Date: Tue, 06 Jan 2009 06:32:29 GMT
    Content-length: 168
    Content-type: text/html
    Connection: close
    <HTML><HEAD><TITLE>Request Entity Too Large</TITLE></HEAD>
    <BODY><H1>Request Entity Too Large</H1>
    A request entity is longer than the server can handle.
    </BODY></HTML>Connection closed by foreign host.Thank you

  • How to disable nonsecure port in Directory Server 5.2

    We have recently upgraded from Directory Server 5.1 to 5.2. With version 5.1, you could set the non-secure LDAP port to be 0, and that would disable connections to the non-secure port. Version 5.2 doesn't allow you to do this. I tried from the console, and even changed it manually in the dse.ldif file, and neither method worked. Is there any way to disable the non-secure port for Directory Server 5.2?
    Thanks!

    I have found the simplest way is to lock the nonsecure port down to the localhost using
    listenhost: 127.0.0.1
    This means that it won't answer outside queries on that unsecured port, but it still has the advantage of allowing you to use it locally (which can save on the typing a bit).
    Note you can of course set this to any ip or range for example 24.24.*
    This also works for the secure port using securelistenhost: (I think that's the spelling but didn't check.)
    Ward

  • How to disable Jar cache on Application Server

    Hello,
    I am now developing a Webdynpro Project in the following enviroment:
    Windows 2003 Server 64Bit SP2
    JDK 5.0 Update 12
    Windows x64 Platform
    info at sun Installation Notes , Supported System Configurations
    C:\Program Files\Java\jdk1.5.0_12
    NetWeaver Composition Environment 7.1 (Application Server Java)
    Since I need always change my code wiin a jar file and upload it as a library.
    The default behavior of Application Server is to support java cache locally in JVM. That brings me many problems  (Like can't find new implemented class by dynamical class loader,  ref. http://www.szegedi.org/articles/remotejars.html )
    It there any way to disable JAVA cache on the Application Server?
    Besides, someone told spawning a new JVM for loading the jar may also work. Does our AS support spawning JVM explicitly?
    Message was edited by:
            Zenghuan Shan

    I also want to know if it is possible to disable the cache on server. In my situation, we are deploying the par file (portlet archive) to development server. Could anybody please help?

  • How to disable or set manually Wiki server 3 documents previews?

    Hallo,
    when a doc is uploaded to wiki server 3 the server rebuilds the file preview every time the page reloads. For big files is a mess... is it possibile to disable file preview or, even better, find a way to upload custom previews? Or, at least, to disable the refresh of the preview every time the page loads?
    thanks

    Reloading of previews is a bug that has been fixed for an upcoming update.  Stay tuned.
        A.

  • How to disable IMAP for OS X Server Mail?

    I only want my users to use POP or webmail to access their mail accounts. I do not want them using IMAP. when I tun off IMAP I loose webmail. Is there a way to turn off IMAP on the server and keep webmail working, or should I just block the IMAP port on my router.

    Webmail uses IMAP, that is why it keeps going away when you shut off IMAP. If you block the IMAP ports on the firewall to the server presumably your staff's email clients would not be able to log in using IMAP. Others will probably have better ideas.
    Hope this helps.
    -Erich

Maybe you are looking for