The format of a Fully Qualified Sun Portal Server URI is myhost.india.sun.com:8080/portal
where,
(1) myhost.india.sun.com is the FQDN
(2) 8080 is the container port where the portal is deployed
(3) portal is the URI
Skip to content, navigation.
The format of a Fully Qualified Sun Portal Server URI is myhost.india.sun.com:8080/portal
where,
(1) myhost.india.sun.com is the FQDN
(2) 8080 is the container port where the portal is deployed
(3) portal is the URI
Take the example of Sun Portal Server. By default installation, you will be accessing the main page of the portal as "http://hostname:port/portal/dt". The element "/portal/dt" is quite sun-ish and will be available for all sun portal server installation as long as you leave it untouched (of Course you can change /portal/dt to /myportal/mydt)
Now lets say that you want to know about all are the public sites hosted using sun portal server (assuming they have /portal/dt implentation) then you can use google's inurl features.
| google.com >> Type inurl:"/portal/dt" and search |
You will be happy to see that search results shows publicly hosted sun portal server . Google, hats off!!
Check out more google search operators
Thanks ajit kamble for this interesting observation !!
Older versions of JSPWiki (say JSPWiki v2.2.28) have some serious back door which if you are not aware will allow any users to cause serious damage to your wiki. Sun Portal Server 7.0 / 7.1 customers should be aware of this issue and make sure that portal server wiki portlet is secure . For sites hosted on independent JSPWiki system, they should make sure that external users cannot access the below files:
(a)/../wiki/Install.jsp (b)/../wiki/admin/SecurityConfig.jsp
In a portal server deployment scenario, if the wiki system is not made secure , any user can access the /wiki/Install.jsp web page directly and bring it down. Below is a worse case:
Suppose you set up a portal server as http://abc.india.sun.com/portal . Assuming its a default installation where you wont do much of a changes, now access the URL, http://abc.india.sun.com/wiki/Install.jsp
2. The Install.jsp file is a form which allows any user to update its contents (say users can change Application Name: , Base URL: , File storage: , Work directory: etc )
3. After updating this form, now click on configure button and restart the container. Try to access wiki within portalserver
Issue : You will now see that , wiki tab displays error
(Update 23/aug/2007 : This issue is now fixed in the latest build)
Just now found out that BigAdmin site has arranged a nice way and put up all the portal server manuals together in one place
For PortalServer 7.1, you can access this link and get all the details of portal server , right from planning to deployment!!
Good News!!! Sun Java Portal Server is selected as Best Portal Platform by SYS-CON Media Announces 2007 SOA World Reader's Choice Awards ... More can be read here
This note assumes you have a fair understanding of Sun Java Portal Server InterPortlet Communication. Pls see here for more information about IPC
(1) IPC portlets generating a event and listening to the same event
For a IPC portlet to generate or listen an event , it should first register this information in sun-portlet.xml file . Say a portlet "HelloWorldPortlet" generates a event "event1" and listen to the same can have the entry as below in its sun-portlet.xml file.
Example 1: A IPC portlet "HelloWorldPortlet" generates a event "event1" and listens to the same event "event1"
<portlet>
<portlet-name>HelloWorldPortlet</portlet-name>
<deployment-extension>
<extension-element>
<session-enabled>0</session-enabled>
</extension-element>
</deployment-extension>
<events>
<generates-event>event1</generates-event>
<consumes-event>event1</consumes-event>
</events>
</portlet>
(2) IPC portlets generating a event and listening to all the events generated by other portlets (and its own events too)
Example 2:A IPC portlet "HelloWorldPortlet" generates a event "event1" and listens any events generated by other portlets
<portlet>
<portlet-name>HelloWorldPortlet</portlet-name>
<deployment-extension>
<extension-element>
<session-enabled>0</session-enabled>
</extension-element>
</deployment-extension>
<events>
<generates-event>event1</generates-event>
<consumes-event>*</consumes-event>
</events>
</portlet>
Note : If a portlet requests an event which has not been declared in the sun-portlet.xml file, an exception NotRegisteredException will be thrown. Wild cards can not be used for declaring the events that will be generated.
This blog copyright 2009 by thekkadath