[JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
by m.alex
Ok, here goes.
I tried as advised (using this in a single components.xml):
<components>
| <component class="org.jboss.seam.remoting.messaging.SubscriptionRegistry" install="true">
| <property name="allowedTopics">clientNotificationTopic, inventoryNotifications</property>
| </component>
| </components>
and I got an error at deploy time:
2007-04-19 13:33:51,439 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/emp-filter]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.RuntimeException: Could not create Component: org.jboss.seam.remoting.messaging.subscriptionRegistry
| at org.jboss.seam.init.Initialization.addComponent(Initialization.java:865)
| at org.jboss.seam.init.Initialization.installComponents(Initialization.java:796)
| at org.jboss.seam.init.Initialization.init(Initialization.java:503)
| at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
| ...
When using this in a single components.xml:
| <components>
| <component name="org.jboss.seam.remoting.messaging.subscriptionRegistry">
| <property name="allowedTopics">clientNotificationTopic, inventoryNotifications</property>
| </component>
| </components>
I can deploy without error, but when I try to actually use remoting, I get:
13:25:16,997 ERROR [Remoting] Error
| java.lang.IllegalStateException: No SubscriptionRegistry exists
| at org.jboss.seam.remoting.messaging.SubscriptionRegistry.instance(SubscriptionRegistry.java:65)
| at org.jboss.seam.remoting.messaging.SubscriptionRequest.subscribe(SubscriptionRequest.java:22)
| at org.jboss.seam.remoting.SubscriptionHandler.handle(SubscriptionHandler.java:78)
| at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110)
| at org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:68)
| at org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:77)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| ...
Apparently I can't figure out which is the right place to insert that declaration...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038824#4038824
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038824
19 years
[JBoss jBPM] - Re: Regarding jbpm-identity
by MGarl10024
I to have been wrestling with this for some time now.
I commented out the identities references in the Hibernate config (as directed by the documentation) and my app has now developed a problem where the class loader cannot find an AssignmentHandler file that previously worked fine.
<swimlane name="Approver">
| <assignment class="xxxx.DecisionMakerAssignmentHandler">
| </assignment>
| </swimlane>
|
| 09:47:07,959 ERROR [Delegation] couldn't load delegation class 'xxxx.DecisionMakerAssignmentHandler'
| java.lang.ClassNotFoundException: class 'xxxx.DecisionMakerAssignmentHandler' could not be found by the process classloader
|
Section 11.11 from the Reference Manual stating "jBPM includes an optional identity component that can be easily replaced by a company's own identity data store" is just not working out like planned.
- If you remove it, other things break.
MG
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038815#4038815
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038815
19 years