users@glassfish.java.net

Re: GlassFish v3 Prelude does not start

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 06 Mar 2009 23:27:44 +0530

OK, it may be related to some kind of corrupt Felix cache, for which I
have no explanation of. Editing the config.properties has a side effect
of recreation of the cache on subsequent server start up. Anyway, good
that you are all set to use prelude.

Sahoo

glassfish_at_javadesktop.org wrote:
> Man, that's fast!
>
> OK, I did as you told, and the amazing result is: [b]All of a sudden, it works!?[/b] The exception does not appear, and the admin console shows.
>
> All I changed was add the FELIX console in "glassfishv3-prelude/glassfish/felix/conf/config.properties":
>
> felix.auto.start.1= \
> ${com.sun.aas.installRootURI}/modules/javax.xml.stream.jar \
> ${com.sun.aas.installRootURI}/modules/tiger-types-osgi.jar \
> ${com.sun.aas.installRootURI}/modules/auto-depends.jar \
> ${com.sun.aas.installRootURI}/modules/config.jar \
> ${com.sun.aas.installRootURI}/modules/hk2-core.jar \
> ${com.sun.aas.installRootURI}/modules/osgi-adapter.jar \
> \
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.jar \
> ${com.sun.aas.installRootURI}/felix/bundle/org.apache.felix.shell.remote.jar
>
> , and restart the server.
>
> It may sound silly, but I swear I have not changed anything else that could influence GlassFish. I have log files "before" and "after", and they only differ in the BundleException (before) and the FELIX bundles (after). (I DIFFed them!) (Find the server.log file attached; the relevant time stamps are 10:33 [before] and 13:01 [after].)
>
> If I remove the FELIX console, GlassFish continues to work.
>
> My guesses are
> * The problem is sporadic (although it seemed stable "before")
> * It is somehow date-related (AM / PM, UTC offset; mine is CET, UCT+0100)
> * Loading the FELIX console has a nasty (positive ;-) ) side effect
>
> Either I made some really stupid mistake, or GlassFish has a serious problem. So either I'm wasting your time, or not. I will observe the situation; maybe some other individuals run into the same problem and find and reply to this thread.
>
> Thank you anyway, and let's see what happens...
>
>
> CU
>
> Arno
>
>
>> 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.pro
>> perties.
>> 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:
>>
> [Message sent by forum member 'arno_unkrig' (arno_unkrig)]
>
> http://forums.java.net/jive/thread.jspa?messageID=335508
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>