DuplicateBundleException on 3.0.1 on Windows 7 SP1

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

DuplicateBundleException on 3.0.1 on Windows 7 SP1

paulhr
I did a search and found this as a bug in Lunix.  But I am on Windows 7.
======= error message during start up ============
Error starting framework: org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException:


======= steps taken to cause error  ============

C:\geronimon301\bin
Windows 7 Home Premium SP1
SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_75

I then do....
cd c:
cd \geronimon301\bin

C:\geronimo301\bin>geronimo.bat run
Reply | Threaded
Open this post in threaded view
|

Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1

Kevin Huntly

What's the rest of the exception..?

________________________________________________

Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: [hidden email]
Cell: (716) 341-5669
LinkedIn: http://www.linkedin.com/in/kevinhuntly
________________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------

On Jan 30, 2015 6:54 PM, "paulhr" <[hidden email]> wrote:
I did a search and found this as a bug in Lunix.  But I am on Windows 7.
======= error message during start up ============
Error starting framework:
org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException:


======= steps taken to cause error  ============

C:\geronimon301\bin
Windows 7 Home Premium SP1
SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_75

I then do....
cd c:
cd \geronimon301\bin

C:\geronimo301\bin>geronimo.bat run




--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713.html
Sent from the Users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1

paulhr
Error starting framework: org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: Bundle "org.apache.aries.proxy" version "0.3.0" has already been installed from: reference:file:/C:/geronimo301/geronimo-tomcat7-javaee6-3.0.1/repository/org/apache/aries/proxy/org.apache.aries.proxy/0.3/org.apache.aries.proxy-0.3.jar


On 1/30/2015 7:04 PM, Kevin Huntly [via Apache Geronimo] wrote:

What's the rest of the exception..?

________________________________________________

Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: [hidden email]
Cell: (716) 341-5669
LinkedIn: http://www.linkedin.com/in/kevinhuntly
________________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------

On Jan 30, 2015 6:54 PM, "paulhr" <[hidden email]> wrote:
I did a search and found this as a bug in Lunix.  But I am on Windows 7.
======= error message during start up ============
Error starting framework:
org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException:


======= steps taken to cause error  ============

C:\geronimon301\bin
Windows 7 Home Premium SP1
SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_75

I then do....
cd c:
cd \geronimon301\bin

C:\geronimo301\bin>geronimo.bat run




--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713.html
Sent from the Users mailing list archive at Nabble.com.



If you reply to this email, your message will be added to the discussion below:
http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713p3988714.html
To unsubscribe from DuplicateBundleException on 3.0.1 on Windows 7 SP1, click here.
NAML


--
St. Seraphim of Sarov “Neither do walls or rich furniture make a home. Millionaires in magnificent mansions may never know a home. But where there are good relationships, where love binds the family together and to God, there happiness is always to be found. For good relationships are heaven anywhere.”
Reply | Threaded
Open this post in threaded view
|

Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1

paulhr
This post was updated on .
I found the cause. It seems the hierarchy of the directory structure can be too flat.

The example below is ok.
C:\g\geronimo-tomcat7-javaee6-3.0.1\bin


But this example is too flat for Geronimo to handle.
C:\geronimo-tomcat7-javaee6-3.0.1\bin
Reply | Threaded
Open this post in threaded view
|

Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1

gary
I couldn't reproduce your issue on windows 7 64bit 1.11.00.AI B13.
It is my geronimo server start output in console. Please check it and give me more information to recreate your findings.

------------------------------------------------------------------------------------
C:\geronimo-tomcat7-javaee6-3.0.1\bin>set JAVA_HOME=e:\jdks\sun\jdk1.7.0_75

C:\geronimo-tomcat7-javaee6-3.0.1\bin>geronimo.bat run
Using GERONIMO_HOME:   C:\geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_SERVER: C:\geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_TMPDIR: C:\geronimo-tomcat7-javaee6-3.0.1\var\temp
Using JRE_HOME:        e:\jdks\sun\jdk1.7.0_75\jre

     ______                       _
    / ____/___  _________  ____  (_)____ ___  ____
   / / __ / _ \/ ___/ __ \/ __ \/ // __ `__ \/ __ \
  / /_/ //  __/ /  / /_/ / / / / // / / / / / /_/ /
  \____/ \___/_/   \____/_/ /_/_//_/ /_/ /_/\____/

  Apache Geronimo (3.0.1)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Geronimo.

geronimo> Booting Geronimo Kernel (in Java 1.7.0_75)...
Starting Geronimo Application Server v3.0.1
[****************************************] 100%  12s Startup complete
  Listening on Ports:
    1050 0.0.0.0 CORBA Naming Service
    1099 0.0.0.0 RMI Naming
    1527 0.0.0.0 Derby Connector
    2001 0.0.0.0 OpenEJB SSL ORB Adapter
    4201 0.0.0.0 OpenEJB Daemon
    6882 0.0.0.0 OpenEJB ORB Adapter
    8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector
    8080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector
    8443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector
    9999 0.0.0.0 JMX Remoting Connector
   61616 0.0.0.0 ActiveMQ Transport Connector

  Started Application Modules:
    EAR: org.apache.geronimo.plugins/console-tomcat/3.0.1/car
    JAR: org.apache.geronimo.configs/mejb/3.0.1/car
    RAR: org.apache.geronimo.configs/activemq-ra/3.0.1/car
    RAR: org.apache.geronimo.configs/system-database/3.0.1/car
    RAR: org.apache.geronimo.plugins.monitoring/agent-ds/3.0.1/car
    RAR: org.apache.geronimo.plugins.monitoring/mconsole-ds/3.0.1/car
    RAR: org.apache.geronimo.plugins/uddi-db/3.0.1/car
    WAR: org.apache.geronimo.configs/remote-deploy-tomcat/3.0.1/car
    WAR: org.apache.geronimo.configs/uddi-tomcat/3.0.1/car
    WAR: org.apache.geronimo.configs/welcome-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/activemq-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/debugviews-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/openejb-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/plancreator-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/plugin-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/sysdb-console-tomcat/3.0.1/car

  Web Applications:
    /
    /activemq
    /console
    /console-base
    /debug-views
    /juddi
    /monitoring
    /openejb-server
    /plan-creator
    /plugin
    /remote-deploy
    /system-database

Geronimo Application Server started
-------------------------------------------------------------------------------------------------------------------------------

2015-02-01 5:23 GMT+08:00 paulhr <[hidden email]>:
I found the cause. It seems the the hierarchy of the directory structure can be too flat.

The example below is ok.
C:\g\geronimo-tomcat7-javaee6-3.0.1\bin


But this example is too flat for Geronimo to handle.
C:\geronimo-tomcat7-javaee6-3.0.1\bin



View this message in context: Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1
Sent from the Users mailing list archive at Nabble.com.



--
Best Regards
Gary
Reply | Threaded
Open this post in threaded view
|

Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1

Kevin Huntly

I would guess its either a classpath conflict, previous installation of Geronimo, or bad permissions. You could install to C:/Geronimo and shouldn't have a problem.

________________________________________________

Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: [hidden email]
Cell: (716) 341-5669
LinkedIn: http://www.linkedin.com/in/kevinhuntly
________________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------

On Feb 3, 2015 8:17 PM, "Zhi Xie" <[hidden email]> wrote:
I couldn't reproduce your issue on windows 7 64bit 1.11.00.AI B13.
It is my geronimo server start output in console. Please check it and give me more information to recreate your findings.

------------------------------------------------------------------------------------
C:\geronimo-tomcat7-javaee6-3.0.1\bin>set JAVA_HOME=e:\jdks\sun\jdk1.7.0_75

C:\geronimo-tomcat7-javaee6-3.0.1\bin>geronimo.bat run
Using GERONIMO_HOME:   C:\geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_SERVER: C:\geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_TMPDIR: C:\geronimo-tomcat7-javaee6-3.0.1\var\temp
Using JRE_HOME:        e:\jdks\sun\jdk1.7.0_75\jre

     ______                       _
    / ____/___  _________  ____  (_)____ ___  ____
   / / __ / _ \/ ___/ __ \/ __ \/ // __ `__ \/ __ \
  / /_/ //  __/ /  / /_/ / / / / // / / / / / /_/ /
  \____/ \___/_/   \____/_/ /_/_//_/ /_/ /_/\____/

  Apache Geronimo (3.0.1)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Geronimo.

geronimo> Booting Geronimo Kernel (in Java 1.7.0_75)...
Starting Geronimo Application Server v3.0.1
[****************************************] 100%  12s Startup complete
  Listening on Ports:
    1050 0.0.0.0 CORBA Naming Service
    1099 0.0.0.0 RMI Naming
    1527 0.0.0.0 Derby Connector
    2001 0.0.0.0 OpenEJB SSL ORB Adapter
    4201 0.0.0.0 OpenEJB Daemon
    6882 0.0.0.0 OpenEJB ORB Adapter
    8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector
    8080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector
    8443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector
    9999 0.0.0.0 JMX Remoting Connector
   61616 0.0.0.0 ActiveMQ Transport Connector

  Started Application Modules:
    EAR: org.apache.geronimo.plugins/console-tomcat/3.0.1/car
    JAR: org.apache.geronimo.configs/mejb/3.0.1/car
    RAR: org.apache.geronimo.configs/activemq-ra/3.0.1/car
    RAR: org.apache.geronimo.configs/system-database/3.0.1/car
    RAR: org.apache.geronimo.plugins.monitoring/agent-ds/3.0.1/car
    RAR: org.apache.geronimo.plugins.monitoring/mconsole-ds/3.0.1/car
    RAR: org.apache.geronimo.plugins/uddi-db/3.0.1/car
    WAR: org.apache.geronimo.configs/remote-deploy-tomcat/3.0.1/car
    WAR: org.apache.geronimo.configs/uddi-tomcat/3.0.1/car
    WAR: org.apache.geronimo.configs/welcome-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/activemq-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/debugviews-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/openejb-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/plancreator-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/plugin-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/sysdb-console-tomcat/3.0.1/car

  Web Applications:
    /
    /activemq
    /console
    /console-base
    /debug-views
    /juddi
    /monitoring
    /openejb-server
    /plan-creator
    /plugin
    /remote-deploy
    /system-database

Geronimo Application Server started
-------------------------------------------------------------------------------------------------------------------------------

2015-02-01 5:23 GMT+08:00 paulhr <[hidden email]>:
I found the cause. It seems the the hierarchy of the directory structure can be too flat.

The example below is ok.
C:\g\geronimo-tomcat7-javaee6-3.0.1\bin


But this example is too flat for Geronimo to handle.
C:\geronimo-tomcat7-javaee6-3.0.1\bin



View this message in context: Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1
Sent from the Users mailing list archive at Nabble.com.



--
Best Regards
Gary
Reply | Threaded
Open this post in threaded view
|

Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1

paulhr
I am not able to reproduce the problem on demand.  I even tried what Kevin said and changed the directory name from "geronimo-tomcat7-javaee6-3.0.1" to "geronimo301" and did not have an consistent issue.  The only time I got the same "DuplicateBundle"  error again was the first start of Geronimo after the directory rename to "geronimo301".  But after a second start of Geronimo the error did not appear.  I flipped the name of the directory -- from short to long then back to short -- but could not get the error again.  Whatever the cause, it seems to be something transient on my workstation.

On 2/3/2015 8:24 PM, Kevin Huntly [via Apache Geronimo] wrote:

I would guess its either a classpath conflict, previous installation of Geronimo, or bad permissions. You could install to C:/Geronimo and shouldn't have a problem.

________________________________________________

Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: [hidden email]
Cell: (716) 341-5669
LinkedIn: http://www.linkedin.com/in/kevinhuntly
________________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------

On Feb 3, 2015 8:17 PM, "Zhi Xie" <[hidden email]> wrote:
I couldn't reproduce your issue on windows 7 64bit 1.11.00.AI B13.
It is my geronimo server start output in console. Please check it and give me more information to recreate your findings.

------------------------------------------------------------------------------------
C:\geronimo-tomcat7-javaee6-3.0.1\bin>set JAVA_HOME=e:\jdks\sun\jdk1.7.0_75

C:\geronimo-tomcat7-javaee6-3.0.1\bin>geronimo.bat run
Using GERONIMO_HOME:   C:\geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_SERVER: C:\geronimo-tomcat7-javaee6-3.0.1
Using GERONIMO_TMPDIR: C:\geronimo-tomcat7-javaee6-3.0.1\var\temp
Using JRE_HOME:        e:\jdks\sun\jdk1.7.0_75\jre

     ______                       _
    / ____/___  _________  ____  (_)____ ___  ____
   / / __ / _ \/ ___/ __ \/ __ \/ // __ `__ \/ __ \
  / /_/ //  __/ /  / /_/ / / / / // / / / / / /_/ /
  \____/ \___/_/   \____/_/ /_/_//_/ /_/ /_/\____/

  Apache Geronimo (3.0.1)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Geronimo.

geronimo> Booting Geronimo Kernel (in Java 1.7.0_75)...
Starting Geronimo Application Server v3.0.1
[****************************************] 100%  12s Startup complete
  Listening on Ports:
    1050 0.0.0.0 CORBA Naming Service
    1099 0.0.0.0 RMI Naming
    1527 0.0.0.0 Derby Connector
    2001 0.0.0.0 OpenEJB SSL ORB Adapter
    4201 0.0.0.0 OpenEJB Daemon
    6882 0.0.0.0 OpenEJB ORB Adapter
    8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector
    8080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector
    8443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector
    9999 0.0.0.0 JMX Remoting Connector
   61616 0.0.0.0 ActiveMQ Transport Connector

  Started Application Modules:
    EAR: org.apache.geronimo.plugins/console-tomcat/3.0.1/car
    JAR: org.apache.geronimo.configs/mejb/3.0.1/car
    RAR: org.apache.geronimo.configs/activemq-ra/3.0.1/car
    RAR: org.apache.geronimo.configs/system-database/3.0.1/car
    RAR: org.apache.geronimo.plugins.monitoring/agent-ds/3.0.1/car
    RAR: org.apache.geronimo.plugins.monitoring/mconsole-ds/3.0.1/car
    RAR: org.apache.geronimo.plugins/uddi-db/3.0.1/car
    WAR: org.apache.geronimo.configs/remote-deploy-tomcat/3.0.1/car
    WAR: org.apache.geronimo.configs/uddi-tomcat/3.0.1/car
    WAR: org.apache.geronimo.configs/welcome-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/activemq-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/debugviews-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/openejb-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/plancreator-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/plugin-console-tomcat/3.0.1/car
    WAR: org.apache.geronimo.plugins/sysdb-console-tomcat/3.0.1/car

  Web Applications:
    /
    /activemq
    /console
    /console-base
    /debug-views
    /juddi
    /monitoring
    /openejb-server
    /plan-creator
    /plugin
    /remote-deploy
    /system-database

Geronimo Application Server started
-------------------------------------------------------------------------------------------------------------------------------

2015-02-01 5:23 GMT+08:00 paulhr <[hidden email]>:
I found the cause. It seems the the hierarchy of the directory structure can be too flat.

The example below is ok.
C:\g\geronimo-tomcat7-javaee6-3.0.1\bin


But this example is too flat for Geronimo to handle.
C:\geronimo-tomcat7-javaee6-3.0.1\bin



View this message in context: Re: DuplicateBundleException on 3.0.1 on Windows 7 SP1
Sent from the Users mailing list archive at Nabble.com.



--
Best Regards
Gary



If you reply to this email, your message will be added to the discussion below:
http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713p3988729.html
To unsubscribe from DuplicateBundleException on 3.0.1 on Windows 7 SP1, click here.
NAML


--
St. Seraphim of Sarov “Neither do walls or rich furniture make a home. Millionaires in magnificent mansions may never know a home. But where there are good relationships, where love binds the family together and to God, there happiness is always to be found. For good relationships are heaven anywhere.”