|
|

|
 |
 |
 |
|
|
 |
| Novell Portal Services Overview and Gadget Development |
 |
| April 2003 |
 |
| DeveloperNet University Course |
 |
 |
| Reader Rating |
 |
|
 |
from ratings |
 |
|
 |
|
|
Novell Portal Services Labs
The previous portions of this course have introduced you to NPS, given you an understanding of what you can do with NPS, and also the requirements to use NPS. The remainder of this course will focus on several labs and source code that will allow you to get your hands dirty using the information you have learned about NPS.
Before we can start the labs, we need to discuss the environment that will be needed for the labs. The following are items that you either need or will need to do in order to be able to successfully complete the labs.
Prerequisites
You will need the following hardware and software:
- Windows 2000 Server, with Service Pack 3 or greater
- J2SE 1.4.0 or higher installed at root of Windows volume (i.e. c:\j2sdk1.4.0)
- java_home environment variable set to J2SE install root
- Apache 2.x and Tomcat 3.x installed
- tomcat_home environment variable set to tomcat install root
- Apache httpd / Tomcat redirector (mod_jk) installed and confirmed working see http://www.apache.org and http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html.
NDS eDirectory
- NDS eDirectory 8.6 or above installed, ensuring the port configuration for the web-based tools (iManager, etc.) don't clash with Apache or Tomcat (default port is 80 which will clash!).
- Default context o=novell
- Admin as cn=admin,o=novell
- ConsoleOne 1.3.x installed
Make sure you do the following during NPS install:
- Public User as cn=Public,o=novell
- All other users within o=novell
- Portal Configuration Object as cn=PCO,o=novell
NPS File Structure
There is considerable room for confusion in the varying (and long) file structures encountered when working with NPS. A summary of the common structure is as follows:
Figure 36:
NPS File Structure.
Directory
|
Description
|
<webapps>
|
The Web Application directory NPS is deployed to. If
the default Java application server (Tomcat) is
accepted, then this will be the webapps directory off
the Tomcat installation root, Figure 36.
|
<webapps>/nps/packages
|
The Novell Gadget Package (NPG) deployment target.
|
<webapps>/nps/portal/gadgets
|
Root directory for all gadget configurations.
|
<webapps>/nps/portal/gadgets/<gadget>/skins
|
Root directory for an XSL skins to be applied to <gadget>.
|
webapps>/nps/portal/stylesheets/skins
|
Root directory for the XSL skips which apply to the
Themes.
|
<webapps>/nps/portal/stylesheets/skins/
<theme>/default/devices/default
|
XSL for the skin to be applied to <theme> for a default
browser device.
|
<webapps>/nps/portal/stylesheets/skins/
<theme>/default/devices/pda
|
Same as above, but for a default PDA device.
|
|
 |
 |
 |