[JBoss Messaging] - Re: JBM Topic Pub-Sub
by sanches
"bdaye42" wrote :
| I can dynamically create new topics by using the ServerPeer and MBeans.
Could you please share the code which injects or lookups ServerPeer please?
I can't inject it
@EJB(beanName = "jboss.messaging:service=ServerPeer")
| ServerPeer serverPeer;
due to "Caused by: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property"
Neither lookup it
| MBeanServer server = MBeanServerLocator.locate();
| serverPeer = (ServerPeer) MBeanProxyExt.create(
| ServerPeer.class,
| "jboss.messaging:service=ServerPeer",server);
because of "org.jboss.jms.server.ServerPeer is not an interface"
How to obtain reference which would allow to make:
| serverPeer.deployQueue("q01", "q01");
|
Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248994#4248994
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248994
16 years, 11 months
[JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
by mwohlf
hmm, I get a similar error for the indexes
| 23:35:13,342 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HVAR on JBPM4_HIST_DETAIL (HVAR_)
| 23:35:13,342 ERROR [SchemaExport] ORA-01408: such column list already indexed
|
| 23:35:13,348 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HTASK on JBPM4_HIST_DETAIL (HTASK_)
| 23:35:13,348 ERROR [SchemaExport] ORA-01408: such column list already indexed
|
| 23:35:13,349 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HACTI on JBPM4_HIST_DETAIL (HACTI_)
| 23:35:13,349 ERROR [SchemaExport] ORA-01408: such column list already indexed
|
| 23:35:13,351 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HPROCI on JBPM4_HIST_DETAIL (HPROCI_)
| 23:35:13,351 ERROR [SchemaExport] ORA-01408: such column list already indexed
|
| 23:35:24,049 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HVAR on JBPM4_HIST_DETAIL (HVAR_)
| 23:35:24,049 ERROR [SchemaExport] ORA-01408: such column list already indexed
|
| 23:35:24,055 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HTASK on JBPM4_HIST_DETAIL (HTASK_)
| 23:35:24,055 ERROR [SchemaExport] ORA-01408: such column list already indexed
|
| 23:35:24,056 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HACTI on JBPM4_HIST_DETAIL (HACTI_)
| 23:35:24,056 ERROR [SchemaExport] ORA-01408: such column list already indexed
|
| 23:35:24,058 ERROR [SchemaExport] Unsuccessful: create index IDX_HDETAIL_HPROCI on JBPM4_HIST_DETAIL (HPROCI_)
| 23:35:24,058 ERROR [SchemaExport] ORA-01408: such column list already indexed
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248912#4248912
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248912
16 years, 11 months