1 2 Previous Next 17 Replies Latest reply on Apr 11, 2009 10:28 AM by Piergiorgio Lucidi

    URGENT - Problem when deploying on jboss portal

    Ajay Nakhare Newbie

      Hi,
      I am using boss 4.0.5 server.
      i have created 3 xml files.

      dummy-object.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <deployments>
       <deployment>
       <if-exists>overwrite</if-exists>
       <parent-ref>main</parent-ref>
       <page>
       <page-name>dummy-Home</page-name>
      
       <window>
       <window-name>dummy-HeaderPortletWindow</window-name>
       <instance-ref>dummy-HeaderPortletInstance</instance-ref>
       <region>header</region>
       <height>0</height>
       <properties>
       <property>
       <name>theme.windowRendererId</name>
       <value>emptyRenderer</value>
       </property>
       <property>
       <name>theme.decorationRendererId</name>
       <value>emptyRenderer</value>
       </property>
       <property>
       <name>theme.portletRendererId</name>
       <value>emptyRenderer</value>
       </property>
       </properties>
       </window>
       </page>
       </deployment>
      </deployments>
      


      portlet-instances.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <?xml version="1.0" encoding="UTF-8"?>
      <deployments>
       <deployment>
       <instances>
       <instance>
       <instance-id>dummy-HeaderPortletInstance</instance-id>
       <portlet-ref>dummy-HeaderPortlet</portlet-ref>
       <preferences>
       <preference>
       <name>JSPPage</name>
       <value>/includes/header.jsp</value>
       </preference>
       </preferences>
       </instance>
       </instances>
       </deployment>
      </deployments>
      


      portlet.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <portlet-app
       xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
       version="1.0">
      
      
      <portlet>
       <portlet-name>dummy-HeaderPortlet</portlet-name>
       <portlet-class>com.PortletDefinitiion</portlet-class>
       <supports>
       <mime-type>text/html</mime-type>
       <portlet-mode>VIEW</portlet-mode>
       </supports>
       <portlet-info>
       <title>Header Portlet</title>
       </portlet-info>
      </portlet>
      
      </portlet-app>
      


      jboss-app.xml, jboss-portlet.xml, jboss-web.xml files are also available in web-inf folder.

      After starting the server when i try to run the app'http://localhost/portal/portal/main/dummy-Home', it says 'Object not found dummy-HeaderPortletInstance'

      Please help me to solve this problem.



        • 1. Re: URGENT - Problem when deploying on jboss portal
          steux jean-sebastien Newbie


          Hello,

          these files must be deployed in the WEB-INF (uppercase) folder of the war file which contains the portlet

          • 2. Re: URGENT - Problem when deploying on jboss portal
            Ajay Nakhare Newbie

            Hi,

            The files are already deployed in the WEB-INF (uppercase) folder of the war file.

            I think i am missing something, may be very small issue but not able to figure out. :(

            • 3. Re: URGENT - Problem when deploying on jboss portal
              Ajay Nakhare Newbie

              Hi,

              I added few jar files which were missing and it is working fine now for instances.
              But it is giving problem for portlets. I am getting 'Object not found dummy.dummy-HelloPortlet' error
              I am using JSF in my application.

              portlet.xml

              
              <?xml version="1.0" encoding="UTF-8"?>
              <portlet-app
               xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
               version="1.0">
              
              
               <portlet>
               <portlet-name>dummy-HelloPortlet</portlet-name>
               <portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-class>
               <init-param>
               <name>default-view</name>
               <value>/includes/header.jsp</value>
               </init-param>
               <supports>
               <mime-type>text/html</mime-type>
               <portlet-mode>VIEW</portlet-mode>
               </supports>
               <portlet-info>
               <title>Hello Portlet</title>
               </portlet-info>
               </portlet>
              
              
              </portlet-app>
              
              


              lib folder has 'myfaces-api-1.1.5.jar' and 'myfaces-impl-1.1.5.jar'.

              • 4. Re: URGENT - Problem when deploying on jboss portal
                Peter Johnson Master

                And when you login as admin, does this portlet should up on the admin page in the list of portlets?

                • 5. Re: URGENT - Problem when deploying on jboss portal
                  Ajay Nakhare Newbie

                  I manage to deploy the application when i was using normal JSP page.
                  When i tried to use JSF tags it is giving me errors.

                  portlet.xml

                  
                   <portlet>
                   <portlet-name>psrp-HelloPortlet</portlet-name>
                   <portlet-class>com.geinfra.geenergy.psrp.portal.PortletDefination</portlet-class>
                   <init-param>
                   <name>JSPPage</name>
                   <value>/includes/header.jsf</value>
                   </init-param>
                   <init-param>
                   <name>PageTitle</name>
                   <value>Header</value>
                   </init-param>
                   <supports>
                   <mime-type>text/html</mime-type>
                   <portlet-mode>VIEW</portlet-mode>
                   </supports>
                   <portlet-info>
                   </portlet-info>
                   </portlet>
                  
                  


                  Which jar files are required for using JSF tags ?

                  • 6. Re: URGENT - Problem when deploying on jboss portal
                    Ajay Nakhare Newbie

                    I forgot to put the error

                    javax.servlet.ServletException: org.jboss.portal.portlet.impl.jsr168.DispatchedHttpServletRequest

                    Is it because of the missing jar file or anything else.

                    Please help

                    • 7. Re: URGENT - Problem when deploying on jboss portal
                      Peter Johnson Master

                      Always post the full stack trace from the console log.

                      You do not need to add any JSF-specific JAR files to your app, they are already included in JBoss AS.

                      • 8. Re: URGENT - Problem when deploying on jboss portal
                        Peter Johnson Master

                        I am rethinking my prior statement - it depends on what JSF implementation you are using and what library of JSF components you are suing, so you might have to include some files in your app. But without giving any clue about which JSF tags you are using, it is impossible to say/ You might also want to post the JSP (or whatever file contains the JSF tags)

                        • 9. Re: URGENT - Problem when deploying on jboss portal
                          Ajay Nakhare Newbie

                          jsftest-object.xml

                          
                          <?xml version="1.0" encoding="UTF-8"?>
                          <deployments>
                           <deployment>
                           <if-exists>overwrite</if-exists>
                           <parent-ref>main</parent-ref>
                           <page>
                           <page-name>jsftest-Home</page-name>
                          
                           <window>
                           <window-name>jsftest-HelloPortletWindow</window-name>
                           <instance-ref>jsftest-HelloPortletInstance</instance-ref>
                           <region>center</region>
                           <height>0</height>
                           </window>
                           </page>
                           </deployment>
                          
                          </deployments>
                          
                          


                          portlet-instances.xml

                          
                          <?xml version="1.0" encoding="UTF-8"?>
                          <deployments>
                          
                           <deployment>
                           <if-exists>overwrite</if-exists>
                           <instance>
                           <instance-id>jsftest-HelloPortletInstance</instance-id>
                           <portlet-ref>jsftest-HelloPortlet</portlet-ref>
                           </instance>
                           </deployment>
                          
                          
                          </deployments>
                          
                          


                          portlet.xml

                          
                          <?xml version="1.0" encoding="UTF-8"?>
                          <portlet-app
                           xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
                           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                           xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
                           version="1.0">
                          
                          
                           <portlet>
                           <portlet-name>jsftest-HelloPortlet</portlet-name>
                           <portlet-class>com.test.PortletDefination</portlet-class>
                           <init-param>
                           <name>JSPPage</name>
                           <value>/pages/hello.jsp</value>
                           </init-param>
                           <init-param>
                           <name>PageTitle</name>
                           <value>Header</value>
                           </init-param>
                           <supports>
                           <mime-type>text/html</mime-type>
                           <portlet-mode>VIEW</portlet-mode>
                           </supports>
                           <portlet-info>
                           </portlet-info>
                           </portlet>
                          
                          </portlet-app>
                          
                          


                          portletDefination.java

                          
                          package com.test;
                          
                          import java.io.IOException;
                          import javax.portlet.*;
                          
                          
                          public class PortletDefination extends GenericPortlet {
                           private String jspUrl = null;
                           private String jspTitle = null;
                          
                           public void init() throws PortletException {
                           super.init();
                           jspUrl = getInitParameter("JSPPage");
                           jspTitle = getInitParameter("PageTitle");
                           System.out.println("inittttttttttttt");
                           System.out.println("jspUrl "+jspUrl);
                           System.out.println("jspTitle "+jspTitle);
                           }
                          
                           protected void doView(RenderRequest rRequest, RenderResponse rResponse)
                           throws PortletException, IOException, UnavailableException {
                           rResponse.setContentType("text/html");
                           System.out.println("doviewwwwwwwwwwwwwwww");
                           PortletRequestDispatcher pRD = getPortletContext().getRequestDispatcher(jspUrl);
                           pRD.include(rRequest, rResponse);
                           rResponse.setTitle(jspTitle);
                          
                           }
                          }
                          
                          


                          hello.jsp

                          
                          <%@ page contentType="text/html"%>
                          <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
                          <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
                          
                          <h:form>
                          <TABLE cellSpacing=0 cellPadding=0 width="100%" border=1>
                          <TBODY>
                          <TR valign=top>
                          <TD>JSFFFFFF PAGE</TD>
                          <TD><h:graphicImage alt="GE imagination at work" value="../images/globe.jpg" width="100" /></TD>
                          </TR>
                          </TBODY>
                          </TABLE>
                          </h:form>
                          
                          


                          error

                          
                          22:41:08,088 INFO [FacesConfigurator] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSeri
                          alFactory
                          22:41:08,098 INFO [StartupServletContextListener] ServletContext 'C:\jboss 4.0.5\server\default\.\deploy\JsfTest.war\' init
                          ialized.
                          22:41:08,288 ERROR [AbstractKernelController] Error installing to Start: name=portal:container=Portlet,id=/JsfTest.jsftest-H
                          elloPortlet state=Create
                          org.jboss.portal.portlet.container.PortletInitializationException: The portlet jsftest-HelloPortlet threw a runtime exceptio
                          n during init
                           at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:285)
                           at org.jboss.portal.portlet.container.PortletContainerAdapter.start(PortletContainerAdapter.java:72)
                           at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
                           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                           at java.lang.reflect.Method.invoke(Method.java:585)
                           at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72)
                           at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActio
                          ns.java:92)
                           at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelController
                          ContextActions.java:452)
                           at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelCo
                          ntrollerContextActions.java:147)
                           at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
                           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
                           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
                           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
                           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
                           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
                           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
                           at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:74)
                           at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:225)
                           at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:77)
                           at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:2
                          14)
                           at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:243)
                           at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                           at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
                           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                           at java.lang.reflect.Method.invoke(Method.java:585)
                           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                           at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                           at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                           at $Proxy119.deploy(Unknown Source)
                           at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:297)
                           at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source)
                           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                           at java.lang.reflect.Method.invoke(Method.java:585)
                           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                           at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                           at $Proxy77.deploy(Unknown Source)
                           at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:54)
                           at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:134)
                           at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
                           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                           at java.lang.reflect.Method.invoke(Method.java:585)
                           at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
                           at $Proxy122.handleNotification(Unknown Source)
                           at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java
                          :127)
                           at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:1
                          08)
                           at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340)
                           at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308)
                           at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:482)
                           at sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source)
                           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                           at java.lang.reflect.Method.invoke(Method.java:585)
                           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                           at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                           at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                           at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                           at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                           at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
                           at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188
                          )
                           at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                           at $Proxy103.start(Unknown Source)
                           at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                           at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                           at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
                           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                           at java.lang.reflect.Method.invoke(Method.java:585)
                           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                           at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                           at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                           at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                           at $Proxy6.deploy(Unknown Source)
                           at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                           at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
                           at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                           at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                           at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                          Caused by: java.lang.ClassCastException: com.test.PortletDefination
                           at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:247)
                           ... 98 more
                          22:41:08,458 WARN [PortletAppDeployment] Failed to create instance jsftest-HelloPortletInstance of portlet /JsfTest.jsftest
                          -HelloPortlet because portlet /JsfTest.jsftest-HelloPortlet is not available
                          



                          my lib folder contains 'portlet-api-lib.jar'
                          if i run this app on normal server 'http://localhost/JsfTest/pages/hello.jsf' it works fine
                          if i try to run it on portal 'http://localhost/portal/portal/main/JSFTest-Home', it gives me the above error

                          • 10. Re: URGENT - Problem when deploying on jboss portal
                            Peter Johnson Master

                            Always look for the "caused by" clause of the first exception, that it the root cause. In this case, it is a class cast problem. I suspect that having a copy of portlet-api-lib.jar in your WAR file could cause this.

                            Remove the portlet-api-lib.jar from your WEB-INF/lib directory; you don't need it because it already comes with JBoss Portal.

                            If that does not work, let me know and I'll try your code myself.

                            • 11. Re: URGENT - Problem when deploying on jboss portal
                              Ajay Nakhare Newbie

                              Thanks Peter

                              I removed the jar file from the 'lib' folder, but it was giving error in 'com.test.PortletDefination'
                              So i had to put the path of the jar file in classpath
                              Then it worked for jsp pages.

                              But as i said i am working on JSF, so i changed the portlet.xml file

                              portlet.xml

                              
                              <?xml version="1.0" encoding="UTF-8"?>
                              <portlet-app
                               xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
                               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                               xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
                               version="1.0">
                              
                              
                               <portlet>
                               <portlet-name>jsftest-HelloPortlet</portlet-name>
                               <portlet-class>com.test.PortletDefination</portlet-class>
                               <init-param>
                               <name>JSPPage</name>
                               <value>/pages/test.jsf</value>
                               </init-param>
                               <init-param>
                               <name>PageTitle</name>
                               <value>Header</value>
                               </init-param>
                               <supports>
                               <mime-type>text/html</mime-type>
                               <portlet-mode>VIEW</portlet-mode>
                               </supports>
                               <portlet-info>
                               </portlet-info>
                               </portlet>
                              
                              </portlet-app>
                              
                              


                              init-param has been changed to 'test.jsf'

                              test.jsp

                              
                              <%@ page contentType="text/html"%>
                              <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
                              <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
                              
                              
                              <h:form>
                              <TABLE cellSpacing=0 cellPadding=0 width="100%" border=1>
                              <TBODY>
                              <TR valign=top>
                              <TD>TEST JSF PAGE</TD>
                              <TD><h:graphicImage alt="GE imagination at work" value="../images/globe.jpg" width="100" /></TD>
                              </TR>
                              </TBODY>
                              </TABLE>
                              </h:form>
                              
                              


                              error

                              
                              16:24:56,594 ERROR [ControllerCommand] Rendering portlet window main.jsftest-Home.jsftest-HelloPortletWindow triggered the
                              ollowing error :
                              javax.faces.FacesException: javax.servlet.ServletException: org.jboss.portal.portlet.impl.jsr168.DispatchedHttpServletReque
                              t
                               at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:174)
                               at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:175)
                               at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
                               at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
                               at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:397)
                               at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:377)
                               at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:474)
                               at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:323)
                               at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
                               at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
                               at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:518)
                               at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:434)
                               at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:144)
                               at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:223)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141)
                               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionIn
                              erceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
                               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(T
                              ansactionInterceptor$invokeNotSupported_4827075286966232824.java)
                               at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
                               at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
                               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(T
                              ansactionInterceptor$invokeNotSupported_4827075286966232824.java)
                               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
                               at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:51)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:60)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:46)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchroni
                              ationInterceptor.java:77)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatche
                              Interceptor.java:141)
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:585)
                               at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:99)
                               at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                               at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                               at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                               at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
                               at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                               at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:194)
                               at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.jav
                              :69)
                               at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:79)
                               at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:7
                              )
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:57)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
                               at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:115)
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:585)
                               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                               at $Proxy50.invoke(Unknown Source)
                               at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:250)
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:585)
                               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                               at $Proxy52.invoke(Unknown Source)
                               at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:140)
                               at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:156
                              
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:585)
                               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                               at $Proxy54.invoke(Unknown Source)
                               at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:62)
                               at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:223)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141)
                               at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchroniza
                              ionInterceptor.java:86)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:128)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:78)
                               at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
                               at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:122)
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:585)
                               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                               at $Proxy36.invoke(Unknown Source)
                               at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:274)
                               at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:109)
                               at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:84)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141)
                               at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:168
                              
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at com.ge.portal.aspects.LoggingInterceptor.invoke(LoggingInterceptor.java:146)
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:103)
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:7
                              )
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
                               at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
                               at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:92)
                               at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
                               at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:466)
                               at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:78)
                               at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:343)
                               at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:84)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141)
                               at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:168
                              
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at com.ge.portal.aspects.LoggingInterceptor.invoke(LoggingInterceptor.java:146)
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:103)
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:7
                              )
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
                               at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
                               at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
                               at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:92)
                               at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:79)
                               at org.jboss.portal.core.CoreController.handle(CoreController.java:130)
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:585)
                               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                               at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                               at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
                               at $Proxy181.handle(Unknown Source)
                               at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:80)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141)
                               at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:65)
                               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
                               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:73)
                               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:175)
                               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:8
                              )
                               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInte
                              ceptor$invoke$aop(TransactionInterceptor.java:49)
                               at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionIn
                              erceptor$invoke_N5143606530999904530.java)
                               at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                               at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
                               at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionIn
                              erceptor$invoke_N5143606530999904530.java)
                               at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
                               at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                               at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                               at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
                               at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:295)
                               at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:173)
                               at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                               at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                               at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                               at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                               at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:66
                              )
                               at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                               at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                               at java.lang.Thread.run(Thread.java:595)
                              Caused by: javax.portlet.PortletException: javax.servlet.ServletException: org.jboss.portal.portlet.impl.jsr168.DispatchedH
                              tpServletRequest
                               at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:116)
                               at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:167)
                               ... 256 more
                              Caused by: javax.servlet.ServletException: org.jboss.portal.portlet.impl.jsr168.DispatchedHttpServletRequest
                               at javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
                               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                               at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:85)
                               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                               at java.lang.reflect.Method.invoke(Method.java:585)
                               at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:66)
                               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                               at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                               at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                               at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                               at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:106)
                               ... 257 more
                              Caused by: java.lang.ClassCastException: org.jboss.portal.portlet.impl.jsr168.DispatchedHttpServletRequest
                               at org.apache.catalina.core.ApplicationDispatcher.unwrapRequest(ApplicationDispatcher.java:814)
                               at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:401)
                               at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                               at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
                               at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
                               at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
                               at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
                               at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
                               ... 271 more
                              
                              


                              I have created my own class 'com.test.PortletDefination'.
                              Please suggest me if there is is any generic class which i can use and the jar file for that (if required)




                              • 12. Re: URGENT - Problem when deploying on jboss portal
                                Peter Johnson Master

                                 

                                So i had to put the path of the jar file in classpath


                                What JAR file? I hope not the one that contains com.test.PortletDefination because that JAR should be located at WEB-INF/lib within your WAR.

                                But as i said i am working on JSF


                                I wondered why the the code you posted didn't use any JSF.

                                It looks like you have the MyFaces JAR file WEB-INF/lib directory - try removing it; perhaps there is some conflict between it and the Run RI JSF classes that come with JBoss AS.

                                • 13. Re: URGENT - Problem when deploying on jboss portal
                                  Ajay Nakhare Newbie

                                  class PortletDefination extends GenericPortlet so i had put the path in classpath.

                                  My lib folder is empty. I am not using any MyFaces Jar file.

                                  My project is in JSF, so to start with, i have created a simple test.jsp having '<h:form>'

                                  • 14. Re: URGENT - Problem when deploying on jboss portal
                                    Peter Johnson Master

                                     

                                    so i had put the path in classpath


                                    Exactly what do you mean by this? This statement places an idea in my mind of what you might have done but I hope that what I think is nopt what you actually did.

                                    Your portlet class should be located at either WEB-INF/class/com/text/PortletDefination.class or in a JAR file located in WEB-INF/lib. You should not have to add anything to any classpath.

                                    Could you post the contents of your WAR file? (use 'jar -tf xxx.war')

                                    Also post any other config files such as web.xml and faces-config.xml.

                                    1 2 Previous Next