[
https://issues.apache.org/jira/browse/GERONIMO-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537099
]
Vamsavardhana Reddy commented on GERONIMO-3546:
-----------------------------------------------
When I change the sharedlib's dependency on rmi-naming to
<import>classes</import>, I am getting the following build error:
[INFO] Packaging module configuration:
C:\G\server\tags\2.0.2\configs\sharedlib\target\plan\plan.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to resolve reference "ServerInfo"
in gbean org.apache.geronimo.configs/sharedlib/2.0.2/car?ServiceModule=org.a
pache.geronimo.configs/sharedlib/2.0.2/car,j2eeType=GBean,name=SharedLib
to a gbean matching the pattern [?j2eeType=GBean,name=ServerInfo#org.apache.
geronimo.system.serverinfo.ServerInfo]
due to: No matches for referencePatterns: [?j2eeType=GBean,name=ServerInfo#o
rg.apache.geronimo.system.serverinfo.ServerInfo]
> sharedlib config should depend on j2ee-system instead of rmi-naming
> -------------------------------------------------------------------
>
> Key: GERONIMO-3546
> URL: https://issues.apache.org/jira/browse/GERONIMO-3546
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: dependencies, usability
> Affects Versions: 2.0.x, 2.1
> Environment: G 2.0.2 tomcat on WinXP
> Reporter: Vamsavardhana Reddy
> Assignee: Vamsavardhana Reddy
> Priority: Minor
> Fix For: 2.0.x, 2.1
>
>
> sharedlib config has a dependency on rmi-naming. If a configuration that
> depends on sharedlib is to be deployed using offline deployer (see
> GERONIMO-3544), the required changes will result in rmi-naming config getting
> started during deployment which will result in bind exception while using
> multiple server instances. See GERONIMO-3481. Since sharedlib only requires
> ServerInfo gbean which is part of j2ee-system config, it shouldn't harm
> making the sharedlib depend on j2ee-system instead of rmi-naming.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.