Session in WAS Java with Portal

Hi,
I have a question about High Availability in NetWeaver:
Just consider the following architecture:
- Two Portals 7.0 on WAS 7.0 (one being the CI, the other the DI)
- One load balancer on top of it to split the load between the servers
- Oracle DB is clusterized with MSCS
- When a user is redirected to one server by the LB, it sticks to the same server for all its subsequent requests
What happens in the following case:
- User logs in and is redirected to, for instance, the DI
- User uses the Portal and also custom Java applications in the Portal
- The DI falls down for any reason => the Load Balancer will redirect the user to the CI
=> Is the session (and all its info) created on the DI then found back on the CI or is all info in the session lost?
=> If the session is lost, are there any means to avoid this behaviour?
Thanks,
Eric

Link User Management ABAP-Java Stack
have a try.
Regards

Similar Messages

  • While dealing with an external hardware i got a Java update4 request,but was not able to complete that update.After that when i switch on my Mac it shows reinstallation required.i was working with OSX 10.8.5,but after reinstallation now it is 10.7.5 .

    While dealing with an external hardware i got a Java update4 request,but was not able to complete that update.After that when i switch on my Mac it shows reinstallation required.i was working with OSX 10.8.5,but after reinstallation now it is 10.7.5 .And while doing search for update it shows your software is uptodate..

    Hi Hal,
    One possibility, is a strange occurence when applying the big 10.5.8 combo, most people have to Repair Permissions twice in a row, then reboot.

  • How to upgrade Forms 11gR2 to use JAVA 7 after it was installed with JAVA 6

    I recently installed Forms 11gR2 on a development server.  We are trying to have the latest versions of everything to migrate from Forms 10g and assure we have support for the next few years.
    Our platform has the following software configuration:
    Solaris 10 (Update 19) SPARC 64 bits
    Weblogic 11g (10.3.6) that was installed with Java JDK 1.6.0_38
    Forms 11g R2 (11.1.2.1) that was also installed with
    Java JDK 1.6.0_38
    I tried to install Weblogic and Forms using the latest Java 7 JDK (1.7.0_25) but I got an error in the final steps of Forms setup, when I was configuring the domain.  I searched online and found a couple of tips but nothing worked.  The installation was stuck at the
    Creating Weblogic Domain step.  So I decided to try the installation process with the Java 6 JDK that we are using right now for Forms 10g, and it worked perfectly.  I have now two options but I don't know which one might be the better path:
    Uninstall Weblogic and Forms 11g completely, and try to re-install them again with Java 7, trying to fix the error that I got at the end of the configuration process.
    Try to upgrade the current Forms 11g installation from Java 6 to Java 7.  I found a blog that might suggest it is possible, but I don't know if it may cause additional issues along the road. http://pitss.com/us/2013/02/20/how-to-use-java-7-with-oracle-forms-11g-in-an-oracle-supported-environment/
    Thanks in advance for any suggestions you might have, or if any of you has experience installing Forms 11gR2 with Java 7 it might be great to know how to fix this error.  It might be worth mentioning that when I installed Forms and Weblogic with Java 6 I used exactly the same values, ports, options and paths.  The error appears like this in the installation logs and the process hangs there:
    XXX: adding task: oracle.as.install.classic.ca.standard.DomainProvisioningTask
      AdminServer port is 7001
      trying to connect to admuxas09.adminsrvad.sa.gov.au 7001
      Creating Weblogic Domain.
    oracle.as.provisioning.exception.ASProvWorkflowException
            at oracle.as.provisioning.weblogic.ASDomain._createDomain(ASDomain.java:2958)
            at oracle.as.provisioning.weblogic.ASDomain.createDomain(ASDomain.java:2476)
            at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:633)
            at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
            at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
            at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
            at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
            at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
            at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
            at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
            at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
            at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
            at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
            at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
            at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
            at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
            at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
            at java.lang.Thread.run(Thread.java:662)
    oracle.as.provisioning.exception.ASProvisioningException
            at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:872)
            at oracle.as.install.classic.ca.standard.StandardWorkFlowExecutor.execute(StandardWorkFlowExecutor.java:65)
            at oracle.as.install.classic.ca.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:26)
            at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
            at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
            at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
            at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
            at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
            at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
            at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
            at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
            at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
            at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.as.provisioning.exception.ASProvWorkflowException: Error Executing workflow.
            at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:686)
            at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
            at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
            ... 13 more
    Cheers,
    Ivan Neva
    Oracle DBA

    Well if I got it to work with java 6 I'd leave it alone, to say the least. The elephant in the room is the certification matrix.
    http://www.oracle.com/technetwork/developer-tools/forms/overview/index.html
    there's 2 issues, what jdk does forms on the server want? Bigger question, what JRE is acceptable on the client?
    You would surely want the jre to be 7 on the client. Regarding the jdk on the server, you could leave it as is IMHO.
    Note that there was a patch to 11gr2. In conclusion, be sure to check the cert matrix regarding what is certified for the jdk for the server.
    I think the matrices are saying that if you have forms 11.1.2.1.0 that you can use the jdk 7. but like I said the big issue is what can the client use?
    As I read the matrix I think it is saying you have to have 11.1.2.1.0 to use the jre 7 on the client.
    So I would say if you have 11.1.2.1.0 on the server you are good because it's not a problem to have the jdk 6 on the server, if not you have to apply the patch in order to enable the jre 7 on the client.

  • How to download .sca WAS Java files automatically with MOPZ

    Dear experts,
    following my title subject, i would like to know how to download .SCA was java files automatically with the Maintenance Optimizer in my solution manager 7.0. (transaction code DSWP or SOLUTION_MANAGER)
    Currently, i only can download .SAR & .CAR files automatically.
    Any suggesttion is welcome.
    Thank you very much in advance.
    Best regards,
    Pascal.

    Hello Markus,
    thank you for replying very fast
    i meant : with transaction code DSWP or SOLUTION_MANAGER, choose the solution, "Change Management" tab, "Maintenance Optimizer" tab, "create new maintenance transaction" button.
    In the step 2 (select files) i can choose "Calculate download files automatically" by the button "find download files" or i can choose "Fill Download Basket manually" by the button "select files for SAP Solution Manager 4.0".
    After choosing the target stack version, i can only download .SAR and .CAR files.
    How can i download .SCA files automatically? Is it possible actually?
    Thank you.
    Pascal.

  • How to make Hibernate's Open Session In View Pattern work with Portal?

    I have a need to implement Hibernate's "Open Session In View" pattern in Portal's Page Flow and its JSP (View).
    Traditionaly, this can be done via a servlet filter, have the filter open the session and close the session, all the Page Flow action and JSP are inside the window between session open and close. For non-portal env, a single HttpRequest maps to only one Page Flow, this approach works.
    But for WebLogic Portal, a HttpRequest might trigger a Portal page to render multiple Portlets, each Portlet has its own Page Flow. Using this filter approach might force all Page Flow to share one open Hibernate Session, not we desired.
    So in WebLogic Portal, how can I manage the Hibernate Session life cycle so that Page Flow action and JSP can share one opened Hibernate Session?
    JZ

    Nevermind. Did a little searching and someone else explained that you have to add these items like they are toolbar buttons. Only then is there anything to drag. Someone please tell the developers at FF that they are idiots and to please fix the status bar before everyone jumps ship on them. This is ridiculous.

  • Sun Java System Portal Server 7 Problems with IE7

    Hello,
    I have just finished deploying Sun Java System Portal Server 7 on a Sparc box when I try to log in on IE6 or IE7 nothing happens.
    What could be the problem and how do I get the logs of what could be going wrong
    Thanks

    is the problem only w/ IE6 and 7? or is that just all that you've tried? :) on a *nix platform, you can find the portal logs at:
    /var/opt/SUNWportal/logs/...and
    /var/opt/SUNWportal/portals/<portal-id>/logs/<instance-id>/...there is also the web container log, the location of which varies depending on the vendor. for example, for SJS app server 8.2, the logs are at:
    /var/opt/SUNWappserver/domains/domain1/logs/hope this helps.

  • Sun Java System Portal Server 6.0 FAQs

    Sun Java System Portal Server 6.0 FAQs.
    Author: Sanjeev Agarwal
    Q. How to connect to external URLs from Sun ONE Portal Server? I want to use URL Scrapper for some of external sites/URLs.
    Ans:
    You can connect to external URLs if you have a Proxy Server running.
    If you are using Web Server addition of Sun ONE the Portal Server then
    go to /opt/SUNWam/servers/https-hostname.domainname/config/ dir
    In the jvm12.conf file, enter the followings:
    http.proxyHost=proxyservername.domainname
    http.proxyPort=80 (or the appropriate proxy server port number)
    https.proxyHost=proxyservername.domainname
    https.proxyPort=80 (or the appropriate proxy server port number)
    If you are using Sun ONE AppServer addition of Sun ONE Portal Server then
    go to /var/opt/SUNWappserver/domains/domain1/<server-instance>/config dir
    In the server.xml file, enter the followings:
    <jvm-options>-Dhttp.proxyHost=proxyservername.domainname </jvm-options>
    <jvm-options>-Dhttp.proxyPort=80 (or the appropriate proxy server port number) </jvm-options>
    <jvm-options>-Dhttps.proxyHost=proxyservername.domainname </jvm-options>
    <jvm-options>-Dhttps.proxyPort=80 (or the appropriate proxy server port number) </jvm-options>
    After this modification restart the server.
    Q. Explain all the processes (solaris 8 and S1 Portal Server 6.0) which runs when I start the Sun ONE Portal Server.
    Ans.
    These are the processes that a running Portal Server installation (Sun ONE WebServer addition, without SRAP) generally has by default.
    1. Directory server processes:
    - ns-slapd (LDAP server instance)
    - uxwdog (admin server process) (parent process)
    --- ns-httpd
    ----- ns-httpd
    2. Auth Helper processes:
    - doUnix
    3. Web-Server/Identity-Server/Portal-Server processes:
    As the Portal Server and Identity Server runs as web application on the Web Server, so they share the same JVM and processes.
    - uxwdog (web server admin server process) (parent process)
    --- ns-httpd
    ----- ns-httpd
    (for each web server instance)
    - uxwdog (parent process)
    - ns-httpd
    - ns-httpd
    or (in case of MaxProc=n )
    - uxwdog (parent process)
    --- ns-httpd
    ----- ns-httpd
    ----- ns-httpd
    ----- n
    Q. I have created a custom Provider but getting this error when I access the desktop, what do I do?
    > error in the desktop.debug file:
    > ERROR: DesktopServlet.handleException()
    > java.util.MissingResourceException: Can't find bundle for base name CustomTabContainerProvider,
    Ans:
    It needs a resource bundle for the custom provider. You need to create a file CustomTabContainerProvider.properties (as mentioned in the error message) and put it into the /etc/opt/desktop/classes directory. If you are not using any properties defined in this resource file then it can be a empty file. Have a look on the properties files that bundled containerProviders uses in dir <portal-install-dir>/SUNWps/web-apps/https-<host.domain>/portal/WEB-INF/classes.
    As you are extending JSPTabContainerProvider class, you can just copy the file JSPTabContainerProvider.properties from the above directory after renaming it to the <defined-provider-name>.properties (in your case CustomTabContainerProvider.properties) and move it into /etc/opt/desktop/classes directory.
    Q. what is actually multiple instances of Portal Server means?
    Ans:
    Multiple instance of Portal Server means, you will have more http listeners for the same desktop contents and the same identity profiles stored in a single Directory Server which all the instances share.
    In simple words you can have your Portal Server listening on different http ports, but uses same configuration, desktop and identities.
    It can help you to share the load for Portal Server http requests. The alternate methods are to create more web server virtual server processes (maxProc=n, but in this case the listening port will be 1 only) or use some hardware load balancer.
    You can achieve more from multiple instances if you have a multi level organization, you can change the look and feel of all the instances, images, services, components and can assign each instance to different organization or sub-organization.
    Q. How do I check the availability of the Sun ONE Portal Server/Identity Server services.
    Ans:
    You can check the availability of Sun ONE Identity Server services from following urls.
    http://<host.domainname>:<port>/amserver/sessionservice
    http://<host.domainname>:<port>/amserver/loggingservice
    To know the availability of components of Sun ONE Portal Server like Desktop/providers/Rewriter/Netmail you have to login into desktop. These are not services, but just the programming identities which will work if your Web Server and Identity Server is running.
    Just go to URL http://<server>:<port>/portal/dt , if it shows up that means your portal server is fine, and these entities will work for sure.
    Q. I am able to add the yahoo channels to existing users. But I am getting the weather for London not for local New Jersey. My language pref is to en|en_US and also the server is the default U.S server and not europe. How do I add the cities I want to see on weather channel?
    Ans:
    A Portal user himself (after login) can select what cities he want to see in weather channel.
    Steps:
    - click the edit button of weather channel
    - click on the area you belong to from Available Sections
    - select the cities from Available Cities select box and add them to Your Choices.
    - click finished from select city page and then again click finished from select area page.
    It will come back to the Portal Desktop and you will see all the cities you have selected in the weather channel.
    Q. How to use getContent() method to use in custom jsp providers (developed by ourselves) so that it can be used to retrieve a jsp page. I have already placed the JSP file in the directory structure /etc/opt/SUNWps/desktop/default/channel_dir. But still the jsp is not being displayed.
    Ans:
    You don't have to do anything in the custom JSPProvider's getContent method except the call { return super.getContent(request,response); } . If all you want is just to show your jsp, then create a channel from the default JSPProvider, and edit the property contentPage of that channel from samplecontent.jsp to your jsp name, save the changes and login again. You should see your JSP.
    Q. I want to remove all the buttons (help/edit etc.) from all the channels/one particular channel in my desktop?
    Ans:
    You can hide any buttons you want from any channel.
    These steps show how to hide all the buttons.
    1. Create a channel say "myNetlet" from netlet provider.
    2. Set the channel title to "myNetlet"
    3. Go to the dir /etc/opt/SUNWps/desktop/default/JSPTableContainerProvider and edit the file providerCommands.jsp, and modify the last line :
    from :
    <%=minMaximizeCommand%><%=helpCommand%><%=editCommand%><%=detachAtachCommand%><%=removeCommand%>
    to:
    <% if ( !(title.equals("myNetlet"))){ %><%=minMaximizeCommand%><%=helpCommand%><%=editCommand%><%=detachAtachCommand%><%=removeCommand%><% } %>
    4. Clean the dir mentioned below which contains compiled JSPs. /var/opt/SUNWps/https-<host>.<domain>/portal/tmp/_jsps/_etc/_opt/_SUNWps/_desktop/_default_en/_JSPTableContainerProvider/_html and reload the page.
    Relogin, and you would not see any buttons on "myNetlet" channel. You can customize this logic as per your needs.
    Q. How to change the title of SampleJSP Channel. I tried to change the channel properties title value via iplanet directory Server Access Management GUI. But it is not getting reflected.
    Ans:
    Through Admin console you can change the channel property "title", and as soon as you refresh the page (Shift reload) of relogin in the portal it get's reflected.
    The reason to this problem may be due to the channel property "title" is having "propagate" value as false and you are setting the channel title in the org level display profile not in the user level display profile.
    So better you change the channel name in user's display profile also.
    For this login into admin console and go to :
    - View: "User Management" -> click on organization -> Show: Users
    - click on the blue arrow of that user
    - click on Edit in section Desktop (this will open a window)
    - then change the channel properties same way you do for Organization display profile.
    Q. Login Problem with SunOne Portal 6.0.
    I was able to download and install sun one portal 6 on Solaris 8. The sample portal page came up after installation. However whenever I try to login to the Login channel with "amadmin" and the passphrase I used during installation, it takes me to another page - iPlanet/LDAP authentication page. Here I tried using the same login, but fails every time (the same login page appears). The url that shows is "http://<hostname>/amserver/login?module=dproadmin&goto=/amconsole/base/AMAdminFrame"
    I tried registering myself as a new user as well. This too fails.
    Ans:
    Make sure you are giving fully qualifying the hostname in the url which invoked the desktop. This in fact is documented in the administration documentation. If the hostname is not fully-qualified, the login page goes into an endless mode. Again, the correct url is "http://<fully-qualified-hostname>/portal". Once you get to the desktop, the login and the new user registration works.
    Q. How to send variables/parameters from 1 app to another app deployed on Sun ONE Portal Server? It may be the apps or different JSPs of JSP provider channel.
    How to achieve inter channel communication in Sun ONE Portal Server?
    Ans:
    You can use servlet context object or session, or may be the request object itself to store the information from one channel and use that in another channel. The use of either of these 3 approaches may depend on your requirements. Using session, the information will be available to that user's channels only, using request, the information will be available for that user and that request only and by using ServletContext you can share the information across users and sessions. You can obtain DesktopServlet's ServletContext object inside JSP/JSPProvider.
    Q. I am trying to modify the default desktop JSPs in TableContainerProvider and TabCotntainerProvider dirs, but it is not picking my modified JSPs ? what do I do?
    Ans:
    One easiest way to 100% ensure that it updates all your new jsp pages is to remove all the compiled jsps so that with next request the Sun ONE Portal Server compiles all the jsps and will make sure that your modification will be taken care of in next request.
    Go to /var/opt/SUNWps/https-<instance_name>/portal/tmp/_jsp/_etc/_opt/_SUNWps/_desktop/_default_<locale>/ and remove everything. and access the Portal server, it will be little slow as it has to compile all the JSPs again. Here you will find directories in the name of Containers and Channels, so if you are modifying any particular Container/Channel you can just delete that only. This approach can help a lot during development time.
    Q. What is the location of compiled JSPs in Sun ONE portal Server and what servlet spec does it supports?
    Ans: The Portal server 6.0 runs on Sun ONE Web Server 6.0 sp2, which supports only jdk 1.3 and servlet spec 2.2 only. The Sun ONE Portal Server keeps the compiled jsps of desktop and channels in : /var/opt/SUNWps/https-<instance_name>/portal/tmp/_jsp/_etc/_opt/_SUNWps/_desktop/_default_<locale>/ dir as per the channels/container names.
    Servlet 2.3 is supported if you run the Portal Server edition that runs on Sun ONE Application Server 7.0.
    Q. How do I change jdk for Sun ONE Portal Server to another jdk? I want to change the JDK of only one of my Portal Server instances, is it possible? how?
    Ans:
    Yes you can achieve both.
    A. To change the JDK for all the server instances:
    Open <portal-install-dir>/SUNWam/servers/https-admserv/start-jvm file and modify the first line
    NSES_JDK=/usr/java_1.3.1_04; export NSES_JDK
    to
    NSES_JDK=<your-jdk-location> ; export NSES_JDK
    then open <portal-install-dir>/SUNWam/servers/https-<instance-name>/config/jvm12.conf file of all the server instances and add a line
    jvm.option=-server after the first line
    B. To change the JDK for a particular server instances:
    Make a another copy of the start-jvm file rename it and modify the jdk location in it as mentioned above.
    Open the start script from <portal-install-dir>/SUNWam/servers/https-<instance-name> dir and modify these lines :
    if test -r {SERVER_ROOT}/https-admserv/start-*
    then
    for STARTSCRIPT in {SERVER_ROOT}/https-admserv/start-*
    modify this to
    if test -r {SERVER_ROOT}/https-admserv/<changed_name_of_start-jvm-file>
    then
    for STARTSCRIPT in {SERVER_ROOT}/https-admserv/<changed_name_of_start-jvm-file>
    Note: As Portal Server 6.0 uses Web server 6.0 sp2, jdk 1.4 is not supported.
    Q. How do I create a custom login page or a link, which will just log me into the portal server.
    Ans:
    You can create a custom page in your jsp page, just add this portion of html into your web page :
    <FORM action="http://<server>:<port>/amserver/login?module=<login-module>&page=1" method=post name=login_form2 target=_top>
    Login page using <login-module><br>
    <P>Enter UserId<BR><INPUT name=TOKEN0 size=22></P>
    <P>Enter Password<BR><INPUT name=TOKEN1 size=22 type=password></P>
    <P><INPUT name=Submit type=submit value=Submit> </P>
    </FORM>
    The <login-module> can be LDAP or Unix or Membership which ever you have enabled. Or instead of this you can create a link. For example for LDAP auth module :
    "<a href="http://<server>:<port>/amserver/login?module=LDAP&page=1&TOKEN0=user&TOKEN1=password" target=_top> Login into Portal </a>"
    where user and password are the user credential for the portal server.
    Q. Can I install a portal server pointing to another Identity server? I want to install few postal servers (on different machines) pointing to same identity server, is it possible?
    Ans:
    No, right now the Sun ONE Portal Server is tightly integrated with Sun ONE Identity Server so you can't just install only Sun ONE Portal Server and point it to another Sun ONE Identity Server. You can have a common Directory server if you want.
    Q. I have an application which takes input in from anonymous user and then to complete the request the user than has to login. I am having problem in passing the taken input from anonymous page to logged in user. all the request parameters are lost when I log in. How do i get the request parameters after I log in
    Ans:
    You can create a custom login page and submit the form to "/amserver/login" with a hidden parameter "goto" through which you basically specify which url to go after you log in. So you can use this mechanism to create a query string with all your request parameters you want to pass after login. For example:
    You can create a jsp which take few inputs from user and to complete the request you have to login so it posts the input form to a login jsp and stores the parameters taken from user in a hidden field (goto) :
    <FORM action="/amserver/login?module=LDAP&page=1" method=post name=login_form2 target=_top>
    Login page using LDAP<br>
    <P>Enter UserId<BR><INPUT name=TOKEN0 size=22></P>
    <P>Enter Password<BR><INPUT name=TOKEN1 size=22 type=password></P>
    <INPUT TYPE=HIDDEN NAME="goto" VALUE="/portal/dt?param1=<%=request.getParameter("param1")%>&param2=<%=request.getParameter("param2")%>">
    <P><INPUT name=Submit type=submit value=Submit> </P>
    </FORM>
    After you login through this page both the param1 and param 2 will be available in the request object after you login and you can retrieve them in your application or jsp.
    Q. I have few System.out.println in my jsp which i am using in my JSP provider channel, but when I look at the portal server's /var/opt/SUNWam/debug/desktop.debug file, none are there. I looked at the web server's access and error logs too, but it is not there also. Can somebody tell me how do it get those ? Do we have any other mechanism to put debug logs ?
    Ans
    By default the binary which web server runs is uxwdog which eats up System.out.println output. If you want to see the System.out.println then you need to change the product binary from the start script of the portal server instance.
    - Go to <portal-install-dir>/SUNWam/servers/https-<instance-name> and open the start script
    - Change the PRODUCT_BIN=uxwdog to PRODUCT_BIN=ns-httpd , save the file
    - Run the script ./start to start the portal server
    Note : with ns-httpd ON the server will not leave that shell, and in the same window/shell you will be able to see all your System.out.println statements. To close the server you have to kill the server process with "kill -9 pids" command
    Alternate way is to use api inside your application or jsp:
    <%@page import="com.sun.portal.providers.jsp.JSPProvider, com.sun.portal.providers.*, com.sun.portal.providers.containers.*, com.sun.portal.providers.context.*" %>
    <% JSPProvider p=(JSPProvider)pageContext.getAttribute("JSPProvider");
    ProviderContext pc = p.getProviderContext(); %>
    <%-- after that you can use these lines any where in your jsp --%>
    <%
    pc.debugError("your error msg");
    pc.debugMessage("your msg");
    pc.debugWarning("your warning msg");
    %>
    The particular mgs will be shwon in /var/opt/SUNWam/debug/desktop.debug file as per your "debugLevel" parameter setting in /etc/opt/SUNWps/desktop/desktopconfig.properties file. By default the debugLevel is set to error so only pc.debugError("error msg") will be shown.
    Q. Multipart form (file upload) processing in providers? Is it supported
    Ans:
    The Sun ONE Portal Server's DesktopServlet does not have the ability to process a request with the content encoding type of multipart/form-data. DesktopServlet does not pass the input stream for the request on to the Provider.
    To accomplish handling of multipart/form-data type requests, it is necessary to create a companion servlet or JSP that process the multipart/form-data. This servlet can then pass control back to the Portal channel. The data from the file can be shared between the servlet and the provider by using static Java members or by storing the data in a back-end database and then passing a reference to the data over to the provider.
    Q. After installing the Portal Server I am trying to login as admin, but it is failing and coming back to login page every time. How do I login?
    Ans:
    The Default Admin user is 'amadmin' and the password is the PASSPHRASE you give during Portal Server installation. Try login using these credentials.
    Also in the browser give the complete URL for the Portal Server like : Http://<myhost>.<mydomain>:<port>/amserver/login or Http://<myhost>.<mydomain>:<port>/amconsole. You can't login into portal server's IDSAME console by giving IP Address or just the hostname, also your machine should be listed in the DNS server so that it can resolve the name.
    Q. I installed Sun ONE Portal Server 6.0 some time back, and now I want to know all the installation parameters and user/passwords for whole portal installation. How do I do that?
    Ans:
    The Default Admin user is 'amadmin' and the password is the PASSPHRASE you give during Portal Server installation. Also in the browser give the complete URL for the Portal Server like : Http://<myhost>.<mydomain>:<port>/amserver/login or Http://<myhost>.<mydomain>:<port>/amconsole. You can't login into portal server's IDSAME console by giving IP Address or just the hostname, also your machine should be listed in the DNS server so that it can resolve the name.
    In case you have forgotten the port numbers and PASSPHRASE that you give during installation, you still can see all the information for each component of your Portal Server Installation. The Portal server and it's components like Directory Server, Web Server and IDSAME are installed as Solaris package so the system has all the information for these packages.
    Portal Server : See file /var/sadm/pkg/SUNWps/pkginfo
    Directory Server : See files /var/sadm/pkg/SUNWamds/pkginfo and /var/sadm/pkg/SUNWamdsc/pkginfo
    Web Server : See file /var/sadm/pkg/SUNWamws/pkginfo
    Identity Server : See file /var/sadm/pkg/SUNWamsam/pkginfo
    Note: In any case you should never edit/modify these files.
    Q. Controlling the display of the help (?) button.
    Where are the links/image elements defined for the help/edit/minimize buttons? the leafWrapper.jsp pulls the hashtable out of the HttpRequest, and that hashtable is being used by providerCommands.jsp:
    Hashtable commands = (Hashtable)request.getAttribute("provider_cmds");
    Any idea where this is being set?
    Ans:
    - You can remove the help/edit button of any channel by adding the line into the Channel's properties by editing the Xml of display profile in the admin console.
    <String name="helpURL" value="" advanced="false" merge="replace" lock="false" propagate="true"/>
    <Boolean name="isEditable" value="false" advanced="false" merge="replace" lock="false" propagate="true"/>
    The Attribute 'provider_cmds' is set into /etc/opt/SUNWps/desktop/default/JSPTableContainerProvider/tablecolumn.jsp :
    <dttable:getProviderCommand id="provider_cmds" scope="request" />, and after that only the leafwrapper.jsp is included, but the Hashtable is generated by a class com.sun.portal.providers.util.ProviderCommands.java and made available through taglib classes. So you can't change the generated contents/string in the Hashtable.
    But you can change the default 'alt' text displayed and the images linked to the help/edit icons. As this modification is at Provider level, it will change the icons for all the channels in the desktop.
    Please see the file:
    /opt/SUNWps/web-apps/https-<host>.<domain>/portal/WEB-INF/classes/JSPTABLEContainerProvider.properties.
    Here you will find the mapping. The image location are given from the context root of portal server which is by default : /opt/SUNWps/web-apps/https-<host>.<domain>/portal.
    Q. I have a number of web applications needed to integrate to portal server. Any pointers or tips of what my option is?
    Ans:
    You can very well integrate all your web application with Portal server. Portal Server 6.0 has web container same as Sun ONE web server 6.0 Sp2, which runs on Jdk-1.3.
    If your web applications are just Servlets/Jsps then you can very well port them on Portal server's webserver which supports war module deployment. (infect for Web server the Portal server and Identity server is like a war module.)
    There can be two possibilities in this case, either you put the whole of your application on portal server and make the link available into the desktop via 'Application Provider Channels' or you can create a client to your web application into portal server.
    If your web application is on Sun ONE Application server 7.0 and needs authentication, you can also have SSO. If you just want to show the link of your web application into desktop then you can either use URL Scrapper to show the first page of your web application or use Bookmark channel to provide just the url.
    The easiest way to make a client of your web application is to use JSP Channel using JSPProvider and put your logic into the samplecontents.jsp file or you can create your own custom Provider extending JSPProvider. There can be a lot of different configurations, depending on the web application you want to integrate and your needs
    Q. I removed few channels from the org level display profile but still they are coming to the desktop of users, I had accessed the desktop before. why?
    Ans:
    If you still see any channel after you remove it from the display profile at organization lever, that means you have to edit the user's display profile. So go to admin console and select User from Show: menu and click on the blue arrow near the user. In the right frame under the 'Desktop' category click on the Edit link (right side). This will open user's display profile in a window. Now edit it as per your requirements.

    Unfortunately Web Server 6.0SP2 is no longer available for download.
    If you must use Web Server 6.0, you should use the most current Service Pack. It is backward compatible and contains many performance and security fixes.

  • How to configure SSO for WAS Java stack

    Hi all,
    I want to configure our WAS server with java stack as a SAP ticket issuing system. This system does not have Portal installed on it.
    I want to know weather it is possible or not. if possible how it can be done.
    actually ABAP stack their are transaction like SSO2,SSO to do the task. but what about WAS with Java stack?
    Thank all.

    HI Kumar
    Follow this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/53/695b3ebd564644e10000000a114084/frameset.htm
    Hope this helped you
    Reagrds,
    RK

  • What's the right way to start up with Portal's dev?

    Hi to all Portals experts,
    I am really struggling to start up learning Portals and more specific their development.Here is the problem - I am a bit new in the NetWeaver  but not new in J2EE environment. I went trough all WebDynpro tutorials and really the documentation was written nice.Good hands-on approach with lots of examples and that is what I found with WebDynpro - everything well explained step by step.
    But when I started the Portal’s Tutorials I was  a bit disappointed.
    1.First of all, there is no explanation which tools one needs to start up with Portal Dev?
    I only have  SAP Netweaver Development Studio SP15 installed on my PC and I don’t have any access to R/3, CRM or other system. Is this enough to at least start to learn Portal Development or not?
    2. I realize well that at some point I will need real system to play with but , until than what useful practice I can do on my own and how?
    - Even within the WebDynpro tutorial , the very first Part :’ Define a system’ - (http://help.sap.com/saphelp_nw04/helpdata/en/cb/f4bc3d42f46c33e10000000a11405a/frameset.htm) -‘In the portal, navigate to System Administration - System Configuration - System Landscape’
    Which Portal ? I don’t have System Administration on my NWDS SP15?Is is something I should install?unclear?
    3. My understanding is that NWDS SP15 contains EP , within its J2EE local engine , but is this EP.6.0, is this enough to develop complete Portal Application A-Z or not - unclear ?
    4.  PDK. Somewhere I read that Portal Application can be developed with either WebDynpro or with PDK. I’ve read about PDK but It is not clear if  it is Dev Kit as its name says , should it be downloaded , installed or imported into NWDS, again? And bottom line do I need PDK as a  Portal Developer, and at which point?
    I only need the starting point for Portal Develop. or some guide that should set milestones 1st ,2nd .. I would prefer the hands-on approach. If some of you  has already taken this path and can help me with your directions, links, at least how to get started, I will highly appreciate it! Thanks in advance!Regards, Bob

    Hi Bob,
    The below reply is as per my experience with Development so far:
    1> It is not necessary to have access to R/3 or any other SAP/non SAP application unless you are writing an application in connection to them.
    Example: An application which is reading data from R/3 and displaying the same in a table. Yes, in this scenario you would require access to R/3.
    2> System Administration is a role just like Home, User Administration, etc in Portal itself.
    It contains all the configuration related to System Landscape, Knowledge Menegement, etc
    If in case you have not been given this role, you may ask your System Administrator to create the required system (PCD Object). You may then use this system from your Profile (Personalize Portal) link directly.
    3> NWDS resides over Portal so you may create your own standalone application or application thats talking to the underlying Portal.
    WebDynpro is used to create UI & likewise you may build Web applications or EJB applications.
    4> PDK stands for Portal Development Kit. YUou may ask your administrator to download and assign the same to you. This would appear as a "Java Developer" named role in your portal. It contains all APIs required for Java development.
    If you do nto have this, you may still use the Javadocs provided on SDN itself.
    Depending what custom developmetn you do, depending upon the type the .par (portal archieve), .ear (Enterprise archieve), .war (web archieve) needs to be deployed in portal, so that users may access/view the custom created data.
    Hope this helps
    All the best!
    Warm Regards,
    Ritu

  • Adobe form MSS PCR senarios  not working with Portal SSL

    Hi All,
    we have implemented MSS PCR  senarios Nw04 with ERP2004 system.
    every thing is working fine when use http protocal for portal acess.
    Now we try to implement ssl for portal. so started implemnation and done in portal side, after that when try access any senario forms , The adobe form is not opening for editing, its throwing  error
    <b>The initial exception that caused the request to fail, was:
       java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:461)
        ... 47 more</b>
    its very urgent anybody can help out this, what settings ot be done on R/3 server and Portal and ADS server
    Thanks in advance
    Gopal

    Hello Gopal,
    You would only need an https connecion between the browser and the portal server if you are only concerned with the MSS applications. You need to have SSL configured from the portal to ADS server had you implemented some custom scenarios like certification, digital signature etc. But, considering your MSS issue, you do not need to worry about it untill and otherwise your landscape demands you to do so for any security reason.
    Well, you might have already gone through the following link, incase not, please go through the link to find out more on how to confugre SSL on the j2ee engine:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm<a href="http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm</a>

  • Authentication Error with portal Tools

    I'm using WLS 6.1 SP1 and Portal 4.0 SP1 on solaris.
    I've modified everything in my configuration files to work with Oracle 8.17 instead of Cloudscape. The database has been correctly created (I've followed all the items as described in the doc) with all the examples.
    The problem is that I cannot reach the 'stockportal' example. I'm getting the following exception :
    <Feb 4, 2002 4:32:29 PM WET> <Error> <HTTP> <[WebAppServletContext(2833966,stockportal,/stockportal)] Servlet failed with ServletException
    javax.servlet.ServletException: Received a null Portal object from the PortalManager.
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.setupPortalRequest(PortalWebflowServlet.java:194)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWebflowServlet.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:215)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
    at jsp_servlet.__index._jspService(__index.java:92)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2459)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    I thought no portal example was provided with Oracle database so I tried to create my own portal with 'portalTools' but when I enter the URL : http://<myServer>:<myPort>/portalTools
    I'm getting 403 error. The server does not send me any authentication form. The same occurs with any other Tools : p13nAppTools, portalTools or wlcsAppTools .
    Any Idea ?
    [att1.html]

    Laurent,
    I think you need to run a DataSync. You can either sync a "appname-project" directory (for server installs) or sync from the EBCC. If you run bin/win32/loadSampleData it will sync all the application for you.
    Sincerely,
    Daniel Selman
    "Laurent PAILLARD" <[email protected]> wrote in message news:[email protected]...
    I'm using WLS 6.1 SP1 and Portal 4.0 SP1 on solaris.
    I've modified everything in my configuration files to work with Oracle 8.17 instead of Cloudscape. The database has been correctly created (I've followed all the items as described in the doc) with all the examples.
    The problem is that I cannot reach the 'stockportal' example. I'm getting the following exception :
    <Feb 4, 2002 4:32:29 PM WET> <Error> <HTTP> <[WebAppServletContext(2833966,stockportal,/stockportal)] Servlet failed with ServletException
    javax.servlet.ServletException: Received a null Portal object from the PortalManager.
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.setupPortalRequest(PortalWebflowServlet.java:194)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWebflowServlet.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:215)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
    at jsp_servlet.__index._jspService(__index.java:92)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2459)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    I thought no portal example was provided with Oracle database so I tried to create my own portal with 'portalTools' but when I enter the URL : http://<myServer>:<myPort>/portalTools
    I'm getting 403 error. The server does not send me any authentication form. The same occurs with any other Tools : p13nAppTools, portalTools or wlcsAppTools .
    Any Idea ?
    [att1.html]

  • How to deploy a web service into a WAS JAVA

    hello,
    we have  Netweaver 2004s AS Java with SP 11.  I need to know how we can deploy or start up a web services into WAS. It is possible? how? Any document to help me?
    please thanks!
    Gaby

    Hi Gabriel,
    Hi Rohini,
    How to create Web Service:
    1. Create EJB Project(Stateless session bean is recommended).
    2. Create interface according to your requirements
    3. Signature(Parameters, data type) should be same in Remote,Bean and Local interface
    4. Create EAR Project and corresponding add the EJB Project
    5. Expose EJB as Web service. Right click on EJB Project->other->web services->web service(new VI and VSD).
    6. Deploy to Application Server.
    7. Goto http://localhost:50100/index.html. click on Web service navigator you can find web service
    8. Test the web service.
    Let me know if want more details
    Regards, Suresh KB

  • WAS JAVA 640 engine is giving performance problems.

    Hi,
    We are facing the performance issues in WAS java 640 SP19 engine. Pages are taking much time to load.
    Kindly suggest if there anything do with jco connection parameter changes and recommended values. Is there any parametes to check at the backend system level.
    WAS version: 640, SP19
    OS : SUN 5.9
    Oralce: 9.2.0.8
    Thanks,
    Hareesh

    Hello Hareesh
    You should find the root cause of  your performance problem first.
    Start with checking the server (cpu, memory, paging) and by checking if your portal runs on the recommended parameters (check oss notes).
    A killer for portal performance is when you have a lot of paging going on, make sure the portal has enough extended memory available to avoid any paging.
    If those don't give a result, you can still analyze garbage collection logs with third party tools.
    Check if heapdumps are being generated and analyze them.
    Once those checks are done, I would recommend installation of Sol Man Diagnostics + Wily Introscope so you get a better view on what is going on and troubleshoot further from there.
    Kind regards
    Tom

  • Failed to activate session in OSB: java.io.IOException: Permission denied

    I was able to successfully import my sbconfig jar. But while activating the session, the error below appeared.
    Error message:
    <Error> <ConfigFwk> <BEA-390101> <Activation of session weblogic failed: java.io.IOException: Permission denied (errno:13)
    java.io.IOException: Permission denied (errno:13)
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:903)
    at com.bea.wli.sb.resources.archive.ArchiveResourceRuntimeManager$ArchiveResourceLifecycleListener.createJarClassLoader(ArchiveResourceRuntimeManager.java:103)
    at com.bea.wli.sb.resources.archive.ArchiveResourceRuntimeManager$ArchiveResourceLifecycleListener.onCreate(ArchiveResourceRuntimeManager.java:171)
    at com.bea.wli.config.impl.ResourceListenerNotifier.sendChangeNotification(ResourceListenerNotifier.java:456)
    Truncated. see log file for complete stacktrace
    We assume that the error was with the creation of the new file. We need to check if its filesystem has proper permissions. Please advise on the fix for the permission error and also any inputs on where this file is created.

    This can also occur if your $DOMAIN_HOME/osb/config/core/_binary/_jars path and the files it contains are owned by root, which can happen if you have accidentally started the server as root once.
    The easiest way however to find the root cause (on Linux) is:
    cd $DOMAIN_HOME
    find . -user root > /tmp/ownedByRoot
    And then check the file /tmp/ownedByRoot for any hits. Finally change the file permissions using the chown command, so they get owned by the user running WebLogic.
    My experience is that you don't need to restart the OSB server after this change. Activating the OSB import worked immediately after I chown'ed that dir.
    Edited by: 925121 on Apr 3, 2012 1:26 AM

  • In the previous version i was able to close my mozilla and to open it again, the web pages which i was working with remained however i've tried many ways to have this advantage again but it is not working what can i do ???

    in the previous Mozilla version i used to leave some web sites opened and when i start working again my Mozilla showed the web pages i was working with in that occasion, i have looked in the options menu but there is no way, perhaps it was an add-on and now it is removed??? i would like to have this advantage again in my Mozilla could it be possible?? thx!

    Your webpages/tabs are still there. When you start firefox again, there is a "Restore Previous Session" icon below. If you click that, it will open up all your tabs again.
    Or you could see this article for better understanding-
    http://support.mozilla.com/en-US/kb/Firefox%20does%20not%20ask%20to%20save%20tabs%20and%20windows%20on%20exit?s=how+to+save+tabs&as=s#os=win&browser=fx4

Maybe you are looking for

  • GIF files not being cached for toolbar (WEB Forms)

    I realized that the GIF files we are using in our toolbars are not being cached by the browser. I analyzed the file XLF.LOG and the files always have access code "200" (not cached). The file REGISTRY.DAT has the same problem. Only the JAR file has ac

  • Some Website not open in IE 8, 9,10, 11

    Hi This is sachin Thanks In Advance  We have small network i am getting issue on Internet Explore 8, 9,10, 11 some HTTPS website not working  in IE , i am trying to open this website on Mozilla and google chrome it work fine. only issue on Internet e

  • Multiple Row Select in ALV

    Hi All. I am trying to set multiple selection on in ALV using the method SET_SELECTION_MODE of IF_WD_SELECT_OPTIONS.  (if_salv_wd_table_settings) But it is always resulting in a dump saying that : Selection type Multi is not allowed in combination wi

  • Allen and Heath to Macbook pro using ZED10fx

    My daughter is trying to record her acoustic guitar through an Allen and Heath ZED10FX to Garage band using the USB out to a new Macbook pro. There is no signal being picked up by the program. It seems the macbook picks up the USB stereo input signal

  • SAP MII

    Hello all Does "SAP Manufacturing Integration and Intelligence (SAP MII) " come along with SAP ECC6 as a free addon which can be downloded & installed? Or Do we have to pay extra to install MII? regards HR