Hi,

yes a runnable sample would be easier to check

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/8/28 Christian Schlichtherle <[email protected]>

> Hi,
>
> as a workaround, I tried to use a META-INF/env-entries.properties as
> described here: http://tomee.apache.org/new-in-openejb-3.0.html .
>
> However, this doesn't work, too.
>
> Regards,
> Christian Schlichtherle
>
> Am 28.08.2013 um 08:36 schrieb Christian Schlichtherle <
> [email protected]>:
>
> > Hi Romain,
> >
> > This is the META-INF/ejb-jar.xml within the
> trueupdate-manager-impl-javaee-0.1.6.jar within the EAR:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <ejb-jar xmlns = "http://java.sun.com/xml/ns/javaee";
> >         xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance";
> >         xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd";
> >         version = "3.1">
> >    ...
> >    <enterprise-beans>
> >        <session>
> >            <ejb-name>UpdateManagerBean</ejb-name>
> >            <env-entry>
> >                <env-entry-name>updateServiceBaseUri</env-entry-name>
> >                <env-entry-value>http://localhost:8080/trueupdate-server/
> </env-entry-value>
> >            </env-entry>
> >            ...
> >        </session>
> >    </enterprise-beans>
> > </ejb-jar>
> >
> > And this is the META-INF/application.xml within the EAR:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <application xmlns="http://java.sun.com/xml/ns/javaee";
> >             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/application_6.xsd";
> >             version="6">
> >    ...
> >    <module>
> >        <ejb>trueupdate-manager-impl-javaee-0.1.6.jar</ejb>
> >    </module>
> >    <env-entry>
> >        <env-entry-name>updateServiceBaseUri</env-entry-name>
> >        <env-entry-value>http://localhost:8080/autoupdate-server/
> </env-entry-value>
> >    </env-entry>
> >    ...
> > </application>
> >
> > If you need a full working sample, then I could create a ticket and
> attach it.
> >
> > Regards,
> > Christian Schlichtherle
> >
> > Am 28.08.2013 um 06:33 schrieb Romain Manni-Bucau <[email protected]
> >:
> >
> >> Hi
> >>
> >> Do you have a sample showing it?
> >> Le 28 août 2013 00:57, "Christian Schlichtherle" <
> [email protected]>
> >> a écrit :
> >
>
>

Reply via email to