You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Tina Li (JIRA)" <ji...@apache.org> on 2012/07/27 10:23:35 UTC

[jira] [Comment Edited] (GERONIMO-6375) DuplicateBundleException when runing geronimo 3.0 from a Symbolic-link path in Linux system.

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

Tina Li edited comment on GERONIMO-6375 at 7/27/12 8:22 AM:
------------------------------------------------------------

Download the latest source code of geronimo 3.0 and build it successfully.
tested on linux x86_64 like this:
1. Unzip geronimo 3.0 's build to ~/geronimo30 
2. Create a symbolic link:
 ~> ln -s geronimo30/  /geronimo30link
3. Start the server using command:
~/geronimo30link/bin/geronimo run -l
server started successfully without any problem.

For muli-instance, tested like this:
1. Unzip geronimo 3.0 's build to ~/geronimo30 
2. Create a symbolic link:
 ~> ln -s geronimo30/  /geronimo30link
3.Create two server instances named gserver1 and gserver2 under ~/geronimo30 directory,change PortOffset.
4.Open different terminal and execute command to start the different instance:
export GERONIMO_SERVER=gservN
~/geronimo30link/bin/geronimo run -l

Two instances started successfully without any problem.

                
      was (Author: lylyuchen):
    Download the latest source code of geronimo 3.0 and build it successfully.
tested on linux x86_64 like this:
1. Unzip geronimo 3.0 's build to ~/geronimo30 
2. Create a symbolic link:
 ~> ln -s geronimo30/  /geronimo30link
3. Start the server using command:
~/geronimo30link/bin/geronimo.sh run -l
server started successfully without any problem.

For muli-instance, tested like this:
1. Unzip geronimo 3.0 's build to ~/geronimo30 
2. Create a symbolic link:
 ~> ln -s geronimo30/  /geronimo30link
3.Create two server instances named gserver1 and gserver2 under ~/geronimo30 directory,change PortOffset.
4.Open different terminal and execute command to start the different instance:
export GERONIMO_SERVER=gservN
~/geronimo30link/bin/geronimo.sh run -l

Two instances started successfully without any problem.

                  
> DuplicateBundleException when runing geronimo 3.0 from a Symbolic-link path in Linux system.
> --------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6375
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6375
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: startup/shutdown
>    Affects Versions: 3.0
>         Environment: Linux ,  G3.0, Sun JDK 1.6,   Geronimo is installed in ~/geronimo30,   and created a symbolic link ~/geronimo30link
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>             Fix For: 3.0.1
>
>
> 1, run "geronimo run"  from ~/geronimo30link/bin. 
> 2,  the server can't start with DuplicateBundleException below.
> "2012-07-23 15:39:29,582 WARN  [DependencyManager] Could not install bundle for artifact: org.apache.geronimo.framework/geronimo-common/3.0/jar
>     org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: Bundle "org.apache.geronimo.framework.geronimo-common" version "3.0.0" has already been
>     installed from: reference:file:/opt/IBM/ecc/wasce/repository/org/apache/geronimo/framework/geronimo-common/3.0/geronimo-common-3.0.jar"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira