Moving usr directory on a JAVA system

Hello All,
I have a Enterprise Portal 7.0 running on windows system
Unfortunately the space where usr directory is locates is very less,we have around 1 Gb left there,adding extra space will take 1-2 months,I have to perform EHP1 on enterprise portal system
So I am thinking of moving the usr directory to another drive,is it possible?
If yes any ideas how to do it
Rohit

Hi Rohit
Junction is an utility for creation directory symbolic links. It allows you to create a link to a folder. For example, you can create a link c:\usr to the folder d:\usr. So physically the folder usr will be stored in D:, but C: will contain a link to the folder. With the link you can perform the same file operations as you can do with the folder. So clients like J2EE server will not see any difference between the link and the folder.
You can download Junction here:
http://download.sysinternals.com/Files/Junction.zip
See usage here:
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
We often use the utility in our company, because C: drive is too small to store SAP J2EE.
BR, Sergei

Similar Messages

  • Managed System Config: Wily BC path /usr/sap/ SID /JC instance is not a directory for BI Java Instance

    We are getting error message "Wily BC patch /usr/sap/<SID>/JC06 is not a directory while doing managed systems setup. System verification is successful. The Java directory should be /usr/sap/<SID>/J06 in our case, which is showing correctly in LMDB. Any idea?
    I have done the usual resynch SLD, Rerun system verification and reset managed systems configuration etc.

    Hi Tariq,
    Please enter complete path like below and check  :
    /usr/sap/<ManagedSID>/<InstanceID>/ByteCodeAdapter
    Also check below SAP note for details :
    1943583 - Wily Agent Directory files are Missing after Network loss - Solution manager 7.1
    Hope this helps.
    Thanks & Regards,
    Nisha

  • Good Java System Directory Server book?

    Does anyone know of a good book (or books) for getting up to speed on the Sun Java System stack? I am migrating from Linux and Windows-based apps to the Sun stack and need to hit the books hard to get up to speed, but can't find much of anything newer than 2002 on Amazon.
    Specifically looking for:
    - Directory Server
    - Web Application server
    - Messaging Server
    - JMS
    Anyone have any ideas?

    Well, the first place I go is http://docs.sun.com where I can either search or browse the html versions or download the PDFs of the product manuals. Beyond that I do like Michael Haines and Tom Bialaski's LDAP in the Solaris Operating Environment: Deploying Secure Directory Services book. It came out in 2004 and covers Directory Server 5.2 (I think it was patch 2 then, now we run patch 4 here...)

  • Tivoli Access Manager 6.0 with Sun Java System Directory 6.3

    Hi,
    We have been using Tivoli Access Manager 6.0 with Sun Java System Directory 6.3 .
    Using IBM TAM Java API we can administer the user creation but the API provide support only to create user with required attribute as user name, password, description, setAccoutntvalid etc.
    But Sun Java System Directory 6.3 contains the many attributes as just to name a few...
    First Name (givenname), User ID (uid),Password (userPassword), Confirm Password
    E-mail (mail), Telephone Number (telephoneNumber), Country (c),Fax Number (facsimileTelephoneNumber), Locality (l), Organization (o), Organizational Unit (ou), accessHint, accountHint, departmentNumber, description, destinationIndicator, displayName, employeeNumber ETC...
    Now My Issue is if we need to add the values for other attributes as "accessHint" , "employeeNumber" etc, then how can we acheive using IBM TAM Java API or is there any other way.
    Thanks for your kind help...

    Looks like the attribute sunIdentityServerDiscoEntries is defined twice in the schema. Run the following and see where it is defined for the second time.
    # cd /var/opt/SUNWdsee/dsins1/config/schema
    # grep -w sunIdentityServerDiscoEntries *.ldif | grep -iv objectclasses
    Edited by: etst123 on Mar 3, 2009 1:28 PM

  • Sun Java System Directory Server 5.2

    Hi,
    We were informed by a third party that we can download Sun Java System Directory Server 5.2 SP 1 from the Sun downloads area. However, we couldn't find 5.2 Service Pack 1. We did find that Directory Server 5 2005Q4 (5.2 patch 4) is the only one available for download.
    Is 5.2 patch 4 equivalent to 5.2 Service Pack 4?
    Is there such thing as Directory Server 5.2 Service Pack 1?
    We saw that 5.1 had multiple Service Packs available for download, will the 5.2 Service Packs be made available for downloading?
    Cheers,
    Cate

    Sun has changed the terminology for micro releases from Service Packs (5.1 release) to patched versions (5.2 release).
    Therefore Directory Server 5.2 patch4 is the latest update of Directory Server 5.2 release (would have been called Service Pack with the former terminology).
    Only the most recent version is available for download from the Sun Downloads site..
    But we've never released 5.2patch1, as far as I remember.

  • Installing Sun Java System Directory Server on Windows XP

    Hello Everyone,
    I want to install the Sun Java System Directory Server 6.2 on Windows XP platform. I tried to download the zip file, but it is giving me the options only for Windows 2000 Server and Windows 2003 Server. My question is, is there a binary for Windows XP? If yes, could someone please point me to the location and the installation instructions.
    Thanks in advance.
    Thanks,
    Ranjith

    hi
    i dont see DS 6.2 download from sun.com infact you can try 6.3 which is compatible for XP.

  • Installing Sun Java System Directory Server on Linux Ent.

    Hi,
    I tried to install Sun Java System Directory Server on Linux on Redhat Enterprise Linux AS, but I faced some problems.
    I just want to know if there is any pre-requisites for installing this product on Linux.
    Thanks
    Sadiq

    Hello
    Which problem did you have encountered installing the DS on Linux AS.
    Currently I want to install SunOne DS V5.2 on Redhat Linux AS 2.1 and encounter several configuration issues
    Thanks in advance,
    Andrew

  • Installing Sun Java System Directory Server on RHEL 4

    Hi All,
    I have downloaded this ds[1].5.2.P4.linux.full.tar.gz for linux.
    While installing Sun Java System Directory Server on RHEL 4.
    I am getting this error
    Installing Directory Server
    |-1%--------------25%-----------------50%-java.io.FileNotFoundException: /opt/SunOneDirectoryServer/setup/admin/ns-common-sc hema.conf (Not a directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at com.sun.install.products.ZipUnit.install(ZipUnit.java:354)
    at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1223)
    at com.sun.install.products.InstallNode.startInstall(InstallNode.java:878)
    at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1220)
    at com.sun.install.products.InstallNode.startInstall(InstallNode.java:878)
    at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1220)
    at com.sun.install.products.InstallNode.startInstall(InstallNode.java:878)
    at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1220)
    at com.sun.install.products.Product.performInstallation(Product.java:641)
    at com.sun.install.tasks.ProductTask.perform(ProductTask.java:191)
    at com.sun.wizards.core.Sequence.perform(Sequence.java:336)
    at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)
    at java.lang.Thread.run(Thread.java:534)
    ----------------75%--------------100%|
    Can anyone please help on this
    Thanks in Advance

    It looks like your archive is corrupted.
    I would suggest that you download a new copy, and even better that you use the most recent version of Directory Server (6.2, although it is not yet on the download page -it should be by the end of the week-, 6.1 is available through the Enterprise Edition).
    Regards,
    Ludovic.

  • Installing Sun Java System directory Server 5.2 P4 Patch

    Hi,
    While Installing using Sun Java System Directory Server 5.4 P4 patch using install.bat
    i am getting error such as "*Cannot find either nsbasesys.zip or nsbasesys.zip.zip*"

    Hi Aswi,
    Looking at your [other post|http://forums.sun.com/thread.jspa?threadID=5342178&tstart=30] i asume you are installing this patch on Windows?
    I haven't got any experience regarding DS on Windows, but looking at the install README i couldn't help noticing this part:
    On windows copy d52diu.zip, nsbase.zip and nsbasesys.zip file
                    to the server root.
              - uncompress nsbase.zip file
              - on Windows platforms, uncompress nsbasesys.zip into $SystemRoot/SYSTEM32 directory
                    - In case of Windows platform, uncompress d52diu.zipGood luck!
    Edited by: dbuurman on Oct 30, 2008 7:36 AM
    Edited by: dbuurman on Oct 30, 2008 7:37 AM

  • Moving /usr/lib directory

    Hi all,
    I have a SUN Ultra Sparc 60 running Solaris 7.
    I tried to move the /usr/lib directory to /opt/usr/lib in order to get more disk space in /usr because if was almost full (it was not a good idea, I know it now). My idea was to make later a soft link in /usr to /opt/usr/lib, but when I tried to do it (ln -s /opt/usr/lib) this and almost all the other commands didn,t work. It is logical now, they can't find the needed libraries in /usr/lib because they are not there now. I tried some things to move /usr/lib to its original place but I didn't have luck (cp mv, ...). Finally I restarted the Workstation and, of course it couldn't boot. I can only enter in the System Maintenence Mode like root. I can't do so much there. Worst, I can't enter in the /opt/usr directory and fsch doesn't work neither.
    My question is, is there any way to recover the system from this situation??
    Any help would be appreciated. Thanks.
    Alex
    PS: I have another identical system working close to this one, if that can help in anything.

    You can move any directory's contents to another directory using the following commands:
    cd <from_directory>
    tar cf -. | (cd <to_directory>; tar xvf -)
    In your case, you need to boot the corrupted system into single-user mode, mount all volumes and then manipulate the directories.Generally speaking, what happened to you is the result of a very odd UNIX sysadmin's misconception: everybody thinks that under UNIX hard drives need to be partitioned. They don't know why, but they "have always done it that way". When you are planning the system's layout it is very difficult to predict exactly how much space a particular directory will take up. And here is the best part -- they recommend that "/" partition be set to about 100 MBytes. Just imagine what happens if you create a "/big_files" directory (or installer does)! Partitioning also increases the drive contention because the drive heads need to constantly jump between different partitions (the system doesn't know that the partitions are not "real" harddrives and tries to read/write on all of them simultaneously). The solution is -- not to partition the drives. Just put everything on "/" partition which is easy to set to 100 GBytes these days. This way you are safe from running out of space in "/big_files" directory (at least for a while).
    You may be wondering, what about the "swap" partition? the answer is very unorthodox -- don't do it! If you really need swap -- create a swap file. The only good reason to put swap on a separate volume is when you actually have a separate hard drive just for swap. Otherwise the drive contention will kill you. Once we're at it, how big would you say the swap file should be on a system with 2GB of real RAM? "They" say it should be twice the real RAM. Well, that's ridiculous -- you need swap because you don't have enough RAM, but by their logic, the more RAM you have the more swap you need. Again, unorthodox solution -- if you have 2 (3, 4... 8) GB of real RAM you don't need swap at all. Use your cabesa, UNIX computer science is very old -- it does not neccessarily apply to modern computers.

  • OVD - Integration with Sun Java system Directory Server

    Hi All,
    I have the following iusse, i'm trying to configure OVD 11.1.1.3 with Sun Java System Directory Server adapter for enterprise user security but when I import Oracle ldif schema file (iPlanetSchema.ldif) I have the following error:
    add attributetypes:
    +( 1.3.6.1.4.1.42.2.27.8.1.5 NAME 'pwdCheckSyntax' EQUALITY integerMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.27' SINGLE-VALUE )+
    modifying entry cn=schema
    ldap_modify: Type or value exists
    ldap_modify: additional info: attribute type pwdCheckSyntax: Does not match the OID "1.3.6.1.4.1.42.2.27.8.1.5". Another attribute type is already using the name or OID.
    In the default Sun DS schema there is attribute with the same OID:
    +../config/schema/00ds6pwp.ldif:+
    attributeTypes: ( 1.3.6.1.4.1.42.2.27.8.1.5 NAME 'pwdCheckQuality' DESC 'Level of required quality' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-DS-USE 'internal' SINGLE-VALUE X-ORIGIN 'Password Policy for LDAP Directories Internet Draft' )
    Is it possible?
    I'm reading the following document:
    http://download.oracle.com/docs/cd/E12839_01/oid.1111/e10046/adv_integrate.htm#CACIIIEG
    Thanks in advance,
    Zaic

    Thank you very much. The name of the file is actually C:\WINDOWS\system32\productregistry.
    I renamed that to productregistry BACKUP and I can now install the LDAP. Man, I should have posted this a week and a half ago when I first started having this issue. It would have prevented a few forehead dents from banging my head on the keyboard.
    thanks again

  • Sun Java System Directory connector cloning on OIM 11g R2

    Hi all,
    we successfully installed the +"Sun Java System Directory (9.0.4)"+ connector on OIM 11g R2 and it is properly working.
    We need to clone the LDAP Resource Object in order to execute provisioning to different ldap instances,
    but under "Connector Management" web console is not possible clone this connector; it's possible for example for Active Directory resource object but not for LDAP.
    How we can clone the connector for LDAP?
    Thanks a lot,
    Ettore F.

    Hello Rajiv,
    thank for your help.
    I figured out how to clone a connector, even if the resource object is not shown under "Connector Management".
    It's enough to click the "Clone" button and providing the original xml file, of the resource object then you can proceed with the cloning of the connector in 12 steps as the wizard shows.
    Bye,
    Ettore F.

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

  • Abap+Java System Backup

    Dear Experts,
    We just take our bi system(abap+java)  backup online, so could you please help me which files we need to backup during the Sap system is online,
    As the below help.sap.com link said that for filesystem backup "Create a backup of the SAP system directory /usr/sap/<SID>." (before we need to stop SDM)
    http://help.sap.com/saphelp_nw70/helpdata/en/4b/d8f23ea4b42e5ae10000000a114084/content.htm
    Can we backup entire /usr/sap/<SID> directory while sap and db is still runnig ? if not which directories we need to backup ?
    Should we backup filesystem and db backup at the same time for a consistent backup, or can we schedule separately filesystem and db backup if there is no deployment exist between db backup and filesystem backup schedules,
    Best Regards,
    Atakan

    As suggested you can either go with the ofline backup for the abap and for Java you need to have the filesystem backup.
    Or you should go witht he file system backup of all the file system.But for that you need downtime.
    So what i shall suggest you thet go vith the online backup and have the archive log on and have archive logs backup too.
    And just the online backup completes have the Java export of the Java system of your BI.Durng the exportthe SDM will stop while the Servernode and the dispatcher service will be running,so no error will occur when some one is using the JAVA BI.
    This is the safest method ad you can recover the JAVA system any time.Please also have an offline backup at weekends of the abap system when its down.
    Please check the Password of DDIC of client 000 and the J2ee_admin before taking the export.
    Thanks
    Rishi Abrol

  • How to install Sun Java System Application Server PE 9 in debian

    Hi,
    I have ubuntu installed on my system. I wanted to install the Sun Java System Application Server PE 9 on it. I didn't see any debian package for it on Sun's downloads. I downloaded the linux version and tried to install it. I got the following result...
    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    Or if you already have the required Java(TM) 2 Runtime Environment
    installed, try rerunning this application with the following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM) installation directory>
    root@vineet:/usr/src# ./java_ee_sdk-5-linux.bin -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    Any suggestions will be highly appreciated.
    Thanks,
    Vineet

    Hi,
    I have ubuntu installed on my system. I wanted to
    install the Sun Java System Application Server PE 9
    on it. I didn't see any debian package for it on
    Sun's downloads. I downloaded the linux version and
    tried to install it. I got the following result...
    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the
    Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the
    Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime
    Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    f you already have the required Java(TM) 2 Runtime
    Environment
    installed, try rerunning this application with the
    following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM)
    installation directory>
    oot@vineet:/usr/src# ./java_ee_sdk-5-linux.bin
    -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    Any suggestions will be highly appreciated.
    Thanks,
    VineetDo you have java 5 sdk on your machine (Or at the very least java 5 re) ?
    Have you tried the command that they gave ?

Maybe you are looking for

  • BSID Table Entries still reflecting the Customer's Cleared Documents

    Hi Experts, We had a scenario where they have a 2 FI Document for 1 Customer still reflecting in the table BSID. This 2 Documents are the following in the FBL5N: DocumentNo Bill.Doc.  Type Doc. Date  SG  DD  Amt in loc.cur. LCur    Amount in DC Curr.

  • Internal delivery chnl, file doesn't get picked up, no trace log file gener

    I have defined an internal File delivery channel as part of a trading agreement between host and remote partner (Custom doc over Internet - AS2), configuration including agreement has been deployed, but the file doesn't get picked up. I have made sur

  • Material Group,Product Group

    Hi , Can any one explain what is meant by Material Group, Product Group. Where is it used. What is the difference between Material and Product Group. Do we need to have any prequisites for creating Product Group with Tcode MC84?. Thanks in advance

  • Country specific Date and Amount format

    Hi All,         Is there any way we can change the date and amount format? Actually we are printing a Invoice smartform for US. Now i want to copy that smartform for European countries for minor changes in the layout. In the same way i have to change

  • Nokia 5530 Feeds on homescreen

    How do I get my rss feeds to be displayed on my homescreen? No I have to go to webbrowser every time I want to see the feeds. Tanks in advance