[jboss-as7-dev] Why should a remote jndi client have to depend on jboss-marshalling-river?

Scott Stark sstark at redhat.com
Thu Mar 22 20:47:42 EDT 2012


I tried each of the following individually in order, and then even all together, but I still fail to pickup the jboss-marshalling-river dependency.

            <dependency>
                <groupId>org.hornetq</groupId>
                <artifactId>hornetq-jms-client</artifactId>
                <version>${version.org.hornetq}</version>
            </dependency>

            <dependency>
                <groupId>org.hornetq</groupId>
                <artifactId>hornetq-jms</artifactId>
                <version>${version.org.hornetq}</version>
            </dependency>

            <dependency>
                <groupId>org.hornetq</groupId>
                <artifactId>hornetq-core-client</artifactId>
                <version>${version.org.hornetq}</version>
            </dependency>

            <dependency>
                <groupId>org.hornetq</groupId>
                <artifactId>hornetq-core</artifactId>
                <version>${version.org.hornetq}</version>
            </dependency>


----- Original Message -----
From: "Jason Greene" <jgreene at redhat.com>
To: "Scott Stark" <sstark at redhat.com>
Cc: "jboss-as7-dev at lists.jboss.org Development" <jboss-as7-dev at lists.jboss.org>
Sent: Thursday, March 22, 2012 5:33:05 PM
Subject: Re: [jboss-as7-dev] Why should a remote jndi client have to depend on	jboss-marshalling-river?

You should just need org.jboss: jboss-remote-naming and hornetq

Sent from my iPhone

On Mar 22, 2012, at 7:21 PM, Scott Stark <sstark at redhat.com> wrote:

> I'm working on getting the helloworld-jms quickstart from https://github.com/jbossas/quickstart.git running against an as7.1.0.Final instance, and one change I had to make was to add the jboss-marshalling-river dependency shown below. Without this I'm getting a "Could not find a marshaller factory for river marshalling strategy" failure. This seems like quite a low level dependency for a user to have to figure out. Shouldn't this be coming from either the jboss-as-naming or the jboss-as-messaging, which ever one is needing this for the protocol?
> 
>   <dependencies>
>      <dependency>
>         <groupId>org.jboss.as</groupId>
>         <artifactId>jboss-as-naming</artifactId>
>         <version>7.1.0.Final</version>
>      </dependency>
>      <dependency>
>         <groupId>org.jboss.spec.javax.jms</groupId>
>         <artifactId>jboss-jms-api_1.1_spec</artifactId>
>         <version>1.0.0.Final</version>
>         <!--scope>provided</scope-->
>      </dependency>
>      <dependency>
>         <groupId>org.jboss.as</groupId>
>         <artifactId>jboss-as-messaging</artifactId>
>         <version>7.1.0.Final</version>
>      </dependency>
>      <dependency>
>         <groupId>org.jboss.marshalling</groupId>
>         <artifactId>jboss-marshalling-river</artifactId>
>         <version>1.3.9.GA</version>
>      </dependency>
>   </dependencies>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


More information about the jboss-as7-dev mailing list