[jboss-user] [JBoss Portal] - cannot deploy 286 portlet on 2.7

michaelchan do-not-reply at jboss.com
Tue Oct 14 09:25:29 EDT 2008


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!!!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182103#4182103

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182103



More information about the jboss-user mailing list