Hi Everyone,

I have two portlets in my application which will communicate with each other. 
Portlet  communication is working fine with PortletSession. 

I'm deploying my application in deploy folder bundled as enterprise archieve.

I have seen the example of JBoss which is available in Test/event test Page in 
Portal 2.2.

Here in this example, JBoss is using the PortalNodeEventListener interface and 
some configurations file i.e.

1. jboss-service.xml
2. PortalEventListenerRegistryImpl.xml

Here when the jboss server starts it's reading the jboss-service.xml present in 
default/jboss-portal.sar/META-INF.

By looking at the above example of JBoss, I too did the same thing in JBoss for 
my application, I have modified the jboss-service.xml file and added the below 
entry and restarted the server. On server startup, I'm getting the below 
exception i.e. java.lang.ClassNotFoundException: No ClassLoaders found for: 
sample.portlets.SubscriberPortlet$Listener
<mbean
  | code="org.jboss.portal.core.event.PortalEventListenerServiceImpl"
  | name="portal:service=ListenerService,type=sample_listener"
  | xmbean-dd="org/jboss/portal/core/event/PortalEventListenerServiceImpl.xml">
  | <depends optional-attribute-name="Registry" 
proxy-type="attribute">portal:service=ListenerRegistry</depends>
  | <attribute name="RegistryId">sample_listener</attribute>
  | <attribute 
name="ListenerClassName">samples.portlets.SubscriberPortlet$Listener</attribute>
  | </mbean>

How do I specify to Jboss to read my archieve on server startup?

Is there any other way that we can implement the Inter Portlet Communication?

Thanks


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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to