I have a Schedulable service that spawns a thread against a POJO who ultimately 
attempts to invoke a local-ejb.  The service:

  <mbean 
code="com.ambientdevices.wine.datasource.accuweather.WeatherForecastMBeanPoller"
 
  |             name="jboss:type=accuweather,name=WeatherForecastPoller">
  |   </mbean>
  | 
  |   <mbean code="org.jboss.varia.scheduler.Scheduler" 
name="jboss:service=WeatherForecastPollerService">
  |     <attribute name="StartAtStartup">true</attribute>
  |     <attribute 
name="SchedulableMBean">jboss:type=accuweather,name=WeatherForecastPoller</attribute>
  |     <attribute name="SchedulableMBeanMethod">hit( NOTIFICATION, DATE, 
REPETITIONS, SCHEDULER_NAME, java.lang.String )</attribute>
  |     <attribute name="InitialStartDate">NOW</attribute>
  |     <attribute name="SchedulePeriod">10800000</attribute>
  |     <attribute name="InitialRepetitions">-1</attribute>
  |   </mbean>
  | 

When the thread tries to invoke the local-ejb it can't find it since the MBean 
does not have visibility for the local-ejb.  Is there any means to give the 
JBoss MBean local-ejb references like with the war file?

-fazle

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to