[jboss-user] [JBoss Portal] - Re: how to develop a JBossPortlet?

natoine do-not-reply at jboss.com
Fri Oct 10 08:20:15 EDT 2008


well my web.xml file was really simple :

<?xml version="1.0" encoding="UTF-8"?>
  | <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  | 	<display-name>Portlet for testing usermodule</display-name>
  | </web-app>
  | 

I have tried the followinf jboss-web.xml file but there is a problem cause i don't have an equivalent resource-ref in web.xml.
I'm gonna look on web for a tuto about this point.

<?xml version="1.0" encoding="UTF-8"?>
  | <jboss-web>
  |   <resource-ref>
  |     <res-ref-name>GroupManagement</res-ref-name>
  |       <service-name>UserModule</service-name>
  |       <service-class>org.jboss.portal.identity.UserModule</service-class>
  |       <service-ref>:service=Module,type=User</service-ref>
  |   </resource-ref>
  | </jboss-web>

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

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



More information about the jboss-user mailing list