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

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

Shawn Jiang created GERONIMO-6375:
-------------------------------------

             Summary: 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


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

        

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

Posted by "Tina Li (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang resolved GERONIMO-6375.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.1

resolve the symbolic link for the initial bundles to start.
                
> 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

        

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

Posted by "Tina Li (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423737#comment-13423737 ] 

Tina Li commented on GERONIMO-6375:
-----------------------------------

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

        

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

Posted by "xiezhi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445762#comment-13445762 ] 

xiezhi commented on GERONIMO-6375:
----------------------------------

P.S.
The patch will affect 2 jars. One is in repository(repository\org\apache\geronimo\framework\geronimo-main\), the other is in the lib. If you want to fix the issue, please pay attention to apply the 2 jars.
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423671#comment-13423671 ] 

Shawn Jiang commented on GERONIMO-6375:
---------------------------------------

We might want to verify the multi-instance funcation after this change.
                
> 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

        

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

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423755#comment-13423755 ] 

Shawn Jiang commented on GERONIMO-6375:
---------------------------------------

Thank you, Tina !
                
> 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