Hello - I am trying to deploy a JSF application as a Portlet using portlet bridge provided by apache. However, I am encountering the following exception:
2005-09-05 17:29:31,433 [http-8080-Processor25] ERROR org.apache.jetspeed.aggregator.impl.RenderingJob - Error rendering portlet OID P-1062615904d-10003 javax.portlet.UnavailableException: Portlet Application jbTxnStatsApp not available at org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(Je tspeedPortletFactory.java:130) at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(Servl etPortletInvoker.java:189) at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(Servl etPortletInvoker.java:125) Can you throw some light on what would be wrong. here is the list of things I have done List of jar included in my application /WEB-INF/lib folder commons-beanutils-1.6.1, commons-codec-1.2, commons-collections-2.1, commons-digester-1.5, commons-el-1.0, commons-logging-1.0.3, log4j-1.2.8, myfaces-1.0.9, myfaces-jsf-api-1.0.9, portals-bridges-jsf-0.3 portlet.xml - <portlet-app id="jbTxnStatsApp" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.x sd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> <portlet id="jbTxnStatistics"> <portlet-name>jbTxnStatistics</portlet-name> <display-name>JSF(bridge) Transaction Stats</display-name> <portlet-class>org.apache.portals.bridges.jsf.FacesPortlet</portlet-clas s> <init-param> <name>ViewPage</name> <value>/WEB-INF/view/txnCriteria.jsp</value> </init-param> <init-param> <name>EditPage</name> <value>/WEB-INF/view/edit.jsf</value> </init-param> <init-param> <name>HelpPage</name> <value>/WEB-INF/view/help.jsp</value> </init-param> <!--<expiration-cache>-1</expiration-cache>--> <supports> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> <portlet-mode>EDIT</portlet-mode> <portlet-mode>HELP</portlet-mode> </supports> <resource-bundle>com.polaris.pgportals.poc.bundles.Resources</resource-b undle> <portlet-info> <title>Jsf(bridge) Transaction Stats</title> <short-title>JB Txn Stat</short-title> <keywords>JBCriteria, JBFStatistics</keywords> </portlet-info> </portlet> web.xml - <web-app> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> <context-param> <param-name>javax.faces.application.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml</param-value> </context-param> <filter> <filter-name>extensionsFilter</filter-name> <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</f ilter-class> <init-param> <param-name>uploadMaxFileSize</param-name> <param-value>100m</param-value> <description>Set the size limit for uploaded files. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB</description> </init-param> <init-param> <param-name>uploadThresholdSize</param-name> <param-value>100k</param-value> <description>Set the threshold size - files below this limit are stored in memory, files above this limit are stored on disk. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB</description> </init-param> </filter> <!-- Filter Mappings --> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>*.jsf</url-pattern> </filter-mapping> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>/faces/*</url-pattern> </filter-mapping> <!-- Listener, that does all the startup work (configuration, init). --> <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener< /listener-class> </listener> <!-- Faces Servlet --> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet> <servlet-name>JetspeedContainer</servlet-name> <display-name>Jetspeed Container</display-name> <description>MVC Servlet for Jetspeed Portlet Applications</description> <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</s ervlet-class> <init-param> <param-name>contextName</param-name> <param-value>jbTxnStatsApp</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>JetspeedContainer</servlet-name> <url-pattern>/container/*</url-pattern> </servlet-mapping> <taglib> <taglib-uri>http://java.sun.com/portlet</taglib-uri> <taglib-location>/WEB-INF/tld/portlet.tld</taglib-location> </taglib> Can anyone please throw some light on what could have possibly gone wrong. Also please note that prior to this stage, I was just getting the Portlet title with the body content missing. With few changes here and there, this is exception I get now. many thanks priya This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit Us at http://www.polaris.co.in