Although coming for the same jar file (osgi-web-container.jar), I think
this error is different. The error I see is due to "Unresolved
constraint in bundle com.sun.enterprise.config [154]: package;
(package=javax.validation)".
-vivek.
Homer Yau wrote:
> Hi Vivek,
>
> I am seeing this on AIX platform also.
>
> Here is my exception:
> Error while starting bundle:
> /export/homer/v3_ws/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar:
> org.osgi.framework-container [205].
> org.osgi.framework.BundleException: Activator start error in bundle
> org.glassfish.web.osgi-web-container [205].
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1750)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
> at
> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:877)
> at
> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.
> at
> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.
> at
> org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWa
> at
> org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.ja
> Caused by: java.lang.NullPointerException
> at org.glassfish.internal.api.Globals.get(Globals.java:53)
> at
> org.glassfish.web.osgi.ExtenderManager.<init>(ExtenderManager.java:66
> at
> org.glassfish.web.osgi.OSGiWebContainerActivator.start(OSGiWebContain
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
> ... 7 more
>
>
> Thanks,
> Homer
>
> Vivek Pandey wrote:
>> Is trunk working for anyone? I am on mac os 10.5.8, JDK 1.6.0_15 (64
>> bit). Felix fails to load osgi-web-container.jar form autostart and
>> the server startup fails.
>>
>> $ asadmin list-applications
>> Remote server does not listen for requests on [localhost:4848].
>> Is the server up?
>> No such local command, list-applications. To run remote commands,
>> start the application server (e.g. asadmin start-domain).
>> Command list-applications failed.
>>
>>
>> -vivek.
>>
>> Vivek Pandey wrote:
>>> I am seeing the following exceptions during startup on the latest v3
>>> trunk and the server fails to start. Anyone else notice it?
>>>
>>> -vivek.
>>>
>>> Welcome to Felix
>>> ================
>>>
>>> Oct 5, 2009 2:28:38 PM Main start
>>> WARNING: Exception while starting bundle
>>> com.sun.enterprise.osgi-adapter [2]
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3268)
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1596)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
>>> at org.jvnet.hk2.osgimain.Main.start(Main.java:124)
>>> at
>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:667)
>>>
>>> at org.apache.felix.framework.Felix.activateBundle(Felix.java:1699)
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1621)
>>> at
>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1076)
>>> at
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>>> at java.lang.Thread.run(Thread.java:637)
>>> felix.fileinstall.poll (ms) 5000
>>> felix.fileinstall.dir
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart
>>> felix.fileinstall.debug 1
>>> felix.fileinstall.bundles.new.start true
>>> Installed
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar
>>>
>>> Installed
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart/org.apache.felix.scr.jar
>>>
>>> Error while starting bundle:
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar:
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3268)
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1596)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:877)
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:823)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:844)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:401)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:123)
>>>
>>> Started bundle:
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart/org.apache.felix.scr.jar
>>>
>>> felix.fileinstall.poll (ms) 5000
>>> felix.fileinstall.dir
>>> /Users/vivek/dev/glassfishv3/glassfish/domains/domain1/autodeploy/bundles
>>>
>>> felix.fileinstall.debug 1
>>> felix.fileinstall.bundles.new.start true
>>> Error while starting bundle:
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar:
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3268)
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1596)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:877)
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:823)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:657)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:392)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:123)
>>>
>>> Error while starting bundle:
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar:
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3268)
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1596)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:877)
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:823)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:657)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:392)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:123)
>>>
>>> Error while starting bundle:
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar:
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3268)
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1596)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:877)
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:823)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:657)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:392)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:123)
>>>
>>> Error while starting bundle:
>>> /Users/vivek/dev/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar:
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>> com.sun.enterprise.config [154]: package; (package=javax.validation)
>>> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3268)
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1596)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:890)
>>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:877)
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:823)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.start(DirectoryWatcher.java:657)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:392)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:123)
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>