2 Replies Latest reply on Mar 3, 2009 4:42 AM by akumarkind

    deployement portlet error: javax.portlet.PortletException: o

    akumarkind

      Hi All
      I deployed one sample of portal application named mycompany.I just copied mycompany.war in deploy directory and run the jboss by run.bat. I open it on browser and make it default portal. portal is displaying with banner like My Company but all portlet are showing error like

      ERROR
      Cause: javax.portlet.PortletException: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/portlet cannot be resolved in either web.xml or the jar files deployed with this application

      Message: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/portlet cannot be resolved in either web.xml or the jar files deployed with this application
      StackTrace:

      please suggest me What i do

      Thanks & Regards
      Avanish Kumar

        • 1. Re: deployement portlet error: javax.portlet.PortletExceptio
          peterj

          You cannot deploy a portlet to JBoss AS because JBoss AS is not a portlet container. If you want to deploy a portlet, you must use JBoss Portal. There is a packaged download that includes JBoss AS + JBoss Portal and is ready to go. You can deploy your portlet there.

          • 2. Re: deployement portlet error: javax.portlet.PortletExceptio
            akumarkind

            Sorry I was forgotten to tell that I am using the Jboss AS + portal bundle 2.7.1.

            I deployed one sample of portal application named mycompany.I just copied mycompany.war in deploy directory and run the jboss by run.bat. I open it on browser and make it default portal. portal is displaying with banner like My Company but all portlet are showing error like

            ERROR
            Cause: javax.portlet.PortletException: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/portlet cannot be resolved in either web.xml or the jar files deployed with this application

            Message: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/portlet cannot be resolved in either web.xml or the jar files deployed with this application
            StackTrace:

            please suggest me What i do