Sorry, found my problem.
My problems was using the wrong annotation. At first, I was compiling against jboss-ext3-ext-api.jar and using the org.jboss.ejb3.annotation.ResourceAdapter annotation.
Eventually figured out that I needed the org.jboss.annotation.ejb.ResourceAdapter annotation, which I got from the jboss-annotations-ejb3.jar. If anyone's interested in the Maven 2 config for this, you'll need to add:
<dependency>
| <groupId>jboss</groupId>
| <artifactId>jboss-annotations-ejb3</artifactId>
| <version>4.2.2.GA</version>
| <scope>compile</scope>
| </dependency>
| and <repository>
| <id>jboss</id>
| <url>http://repository.jboss.org/maven2/</url>
| </repository>to your pom.xml.
Worked like a charm after that! :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146726#4146726
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146726
I am using postUpdate, postPersist and postRemove callback methods on each entity bean that informs neighbours about its change.
. Callback method of entity sends message to one (constant name) topic about the performed change.
. There is MessageBean listening on constant topic that catches messages.
. Message bean loops over all registered listeners to listen to entity change (might be filtered using registered key) and if there is any listener registered (from client) message bean resends message to its own (created only for one specific listener) topic.
. So each client listener has its own (listening) topic (created in runtime) and there is also one constant overall topic for any change on any entity.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146725#4146725
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146725
anonymous wrote : 1) Does anyone have any ideas on the above issue with slow start ups?
Nope
anonymous wrote : 2) Is anyone else running JBoss on Debian, what is your experience?
I have Ubuntu G at home and Debian E (IIRC) at work and both run without problems.
anonymous wrote : 3) Is anyone else running the APR libraries, do you experience a pause every time the APR libraries are loaded:
Sorry, not in use.
How do you start and stop your JBoss? I know I had some problems with modules that needed root access (pcap).
Might be something to look into. (and if you are feeling lucky, start jboss with sudo)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146717#4146717
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146717