Prakash Prabhakaran

Starting and Stopping derby using NetworkControl class

Wednesday Oct 03, 2007

The database can be stopped and started using the Derby NetworkServerControl class. For example, type java org.apache.derby.drda.NetworkServerControl start -h your—host -Dderby.system.home=/var/opt/SUNWportal/derby where -h argument is required, and must match the Portal Server host name chosen at install time. To run this command:

  • The derby.jar, derbytools.jar, and derbynet.jar files must be in your classpath. By default, these JAR files are installed into /usr/share/lib/Derby directory.

  • The system property derby.system.home must be set to:

    • /var/opt/SUNWportal/derby for Solaris.

    • /var/opt/sun/portal/derby for Linux.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Installing and Configuring shared events Tasks portlets

Wednesday Oct 03, 2007

Unlike the other portlets in the Community context Shared Events and Tasks portlets needs extra backend support. The steps needs to install/configure these portlets are :

Install Portal Server(7.0 and above)
Install Calendar Server
Install Delegated Admin
Run the commds_setup.pl for configuring directory server
Restart the directory server
Run the commdasetup.pl for configuring Delegated Admin
Run the calendar configurator to configure calendaer server
Edit the tokens.properties file with appropriate values
Run ant customize to create the war file
Loading the SSO Adapter Template
Traverse to the location where you can find SSOAdapterTemplate.xml file

You'll find the file in /var/opt/SUNWportal/portletapps/sharedevents/build/conf.
Do a ant -f config.xml. This will load the SSO Adapter configuration.

 Deploying the war file

/opt/SUNWportal/bin/psadmin deploy-portlet -u amadmin -f /tmp/ampasswd -p portal1 -g /var/opt/SUNWportal/portletapps/sharedevents/build/sharedevents.war

 Restart the container

 

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg