Hallo all,
 
I've get working a simle enterprise app with just only ejb module and one EJB inside it. 
I've tested it with standalone console client ... all is working well.
 
Here is its directory structure:
\or_mapping
    \ejb
        \META-INF
            \ejb-jar.xml
        \or_mapping
            \SimpleBean_Remote.class
            \SimpleBean_Home.class
            \SimpleBean_EJB.class
    \META-INF
        \application.xml
 
 
But when I trying to
    - add java module (named ejb-start-up) 
    - creating orion-application.xml and setting up auto-start="true" entry 
    - restart orion
then .... something strange happens ... it seems orion just ignores orion-application.xml !?
Even if I clean %ORION_HOME%\application-deployments directory before deployment.
And looking at deployments directory I see that .... application-deployments\or_mapping\orion-application.xml doesn't have a new module entry ... why ??
 
 
Here is a dir sructure of modifiyed app:
\or_mapping
    \ejb
        \META-INF
            \ejb-jar.xml
        \or_mapping
            \SimpleBean_Remote.class
            \SimpleBean_Home.class
            \SimpleBean_EJB.class
    \ejb-start-up
        \META-INF
            \manifest.mf
            \application-client.xml
        \or_mapping
            \StartUpTask.class
    \META-INF
        \application.xml
        \orion-application.xml
 
== manifest.mf ==
Manifest-Version: 1.0
Main-Class: or_mapping.StartUpTask
 
== application.xml ==
<?xml version="1.0"?>
<application>
    <display-name>or_mapping</display-name>
        <module>
            <ejb>ejb</ejb>
            <java>ejb-start-up</java>
        </module>
</application>
 
== orion-application.xml ==
<?xml version="1.0"?>
<orion-application>
    <client-module auto-start="true" path="ejb-start-up" user="admin"/>
</orion-application>
 
 
P.S.
    Orion version is 1.5.2.

Reply via email to