Sequence of scripts to start portal server

Hi All,
I installed Oracle 10G Release2 on Suse 9 (all components on the same machine). I checked the demo pages also all were working fine. But when i rebooted my machine, none of the service get up. I manully started the database, emctl, opmnctl processes but still i am unable to access the application.
Can anybody tell me which services we required to start to access the whole portal server. If you could provide me some kind of startup script which i can place in my init level, so that would be much better.
Thanks in advance.
Sunil Kumar

gday Sunil --
I'd try reposting this Portal question to either the Portal forum on OTN or the General Application Server forum. You're likely to get access to more Portal specific folks there.
cheers
-steve-

Similar Messages

  • Start Portal server

    Hi,
    I changed my WLS6.0 to 6.1 sp2 on WinNT. Starting install Portal 4.0, it went
    through well. However, I couldnot start Portal server. Hereis the massege after
    start Portal server (WLS is running) :
    # Note: Server initialization may take several minutes.
    # Please be patient.
    <Jan 3, 2002 3:57:47 PM EST> <Info> <Security> <Getting boot password from user.
    >
    Enter password to boot WebLogic server:
    Starting WebLogic Server ....
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: try to access method weblogic/management/internal/
    Helper.preloadMBeanInfos()V from class weblogic/management/Admin
    at weblogic.management.Admin.initialize(Admin.java:210)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    Press any key to continue . . .
    my WSL log file see attached file
    Could you help me to finger out what's wrong.
    thanks
    tao
    [weblogic.log]

    I had the same problem on Solaris 2.8, the only way I could fix it was to backtrack
    to WebLogic Server 6.1 w/ sp1 instead of sp2
    Brian
    "Stéphane Gamondes" <[email protected]> wrote:
    >
    >
    Hi,
    I don't have the answer to this error, but we had the same problem...
    Switching back to WLS6.1 sp1 solved it though.
    Stéphane
    "Tao Huang" <[email protected]> wrote:
    Hi,
    I changed my WLS6.0 to 6.1 sp2 on WinNT. Starting install Portal 4.0,
    it went
    through well. However, I couldnot start Portal server. Hereis the massege
    after
    start Portal server (WLS is running) :
    # Note: Server initialization may take several minutes.
    # Please be patient.
    <Jan 3, 2002 3:57:47 PM EST> <Info> <Security> <Getting boot password
    from user.
    >
    Enter password to boot WebLogic server:
    Starting WebLogic Server ....
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: try to access method weblogic/management/internal/
    Helper.preloadMBeanInfos()V from class weblogic/management/Admin
    at weblogic.management.Admin.initialize(Admin.java:210)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    Press any key to continue . . .
    my WSL log file see attached file
    Could you help me to finger out what's wrong.
    thanks
    tao

  • Cannot Start Portal Server.

    Hi
    I am using EP 7.0. I am not able to start portal server. From the log file I have found out the following details.
    <b>Caused by: com.sap.engine.services.dbpool.exceptions.BaseInstantiationException: Cannot create instance ManagedConnectionFactoryImpl.
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.<init>(ManagedConnectionFactoryImpl.java:78)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1779)
         ... 7 more
    Caused by: java.lang.ClassNotFoundException: com.sap.portals.jdbc.oracle.OracleDriver</b>
    Any Suggestion where is the problem. The portal was working fine before stopping it.
    Regards
    Debasish

    There is no clear documentation available to enable custom security but IBM info center has decent documentation for LDAP based security. I would say follow the steps mentioned for IBM directory and then modify the necessary configuration parameters for OID. This should solve your issues. For better help open a PMR with IBM to get necessary quick help.

  • Nodemanager in WLS81sp5 calling custom script to start Managed Server.

    Hi,
    In WLS81sp5 on AIX, I have modified nodemanager.properties file to call a custom script.
    This custom script is called successfully when I start a managed server from admin console.
    This custom script is called with 1st argument as "-Xms512m -Xmx512m -weblogic.Name=MS1 ******* weblogic.Server"
    I need to extract different parameters from this 1st argument e.g. weblogic.Name, management.URL, classpath and manipulate them (esp. classpath). In the process of extracting these parameters inside custom script, i have to use PIPEs of unix shells i.e.
    varname=`echo $1 |cut -d " " -f $i | cut -d "=" -f 1`
    Commands with PIPEs do not work as this script is being called from a java program.
    I am stuck with this.
    Any solution/suggestion to work this around?
    Appreciate any help.
    Thanks,
    Manoj

    Hi,
    In WLS81sp5 on AIX, I have modified nodemanager.properties file to call a custom script.
    This custom script is called successfully when I start a managed server from admin console.
    This custom script is called with 1st argument as "-Xms512m -Xmx512m -weblogic.Name=MS1 ******* weblogic.Server"
    I need to extract different parameters from this 1st argument e.g. weblogic.Name, management.URL, classpath and manipulate them (esp. classpath). In the process of extracting these parameters inside custom script, i have to use PIPEs of unix shells i.e.
    varname=`echo $1 |cut -d " " -f $i | cut -d "=" -f 1`
    Commands with PIPEs do not work as this script is being called from a java program.
    I am stuck with this.
    Any solution/suggestion to work this around?
    Appreciate any help.
    Thanks,
    Manoj

  • Configure WebSphere Portal Server to use LDAP (Oracle Internet Directory)

    I did configuration for WebSphere Portal to use security with LDAP Oracle Internet Directory (OID). The script for configuring works well (WPSConfig.bat action-secure-portal-ldap)
    But when i start Portal Server it cannot start successfully. I did check in log file and found a error on SystemOut.log as attachment log below. I don't know what happen with WebSphere Portal Server.
    If you guys know how to fix it please let me know or point me some documents to configure this again.
    Thanks in advanced.
    Servlet E com.ibm.wps.engine.Servlet init EJPFD0016E: Initialization of service failed.
    com.ibm.wps.ac.DomainAdministratorNotFoundException: EJPSB0107E: Exception occurred while retrieving the identity of the domain adminuser/admingroup uid=wpsadmin,cn=Users,dc=localhost,dc=com.

    There is no clear documentation available to enable custom security but IBM info center has decent documentation for LDAP based security. I would say follow the steps mentioned for IBM directory and then modify the necessary configuration parameters for OID. This should solve your issues. For better help open a PMR with IBM to get necessary quick help.

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

  • Adding patch jar file while starting Managed Server through Node Manager

    Hi,
    I am using Weblogic Express 10.0 on Linux env, Jrockit JVM.
    I have a patch jar file from BEA, I added it to Weblogic start script, when I start the Managed server by using startManagedWeblogic.sh script, I can see that patch jar file is added to classpath when I grep for Java process.(ps -ef | grep -i java).
    But when I start the Managed server through NodeManager and grep for java process, I dont see the patch jar file added to classpath of Managed server process which is started.
    Can someone let me know if I have to add the patch jar file somewhere else along with Weblogic start script if starting Managed server through Node Manager?
    Weblogic Consultant

    Thanks for your response.
    I found another way to do this.
    Edit nodemanager.properties file and set StartScriptEnabled=true (By default it is false), and then restart the Node Manager process.
    Enabling this setting to true will enable the NodeManager process to use startManagedWeblogic.sh script while starting the managed server, all the added jar files, memory settings will be taken from start script of Weblogic
    Weblogic Consultant

  • WLST problems when starting the server

    Hi all,
    I try to use WSLT (with ant) to start bea within an existing domain. The ant target is:
    <target name="start-server">
    <echo message="Starting bea weblogic..."/>
         <wlserver
         dir="${domain.home}"
         beahome="${weblogic.home}/.."
         weblogichome="${weblogic.home}"
         servername="${server.name}"
         domainname="${domain.name}"
         username="${weblogic.user.name}"
         password="${weblogic.user.password}"
         host="${server.host}"
         port="${server.port}"
         generateconfig="false"
         action="start"
         failonerror="true"
         configFile="/config/config.xml"
         classpath="${weblogic.home}/server/lib/weblogic.j ar"
         verbose="true"
         />
    </target>
    Unfortunately I got hundrets of NoClassDefFoundError when running this target. Serveral for each deployed component. Therefore I put classpath extensions to different files:
    1. %BEA_HOME%\user_projects\domains\wcsdomain\bin\startWebLogic.cmd
    2. %BEA_HOME%\user_projects\domains\wcsdomain\bin\setDomainEnv.cmd
    3. %BEA_HOME%\weblogic91\common\bin\commEnv.cmd
    4. %BEA_HOME%\weblogic91\server\binsetWLSEnv.cmd
    But the classes are still missing.
    Question:
    Can anyone tell me where to put classpath extensions for the deployment jars?
    Thanks

    You are not using WLST any where, you are using the wlserver ant task. The wlserver ant task does not use the scripts to start the server. You should add the jars to the wlserver classpath element.
    HTH,
    -satya
    BEA Blog:
    http://dev2dev.bea.com/blog/sghattu/
    Get Involved in CodeShare:
    https://wls-console-extensions.projects.dev2dev.bea.com/
    https://wlnav.projects.dev2dev.bea.com/
    https://eclipse-wlst.projects.dev2dev.bea.com/
    https://wlst.projects.dev2dev.bea.com/

  • Portal server with WLS 6.1 SP2

    Hi,
    Has anybody installed Portal server 4.0 with WLS 6.1 with service pack 2. I got
    the following problem:
    I changed my WLS6.0 to 6.1 sp2 on WinNT.
    Starting install Portal 4.0, it went through well. However, I couldnot
    start Portal server. Hereis the massege after start Portal server (WLS is
    running) :
    # Note: Server initialization may take several minutes.
    # Please be patient.
    <Jan 3, 2002 3:57:47 PM EST> <Info> <Security> <Getting boot password from
    user.
    >
    Enter password to boot WebLogic server:
    Starting WebLogic Server ....
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: try to access method
    weblogic/management/internal/
    Helper.preloadMBeanInfos()V from class weblogic/management/Admin
    at weblogic.management.Admin.initialize(Admin.java:210)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    Press any key to continue . . .
    Could you help me to finger out what's wrong.

    Rahul, just wanted to thank you for the info. I was having the same
    problem, and changing the classpath and capacityincrement worked.
    Thanks again,
    John
    [email protected] (Rahul Prabhu) wrote in message news:<[email protected]>...
    Hi,
    Modify the 'Set Classpath' in your startPortal.bat as follows:
    SET CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic_sp.jar;%WEBLOGIC_HOME%\lib\weblogic.jar;
    ..all the existing stuff..etc.
    You might also need to change the 'capacityIncrement' in your
    config.xml to > 0
    let me know if it goes thru.
    hth,
    Rahul
    "Tao Huang" <[email protected]> wrote in message news:<3c362c9a$[email protected]>...
    Hi,
    Has anybody installed Portal server 4.0 with WLS 6.1 with service pack 2. I got
    the following problem:
    I changed my WLS6.0 to 6.1 sp2 on WinNT.
    Starting install Portal 4.0, it went through well. However, I couldnot
    start Portal server. Hereis the massege after start Portal server (WLS is
    running) :
    # Note: Server initialization may take several minutes.
    # Please be patient.
    <Jan 3, 2002 3:57:47 PM EST> <Info> <Security> <Getting boot password from
    user.
    >
    Enter password to boot WebLogic server:
    Starting WebLogic Server ....
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: try to access method
    weblogic/management/internal/
    Helper.preloadMBeanInfos()V from class weblogic/management/Admin
    at weblogic.management.Admin.initialize(Admin.java:210)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    Press any key to continue . . .
    Could you help me to finger out what's wrong.

  • Script for Checking the Server Status

    Hi All,
         I just need the script for monitoring the server status through the WLST.My scenario:I have 2 server in Running State.If any one of the server get failed or in not RUNNING state then i use the script for starting that server automatically.I tried some of the script but it is not working properly .If any one have the sample script please share with me.
    Regards,
    Ove.

    Hi Syed,
    Replication state is very easy to see in 4.x and earlier. The last changenumber in the supplier changelog is visible (on the root DSE IIRC), and each consumer suffix has an operational attribute "copiedfrom" that tells you the name of the supplier, the database generation id, and the last change replayed from the supplier.
    So a script that compares the results of
    ldapsearch -h <supplier> -s base -b "" "objectclass=*" lastchangenumber
    and
    ldapsearch -h <consumer> -s base -b <base_suffix> "objectclass=*" copiedFrom
    will show you if a replica has fallen out of sync. It won't tell you more than how many changes behind the replica is, though, because pre-5.x changenumbers are sequential integers, not timestamps.
    However, the change that corresponds to the changenumber is clearly visible under the "cn=changelog" suffix. So if you look at the change itself you can see the timestamp on it.
    For more info on the status of replication, you should be able to query the agreements on the supplier. Those live under the "Netscape Machine Data Suffix", which you can also find on the supplier's root DSE:
    ldapsearch -h <supplier> -s base -b "" "objectclass=*" netscapemdsuffix
    And of course the error logs will usually tell you if replication is failing outright.
    I may be off on some of the attribute names, but if you do some investigating along these lines, you should be able to figure it out.

  • Rename portal server effect

    Hi all,
    I found the problem when i have changed the FQDN of server name that installed the EP and MS SQL. The problem is when start the portal server, it have an error about connection between portal server and MS SQL server, and after finish started portal server, we tried to access the portal, but i cannot access it and the page showed the java error.
    Please suggestion the way to correct it.
    Thank you very much.

    FYI - reconfiguring the dbpool must be done in the Visual Admin. If you cannot modify/save the settings then it means you are not getting a connection (ie the new settings are not correct). You cannot save the new config until the service can connect to the DB.
    Nick

  • Problem while starting Sample POrtal Server

    Hi,
    I have installed Web Logic Platform 8.1 from the bea site. When I try to run the
    Example portal server, it throws following error:
    <23-Jul-2003 12:52:25 o'clock BST> <Error> <JDBC> <BEA-001150> <Connection Pool
    "cgPool" deployment failed with the following error: 0:Could not create pool connection.
    The DBMS driver exception was: SQL-server rejected establishment of SQL-connection.
    Pointbase Server may not be running on localhost at port 9093..> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "p13n_dataSyncDataSource"
    deployment failed with the following error: DataSource(p13n.dataSyncDataSource)
    can't be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "p13n_sequencerDataSource"
    deployment failed with the following error: DataSource(p13n.sequencerDataSource)
    can't be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "p13n_trackingDataSource"
    deployment failed with the following error: DataSource(p13n.trackingDataSource)
    can't be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "ebusinessPool"
    deployment failed with the following error: DataSource(weblogic.jdbc.jts.ebusinessPool)
    can't be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "cgDataSource"
    deployment failed with the following error: DataSource(cgDataSource) can't be
    created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003 12:52:25
    o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "contentDataSource" deployment
    failed with the following error: DataSource(contentDataSource) can't be created
    with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003 12:52:25
    o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "commercePool" deployment
    failed with the following error: DataSource(weblogic.jdbc.jts.commercePool) can't
    be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "portalFrameworkPool"
    deployment failed with the following error: DataSource(portalFrameworkPool) can't
    be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Alert> <JMS> <BEA-040052> <JMSServer "cgJMSServer" store
    failed to open java.io.IOException: JMS JDBC store, connection pool = <cgPool>,
    prefix = <weblogic>: connection pool does not exist. java.io.IOException: JMS
    JDBC store, connection pool = <cgPool>, prefix = <weblogic>: connection pool does
    not exist at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:359)
    Does any body know the cause of the problem.
    Please help?
    Thanks Aydan

    If you haven't solved this yet, it looks as if your DB server is not
    running, hence any elements that rely on a db server, such as connection
    pools and elements that use those pools such as datasources are not
    going to start correctly.
    It seems that properties are not properly assigned in the
    startPointBase.cmd script on Windows NT (haven't verified behaviour on
    2000 although I know it works out of the box on Solaris). I'd suggest
    starting the pointbase server manually with the correct pointbase.ini
    file and then starting WLS/WLP afterwards.
    Aydan wrote:
    Hi,
    I have installed Web Logic Platform 8.1 from the bea site. When I try to run the
    Example portal server, it throws following error:
    <23-Jul-2003 12:52:25 o'clock BST> <Error> <JDBC> <BEA-001150> <Connection Pool
    "cgPool" deployment failed with the following error: 0:Could not create pool connection.
    The DBMS driver exception was: SQL-server rejected establishment of SQL-connection.
    Pointbase Server may not be running on localhost at port 9093..> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "p13n_dataSyncDataSource"
    deployment failed with the following error: DataSource(p13n.dataSyncDataSource)
    can't be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "p13n_sequencerDataSource"
    deployment failed with the following error: DataSource(p13n.sequencerDataSource)
    can't be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "p13n_trackingDataSource"
    deployment failed with the following error: DataSource(p13n.trackingDataSource)
    can't be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "ebusinessPool"
    deployment failed with the following error: DataSource(weblogic.jdbc.jts.ebusinessPool)
    can't be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "cgDataSource"
    deployment failed with the following error: DataSource(cgDataSource) can't be
    created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003 12:52:25
    o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "contentDataSource" deployment
    failed with the following error: DataSource(contentDataSource) can't be created
    with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003 12:52:25
    o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "commercePool" deployment
    failed with the following error: DataSource(weblogic.jdbc.jts.commercePool) can't
    be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Error> <JDBC> <BEA-001151> <Data Source "portalFrameworkPool"
    deployment failed with the following error: DataSource(portalFrameworkPool) can't
    be created with non-existent Pool (connection or multi) (cgPool).> <23-Jul-2003
    12:52:25 o'clock BST> <Alert> <JMS> <BEA-040052> <JMSServer "cgJMSServer" store
    failed to open java.io.IOException: JMS JDBC store, connection pool = <cgPool>,
    prefix = <weblogic>: connection pool does not exist. java.io.IOException: JMS
    JDBC store, connection pool = <cgPool>, prefix = <weblogic>: connection pool does
    not exist at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:359)
    Does any body know the cause of the problem.
    Please help?
    Thanks Aydan

  • Not able to start weblogic portal server

    I installed WebLogic Portal 10.3 server on linux. After creating a domain when I start weblogic I get following exception:
    <Jan 12, 2012 12:46:57 PM IST> <Error> <Security> <BEA-000000> <[Security:090759]A SQLException occurred while retrieving password information
    java.sql.SQLSyntaxErrorException: Schema 'WEBLOGIC' does not exist
    at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
    at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
    at org.apache.derby.client.am.Connection.prepareStatement(Unknown Source)
    at >weblogic.security.providers.authentication.DBMSSQLReadOnlyDatabaseConnectionImpl.getPreparedStatement(DBMSSQLReadOnlyDatabaseConnectionImpl.java:37)
    at weblogic.security.providers.authentication.shared.DBMSSQLRuntimeQueryImpl.passwordStringQuery(DBMSSQLRuntimeQueryImpl.java:82)
    Truncated. see log file for complete stacktrace
    Caused By: org.apache.derby.client.am.SqlException: Schema 'WEBLOGIC' does not exist
    at org.apache.derby.client.am.Statement.completeSqlca(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.parsePrepareError(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.parsePRPSQLSTTreply(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(Unknown Source)
    at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(Unknown Source)
    Truncated. see log file for complete stacktrace>
    <Jan 12, 2012 12:46:57 PM IST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
    <Jan 12, 2012 12:46:57 PM IST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time >the updated boot identity file is used to start the server, these new values are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:959)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    Caused By: javax.security.auth.login.LoginException: java.sql.SQLSyntaxErrorException: Schema 'WEBLOGIC' does not exist
    at weblogic.security.providers.authentication.shared.DBMSAtnLoginModuleImpl.authenticateDBMS(DBMSAtnLoginModuleImpl.java:696)
    at weblogic.security.providers.authentication.shared.DBMSAtnLoginModuleImpl.login(DBMSAtnLoginModuleImpl.java:271)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    Truncated. see log file for complete stacktrace>I know it means WEBLOGIC schema does not exist. But don't know how can I create it?
    The steps I followed:
    1. Run ./config.sh from wlserver_10.3/common/bin to create new domain.
    2. Run ./craete_db.sh from newly created domain folder.
    3. Run ./startWeblogic.sh
    Edited by: 907606 on Jan 12, 2012 1:58 AM

    Ravi Jegga wrote:
    Hi
    Its been a while I have not worked on Weblogic Portal. BUT after creating the Portal Domain using config wizard, why did you again run create_db scripts. As far as I know, this is NOT required. Is your intention to change the portal db schema to some other database like to Oracle etc. Then why don't you do that at the time of domain creation itself. Give those DB details. create_db is if you ever want to use any other db to have your portal schemas. After doing this, you also should run one more .sql file in one of the folders under your domain root folder structure (something like yourdomain/security/SQLAuthenticator.sql).
    Now, the main point is, what ever database you use, when you run Config Wizard and choose Portal Domain facet and click next, next, at one of the screens, it shows all the Portal DataSources details (have default db or modify to use oracle etc). BUT the main thing is in next screen, when you test all these DataSources, there should be button in the bottom like Run Scripts. Make sure to hit this button. Because this will create and run full portal schema scripts. You cannot miss this. Complete the domain creation and start the domain and try again.
    Thanks
    Ravi JeggaHow can I run that extra .sql file? The steps I follow in creating domain is as follows:
    Steps:
    1. Select Create new weblogic domain.
    2. Select Choose Weblogic Platform componenets.
    3. Select Basic WebLogic Server Domain - 10.3.4.0 [wlserver_10.3] and WebLogic Portal - 10.3.4.0.
    4. Enter domain name.
    5. Enter username/password.
    6. Select development mode.
    7. Select JRockit SDK 1.6.0_22 @ /usr/local/Oracle/jrockit_160_22_D1.1.1-3
    8. Got following on screen:
    Edit the configuration of JDBC data sources. A data source contains a pool of database connections. Applications look up a data source in the JNDI tree, request a connection, use it, and
    return it to the connection pool.
    | Name |
    _|__________________________|
    1| cgDataSource |
    2| portalDataSourceAlwaysXA |
    3| portalDataSource |
    4| p13nDataSource |
    5| cgDataSource-nonXA |
    6| portalDataSourceNeverXA |
    Use above value or select another option:
    1 - Modify
    2 - Discard Changes
    Enter option number to select OR [Exit][Previous][Next]>Done nothing and go to next screen.
    9. Following appears:
    If your connections tested OK, you may now run database scripts. For each JDBC data source, you will select the desired database loading options and database version.
    1|p13nDataSource
    2|portalDataSource
    3|portalDataSourceAlwaysXA
    4|portalDataSourceNeverXA
    5|cgDataSource
    6|cgDataSource-nonXA
    ->7|Skip JDBC Configuration
    Enter index number to select OR [Exit][Previous][Next]> Here selected every datasource one by one and loaded their database.
    10. Select Administration Server.
    11. Following screen:
    Each WebLogic Server domain must have one Administration Server. The Administration Server is used to perform administrative tasks.
    | Name | Value |
    _|__________________|_____________________|
    1| *Name:      |     AdminServer     |
    2| *Listen address: | All Local Addresses |
    3| Listen port: | 7001 |
    4| SSL listen port: | N/A |
    5| SSL enabled: | false |
    Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL enabled"     Kept all things default and gone to next screen.
    12. Go to domain directory and run ./startWebLogic.sh.
    13. Got following exception:
    <Jan 13, 2012 10:03:00 AM IST> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: ><openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class >"kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details..
    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There >was an error when invoking the static getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:341)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    Truncated. see log file for complete stacktrace
    Caused By: com.bea.common.engine.ServiceInitializationException: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static >getInstance method on the named factory class "kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)
    Truncated. see log file for complete stacktrace
    Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class >"kodo.jdbc.kernel.KodoJDBCBrokerFactory". See the nested exception for details.
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:99)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.RuntimeException: There were errors initializing your configuration: <openjpa-1.1.1-SNAPSHOT-r422266:965591 fatal store error> org.apache.openjpa.util.StoreException: The connection was refused >because the database weblogic_eval was not found.
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:235)
    at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:684)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)
    at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:299)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.sql.SQLNonTransientConnectionException: The connection was refused because the database weblogic_eval was not found.
    at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
    at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
    at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
    at com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:272)
    at com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:413)
    at com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:290)
    at com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:199)
    at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:113)
    at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)
    at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:227)
    ... 37 more
    Caused by: org.apache.derby.client.am.DisconnectException: The connection was refused because the database weblogic_eval was not found.
    at org.apache.derby.client.net.NetConnectionReply.parseRDBNFNRM(Unknown Source)
    at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Unknown Source)
    at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(Unknown Source)
    at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Unknown Source)
    at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
    at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
    at org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(Unknown Source)
    at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
    at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
    at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
    at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
    ... 45 more
    at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:302)
    at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    Truncated. see log file for complete stacktrace
    <Jan 13, 2012 10:03:00 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 13, 2012 10:03:00 AM IST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)>14. Due to above I have to run create_db.sh and then I started getting the exception described in question above.

  • Error starting Portal or Commerce Server when Configured for Oracle

    I've been attempting to configure Portal 4.0 to work with Oracle. I'm running Oracle
    8i. I carefully followed the instructions found in "Configuring WebLogic Portal for
    Oracle Databases". Specifically, I setup the tablespaces, connection pools and successfully
    run the scripts to populate the tables. I am confident the Oracle OCI driver is configured
    properly (have done this many times). However, after I make all of the necessary
    changes and launch the server, I receive the following error:
    Starting WebLogic Server ....
    <Jun 26, 2002 4:47:32 AM PDT> <Notice> <Management> <Loading configuration file .\config\wlcsDomain\config.xml
    ..> <Jun 26, 2002 4:47:39 AM PDT> <Emergency> <Server> <Unable to initialize the
    server: 'Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException:
    An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException:
    An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:91)
    at weblogic.security.acl.Realm.getRealm(Realm.java:62)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
    at weblogic.security.SecurityService.initialize(SecurityService.java:115)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    '>
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException:
    An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:91)
    at weblogic.security.acl.Realm.getRealm(Realm.java:62)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
    at weblogic.security.SecurityService.initialize(SecurityService.java:115)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    The startup appears to have trouble with the RDBMS security realm. I tried a) leaving
    the settings "as-is", configured for Cloudscape, or b) modified to point to my instance
    of Oracle (are their additional things I need to load in Oracle to support it using
    the RDBMS realm). Is there a way I can disable the security realm to at least get
    the server up-and-running (via the web.xml). I've installed and reinstalled many
    times, trying various combinations of things.
    Any help would be hugely appreciated!
    Thanks,
    jeff

    I finally found this bug in the release notes, i'm surprised one of the bea guys couldn't
    answer this....
    "Mike Friesen" <[email protected]> wrote:
    >
    I had the same type of problem with portal 4.0. Trying downloading the
    newest 7.0, I found it works much better.
    Mike
    "K C" <[email protected]> wrote in message news:[email protected]...
    I found this as well. However, i still am not able to run the portal afterconfiguring
    for oracle. While running create_all, i get many errors like "can binda
    LONG value
    only for insert into a LONG column"
    the table are being created, this appears to occur in the "insertingrequired bootstrap
    data" phase.
    thanks
    "Joshua Davies" <[email protected]> wrote:
    You probably followed the instructions too closely. I had the same
    problem,
    due to
    something that's not quite a "bug" in the installation instructions.Look
    back at
    the section "Update Settings for the RDBMS Security Realm" in thedeployment
    guide
    (http://edocs.bea.com/wlp/docs40/deploygd/oraclnew.htm#1039294).
    In the table in step 2, they show the URL on top, and the Driverclassname
    underneath
    it. HOWEVER... on the actual data screen, the Driver is on top and the
    URL is underneath
    it. If you're not being very very careful, it's easy to swap thesetwo
    values
    and put the URL in the Driver input box and the Driver in the URL input
    box. Make
    sure you haven't accidentally done this; if you have, you can stillchange
    this in
    the config.xml file (do a text search for an element RDBMSRealm withan
    "name" attribute
    of "wlcsRealm").
    Verify that it looks like this:
    <RDBMSRealm DatabaseDriver="weblogic.jdbc.oci.Driver"
    DatabaseURL="jdbc:weblogic:oracle"
    Name="wlcsRealm"
    and not this:
    <RDBMSRealm DatabaseDriver="jdbc:weblogic:oracle"
    DatabaseURL="weblogic.jdbc.oci.Driver"
    Name="wlcsRealm"
    Very subtle gotcha...
    "Jeff Davis" <[email protected]> wrote:
    I've been attempting to configure Portal 4.0 to work with Oracle. I'm
    running
    Oracle
    8i. I carefully followed the instructions found in "Configuring WebLogic
    Portal for
    Oracle Databases". Specifically, I setup the tablespaces, connectionpools
    and successfully
    run the scripts to populate the tables. I am confident the Oracle OCIdriver
    is configured
    properly (have done this many times). However, after I make all of thenecessary
    changes and launch the server, I receive the following error:
    Starting WebLogic Server ....
    <Jun 26, 2002 4:47:32 AM PDT> <Notice> <Management> <Loading
    configuration
    file .\config\wlcsDomain\config.xml
    ...> <Jun 26, 2002 4:47:39 AM PDT> <Emergency> <Server> <Unable toinitialize
    the
    server: 'Fatal initialization exception
    Throwable: java.lang.IllegalAccessError:Exception[com.bea.p13n.security.realm.RDBMSException:
    An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError:Exception[com.bea.p13n.security.realm.RDBMSException:
    An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:91)
    at weblogic.security.acl.Realm.getRealm(Realm.java:62)
    atweblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
    atweblogic.security.SecurityService.initialize(SecurityService.java:115)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    '>
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError:Exception[com.bea.p13n.security.realm.RDBMSException:
    An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:91)
    at weblogic.security.acl.Realm.getRealm(Realm.java:62)
    atweblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
    atweblogic.security.SecurityService.initialize(SecurityService.java:115)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    The startup appears to have trouble with the RDBMS security realm. Itried
    a) leaving
    the settings "as-is", configured for Cloudscape, or b) modified to point
    to my instance
    of Oracle (are their additional things I need to load in Oracle tosupport
    it using
    the RDBMS realm). Is there a way I can disable the security realm toat
    least get
    the server up-and-running (via the web.xml). I've installed andreinstalled
    many
    times, trying various combinations of things.
    Any help would be hugely appreciated!
    Thanks,
    jeff

  • Error When Starting the Portal Server - Plz Advise

    Hi..
    I want to start the Portal Server.
    so, i followed the steps..
    up the listener,dcm,emctl..
    but, when i open the Em from browser
    "http://<host>:1810/
    It stated that some component did'nt start..
    So, i clicked Start All button..
    it gaves me this erorr...
    Plz Advise..
    Tq
    oracle.sysman.emSDK.util.jdk.EMExceptionoracle.sysman.emSDK.util.jdk.EMExceptionoracle.sysman.emSDK.util.jdk.EMExceptionoracle.sysman.emSDK.util.jdk.EMExceptionoracle.sysman.emSDK.util.jdk.EMExceptionoracle.sysman.emSDK.util.jdk.EMExceptionoracle.sysman.emSDK.util.jdk.EMExceptionjava.lang.NullPointerExceptionjava.lang.NoClassDefFoundError"

    scanzano,
    I was wondering if you ever received and answer to this question, becuase I am faced with the same problem when I attempt a signon to the 'admin server' I receive the following message:
    type Status report
    message Invalid direct reference to form login page
    description The request sent by the client was syntactically incorrect (Invalid direct reference to form login page).
    This is displayed as an "HTTP Status 400 - Invalid direct reference to form login page!!??" It appears that this message has been around for a while so I'm wondering if this issue will ever get resolved??

Maybe you are looking for

  • How to run multiple packages in one process chain

    Hi, we want to run a script logic with badi, followed by a standard move function. The BADI will perform a check and generate an error. If no error occurs, the move can continue ... We created our own process chain, which is in fact the combination o

  • IPhone - Typing lag, text scrolling, lag

    Hi all, After upgrading to 2.0 I've experienced lag while typing in many areas (text, Safari, Contacts, etc.) - it takes a second or two for the screen to display what I've entered. At this point, I'm able to type a few words before it decides to dip

  • DVD or CD won't display or appear on hard drive list of devices

    I insert a new CD-R or DVD-R I get no response or recognition that it's there--no icon appears on the desktop or anywhere else I can find. The only way I've found to eject one is to go open Disk Utility and Eject. In Disk Utility the only option I'm

  • Can I have a link to the Hangtime site please

    Just need to be able to access answers as quickly as before this change in forum format. Thanks!

  • ISE delete command 80 character limitation

    Hello Guys, one of our customers did a backup to local disk on the ISE. Later he tried to remove the file on the ISE node by running the delete command. Unfortunately the name of the file exceeded the 80 character limitation of the CLI delete command