Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Composite Applications wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.2
  • 6.2.1
  • 8.0.1
  • 8.5
  • 8.5+
  • 8.5.1
  • advanced features
  • advantages
  • API
  • app dev
  • assembling
  • basics
  • benefits
  • Browser
  • CAE
  • catalog
  • changing page properties
  • changing value to another type of value
  • code snippet
  • component library
  • component properties
  • components
  • Composite Application Editor
  • Composite Applications
  • container components
  • containers
  • custom actions
  • debugging
  • demos
  • deploying
  • designing
  • developing
  • Eclipse
  • Eclipse components
  • editing properties
  • Editor
  • education
  • enablement
  • Expeditor
  • extending
  • extensions
  • FAQ
  • feature rules
  • framework
  • getting started
  • Help
  • HOD
  • host on demand
  • how to
  • Java
  • lead manager
  • linking
  • live text
  • match rules
  • new users
  • Notes
  • Notes components
  • nsf
  • NSF components
  • overview
  • page navigation
  • page properties
  • Palette
  • PBE
  • PIM
  • plugins
  • Portal
  • preference
  • product documentation
  • programming
  • properties
  • property broker
  • property broker editor
  • Property Broker Monitor tool
  • provisioning
  • resources
  • roadmap
  • samples
  • setting component properties
  • Sidebar
  • sideshelf
  • Symphony
  • Symphony view component
  • technote
  • testing
  • toolkit
  • TopologyHandler
  • troubleshooting
  • tutorial
  • update site
  • updating
  • upgrading
  • video
  • view
  • Web
  • web services
  • white lists
  • widgets
  • Wiring
  • WSDL
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Troubleshooting Applications > Troubleshooting composite applications while deploying
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Troubleshooting composite applications while deploying 

expanded Abstract
collapsed Abstract
No abstract provided.

Table of Contents | Next | Previous

This article provides you with information that can assist you in troubleshooting any problems that may occur during deployment or updating composite applications.

Troubleshooting example - Steps to take when an Eclipse component does not come up

If some Eclipse components do not come up and are not shown correctly when you open a composite application, "rectangles" of the components provide information on what is wrong (for example, not having access rights). The following information provides an example of how to troubleshoot a problem of this type with your composite application.

Consider the following screenshots and error messages where there is a problem of this type with one of the components.




You may see this error as well:



To troubleshoot this problem, the next step would be to click on the blue link "View the diagnostic report for this application" to review a diagnostic report for this application. This link can provide some useful information for troubleshooting such as the following:




In a case like this, the following "expected" errors can occur:

1. The reference to the correct component (and component version) but the right update site is not correct. This may have occurred because application assemblers manually typed in the feature name, view part name, version number, match rule and/or the update site URL in Composite Application Editor (CAE) and they used wrong names.

Note: This cannot happen if the CAE was used to add the Eclipse component since CAE adds all of these properties automatically.

Solution: In this case check the properties in the CAE. You can verify whether the URL to the update site is correct by using the Install dialog under File-Application-Install (see immediate screenshot) and then copying the URL in the text box in the "Add remote location" dialog.



This is a feature used to install plugins that a normal end user will not be able to access since this setting is turned off by default. Do the following to enable this feature:
  • Open the /framework/rcp/plugin_customization.ini file for editing with a text editor
  • Add the following entry: com.ibm.notes.branding/enable.update.ui=true

2. The update site is not available when the application is opened in Lotus Notes. This can happen for several reasons if the update site is in an NSF (this is recommended). These reasons include the following:
  • The database does not exist anymore.
  • The database cannot be accessed (for example, the client is not online or the server is server is down.
  • You do not have access rights to the databse or the database is encrypted.
  • The Notes client does not have a connection document to server.
  • There are network issues (for example, problem with your Firewall orproxy; DNS cannot resolve the name to an IP address, etc.)

Solution: Try to open the Notes database with the update site as the regular Notes database. In other words, open the NSF via the File-Open-Lotus Notes Application method. Notes will then give different dialogs that may help narrow down the issue. For example, the following occurs if you do not have access rights:




In a case like this, change the ACL of the update site nsf. Once you have fixed the issue, open the composite application so that Notes will attempt to provision again.

3. Eclipse components might now show up after provisioning before you restart.

Solution: Restart the client.

4. Provisioning was canceled. In this case you would see the following:



Solution: Open the composite application again so that Notes will try to provision again.

5. A dependency (a dependent other Eclipse feature) does exist on the client. This can happen since Eclipse does not resolve all dependencies automatically. You need to, instead, define all the features your Eclipse component needs in the Composite Application Editor (not only the one feature the view part is in).

Typically the majority of simple components will employ a single Eclipse feature and the Composite Application Editor will detect that required feature when the component is added to the palette from an update site. The sample image below shows a simple view configured with a single feature:



With more complex components that have multiple features, you are required to configure the component after it has been added to the CAE palette. Use the advanced component properties to list the additional dependant features using an underscore and incrementing digits postfixed to the id.feature, match.feature and version.feature property names. The sample image below shows a configured two feature component:



In order to find out whether an Eclipse component is missing you can use the OSGI console. If you run the "diag" command from the OSGI console, you can check whether dependencies are there. Use the following steps to do this:
  • Open the OSGI console. Refer to the "OSGI console" section of the "General hints and tools for debugging Composite Applications" wiki article (http://www-10.lotus.com/ldd/compappwiki.nsf/dx/general-hints-and-tools-for-debugging-composite-applications) for more information on the console and the commands that you can use.
  • Type the following command at the console prompt:

    osgi> diag com.ibm.cademo.util.comp.nav
  • You will be able to view information such as the following to assist you in troubleshooting:
update@../../../Data/workspace/applications/eclipse/plugins/com.ibm.cademo.util.
comp.nav_8.1.20080530.jar [1427]
Direct constraints which are unresolved:
Missing imported package com.ibm.rcp.topologyhandler_0.0.0.

This error message shows that a package is missing. A package is in a plugin and a plugin is in a feature. In order to find out to which plugin the missing package belongs you basically need to do a large search in all plugins on your client. Plugins on your client can be either stored in .JAR files in the "plugins" directories (for example, 1. D:\Data\NotesData\workspace\applications\eclipse, 2. C:\\framework\rcp\eclipse, 3. C:\\framework\shared\eclipse) or you can find the plugins in sub-directories of these three directories. In the latter case, the classes can either be again in subdirectories or all put in .JAR files.

Searching the right installed plugin on your client can be a time consuming. Often the plugin names contain parts of the package name. For example if you need to find the class com.ibm.jscript.editor.internal.AbstractJSDesignProblem.class you should try to find it in the plugin directory com.ibm.jscript.editor_8.5.0.20081020-1445. In order to see what classes a .JAR file contains you can rename the .JAR files temporarily to xxx_name.zip and open them with a standard ZIP extraction tool.

You can also use the Eclipse IDE to help you to show all the dependencies of a plugin. TO do this, open the manifest.mf in the IDE and then the Dependencies tab. When you use the "show the plugin dependency hierarchy" setting the IDE will show all dependencies. To filter this list even more, you can use "find unused dependencies" and remove unnecessary dependencies first.

Once you have found the right plugin you need to find its feature - in particular, you need to find the correct feature.xml. The feature.xml can be in the "features" subdirectories of the same three directories just mentioned. They can be in these directories in an extracted form or within a .JAR file. If they are in there in an extracted form you can use an operating system file search to find the plugin id of the missing package in one of the feature.xml files. Once you find the right feature, add it as described earlier.

Finally, if for some reason you still get errors you can check to see if NOtes was installed correctly. If your Notes configuration proves not to be correct, you might want to try to reinstall the application. To do this open the Portal Applications catalog (which includes also NSF based apps) and use the actions to uninstall and reinstall applications.

Possible CAE error scenario

In addition to the runtime errors example just described, Eclipse components can also show not up in the CAE in the following scenario. If a user has been editing the application, the CAE can tell CAI provisioning to continue without a restart when installing a new feature. This is a convenience, since it allows the end user to continue editing without restarting. A side effect of this, however, is that any part of the application that requires a restart will display a "not available" message.

Logging

For composite applications, logging features are available to help in determining application problems. For more information on troubleshooting and logging, refer to this article in the IBM Composite Applications wiki: http://www-10.lotus.com/ldd/compappwiki.nsf/dx/general-hints-and-tools-for-debugging-composite-applications.

IBM Support Assistant

The IBM Support Assistant (ISA) is also a useful tool for troubleshooting composite applications. IBM Support Assistant (ISA) is a software application intended to help customers be more productive with IBM products by resolving product challenges faster. ISA offers resources for rapid submission of problem reports and immediate, automated collection of diagnostic data that can accelerate problem resolution. (See http://www-01.ibm.com/support/docview.wss?rs=475&context=SSKTWP&context=SSKTMJ&context=SSRNU3&context=SSRNUY&q1=%22support+assistant%22&uid=swg21273533&loc=en_US&cs=utf-8&lang=en

When you run ISA, the information on all the composite applications installed on the system is logged into systemsummary.txt file. There is a composite applications section located in this file (currently in the last section of this file). The information logged is the same as if you to bring up reports from the Portal Application catalog. The following is a sample of composite application information found in systemsummary.txt :

*
Composite Application Details
*



Report for application A77E1E3B6C8F93B1DA9C8B39C99CBF10_852574E300002079
Name = Blank Application
GUID = A77E1E3B6C8F93B1DA9C8B39C99CBF10_852574E300002079
Last modified = Wed Oct 15 13:26:12 EDT 2008
Owner ID = null
URL = nrpc:/__852574E3005F5171/composite.xml?name=CompAppMain&file=testpropsca.nsf


Views referenced in this application:
View ID = com.ibm.rcp.csiviews.viewpart.CSIViewPart
Parent contributor: com.ibm.rcp.csiviews
Bundle status = STARTING
Bundle last modified = Wed Oct 15 13:17:34 EDT 2008
View ID = com.ibm.workplace.noteswc.views.NotesViewData
Parent contributor: com.ibm.notes.client
Bundle status = ACTIVE
Bundle last modified = Wed Oct 15 13:17:34 EDT 2008

Features referenced in this application:
There are no features referenced in this application


Report for application BCD3ECD5F2632747704A3BC0E0098625_1F_3KE527R200VQ502MGJOIMC2096
Name = Notes 8.0 Mail Calendar ToDo Applications
GUID = BCD3ECD5F2632747704A3BC0E0098625_1F_3KE527R200VQ502MGJOIMC2096
Last modified = Fri Mar 21 03:14:54 EDT 2008
Owner ID = null
URL = nrpc://WTFMAIL02a%2FWTF%2FM%2FLotus/__852562A50064CD4D/composite.xml?name=NotesMailApps.xml&file=mail%5Crharwood.nsf


Views referenced in this application:
View ID = com.ibm.rcp.csiviews.viewpart.CSINavViewPart
Parent contributor: com.ibm.rcp.csiviews
Bundle status = STARTING
Bundle last modified = Wed Oct 15 13:17:34 EDT 2008
View ID = com.ibm.workplace.noteswc.views.NotesViewData
Parent contributor: com.ibm.notes.client
Bundle status = ACTIVE
Bundle last modified = Wed Oct 15 13:17:34 EDT 2008
View ID = com.ibm.rcp.csiviews.viewpart.CSIViewPart
Parent contributor: com.ibm.rcp.csiviews
Bundle status = STARTING
Bundle last modified = Wed Oct 15 13:17:34 EDT 2008

Features referenced in this application:
There are no features referenced in this application


See the topic Lotus Expeditor help topic "Opening diagnostic reports for composite applications" athttp://infocenters.lotus.com/help9/topic/com.ibm.rcp.tools.doc.appdev/compapps_openingdiagnosticcontext.html for more information on the steps to view the diagnostic report for any installed composite application.

Table of Contents | Next | Previous


expanded Article information
collapsed Article information
Category:
Troubleshooting Applications
Tags:
deploying, NSF components, Eclipse components, troubleshooting

This Version: Version 8 October 11, 2009 3:19:45 PM by Deanna Drschiwiski  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (3)
collapsed Versions (3)
Version Comparison     
Version Date Changed by               Summary of changes
This version (8) Oct 11, 2009 3:19:45 PM Deanna Drschiwiski  
7 Jan 14, 2009 11:19:26 PM Deanna Drschiwiski  
5 Dec 10, 2008 10:59:23 AM Robert F Harwood  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use