users@glassfish.java.net

Re: GlassFish v3 Prelude does not start

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 06 Mar 2009 15:33:42 +0530

That error (Bundle symbolic name and version are not unique.) should not
happen. Can you enable the Felix shell and send us a list of bundles
installed. Do the following:

1. Open C:/glassfishv3-prelude/glassfish/felix/conf/config.properties.
2. Search for shell there. You will see instructions for enabling the
felix shell.
3. Restart the server.
4. Now run "telnet localhost 6666" from another console.
5. On the prompt, run "ps" command. It will list all the bundles. Send
the output to us.

Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> Hi there,
>
> I just downloaded "v3 Prelude" (http://download.java.net/glassfish/v3-prelude/release/glassfish-v3-prelude-windows.exe , 30.062.603 bytes) and installed it on my Windows XP box, all with default settings. (The installation tool claims that the "Update Tool Bootstrap" was not configured, although the installation log shows no errors.)
>
> As I start up the domain, the server log contains an error
>
> [b]org.osgi.framework.BundleException: Bundle symbolic name and version are not unique
> ...
> [#|2009-03-05T18:00:38.593+0100|WARNING|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=13;_ThreadName=Thread-3;org.osgi.framework.BundleException: Could not create bundle object.;file:/C:/glassfishv3-prelude/glassfish/modules/web/jstl-connector.jar;|Exception org.osgi.framework.BundleException: Could not create bundle object. while adding location = file:/C:/glassfishv3-prelude/glassfish/modules/web/jstl-connector.jar|#][/b]
>
> (full stack trace below), followed by many similar errors. Eventually, it is impossible to access the adminstration console, which renders the installation useless.
>
> This problem seems similar to the posting "V3 and getting at the Felix" in this same forum:
>
> http://forums.java.net/jive/thread.jspa?messageID=296549
>
> I have the suspicion that anyone who installs that GlassFish version on Windows will run into the same problem? A bit discouraging.
>
> Please help!
>
>
> CU
>
> Arno
>
> -----------------------
>
> Full stack trace from server.log:
>
> [b][#|2009-03-05T18:00:38.578+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;|org.osgi.framework.BundleException: Bundle symbolic name and version are not unique.|#]
> [#|2009-03-05T18:00:38.578+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at org.apache.felix.framework.Felix.createModule(Felix.java:3395)|#]
> [#|2009-03-05T18:00:38.578+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3316)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at org.apache.felix.framework.Felix.installBundle(Felix.java:2315)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at org.apache.felix.framework.Felix.installBundle(Felix.java:2227)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:132)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:110)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.newModule(OSGiModulesRegistryImpl.java:114)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.getModules(AbstractModulesRegistryImpl.java:350)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2.getResource(OSGiModuleImpl.java:377)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.lang.ClassLoader.getResource(ClassLoader.java:972)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:92)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.security.AccessController.doPrivileged(Native Method)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:85)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:231)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:203)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.enterprise.registration.impl.RepositoryManager.<init>(RepositoryManager.java:551)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.enterprise.registration.glassfish.RegistrationUtil.synchUUID(RegistrationUtil.java:153)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.enterprise.registration.glassfish.PingService.postConstruct(PingService.java:85)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.security.AccessController.doPrivileged(Native Method)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at com.sun.enterprise.v3.server.AppServerStartup$3.run(AppServerStartup.java:188)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:287)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.util.concurrent.FutureTask.run(FutureTask.java:138)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:679)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:704)|#]
> [#|2009-03-05T18:00:38.593+0100|SEVERE|glassfish|null|_ThreadID=13;_ThreadName=Thread-3;| at java.lang.Thread.run(Thread.java:619)|#]
> [#|2009-03-05T18:00:38.593+0100|WARNING|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=13;_ThreadName=Thread-3;org.osgi.framework.BundleException: Could not create bundle object.;file:/C:/glassfishv3-prelude/glassfish/modules/web/jstl-connector.jar;|Exception org.osgi.framework.BundleException: Could not create bundle object. while adding location = file:/C:/glassfishv3-prelude/glassfish/modules/web/jstl-connector.jar|#][/b]
> [Message sent by forum member 'arno_unkrig' (arno_unkrig)]
>
> http://forums.java.net/jive/thread.jspa?messageID=335474
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>