0 Replies Latest reply on Oct 14, 2008 9:25 AM by M Chan

    cannot deploy 286 portlet on 2.7

    M Chan Newbie

      It seems that Jboss AS doesn't know that my portlet is 2.0, it thinks that is 1.0...

      14:21:28,902 ERROR [LifeCycle] Cannot start object
      org.jboss.portal.portlet.container.PortletInitializationException: The portlet Event Publishing Example Portlet threw a runtime exception during init
      at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:288)



      my portlet.xml:


      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0">

      An example of event publishing
      <portlet-name>Event Publishing Example Portlet</portlet-name>
      <display-name>Event Publishing Example Portlet</display-name>
      <portlet-class>uk.co.portaltech.quicklive2.JSR286.POC.EventPublishExamplePortlet</portlet-class>

      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>

      <portlet-info>
      EventPublishing
      </portlet-info>
      <supported-publishing-event>
      <qname xmlns:quicklive="uk.co.quicklive.jsr286.events">quicklive:TestEvent
      </supported-publishing-event>


      <event-definition>
      <qname xmlns:quicklive="uk.co.quicklive.jsr286.events">quicklive:TestEvent
      <value-type>uk.co.portaltech.quicklive2.JSR286.POC.QuickliveTestEvent</value-type>
      </event-definition>


      </portlet-app>


      please help!!!