Shawn Jiang (JIRA | 27 Jul 2012 06:39
Picon
Favicon

[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

Shawn Jiang (JIRA | 27 Jul 2012 06:43
Picon
Favicon

[jira] [Commented] (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=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
(Continue reading)

Shawn Jiang (JIRA | 27 Jul 2012 06:43
Picon
Favicon

[jira] [Resolved] (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: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. 
(Continue reading)

Forrest Xia (JIRA | 30 Jul 2012 17:21
Picon
Favicon

[jira] [Resolved] (GERONIMO-6376) Investigate why console servlets are eagerly started


     [
https://issues.apache.org/jira/browse/GERONIMO-6376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Xia resolved GERONIMO-6376.
-----------------------------------

    Resolution: Invalid

> Investigate why console servlets are eagerly started
> ----------------------------------------------------
>
>                 Key: GERONIMO-6376
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6376
>             Project: Geronimo
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Jarek Gawor
>
> Most of the console servlets are eagerly started. That is, they are configured with
<load-on-startup>1</load-on-startup> parameter. We need to investigate if that's required for
anything or not. Otherwise, maybe we can let the servlets to be loaded on demand when accessed. That should
speed up server start up a bit and reduce memory used at server start up.

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

(Continue reading)

Tina Li (JIRA | 27 Jul 2012 10:21
Picon
Favicon

[jira] [Commented] (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 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.
(Continue reading)

Tina Li (JIRA | 27 Jul 2012 10:23
Picon
Favicon

[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):
(Continue reading)

Shawn Jiang (JIRA | 27 Jul 2012 10:52
Picon
Favicon

[jira] [Commented] (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=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
(Continue reading)

Kevan Miller (JIRA | 27 Jul 2012 20:21
Picon
Favicon

[jira] [Commented] (GERONIMO-6376) Investigate why console servlets are eagerly started


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

Kevan Miller commented on GERONIMO-6376:
----------------------------------------

Sounds like a great idea to me. Is there a reason why this is a TCK Jira? ;-)

> Investigate why console servlets are eagerly started
> ----------------------------------------------------
>
>                 Key: GERONIMO-6376
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6376
>             Project: Geronimo
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Jarek Gawor
>
> Most of the console servlets are eagerly started. That is, they are configured with
<load-on-startup>1</load-on-startup> parameter. We need to investigate if that's required for
anything or not. Otherwise, maybe we can let the servlets to be loaded on demand when accessed. That should
speed up server start up a bit and reduce memory used at server start up.

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

(Continue reading)

Jarek Gawor (JIRA | 27 Jul 2012 21:19
Picon
Favicon

[jira] [Commented] (GERONIMO-6376) Investigate why console servlets are eagerly started


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

Jarek Gawor commented on GERONIMO-6376:
---------------------------------------

No, just a mistake. I already moved it to Geronimo project.

                
> Investigate why console servlets are eagerly started
> ----------------------------------------------------
>
>                 Key: GERONIMO-6376
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6376
>             Project: Geronimo
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Jarek Gawor
>
> Most of the console servlets are eagerly started. That is, they are configured with
<load-on-startup>1</load-on-startup> parameter. We need to investigate if that's required for
anything or not. Otherwise, maybe we can let the servlets to be loaded on demand when accessed. That should
speed up server start up a bit and reduce memory used at server start up.

--
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
(Continue reading)

xiezhi (JIRA | 31 Aug 2012 10:18
Picon
Favicon

[jira] [Commented] (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=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
>
>
(Continue reading)


Gmane