[ 
https://issues.apache.org/jira/browse/GERONIMO-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711004#action_12711004
 ] 

Shawn Jiang commented on GERONIMO-4530:
---------------------------------------

openejb-deployer will add system-database as the default dependency for each 
EJB module when deploying the EJB module.  seems system-database is tight 
couple with EJB function.

See plan.xml of openejb-deployer:

{noformat} 
<gbean name="EJBBuilder" 
class="org.apache.geronimo.openejb.deployment.EjbModuleBuilder">
<attribute name="defaultCmpJTADataSource">SystemDatasource</attribute>
<attribute name="defaultCmpNonJTADataSource">NoTxDatasource</attribute>
.......
.......
<xml-attribute name="defaultEnvironment">
      <environment>
        <dependencies>
          <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>openejb</artifactId>
            <type>car</type>
          </dependency>
          <dependency>
            <groupId>org.apache.geronimo.configs</groupId>
            <artifactId>system-database</artifactId>
            <type>car</type>
          </dependency>
        </dependencies>
      </environment>
    </xml-attribute>
  </gbean>
{noformat} 


> unnecessary dependencies in custom server
> -----------------------------------------
>
>                 Key: GERONIMO-4530
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4530
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: dependencies
>    Affects Versions: 2.1.3, 2.1.4
>            Reporter: Jürgen Weber
>             Fix For: 2.2
>
>         Attachments: G4530_21.patch, G4530_trunk.patch
>
>
> a custom server assembly reduced to Boilerplate Minimal and OpenEJB still has 
> dependencies to ActiveMQ and Derby.
> These should be removed.
> see 
> http://www.nabble.com/Start-server-without-open-ports---possible--td21850866s134.html
> Booting Geronimo Kernel (in Java 1.6.0_11)...
> Starting Geronimo Application Server v2.1.3
> [****************************************] 100%   9s Startup complete
>   Listening on Ports:
>     1399 0.0.0.0   RMI Naming
>     1827 127.0.0.1 Derby Connector
>     4501 127.0.0.1 OpenEJB Daemon
>    10299 127.0.0.1 JMX Remoting Connector
>    61913 0.0.0.0   ActiveMQ Transport Connector
>    61916 0.0.0.0   ActiveMQ Transport Connector
>   Started Application Modules:
>     RAR: org.apache.geronimo.configs/system-database/2.1.3/car 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to