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.

Similar Messages

  • Are there some portal examples in Sun Java System Portal Server V7.1?

    I read some articles in www.kryos.com like
    Why Portal?
    Kinds of Poratl Technologies
    Portal Best Practices
    Thoughts on Portal
    I want to see some real portal, real portalet. So I download Sun Java System Portal Server V7.1. I set it up and I ran startportal.bat. But what can I do next?
    Is there anything like "examples" web app in Tomcat?
    Edited by: Mellon on Mar 27, 2008 10:59 PM
    Edited by: Mellon on Mar 27, 2008 11:01 PM

    There are several sample portals which you can deploy to see what they do. Then you can customise the one you like or build one from scratch.

  • Not able to Start the Sun Java System Portal Server 7

    Hi All,
    I have already installed Sun Java System Portal Server 7 successfully.But when I tried to access the URL : http://fqdn:8080/portal it gives the following excepiton:::
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: SMSException Exception Code:5
    Message:sms-UNKNOWN_EXCEPTION_OCCURRED
    The lower level exception message
    no-server-found
    The lower level exception:
    java.rmi.RemoteException: no-server-found
         at com.sun.identity.jaxrpc.JAXRPCUtil.getValidURL(JAXRPCUtil.java:115)
         at com.sun.identity.jaxrpc.SOAPClient.call(SOAPClient.java:165)
         at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:295)
         at com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.read(SMSJAXRPCObject.java:123)
         at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:479)
         at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:455)
         at com.sun.identity.sm.SMSEntry.(SMSEntry.java:288)
         at com.sun.identity.sm.CachedSMSEntry.getInstance(CachedSMSEntry.java:316)
         at com.sun.identity.sm.CachedSubEntries.(CachedSubEntries.java:77)
         at com.sun.identity.sm.CachedSubEntries.getInstance(CachedSubEntries.java:199)
         at com.sun.identity.sm.ServiceManager.initialize(ServiceManager.java:868)
         at com.sun.identity.sm.ServiceManager.(ServiceManager.java:140)
         at com.sun.portal.desktop.context.DSAMEConnection.init(DSAMEConnection.java:131)
         at com.sun.portal.desktop.context.DSAMEConnection.(DSAMEConnection.java:84)
         at com.sun.portal.desktop.context.DSAMEServiceAppContext.initAdminDSAMEConnection(DSAMEServiceAppContext.java:57)
         at com.sun.portal.desktop.context.DSAMEServiceAppContext.init(DSAMEServiceAppContext.java:43)
         at com.sun.portal.desktop.context.PSDesktopAppContext.initServiceAppContext(PSDesktopAppContext.java:163)
         at com.sun.portal.desktop.context.PSDesktopAppContext.init(PSDesktopAppContext.java:87)
         at com.sun.portal.desktop.context.PSDesktopContextFactory.initDesktopAppContext(PSDesktopContextFactory.java:141)
         at com.sun.portal.desktop.context.PSDesktopContextFactory.init(PSDesktopContextFactory.java:105)
         at com.sun.portal.desktop.context.PSDesktopContextFactoryManager.getFactory(PSDesktopContextFactoryManager.java:21)
         at com.sun.portal.desktop.DesktopServlet.getDesktopContextFactory(DesktopServlet.java:190)
         at com.sun.portal.desktop.DesktopServlet.init(DesktopServlet.java:232)
         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:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:756)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
         at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:300)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
         com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
         com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
    root cause
    com.sun.portal.desktop.context.ContextError: SMSException Exception Code:5
    Message:sms-UNKNOWN_EXCEPTION_OCCURRED
    The lower level exception message
    no-server-found
    The lower level exception:
    java.rmi.RemoteException: no-server-found
         at com.sun.identity.jaxrpc.JAXRPCUtil.getValidURL(JAXRPCUtil.java:115)
         at com.sun.identity.jaxrpc.SOAPClient.call(SOAPClient.java:165)
         at com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:295)
         at com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.read(SMSJAXRPCObject.java:123)
         at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:479)
         at com.sun.identity.sm.SMSEntry.read(SMSEntry.java:455)
         at com.sun.identity.sm.SMSEntry.(SMSEntry.java:288)
         at com.sun.identity.sm.CachedSMSEntry.getInstance(CachedSMSEntry.java:316)
         at com.sun.identity.sm.CachedSubEntries.(CachedSubEntries.java:77)
         at com.sun.identity.sm.CachedSubEntries.getInstance(CachedSubEntries.java:199)
         at com.sun.identity.sm.ServiceManager.initialize(ServiceManager.java:868)
         at com.sun.identity.sm.ServiceManager.(ServiceManager.java:140)
         at com.sun.portal.desktop.context.DSAMEConnection.init(DSAMEConnection.java:131)
         at com.sun.portal.desktop.context.DSAMEConnection.(DSAMEConnection.java:84)
         at com.sun.portal.desktop.context.DSAMEServiceAppContext.initAdminDSAMEConnection(DSAMEServiceAppContext.java:57)
         at com.sun.portal.desktop.context.DSAMEServiceAppContext.init(DSAMEServiceAppContext.java:43)
         at com.sun.portal.desktop.context.PSDesktopAppContext.initServiceAppContext(PSDesktopAppContext.java:163)
         at com.sun.portal.desktop.context.PSDesktopAppContext.init(PSDesktopAppContext.java:87)
         at com.sun.portal.desktop.context.PSDesktopContextFactory.initDesktopAppContext(PSDesktopContextFactory.java:141)
         at com.sun.portal.desktop.context.PSDesktopContextFactory.init(PSDesktopContextFactory.java:105)
         at com.sun.portal.desktop.context.PSDesktopContextFactoryManager.getFactory(PSDesktopContextFactoryManager.java:21)
         at com.sun.portal.desktop.DesktopServlet.getDesktopContextFactory(DesktopServlet.java:190)
         at com.sun.portal.desktop.DesktopServlet.init(DesktopServlet.java:232)
         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:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:756)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
         at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
         com.sun.portal.desktop.context.DSAMEConnection.init(DSAMEConnection.java:135)
         com.sun.portal.desktop.context.DSAMEConnection.(DSAMEConnection.java:84)
         com.sun.portal.desktop.context.DSAMEServiceAppContext.initAdminDSAMEConnection(DSAMEServiceAppContext.java:57)
         com.sun.portal.desktop.context.DSAMEServiceAppContext.init(DSAMEServiceAppContext.java:43)
         com.sun.portal.desktop.context.PSDesktopAppContext.initServiceAppContext(PSDesktopAppContext.java:163)
         com.sun.portal.desktop.context.PSDesktopAppContext.init(PSDesktopAppContext.java:87)
         com.sun.portal.desktop.context.PSDesktopContextFactory.initDesktopAppContext(PSDesktopContextFactory.java:141)
         com.sun.portal.desktop.context.PSDesktopContextFactory.init(PSDesktopContextFactory.java:105)
         com.sun.portal.desktop.context.PSDesktopContextFactoryManager.getFactory(PSDesktopContextFactoryManager.java:21)
         com.sun.portal.desktop.DesktopServlet.getDesktopContextFactory(DesktopServlet.java:190)
         com.sun.portal.desktop.DesktopServlet.init(DesktopServlet.java:232)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
         com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:226)
         com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
    If anyone have got idea about this problem then please let me know.All suggestions are welcome .
    Thanx and Regards,
    Chirag.

    I meet the same problem.After I configured the Im and restart it,the error had happened.

  • Sun Java System Portal Server 7.2

    hi there, i really need help as soon as possible ,
    i am preparing my BS project and working on Sun Java System Portal Server 7.2 software.
    It is about an intranet application that sends and receives messages. In addition of calendar and to do list and posting events..
    i am using the enterprise sample on http://localhost:8080/portal and working with http://localhost:8080/psconsole
    Actually i am facing troubles in this software:
    first, i need to change the title in the enterprise sample.
    second, i drag the instant message channel but it needs configuation !! how to do it ?
    finally, i have installed this software on windows xp
    thanks for your cooperation
    best Regards

    sun_java_system_portal_server wrote:
    i am preparing my BS project and working on Sun Java System Portal Server 7.2 software.
    It is about an intranet application that sends and receives messages. In addition of calendar and to do list and posting events..
    i am using the enterprise sample on http://localhost:8080/portal and working with http://localhost:8080/psconsole
    Actually i am facing troubles in this software:
    first, i need to change the title in the enterprise sample.
    second, i drag the instant message channel but it needs configuation !! how to do it ?As these questions all related to Portal Server I suggest you ask your question on the Portal Server forum.
    http://forums.sun.com/category.jspa?categoryID=111
    Regards,
    Shane.

  • Migration from Sun Java System Portal Server to the Oracle Portal

    Hi, I'm in charge of evaluate the viability of a project that comprises the migration from Sun Java System Portal Server to the Oracle Portal. so I'm wondering if there is a kind of out of box migration tool in Oracle Portal or exists some guidelines to do the migration. In the other hand there is the option of migrate from Sun Java System Portal Server to Oracle WebCenter?
    Thanks in advance!

    The migration path for Sun Portal Server is Oracle WebCenter Suite. WebCenter is a significantly different architecture so there are no tools planned for the migration. However, we do plan to document and publish a whitepaper once we've assisted a few of the initial customer migrations.

  • Sun Java System Portal Server 7 for windows ?

    Hi all,
    Has any one found the download link for
    Sun Java System Portal Server 7 .
    Please send me the link.
    nJoy
    ~Neeraj Sidhaye
    [email protected]

    http://www.sun.com/download/index.jsp?cat=Portal%20Services&tab=3&subcat=Portal%20Server
    Supported Platforms
    Sun comparable workstation or server (SPARC or x86 that runs Solaris OS or Red Hat Enterprise Linux)
    Operating Systems and Platforms
    Solaris 10 OS for SPARC and x86 platforms, including Zones support
    Solaris 9 OS for SPARC and x86 platforms
    Solaris 8 OS for the SPARC platform
    Red Hat Enterprise Linux WS/AS/ES 2.1 to 2.1U6
    Red Hat Enterprise Linux WS/AS/ES 3.0 to 3.0U4
    Windows 2000, XP, AS
    Windows 2003, XP, AS
    HP-UX 11i
    System Requirements
    Memory: 1.5 GB of RAM for evaluation install
    2-3 GB of RAM for minimal deployment
    Virtual Memory: 4 GB
    Disk Space: 3 GB of disk space for Java System Portal Server and associated applications

  • Sun Java System Portal Server 7 Problems with IE7

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

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

  • Sun Java System Portal Server 7 is not starting!!!

    Hi All,
    I have successfully installed Sun Java System Portal Server 7 on RHEL 4.The problem is that after installation when I tried to access the portal throught its url it give the message "Connection to the host refused".
    If anyone has got idea about this problem then please let me know.All suggestions are welcome and thanx in advance.
    Chirag.

    After a successful install the Directory, AM servers are down. You will have to start them after the install.
    Stop start the process below in the order:
    Stop/Start Directory Server instance:
    Stop/Start Webcontainer instance running AM Server and Portal Server
    Restart Cacao /opt/SUNWcacao/bin/cacaoadm restart
    If the above does not fix it, take a look at the /var/opt/SUNWportal/portals/portal1/logs/<portal-instance>/*.logs
    and the webcontainer logs for more details

  • Sun Java System Portal Server 7.2 download Link

    Hi,
    I want to download Sun Java System Portal Server 7.2 .
    Could anyone pls provide me the download link.
    I checked this url
    https://portal.dev.java.net/public/Downloads.html
    but could not able to found.
    Sujan

    Hey,
    maybe anybody has an idea if there's any possibility to get the "Sun Java System Portal Server 7.2".
    The download links to the portal server 7.1 and portal server 7.2 on the website are down.

  • List of Sun Java System Portal Server 7 attribute list

    Hi,
    I tried to fetch the user information of the logged in user following the directions given in the JSR 168 specs. I tried fetching the last name of the user using the "user.name.family " user info attribute. But, I got a null.
    After some Googling and repeated reading of the JSR 168 specs I concluded that the names listed in the spec are just indicative and the actual name that maps to a specific user information may change from server to server. Please tell me whether this assumption is correct?
    If I am correct, then where can I find the list of user attribute names that the Sun Java System Portal Server 7 supports.
    Below is my portlet.xml configuration snippet and the portlet code:
    portet.xml
    <user-attribute>
    <description>User Last Name</description>
    <name>user.name.family</name>
    </user-attribute>portlet code
    Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);
    String lastName = (userInfo!=null)? (String) userInfo.get�user.name.family�) : �not present�;Thanks in advance
    Avishek

    no changes in portlet.xml. When you deploy to SPS7.X, there is an option to add in a userinfo.properties file (both psconsole and via cli). That is how you do it in Sun Portal Server 7.
    Then, in my portlet code, I use this [note, trucated code snippet]:
    public UserInfo(PortletRequest sbin) {
            this.request = sbin;
            this.userName = this.getUserInfo("username");
            this.cn = this.getUserInfo("cn");
            this.lastname = this.getUserInfo("lastname");
            this.firstname = this.getUserInfo("firstname");
        public String getUserInfo(String name) {
            String temp = "";
            try{
                PortletPreferences portletPreferences = request.getPreferences();
                Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);
                temp = userInfo.get(name).toString();
            }catch(Exception e) {
                temp = name+" is not a valid attribute. Full error: "+e.getMessage();
            return temp;
        }

  • Is this bugs for Sun Java System Portal Server 6 2005Q4 (errorStoreDP) ?

    Hi,
    I installed Sun Java System Portal Server 6 2005Q4 under window xp environment.
    I used the following command to deploy war file, it worked for me (because I setup enough services and role for amadmin user), deploy/undeploy was worked very well for me.
    pdeploy deploy -u amadmin -w amAdminPassword -g -p
    amAdminPassword -v portletsamples.war
    Two months later, I did not change anything (configuration) within the two months.
    I use the same deploy/undeploy command to deploy war file again, I got the following error =>
    errorStoreDP (sms-UNKNOWN_EXCEPTION_OCCURRED)
    Message:The user does not have permission to perform the operation.
    Why this condition happened ? is this bugs for sun portal server ?
    I uninstall this sun portal server and reinstall it again, I still got
    the same error message. why ?
    But funny thing is that I format my machine, then install window xp and
    install System Portal Server 6 2005Q4 again, then it works for me again.
    is this reasonable ?
    I really don't know why ?
    Can someone help me ?
    Thanks!

    Hello,
    It seems you are really asking how you should design your application to use portlets.
    Your approach now seems to be that you would just copy your servlets to portlets. You can use the PortletRequestDispatcher to include content from your servlet. See http://portals.apache.org/pluto/multiproject/portlet-api/apidocs/javax/portlet/PortletRequestDispatcher.html
    I also found the following discussion on this topic http://www.mail-archive.com/[email protected]/msg00481.html
    But I don't think I'd recommend that approach for your application. How would you maintain the application going forward? You will have both servlets and portlets to maintain when you change the applicaiton. I assume you will be keeping the servlet application and using it also? Do you want the portlet content to match the servlet content always, or will they display differently?
    Instead, what you might consider an model-view-controller approach and designing a web service (the model) for both applications (servlet and portlet, views) to consume.
    As for the basics of porlet applications, the JSPPortlet will use JSPs for presentation of hte portlet content. GenericPortlet is the default implementation of the Portlet interface. Implementing the portlet interface means you must write the implementation yourself. Here are a couple of good tutorials to get you started on the Portlet spec:
    http://www.javaworld.com/javaworld/jw-08-2003/jw-0801-portlet.html
    http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-portlet2.html
    Also there is this JSE tutorial, but I don't know how current it is:
    http://developers.sun.com/prodtech/portalserver/reference/techart/portlets.html
    Hope that helps.

  • Sun Java System Portal Server 7

    Hi all,
    1) i have installed sun java system application server8.2 and portal server7 on linux,and i have my NetBeans IDE in my local machine(windowsXP),how do i configure my ide with sun one server, leftside of IDE i have added the server but its not showing any configuration yet.
    2) i have created a Domain in linux server using the command(psadmin create-portal.......etc)but, i got and ERROE:Authentication Failed invalid user name and password.But i have given the correct user name and password.i could able to login to the amconsole and psconsole from the browser using that login name and pasword.
    please help me its very urgent,thanks in advance.

    Sekar - You may have better luck posting your question to the Portal Server 7 forum at:
    http://forum.java.sun.com/forum.jspa?forumID=885
    Good luck

  • Download Sun Java System Portal Server for Windows

    Can anybody send me URL for th same?

    Currently you can only obtain Portal Server from JES 2005Q1 for windows.
    http://www.sun.com/download/sdl.jsp?71220fd6=1
    JES 2005Q4 for windows is not out yet

  • MSSQL server as data store for SUN Java system Identity server 6.1

    Hi,
    I am a new user to SUN java system Identity server 6.1. Can we use RDBMS such as MSSQL server as a datastore for IS?
    if so, what is the configuration that needs to be done on IS 6.1?
    Thanks in advance,
    Srinivaas.

    Hello All,
    Waiting for any idea for the long time. I am trying again and again by restoring my directory server zone. I have two whole root zones one i am using for sun portal and communication suite 5 and other is for directory server. They are working fine. but when i try to install the Sun Java System Identity Synchronization for Windows 6.0 on directory server zone. Some time it hangs at 97% while installing core and some time it giving error the installer cannot upload some entries in the template this error comes when i restore my directory server zone.
    Can some please give me idea why it giving these error on solaris zone.
    Thanks in Advance,
    Sikander

  • Adding a JDBC driver in Sun Java System Web Server 7

    I'm trying to configure JDBC database connection pooling for a Microsoft SQL Server 2005 Express Edition though the Sun Java System Web Server 7 administration console. I don't want to use the MSSQL JDBC driver that comes bundled with the SJSWS 7. So I've downloaded the lastest MSSQL JDBC driver from the Microsoft website and put in the "lib" subdirectory of the SJSWS installation directory. So when I go to add a new JDBC resource through the administration console, the newly added MSSQL database driver doesn't appear in the "Driver Vendor" drop-down box.
    How do I add the downloaded JDBC driver to the server so that it appears in the "Driver Vendor" drop-down under "Create JDBC resource".

    Check this documentation from MS on using the JDBC driver with DataSource
    http://msdn2.microsoft.com/en-us/library/ms379052.aspx
    SJS Web Server 7.0 should work with any driver that has support for javax.sql.DataSource. The great majority of drivers do.
    So instead of using the driver name, use the DataSource class name:
    com.microsoft.sqlserver.jdbc.SQLServerDataSource
    The properties to add should be:
    user=username
    password=password
    servername=sql_server_hostname
    portnumber=sql_server_port
    databasename=databasename
    In general, all the setters required to get the datasource configured can be set as properties.

Maybe you are looking for

  • Can I cancel a annual membership that is paid monthly?

    Hi, I want to buy Creative cloud (£8.57 a month for a year) but want to know if this counts as a monthly membership that can be cancelled at any time or if this is classed as an annual plan and can only be cancelled within the first month otherwise t

  • Getting sqlplus to read tnsnames.ora

    I have installed the instant client (version 11_1) on an Ubuntu box (9.04) I have a tnsnames.ora file I would like to use with sqlplus. What do I need to do to configure to get sqlplus to use my tnsnames.ora file? When I strace the sqlplus process, I

  • Is the display on Pearl Flip 8220 sharper that the one on my 8310?

    Does anyone know why the display on a Pearl Flip 8220 seems sharper than the one on my 8310?  Is it the 4.6 OS or the actual display? Man, I want a 8900...... Neil 

  • Y510P IS DEAD!!!!!!!!

    z510 is dead. No power. Need help! Options ‎01-06-2015 08:51 AM My Y510p laptop is dead it worked fine I updated to the newest windows and it was working on battery so it turned off all of sudden now I try to turn it on it's literally dead nothing at

  • Builded crypto++ "ver 5.1" and amule 2.0.0rc1

    so i stoped beeing lazy and made it thanks me please if ther is something bad about the pkgs please advice you can get the pkg and pkgbuild here http://routty.dhis.org/pkgs/feitos/ http://routty.dhis.org/pkgs/feitos/crypto++/PKGBUILD http://routty.dh