or

connectorClassName="org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnectorFactory"
connectionParameters="server-id=0"

if you have a invm acceptor

On 05/10/15 22:22, Clebert Suconic [via ActiveMQ] wrote:
> I have been putting connectionURI everywhere I could, and it seems
> this is specifically missing that part:
>
>
> For now, you will have to specify:
>
> connectionParameters="host=127.0.0.1;port=5446"
> connectorClassName="org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory"
>
>
>
> If you provide me with anything to get to where you are, I could
> change the Spec to accept a parameter with an URI, so you could use
> "tcp://HOST:Port", what should be much simpler.
>
>
> On Mon, Oct 5, 2015 at 4:44 PM, jonathan_at_svg
> <[hidden email] </user/SendEmail.jtp?type=node&node=4702632&i=0>> wrote:
>
>  >
>  > Nice! Thanks I looked all over the javadoc and somehow missed that.
>  >
>  > Ok, the resource adapter needs configuration. Is that done via the
>  > connectionParameters property? If so, is there any docs on what goes
> into
>  > that field?
>  >
>  > Currently on boot I'm throwing this stack trace:
>  >
>  > Caused by: java.lang.IllegalArgumentException: must provide either
>  > TransportType or DiscoveryGroupAddress and DiscoveryGroupPort for
>  > ResourceAdapter Connection Factory
>  >         at
>  >
> org.apache.activemq.artemis.ra.ActiveMQResourceAdapter.createActiveMQConnectionFactory(ActiveMQResourceAdapter.java:1707)
>
>  >         at
>  >
> org.apache.activemq.artemis.ra.ActiveMQResourceAdapter.setup(ActiveMQResourceAdapter.java:1552)
>
>  >         at
>  >
> org.apache.activemq.artemis.ra.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:245)
>
>  >         at
>  >
> org.apache.openejb.assembler.classic.Assembler.doCreateResource(Assembler.java:2629)
>
>  >         at
>  >
> org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:2442)
>
>  >         at
>  >
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:527)
>
>  >         at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:439)
>  >         ... 17 more
>  >
>  >
>  >
>  >
>  > --
>  > View this message in context:
> http://activemq.2283324.n4.nabble.com/Anyone-have-Artemis-working-with-Apache-TomEE-tp4702611p4702631.html
>  > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
>
>
> --
> Clebert Suconic
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://activemq.2283324.n4.nabble.com/Anyone-have-Artemis-working-with-Apache-TomEE-tp4702611p4702632.html
>
> To start a new topic under ActiveMQ - User, email
> ml-node+s2283324n2341805...@n4.nabble.com
> To unsubscribe from ActiveMQ - User, click here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2341805&code=YW5keS50YXlsczY3QGdtYWlsLmNvbXwyMzQxODA1fC05MDE1NDk1MzM=>.
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>





--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Anyone-have-Artemis-working-with-Apache-TomEE-tp4702611p4702647.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to