Discussion:
DuplicateBundleException on 3.0.1 on Windows 7 SP1
paulhr
2015-01-30 23:54:09 UTC
Permalink
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.
Kevin Huntly
2015-01-31 00:02:55 UTC
Permalink
What's the rest of the exception..?

________________________________________________

Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: ***@gmail.com
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------
Post by paulhr
I did a search and found this as a bug in Lunix. But I am on Windows 7.
======= error message during start up ============
======= 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 \geronimon301\bin
C:\geronimo301\bin>geronimo.bat run
--
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.
paulhr
2015-01-31 00:32:13 UTC
Permalink
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
Post by Kevin Huntly
What's the rest of the exception..?
________________________________________________
Kevin Huntly
79 Aurora Drive
Cheektowaga, NY 14215
Email: [hidden email] </user/SendEmail.jtp?type=node&node=3988714&i=0>
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]
I did a search and found this as a bug in Lunix. But I am on Windows 7.
======= error message during start up ============
======= 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 \geronimon301\bin
C:\geronimo301\bin>geronimo.bat run
--
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
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
<http://apache-geronimo.328035.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3988713&code=cGF1bEByb3ViZWthcy5vcmd8Mzk4ODcxM3wzNDQwMDA2MjA=>.
NAML
<http://apache-geronimo.328035.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.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.”




--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713p3988715.html
Sent from the Users mailing list archive at Nabble.com.
paulhr
2015-01-31 21:23:27 UTC
Permalink
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: http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713p3988719.html
Sent from the Users mailing list archive at Nabble.com.
Zhi Xie
2015-02-04 01:16:36 UTC
Permalink
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
-------------------------------------------------------------------------------------------------------------------------------
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
<http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713p3988719.html>
Sent from the Users mailing list archive
<http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html> at
Nabble.com.
--
Best Regards
Gary
Kevin Huntly
2015-02-04 01:21:59 UTC
Permalink
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: ***@gmail.com
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------
Post by Zhi Xie
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
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
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
/
/activemq
/console
/console-base
/debug-views
/juddi
/monitoring
/openejb-server
/plan-creator
/plugin
/remote-deploy
/system-database
Geronimo Application Server started
-------------------------------------------------------------------------------------------------------------------------------
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
<http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713p3988719.html>
Sent from the Users mailing list archive
<http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html> at
Nabble.com.
--
Best Regards
Gary
paulhr
2015-02-04 19:27:32 UTC
Permalink
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.
Post by 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] </user/SendEmail.jtp?type=node&node=3988729&i=0>
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]
I couldn't reproduce your issue on windows 7 64bit 1.11.00.AI
<http://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
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
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
org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0.1/car
WAR: org.apache.geronimo.plugins/activemq-console-tomcat/3.0.1/car
org.apache.geronimo.plugins/debugviews-console-tomcat/3.0.1/car
WAR: org.apache.geronimo.plugins/openejb-console-tomcat/3.0.1/car
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
/
/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
<http://apache-geronimo.328035.n3.nabble.com/DuplicateBundleException-on-3-0-1-on-Windows-7-SP1-tp3988713p3988719.html>
Sent from the Users mailing list archive
<http://apache-geronimo.328035.n3.nabble.com/Users-f328036.html>
at Nabble.com.
--
Best Regards
Gary
------------------------------------------------------------------------
If you reply to this email, your message will be added to the
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
<http://apache-geronimo.328035.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3988713&code=cGF1bEByb3ViZWthcy5vcmd8Mzk4ODcxM3wzNDQwMDA2MjA=>.
NAML
<http://apache-geronimo.328035.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.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.”




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