I have read the liferay portal,it provide many useful portlets. Now,I am trying to make the calendar portlet run in the jboss portal,but I met some problems,here are the problems:
my portlet.xml is: <?xml version="1.0"?> <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 /opt/SUNWps/dtd/portlet.xsd" version="1.0"> <portlet-name>Calendar</portlet-name> <portlet-class>com.liferay.portlet.StrutsPortlet</portlet-class> <init-param> view-action /calendar/view </init-param> <expiration-cache>0</expiration-cache> <mime-type>text/html</mime-type> <portlet-preferences> event-type </portlet-preferences> </portlet-app> my calendar-object.xml is: <?xml version="1.0" encoding="UTF-8"?> <if-exists>keep</if-exists> <parent-ref>default</parent-ref> <page-name>HelloWorld</page-name> <window-name>CalendarPortletWindow</window-name> <instance-ref>CalendarPortletInstance</instance-ref> center 3 <if-exists>overwrite</if-exists> <instance-name>CalendarPortletInstance</instance-name> <component-ref>helloworld.CalendarPortlet</component-ref> all the classes and jars are included,and I have copy them into the portal-helloworld.war/WEB-INF/ under jboss-portal.sar. when I start the jboss, I met the errors as follow: 15:23:05,051 ERROR [MainDeployer] Could not create deployment: file:/D:/job/JBoss4.0/server/default/deploy/jboss-portal.sar/portal-helloworld.war/WEB-INF/portlet.xml org.jboss.deployment.DeploymentException: Cannot deploy portlet application; - nested throwable: (java.lang.IllegalArgumentException: No element found) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927000#3927000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927000 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user