[ openjms-Bugs-667126 ] Multiple connectors cannot be used at the same time
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #667126, was opened at 2003-01-13 12:31 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=667126&group_id=54559 Category: transport Group: v0.7.4 Status: Open Resolution: None Priority: 5 Submitted By: Tim Anderson (tanderson) Assigned to: Jim Alateras (jalateras) Summary: Multiple connectors cannot be used at the same time Initial Comment: The OpenJMS server doesn't allow multiple connectors to be configured at the same time as binding is handled by the singleton JndiServerIfc implementation, rather than on a per-connector basis. This has been partially solved on the tima_dev_0_7_3 branch, but as the messenger component is soon to be made obsolete, the changes aren't worth merging back. ---------------------------------------------------------------------- Comment By: Raicho Minev (raicho) Date: 2003-01-24 16:49 Message: Logged In: YES user_id=696098 I found out some interesting behaviour connected to using multiple connection schemas. If you start the OpenJMS server with say "embedded" schema, it stores its jndi names into the database. After running the server, you can change the schema to "tcp". After that you will be able to lookup from both schemas as if they are both active. This works because the embedded jndi does not need any connection resources, so the database contets is just enough. However tihs approach is not very good, because every time you delete the database you will need to repeat the steps above. Also this behaviour might be taken into consideration for future releases, because the fact that jndi names from old configurations are left in database might lead client applications use the wrong bindings. Raicho Minev. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=667126&group_id=54559