"m.alex" wrote :
| component.xml in each JAR's META-INF contains:
| <components>
| | <component class="org.jboss.seam.remoting.messaging.SubscriptionRegistry" install="true">
| | <property name="allowedTopics">clientNotificationTopic</property>
| | </component>
| | </components>
| |
|
So you have multiple jar files in your application with the same components.xml? That's the problem there, you're trying to create the SubscriptionRegistry twice. You only need one SubscriptionRegistry, so either remove it from all but one of your components.xml files, or remove all but one of the components.xml files.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038782#4038782
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038782
I would
1) copy a vanilla "default" configuration from a clean jboss dist
2) Use a clean "injboss"example
3) Follow the instructions in section 10.3 of the reference manual to set up the -javaagent loader
**Use the jboss-aop-jdk5.deployer from the 1.5.5.GA release, and follow the instructions in the ReadMe.txt
**Add pluggable-instrumentor.jar to bin/
**Modify run.sh/.bat to use the -javaagent switch
Once you get this "clean" version running, modify the isolation etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038771#4038771
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038771
ok
| @Name("seam1")
| @Scope(ScopeType.CONVERSATION)
| public class Seam1Action {
|
| private Model model;
| ....
| private String updateModel{ // method called on an actionCommand in JSF
| // ....
| setModel(model);
| }
| }
|
@Name("seam2")
| @Scope(ScopeType.CONVERSATION)
| public class Seam2Action {
| @In
| private Seam1Action seam1;
|
| public Seam2Action() {
| sysout(seam1.getModel().toString());
| }
|
| ...
| }
|
This code returns a null pointerException.
When I comment the sysout and put
<h:outputText value="#{seam2.seam1.model.attribute}" />
|
it works ???
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038768#4038768
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038768