[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1216) Problem with defining user listener service

Mykola Hryhoryan (JIRA) jira-events at jboss.com
Thu Jan 25 10:34:57 EST 2007


Problem with defining user listener service
-------------------------------------------

                 Key: JBPORTAL-1216
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1216
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Core
    Affects Versions: 2.6.Alpha1
         Environment: JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)]
            Reporter: Mykola Hryhoryan
         Assigned To: Julien Viet


User listener service, defined in <app>/META-INF/jboss-service.xml doesn't start.
jboss-service.xml code:
<server>
	<mbean
		code="org.jboss.portal.core.event.PortalEventListenerServiceImpl"
		name="portal:service=ListenerService,type=window_listener"
		xmbean-dd=""
		xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
		<xmbean />
		<depends optional-attribute-name="Registry"
			proxy-type="attribute">
			portal:service=ListenerRegistry
		</depends>
		<attribute name="RegistryId">window_listener</attribute>
		<attribute name="ListenerClassName">
			biz.spacepeople.listeners.WindowConstraintEventListener
		</attribute>
	</mbean>
</server>

libarry with class WindowConstraintEventListener is in <JBOSS_HOME>\server\default\deploy\jboss-portal.sar\lib\

Sservice starts only if put mbean code into <JBOSS_HOME>\server\default\deploy\jboss-portal.sar\META-INF\jboss-service.xml


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list