Oracle / Redhat Linux / Portal Server |  Sample Portal Error

Team:
I know I saw the listings for the patch_CR067935.zip which address what
seems to be a similar problem with the JDBC Helper Service, but I am not
sure this is the same issue.
I just installed Portal Service Pack1 and did all the procedures for the
move to Oracle Database. I even See the Oracle Pools COnnecting and in
the Admin Console.
===================
WHEN I TRY TO ACCESS THE SAMPLE PORTAL I GET THE FOLLOWING ERROR:
Is this the patch_CR067935.zip issue or do I have another Issue?
Thank you in advance................
####<Feb 22, 2002 4:16:52 PM EST> <Error> <HTTP> <localhost.localdomain>
<portalServer> <ExecuteThread: '11' for queue: 'default'> <> <> <101018>
<[WebAppServletContext(1573598,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)

Hi Mr. BigMAN,
I'm not sure if the CLOB issue solved by patch_CR067935.zip has this symptom. In any case, you should install
the patch because you will need it if you are going to use Portal 4.0 sp1 with Oracle. Everyone out there who is
using Oracle with Portal 4.0 sp1 should install this patch (search for "67935" at this location:
http://e-docs.bea.com/wlp/docs40/relnotes/relnotes.htm#246667
Back to your current problem: Did you run the loadSampleData script? Try running it after you install the
patch. ( http://edocs.bea.com/wlp/docs40/deploygd/oraclnew.htm#1040434 ). Also, make sure you set up the JDBC
Helper Service for all of the J2EE applications that use JDBC services. (
http://edocs.bea.com/wlp/docs40/deploygd/oraclnew.htm#1064575 ). You need to configure the p13nApp, portal, and
wlcsApp.
Let me know if you continue to have problems with this and I'll see what I can do to help.
"Mr. BigMAN" wrote:
Team:
I know I saw the listings for the patch_CR067935.zip which address what
seems to be a similar problem with the JDBC Helper Service, but I am not
sure this is the same issue.
I just installed Portal Service Pack1 and did all the procedures for the
move to Oracle Database. I even See the Oracle Pools COnnecting and in
the Admin Console.
===================
WHEN I TRY TO ACCESS THE SAMPLE PORTAL I GET THE FOLLOWING ERROR:
Is this the patch_CR067935.zip issue or do I have another Issue?
Thank you in advance................
####<Feb 22, 2002 4:16:52 PM EST> <Error> <HTTP> <localhost.localdomain>
<portalServer> <ExecuteThread: '11' for queue: 'default'> <> <> <101018>
<[WebAppServletContext(1573598,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)--
Ture Hoefner
BEA Systems, Inc.
2590 Pearl St.
Suite 110
Boulder, CO 80302
www.bea.com

Similar Messages

  • Oracle 9.2.0.1  on Redhat Linux ADVANCED SERVER -PATCHES

    HI
    Can some one help me out,
    is Oracle 9.2.0.1 on Redhat Linux ADVANCED SERVER , is having some patch
    set to work on Developer2000,
    if so,please let me know where in we get the same
    tks
    narayana rao

    hi,
    I am trying to install oracle 9i rel2 on red hat adv server 2.1
    Installation and Linking looks fine and during configuration ,
    the database configuration assistant fails with 'End of Communication channel'.
    This makes the software not usable as we get the same error while trying to connect to the database too..
    any ideas?Check the "Oracle Installation Errors" section at
    http://www.puschitz.com/OracleOnLinux.shtml
    In this section I explain what I did about the
    "end-of-file on communication channel" error
    on RH AS.
    Any feedback on this problem and solution is appreciated.
    Werner

  • Weblogic Portal Server interrupted abruptly error

    hi,
    i have an issue with weblogic portal server 9.2,
    At times my workshops get hang and i have to kill the weblogic portal server instance,
    the next time i start the workshop and try to start the weblogic portal server it gives error either that there is exclusive lock on the ear project or it says like the server was interrupted abruptly, and the server does not start,
    How do i solve such kind of issue, my server is not starting and i need to resolve such kind of error urgently,
    thanks in advance

    Hi,
    If the error is about the exclusive lock on the ear project it means you have made a lock on the resources in weblogic server admin console.You need to realase the lock from the console.
    Also if some unexpected error comes?
    Just apply the weblogic 9.2 patch before starting the workshop.You can find the patch at C:\bea92\workshop92\workshop4WP location.Run the WLWPatchInitialize.cmd script.
    This might be helpful for you.
    Thanks
    Bishnu

  • Recommended sound card for Oracle Redhat Linux 64 bit?

    Dear Experts,
    I'm trying to install the latest Oracle Redhat 5.
    64 bit. On a certified Asus motherboard.
    It will be a dual boot windows/Linux machine.
    And I'm having an awful time with the sound card for my new server.
    (It will be used for learning, at home. It's important to
    have sound for some instructional videos that I will also watch.)
    Other installs, sound has installed and worked fine.
    I believe it's partially because the sound came directly off
    the motherboard in those cases.
    But with this new server, it came with a sound card, no onboard.
    The sound card works with windows. But not with Linux.
    I've been swapping three sound cards in and out, trying to get
    one to work. Each has some partial success, but none meet all
    of the requirements (below).
    What is really frustrating is that I want the sound to go
    to the green headphone jack on the front of the computer case.
    To do this, there is a cable that connects the sound card, to
    the front of the chassis.
    The existing sound card that I have, has a connector for this.
    It is an "HD audio", or an AC 97 connector. There two rows of
    five pins, with one pin blocked up, so that the connector is
    inserted in the correct manner. The cord is hard wired to the case.
    You can see some images of the pins and the cords here:
    http://support.creative.com/kb/showarticle.aspx?sid=14133
    http://www.techpowerup.com/forums/showthread.php?t=94769
    http://support.gateway.com/s/MOTHERBD/Intel2/4001152/4001152mvr20.shtml
    http://www.e4allupgraders.info/dir1/ecase/support/front_panel_support.shtml
    http://www.gamespot.com/pages/forums/show_msgs.php?topic_id=27289176
    You would figure that whether the connector existed or not would be a standard
    feature that would be listed for sound cards. But it's rare to find it listed anywhere.
    When I went to the computer store, I had to open all the boxes to see if it
    was there or not!!!! Manufacturers, this is not that difficult!!
    At this point, after a couple of days of struggle, I just want to buy a
    simple sound card that works right out of the box.
    Here are the requirements:
    - gets instantly recognized by Linux (Oracle Redhat 5) 64 bit, and plays sound
    with the standard Linux drivers. I believe I have all of the drivers installed,
    because a few cards do play with them automatically. During installation, I
    installed Every package available.
    - no installation of special Linux drivers required.
    - the other big requirment is that the card have output to an HD Audio,
    or AC 97 connector, and will play music through the headphone jack.
    (Believe it or not, I have one card that works fine out the back,
    but won't work through the HD Audio. But it works fine in Windows)
    - will also work with Windows 64 bit.
    Does anyone have any good sound card recommendations that will meet all these requirements?
    Thanks a lot!

    Almost a year later... what have you been listening too? :-)
    I have to admit that I'm not an expert for "sound" under Linux. I think you may find http://www.alsa-project.org/main/index.php/Main_Page interesting. It also shows which sound cards are compatible.
    ALSA is pretty much standard under Linux and stands for Advanced Linux Sound Architecture. Together with pulse-audio it provides audio and MIDI functionality to the Linux operating system and is, by default, also included in RHEL and other descendants. You can install pulseaudio support using the EPEL repository following the instructions at http://fedoraproject.org/wiki/EPEL
    wget rpm -Uvh http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
    sudo rpm -Uvh epel-release-5-4.noarch.rpm
    yum list alsa* pulseaudio*
    Loaded plugins: downloadonly, rhnplugin, security
    This system is not registered with ULN.
    ULN support will be disabled.
    Installed Packages
    alsa-lib.i386                            1.0.17-1.el5           installed 
    alsa-lib.x86_64                          1.0.17-1.el5           installed 
    alsa-utils.x86_64                        1.0.17-1.el5           installed 
    Available Packages
    alsa-lib-devel.i386                      1.0.17-1.el5           ol5_u7_base
    alsa-lib-devel.x86_64                    1.0.17-1.el5           ol5_u7_base
    alsamixergui.x86_64                      0.9.0-0.3.rc1.el5      epel      
    pulseaudio.x86_64                        0.9.10-1.el5.3         epel      
    pulseaudio-core-libs.i386                0.9.10-1.el5.3         epel      
    pulseaudio-core-libs.x86_64              0.9.10-1.el5.3         epel      
    pulseaudio-esound-compat.x86_64          0.9.10-1.el5.3         epel      
    pulseaudio-libs.i386                     0.9.10-1.el5.3         epel      
    pulseaudio-libs.x86_64                   0.9.10-1.el5.3         epel   
    etc.Edited by: Dude on Dec 8, 2011 7:02 PM

  • Uninstall Oracle10g from RedHat Linux 5 Server and install Oracle11g

    Hi to all,
    I must uninstall Oracle 10g from Red Hat Linux 5 Server and then I must install Oracle 11g.
    How I can remove all things of Oracle10g for install after Oracle 11g?
    Thank you in advance,
    crystal

    crystal13 wrote:
    Hi to all,
    I must uninstall Oracle 10g from Red Hat Linux 5 Server and then I must install Oracle 11g.
    How I can remove all things of Oracle10g for install after Oracle 11g?
    Thank you in advance,
    crystalCheck the following link
    http://database.itags.org/oracle/267935/

  • Where to download Oracle Redhat Linux 4 Rpms

    Hi,
    Where i can down load
    Oracle Enterprise Linux 4
    <ul><li>glibc-2.3.4-2.25 </li>
    <li>glibc-common-2.3.4-2.25 </li>
    <li>binutils-2.15.92.0.2-21 </li>
    <li>compat-libstdc++-296-2.96-132.7.2 </li>
    <li>gcc-3.4.6-3 </li>
    <li>gcc-c++-3.4.6-3 </li>
    <li>libgcc-3.4.6-3 </li>
    <li>libstdc++-3.4.6-3 </li>
    <li>libstdc++-devel-3.4.6-3 </li>
    <li>openmotif21-2.1.30-11.RHEL4.6** </li>
    <li>pdksh-5.2.14-30.3 </li>
    <li>setarch-1.6-1 </li>
    <li>make-3.80-6.EL4 </li>
    <li>gnome-libs-1.4.1.2.90-44.1 </li>
    <li>sysstat-5.0.5-11.rhel4 </li>
    <li>compat-db-4.1.25-9 </li>
    <li>control-center-2.8.0-12.rhel4.5 </li>
    <li>xscreensaver-4.18-5.rhel4.11 </li>
    <li>libaio-0.3.105-2 </li>
    <li>libaio-devel-0.3.105</li>
    </ul>
    I am confusing, Please let me know where i can download above RPMS

    Nice idea. Applies for me as well.
    Anyway, if you'd like to use the Oracle Support for the Linux, I would not mix the rpm distributions.
    Another note about the versions, if they are newer in the distribution, then use them. Works for me quite well.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Oracle 10g on Windows server 2008 R2 - error : Logon failed. Details: ADO

    Hello,
    I have installed Oracle 10g 64bit client on Windows 2008 R2 64bit server. I have installed Visual studio framework 2.0 and 3.5 on Application Server i.e. Windows 2008 R2 64bit Server.
    But when i run report from server, it shows following error message :
    *Logon failed. Details: ADO Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. It may not be properly installed. Error in File C:\Windows\TEMP\testreport {FE5A4BC0-DF74-4E58-87F1-0F203501A3FC}.rpt: Unable to connect: incorrect log on parameters.*
    I have created report with design time connection with oracle 10g tables. It runs in my development machine. but when i deployed on windows 2008 r2 bit server, it raised above error. After that, i created another report with command instead of using design time database connection with table, it run on server smoothly.
    So Pls help me to come out from this problem.
    If anyone has solution for it, pls share it
    Thanks in Advance
    Keyur

    Today I installed all software in following order.
    1) First install oracle 10g 32bit client & 64bit client on windows 2008 R2 development server.
    2) After oracle installation, I installed visual studio 2005 and tested crystal report on server in debug mode. It was working completely.
    (Both type of report - report created with the help of command in crystal report & crystal report created in direct reference of database table)
    Then i published my test project and setup on same server for clientside testing. but on client machine, it shows error message.
    that was : The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    One more thing i have observed that was report created with help of command in crystal report was working on client machine. But report in which i have added table direclty, was generating above error.
    Then i installed crredist2005_x86.msi and crredist2005_x64.msi from visual studio installed folder. After installation, error message changed on clinet machine.
    Error Message : Logon failed. Details: Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. It may not be properly installed. Error in File C:\Windows\TEMP\tablesource {EE65A074-2C4E-43DE-A3FC-1FE673093BF1}.rpt: Unable to connect: incorrect log on parameters
    Still in debug mode on server, asp.net project is working with crystal report. I think, when i run asp.net project in debug mode on server, project may be run on 32bit mode. When i run same project from published setup on client machine, it may be run on 64bit mode.
    I can't understand how to solve this problem.
    Pls. help me.
    Thanks in Advance
    Keyur

  • Automounting home directories from Redhat Linux OpenLDAP server

    We have an existing, functioning autofs environment here. At least the linux boxes have no problem automounting user home directories.
    I am looking for a more comprehensive solution to getting our macs integrated into this environment.
    What should the ldap entries contain?
    What should the attribute mappings be set to.
    I have ldap authentication working - the only thing left is automounting.
    Also - is there a way to get the nfs client to work over secure ports by default? Or is this a BSD thing?
    Thanks

    http://rajeev.name/blog/2007/12/09/integrating-leopard-autofs-with-ldap/
    There's some additional LDAP schema stuff that has to be done; Apple seems to have gone with the most absolutely bleeding edge RFC for automounts - and then removed all legacy support.
    This covers most of the issues, however, there is one that I'm still unable to resolve:
    typically, a linux box does autofs using an entry like
    "* -fstype=nfs foo:/home/&"
    LDAP uses a slighty different entry, but it works.
    I haven't for the life of me been able to get auto.home mounting from LDAP as easily as if it is defined in the file.
    The frustrating part is that the post gives a really good example LDIF; but it still doesn't seem to work.
    So while I have other automounts working wonderfully, the wildcarded home directories are still a bust.
    So if you're willing to forgo using LDAP for autofs mounting home, then hard-coding /etc/auto_home will fit the bill.
    But since the link seems to imply that it works, I'm wondering what's gong on...
    Message was edited by: pariah0
    Trying to get the asterisk...

  • Can i install the Portal Server 7 on Red Hat Enterprise Linux 4 ?

    hi all,
    Can i install Portal Server 7 on Red Hat Enterprise Linux 4 ?
    Thnx in Advance.

    Hi All,
    After tearing my hair out for about 3 weeks I've figured following are the steps for installing Sun Portal Server 7 on RH Linux 4. These though help successful installation I am still struggling to get the Single Sign On for the sample applications working.
    1. Boot linux with the network cable disconnected. (cable disconnected or wireless disabled is very important).
    2. set Hostname to localhost.localdomain
    3. Start INstaller (I always used the root login).
    4. Once the components list comes up "select All" then unselect "Sun POrtal Server 7" and "Sun Java System Portal Secure Remote Access". (trust me firends I am not kidding around).
    5. Follow steps of installation. Provide a password wherever requested. Highly suggested that you note down the options and the values you are entering in each step. Its about 20 page installer. Also whereever host and domain is asked for use localhost.localdomain. IP should be 127.0.0.1. Valid IP and valid domain name will also work but I haven't gone that route yet.
    6. Take special note of the LDAP Admin Password and LDAP user password. Note the usernames too. The admin password and user passwords HAVE to be different. DO NOT Forget the admin password. Default admin name is amAdmin.
    7. Go ahead and let the installation complete.
    8. I always used localhost.localdomain as domain name and host name and IP to loopback address 127.0.0.1
    Once the installation is complete start newly installed server in the following sequence
    A. To start localhost slapd:
    cd /var/opt/sun/directory-server/slapd-localhost/
    ./start-slapd
    cd /var/opt/sun/directory-server/
    ./start-admin
    (you can test here by running ./startconsole and loggin in using the admin username and password (you you should have remembered those... don't tell me I didn't warn you :)...)
    B. To start Sun Java System Application Server
    cd /opt/sun/appserver/bin
    ./asadmin start-domain --user [username] --passwordfile [a simple txt file with only the password in it] [domain name]
    e.g.
    ./asadmin start-domain user admin passwordfile adminpassword.txt domain1 OR
    ./asadmin start-domain user admin password pass123 domain1
    takes a few seconds to kick it off.
    open browser and go to http://localhost.localdomain:8080/ to check if application server is running
    C. To start Identity Server
    cd /opt/sun/identity/bin
    ./amserver start
    Now go to the SunPortal Server installer again and run it.
    9. In the screen that asks whether you want to install only or configure select configure now.
    10. Fill in required parameters like password. and user name. ( I kept ALL default and used the same password all throughout except for LDAP admin, I am doing this for a PoC so security be damned at the moment ).
    11. Be sure to fill in the correct LDAP admin and user passwords because else installation will fail.
    12. Let the installation roll
    13. At about 38% it will give a popup warning configuration may take upto an hour. If you get to click on this popups ok button good things are progressing fine. If not some server didn't start right.
    14. Takes about 15 minutes (depends on machine config) after you hit okay for the configuration to complete. Anything lesser check logs for any failure notices.
    15. IF all success reported congratulations!!!
    16. Goto http://localhost.localdomain:8080/portal/ to go to portal home page
    IT STILL DOESN"T WORK!!! HELP!!!
    Folks after all I said above it still doesn't work. When I go to any of the portal server Sample Applications and try to log in using the default usernames
    Community Samples has test/test
    Enterprise Sample has mary/mary ed/ed etc
    I cannot log in... The screen simply refreshes but doesn't go anywhere.
    I am suspecting this is because the domain and host is pointing to localhost.localdomain instead it should be given a valid domain name and a valid host and a valid IP instead of 127.0.0.1. If anyone can throw anymore light on this I'll be grateful.

  • Error While Installing ORACLE 10g in Redhat Linux 5.0

    Hi all,
    Anybody please guide me regarding the posted error.
    I'm trying to install ORACLE 10g in Redhat Linux 5.0 and finding error as "Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-10-15_09-20-56PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    I tired a lot to sort it out but unable to resolve.So please tell me the possible ways.
    I appreciate all types of clarifications...
    Thanks in Advance
    Sajeev George

    Sajeevcmc wrote:
    Hi,
    Thanks for the reply.
    Could you please tell me the rpm full name and where i can download the same?
    Thanks in Advance
    SAJEEV GEORGEYou need to have the following packages installed already before starting Oracle installation
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15669/pre_install.htm#sthref80
    binutils-2.15.92.0.2-10.EL4
    compat-db-4.1.25-9
    control-center-2.8.0-12
    gcc-3.4.3-9.EL4
    gcc-c++-3.4.3-9.EL4
    glibc-2.3.4-2
    glibc-common-2.3.4-2
    gnome-libs-1.4.1.2.90-44.1
    libstdc++-3.4.3-9.EL4
    libstdc++-devel-3.4.3-9.EL4
    make-3.80-5
    pdksh-5.2.14-30
    sysstat-5.0.5-1
    xscreensaver-4.18-5.rhel4.2
    And from the following link, you can get the same list:
    http://www.puschitz.com/InstallingOracle10g.shtml (Go to Checking Software Packages (RPMs))
    And from my installation guide you can easily install Oracle on Linux by following step by step instruction
    [Step by Step Installing Oracle Database 10g Release 2 on Linux (CentOS) and AUTOMATE the installation using Linux Shell Script|http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

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

  • Using Windows NT 4.0 client program connecting to oracle 8i linux server

    Dear sir/madam,
    Recently, I have successfully installed Oracle 8i in my red hat linux database server. I am disappointed because I can find client side Oracle Enterprise Manager in my linux server even I have installed client program in my linux database server.
    Next, I install Oracle 8i client side program (windows NT/2000 version) in my Windows NT 4.0 server. I am still disappointed because I find Oracle Enterprise Manager console cannot work.
    For Windows NT 4.0 Enterprise Manager, I have key in default administrator sysman, password oem_temp, and connect to mamagement server hangng (my linux database server). An error message display 'VTK-1000 Unable to connect to the management server hangng. Please verify that you have entered the correct host name and the status of the Oracle Management Server.'.
    What's wrong with both Oracle 8i Management Server in linux database server and windows nt 4.0 server. Is there any problem for Oracle Management server console to connect to red hat linux database server?

    [email protected] wrote:
    I need to confirm that I will be able to connect an Oracle 11g R2 client (administrator install) to an Oracle 8i DB before i bother trying to setup such a scenario?Don't waste your time. It won't work. It simply results in an error.
    I saw another thread that mentioned a patch level required for 8i to let the 10g client connect. Is there such a patch level needed for 11g clients as well?There is no such patch for 8i which allows 11g client to connect.

  • How can I enable trace log in Oracle Database 10g ( in RedHat Linux)

    Dear Forums Members,
    Could u plz drop a message about how can I enable $Oracle_Home/network/trace
    in Oracle Database 10g (Operating system is RedHat Linux Advanced Server 3).
    I will very greatful if someone reply my message.
    Thanks
    Aungshu

    To enable Tracing for a session Level.
    ALTER SESSION SET TRACEFILE_IDENTIFIER = 'my_trace_id';
    Enable the SQL Trace facility for the session by using one of the following:
    SQL> Exec DBMS_SESSION.SET_SQL_TRACE
    or
    SQL> ALTER SESSION SET SQL_TRACE = TRUE;
    To disable the SQL Trace facility for the session, enter:
    ALTER SESSION SET SQL_TRACE = FALSE;
    To enable Tracing for a database level.
    Edit init parameter SQL_TRACE = TRUE.
    Its not recomended because running the SQL Trace facility increases system overhead, enable it only when tuning SQL statements, and disable it when you are finished

  • Error while installing 10g on oracle unbreakable linux

    hi all
    Oracle 10.2.0.1
    oracle unbreakable linux
    I got the following error while installing oracle database 10g on oracle unbreakable linux
    when my installer peforming product specific prerequiste check i got the warning
    checking operating system requrement
    checking for gcc-3.2; found not found Failed<<<<<<
    I tried to search gcc-3.2 on my linux cd but its not there
    can anyone please tell me from where can i install this?
    thanks

    Which gcc is in your CD? List them all.
    And yes, they are there. Unless someone gave you a rescue disk or stripped down live CD, in which case you need to thank the person who gave you that appropriately.
    You need to search the CD/DVD and you need to learn how to install RPMs. Both can be learned by intelligent internet searches.
    Edited by: Hans Forbrich on Sep 19, 2009 10:37 AM

  • Problems and solutions for 9i DB R2 install on Redhat Linux AS 2.1

    Installing 9iDB R2 9.2.0.1.0 on Redhat Linux Advanced Server 2.1 (aka Redhat Enterprise Linux (AS))
    and applying patchset 2 (9.2.0.3.0)
    This is a certified platform but I hit many problems getting the install to work. Here are the problems I hit and how I solved them.
    Note: This is not intended to be a install for dummies but just an account of all my problems and how I overcame them. I spent 10 hours on this certified install (mostly looking for solutions to the problems I was having)
    I had a Intel Pentium 3 with 512 Meg RAM. (test machine)
    1. Install Redhat Linux
    2. Install Sun JDK 1.3.1 (this is not actually required for this install. I installed it as I was planning to install 9iAS after this)
    3. Install binutils-2.11.90.0.8-13 (also not required. I installed it for 9iAS)
    All other components were ok on my Redhat Linux install (i.e. kernel version, glibc)
    4. Create oracle user with dba group
    5. Create oracle home and oracle base directories. Ensure these are owned by oracle with rwx
    6. Set kernel parameters and make sure that they are initialized every startup:
    I managed to locate this script in the Redhat document called
    "Deploying Oracle9iTM on Red Hat Enterprise Linux AS"
    create a file called oracle.sh in /etc and give it execute permissions
    oracle.sh
    #!/bin/bash
    # configures kernel and system parameters for Oracle9i R2
    # File handles
    echo 65536 > /proc/sys/fs/file-max
    ulimit -n 65536
    # Shared memory
    # The default SHMMAX value is too low and likely to cause a failure during
    # database creation. SHMMAX should be equal to half of your system's physical
    # RAM.
    # The default is for 512 MB of RAM. Replace the default value as appropriate
    # for the amount of memory in your system, i.e.,
    # 512 MB : 268435456
    # 1 GB : 536870912
    # 2 GB : 1073741824
    # 4 GB : 2147483648
    echo 268435456 > /proc/sys/kernel/shmmax
    # It is generally safe to leave these next two values as they are
    echo 4096 > /proc/sys/kernel/shmmni
    echo 2097152 > /proc/sys/kernel/shmall
    # Semaphores
    echo 250 32000 100 128 > /proc/sys/kernel/sem
    # Sockets
    echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
    # Processes
    ulimit -u 16384
    ----EOF---------
    then...
    # chmod +x /etc/oracle.sh    # make executable
    # . /etc/oracle.sh # apply changes now
    edit /etc/rc.local to ensure this is run on startup
    append to /etc/rc.local
    # configure system for Oracle9i R2
    bash /etc/oracle.sh
    --------EOF--------------------
    7. create a generic oracle environment setup script for all users to run
    create the file /etc/profile.d/oracleenv.sh
    be sure to change the variables to your environment (ORACLE_BASE, ORACLE_HOME and ORACLE_SID)
    oracleenv.sh
    # Configures the user's environment for Oracle9i R2
    ORACLE_BASE=/opt/oracle
    ORACLE_HOME=$ORACLE_BASE/product/9.2.0.1.0
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    ORACLE_SID=orcl
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_BASE ORACLE_HOME ORA_NLS33 ORACLE_SID LD_LIBRARY_PATH PATH
    ----EOF---------
    chmod 755 /etc/profile.d/oraclenv.sh
    This file will run when a user logs in.
    8. Install oracle DB
    This took me quite a few attempts.
    The first Install I did I received the error jre was not found. This issue seemed to be relating to the fact I was not installing on a Pentium 4. Oracle was looking for the jre in oracle.swd.jre/bin/i686 (and .../lib/i686) when some of the files were placed in i386 and java was looking in i386. This created a real mess. I had encountered a similar problem on a previous install on a different platform. I found articles of people that tried to just link the directories with symbolic links but this never worked. I tried my own version but also failed.
    The solution that worked for me was to de-install, remove all the oracle directories created by the install (this part I had always done) AND also delete the file /etc/oraInstl.loc. This makes the Installer truly believe this is the first time Oracle has been installed on this box. My jre problem disappeared after that. (I don't know why it just didn't work in the first place...)
    The next error I received was an ORA-03113 when creating the database (in the dbca). (It was actually at this point that I found the document from redhat as mentioned in my set 6 above) I also noticed that when running the install of the database, the default was for Oracle's SGA to use 70% of the available memory on my machine (I have 512M so that's 360M). Oracle instructed me to set shmmax to around 240M. This may be why the database creation failed as I thought the shmmax parameter needed to be larger that SGA. Anyway, I reduce the SGA to 50% and it worked.
    This error may also have been caused by the kernel parameters not being set properly after a reboot so if you implementing stop 6 above. You may never get this problem, hopefully.
    8. Install the universal Installer 2.2.0.18.0 (a prerequisite for installing the patchset 2)
    You will need this to install the patchset 2. You can get it from metalink by searching for the bug number in the patch area. Search for bug/patch number 2878462 in patches. (37Meg for linux intel)
    (Did you know that when oracle refer to a bug number, you should treat this as a patch number? General the bugs are not available for public viewing but oracle create a patch of the same number as a placeholder. So don't search for the bug in the site search or by doc id, go straight to the "patches" area and enter the bug number as a patch number, you'll have more success. - I only found that out today after struggling with metalink for the last 4 years)
    9. Install the patchset 2
    I downloaded patchset 2 (which will bring my DB version to 9.2.0.3.0) (220Meg). There is a special symbolic link command you'll need so make sure you remember to do this.
    i.e.
    $ cd $ORACLE_BASE/oui/bin/link
    $ ln -s libclntsh.so.9.0 libclntsh.so
    10. Migrate your database
    I could not get this to work. The docs says I need at least 150M shared_pool_size and 150M Java_pool_size before running the startup migrate. As I only have 512Meg RAM (and shmmax set to 230M) I did hold much hope that this would work. I started my DB without the migrate option just to see if it would actually open with 300M in my pools. It did, so I shut it down and restarted with the migrate option. After 5 minutes of heavy processing (I still have an empty database) my server appeared to hang. I decided to restart the machine and just re-create my DB with the new patchset already applied. I delete my $ORACLE_BASE/oradata/<sid> directory and remove the entry from /etc/oratab and re-created my DB. This worked fine :)
    I hope this document helps you for your install. Please drop me line if it does help and I'll endevour to write more documents like this one.
    Please drop me a quick line at [email protected] even just to say "thanks".
    I will include a few keywords here to help the searches find this document. (mainly the keywords I searched on and failed to find a doc like this one)
    ORA-03113 ORA-3113 03113 3113 jre was not found jre not found i686 i386 i586 9iDB R2 9.2.0.1.0 9.2.0.3.0 Redhat Advanced Server 2.1 AS Enterprise Linux (AS) RH install error installation errors oui dbca problem issue
    Good luck,
    Tim Daniell.

    The trick that worked for me was on a 2nd attempt. I installed once, let it fail with "jre was not found", de-install through the installer, delete all directories and files under $ORACLE_BASE (including $ORACLE_HOME), and also delete /etc/oraInst.loc.
    I don't know why it fixes itself with this. Oracle say this is an unresolved bug 2726268 that lies in the installer. This is still unresolved by Oracle (as at 02-June-03) therefore it is not a published bug/patch. If this doesn't work, I suggest you open an iTAR and see if Oracle has any more suggestions for you.
    Cheers,
    Tim.

Maybe you are looking for