Hi,
we got the commonj.TimerManagerFactoryBean configured for weblogic and worked fine with the following configuration:
And in the web.xml:Code:<bean id="timerFactory" class="org.springframework.scheduling.commonj.TimerManagerFactoryBean"> <property name="resourceRef" value="true" /> <property name="timerManagerName" value="TimerManagerRef" /> <property name="scheduledTimerListeners"> <list> <ref bean="runnableListener" /> </list> </property> </bean>
I need to migrate the config to an EJB jar but without success because I cannot get Spring to recognize the TimerManagerRef.Code:<resource-ref> <res-ref-name>TimerManagerRef</res-ref-name> <res-type>commonj.timers.TimerManager</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Unshareable</res-sharing-scope> </resource-ref>
I tried configuring the resource-ref to an EJB inside the ejb-jar.xml and Spring still does not recognize it.
Is there any other way? I cannot perform a JNDI lookup to get the timerManager from weblogic either. It seems the only way to get the reference is through the resource-ref.


Reply With Quote