[jboss-user] [JBoss Seam] - Re: jBoss Seam 2.0 Beta 1 Asynchronicity issues

gbc@gmx.de do-not-reply at jboss.com
Wed Aug 15 16:44:28 EDT 2007


Manual does not mention...

Change your components.xml like this, adding a namespace for async at components tag:


  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <components xmlns="http://jboss.com/products/seam/components"
  |             xmlns:core="http://jboss.com/products/seam/core"
  |             xmlns:async="http://jboss.com/products/seam/async"
  |             xmlns:persistence="http://jboss.com/products/seam/persistence"
  |             xmlns:drools="http://jboss.com/products/seam/drools"
  |             xmlns:security="http://jboss.com/products/seam/security"
  |             xmlns:mail="http://jboss.com/products/seam/mail"
  |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |             xsi:schemaLocation=
  |                 "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd 
  |                  http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd 
  |                  http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd
  |                  http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
  |                  http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd
  |                  http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
  | 
  |    <core:init debug="@debug@" jndi-pattern="@jndiPattern@"/>
  |      
  |    <core:manager concurrent-request-timeout="500" 
  |                  conversation-timeout="120000" 
  |                  conversation-id-parameter="cid"/>
  | 
  |    <async:timer-service-dispatcher/>
  | 
  | ...
  | 
  | </components>
  | 
  | 

JBoss starts up as configured:


  | 
  | 22:40:00,906 INFO  [Component] Component: org.jboss.seam.async.dispatcher, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.async.TimerServiceDispatcher, JNDI: Server/TimerServiceDispatcher/local
  | 
  | 

Much fun!, Greetz GHad

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

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



More information about the jboss-user mailing list