tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schlichtherle <christian-b...@schlichtherle.de>
Subject Re: env-entry ignored in application.xml?
Date Wed, 28 Aug 2013 06:36:28 GMT
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 <rmannibucau@gmail.com>:

> Hi
> 
> Do you have a sample showing it?
> Le 28 août 2013 00:57, "Christian Schlichtherle" <christian@schlichtherle.de>
> a écrit :


Mime
View raw message