You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by yanshaozhiGmail <ya...@gmail.com> on 2009/01/05 15:04:27 UTC
A question about sling launchpad
HI:
When I built run the launchapd webapp with mvn jetty:run (the newest sling), after the server started I encounter with a question as follow: (I want to know it's ling's bug or not ,how can I do it?)
2009-01-05 21:48:43.616:/:WARN: ERROR: Error starting slinginstall:org.apache.sling.jcr.ocm-2.0.3-i
ncubator-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved package in bundle 31: package;
(package=org.apache.commons.lang))
org.osgi.framework.BundleException: Unresolved package in bundle 31: package; (package=org.apache.co
mmons.lang)
at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
at java.lang.Thread.run(Thread.java:595)
2009-01-05 21:48:45.225:/:INFO: sling: Servlet sling initialized
2009-01-05 21:48:46.317::INFO: Started SelectChannelConnector@0.0.0.0:8888
[INFO] Started Jetty Server
2009-01-05
yanshaozhiGmail
Re: A question about sling launchpad
Posted by Felix Meschberger <fm...@gmail.com>.
Hi Rory,
Thanks for the proposal. I have added the commons-lang bundle to the
standard install and this should now work.
Regards
Felix
Rory Douglas schrieb:
> The fix I use is to just deploy commons-lang.jar (version 2.4) into the
> framework, since it's OSGI-ified. I supposed it should be added to the
> default dependencies deployed with the launchpad.
>
> Bertrand Delacretaz wrote:
>> On Thu, Jan 15, 2009 at 9:17 PM, Pontus Amberg
>> <po...@comhem.se> wrote:
>>
>>> I still encounter this while starting Sling. Should I create an entry in
>>> JIRA so it isn't forgotten?...
>>>
>>
>> Sure, go ahead - we meant to fix this but didn't get to it yet.
>> Thanks,
>> -Bertrand
>>
>>
>>>> yanshaozhiGmail schrieb:
>>>>
>>>>> When I built run the launchapd webapp with mvn jetty:run (the newest
>>>>> sling), after the server started I encounter with a question as
>>>>> follow: (I
>>>>> want to know it's ling's bug or not ,how can I do it?)
>>>>> 2009-01-05 21:48:43.616:/:WARN: ERROR: Error starting
>>>>> slinginstall:org.apache.sling.jcr.ocm-2.0.3-i
>>>>> ncubator-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved
>>>>> package in bundle 31: package;
>>>>> (package=org.apache.commons.lang))
>>>>> org.osgi.framework.BundleException: Unresolved package in bundle 31:
>>>>> package; (package=org.apache.co
>>>>> mmons.lang)
>>>>> at
>>>>> org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
>>>>> at
>>>>> org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
>>>>> at
>>>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>>>>> at
>>>>> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
>>>>>
>>>>> at
>>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>> 2009-01-05 21:48:45.225:/:INFO: sling: Servlet sling initialized
>>>>> 2009-01-05 21:48:46.317::INFO: Started
>>>>> SelectChannelConnector@0.0.0.0:8888
>>>>> [INFO] Started Jetty Server
>>>>>
>>>>> 2009-01-05
>>>>>
>>>>>
>>>>> yanshaozhiGmail
>>>>>
>>>>>
>>>>
>>>
>
Re: A question about sling launchpad
Posted by Rory Douglas <ro...@oracle.com>.
The fix I use is to just deploy commons-lang.jar (version 2.4) into the
framework, since it's OSGI-ified. I supposed it should be added to the
default dependencies deployed with the launchpad.
Bertrand Delacretaz wrote:
> On Thu, Jan 15, 2009 at 9:17 PM, Pontus Amberg <po...@comhem.se> wrote:
>
>> I still encounter this while starting Sling. Should I create an entry in
>> JIRA so it isn't forgotten?...
>>
>
> Sure, go ahead - we meant to fix this but didn't get to it yet.
> Thanks,
> -Bertrand
>
>
>>> yanshaozhiGmail schrieb:
>>>
>>>> When I built run the launchapd webapp with mvn jetty:run (the newest
>>>> sling), after the server started I encounter with a question as follow: (I
>>>> want to know it's ling's bug or not ,how can I do it?)
>>>> 2009-01-05 21:48:43.616:/:WARN: ERROR: Error starting
>>>> slinginstall:org.apache.sling.jcr.ocm-2.0.3-i
>>>> ncubator-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved
>>>> package in bundle 31: package;
>>>> (package=org.apache.commons.lang))
>>>> org.osgi.framework.BundleException: Unresolved package in bundle 31:
>>>> package; (package=org.apache.co
>>>> mmons.lang)
>>>> at
>>>> org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
>>>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
>>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>>>> at
>>>> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
>>>> at
>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
>>>> at java.lang.Thread.run(Thread.java:595)
>>>> 2009-01-05 21:48:45.225:/:INFO: sling: Servlet sling initialized
>>>> 2009-01-05 21:48:46.317::INFO: Started
>>>> SelectChannelConnector@0.0.0.0:8888
>>>> [INFO] Started Jetty Server
>>>>
>>>> 2009-01-05
>>>>
>>>>
>>>> yanshaozhiGmail
>>>>
>>>>
>>>
>>
--
Rory Douglas | Senior Principal Consultant
Fax: +1-201-604-6428 | Mobile: +1-917-498-5344
Oracle North America Consulting
ORACLE United States | | San Diego, CA
"Please consider your environmental responsibility before printing this
e-mail"
Re: A question about sling launchpad
Posted by Bertrand Delacretaz <bd...@apache.org>.
On Thu, Jan 15, 2009 at 9:17 PM, Pontus Amberg <po...@comhem.se> wrote:
> I still encounter this while starting Sling. Should I create an entry in
> JIRA so it isn't forgotten?...
Sure, go ahead - we meant to fix this but didn't get to it yet.
Thanks,
-Bertrand
>> yanshaozhiGmail schrieb:
>>> When I built run the launchapd webapp with mvn jetty:run (the newest
>>> sling), after the server started I encounter with a question as follow: (I
>>> want to know it's ling's bug or not ,how can I do it?)
>>> 2009-01-05 21:48:43.616:/:WARN: ERROR: Error starting
>>> slinginstall:org.apache.sling.jcr.ocm-2.0.3-i
>>> ncubator-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved
>>> package in bundle 31: package;
>>> (package=org.apache.commons.lang))
>>> org.osgi.framework.BundleException: Unresolved package in bundle 31:
>>> package; (package=org.apache.co
>>> mmons.lang)
>>> at
>>> org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
>>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>>> at
>>> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
>>> at
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
>>> at java.lang.Thread.run(Thread.java:595)
>>> 2009-01-05 21:48:45.225:/:INFO: sling: Servlet sling initialized
>>> 2009-01-05 21:48:46.317::INFO: Started
>>> SelectChannelConnector@0.0.0.0:8888
>>> [INFO] Started Jetty Server
>>>
>>> 2009-01-05
>>>
>>>
>>> yanshaozhiGmail
>>>
>>
>>
>
>
Re: A question about sling launchpad
Posted by Pontus Amberg <po...@comhem.se>.
I still encounter this while starting Sling. Should I create an entry in
JIRA so it isn't forgotten?
/Pontus
Felix Meschberger wrote:
> Hi Yan,
>
> As Betrand said, this is actually a (known) bug in the definition of the
> OCM bundle of Sling. If you don't need/use OCM (Object Content Mapping),
> you can safely ignore this error.
>
> Anyway, I know of this problem and will fix it later this week.
>
> Regards
> Felix
>
> yanshaozhiGmail schrieb:
>
>> HI:
>>
>> When I built run the launchapd webapp with mvn jetty:run (the newest sling), after the server started I encounter with a question as follow: (I want to know it's ling's bug or not ,how can I do it?)
>>
>> 2009-01-05 21:48:43.616:/:WARN: ERROR: Error starting slinginstall:org.apache.sling.jcr.ocm-2.0.3-i
>> ncubator-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved package in bundle 31: package;
>> (package=org.apache.commons.lang))
>> org.osgi.framework.BundleException: Unresolved package in bundle 31: package; (package=org.apache.co
>> mmons.lang)
>> at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
>> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
>> at java.lang.Thread.run(Thread.java:595)
>> 2009-01-05 21:48:45.225:/:INFO: sling: Servlet sling initialized
>> 2009-01-05 21:48:46.317::INFO: Started SelectChannelConnector@0.0.0.0:8888
>> [INFO] Started Jetty Server
>>
>> 2009-01-05
>>
>>
>>
>> yanshaozhiGmail
>>
>>
>
>
Re: A question about sling launchpad
Posted by Felix Meschberger <fm...@gmail.com>.
Hi Yan,
As Betrand said, this is actually a (known) bug in the definition of the
OCM bundle of Sling. If you don't need/use OCM (Object Content Mapping),
you can safely ignore this error.
Anyway, I know of this problem and will fix it later this week.
Regards
Felix
yanshaozhiGmail schrieb:
> HI:
>
> When I built run the launchapd webapp with mvn jetty:run (the newest sling), after the server started I encounter with a question as follow: (I want to know it's ling's bug or not ,how can I do it?)
>
> 2009-01-05 21:48:43.616:/:WARN: ERROR: Error starting slinginstall:org.apache.sling.jcr.ocm-2.0.3-i
> ncubator-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved package in bundle 31: package;
> (package=org.apache.commons.lang))
> org.osgi.framework.BundleException: Unresolved package in bundle 31: package; (package=org.apache.co
> mmons.lang)
> at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
> at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
> at java.lang.Thread.run(Thread.java:595)
> 2009-01-05 21:48:45.225:/:INFO: sling: Servlet sling initialized
> 2009-01-05 21:48:46.317::INFO: Started SelectChannelConnector@0.0.0.0:8888
> [INFO] Started Jetty Server
>
> 2009-01-05
>
>
>
> yanshaozhiGmail
>
Re: A question about sling launchpad
Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,
On Mon, Jan 5, 2009 at 3:04 PM, yanshaozhiGmail <ya...@gmail.com> wrote:
> ...2009-01-05 21:48:43.616:/:WARN: ERROR: Error starting slinginstall:org.apache.sling.jcr.ocm-2.0.3-i
> ncubator-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved package in bundle 31: package;
> (package=org.apache.commons.lang))
> org.osgi.framework.BundleException: Unresolved package in bundle 31: package; (package=org.apache.co
> mmons.lang)...
That's a bug indeed, if you look at the
http://localhost:8888/system/console/bundles page you can see that the
org.apache.sling.jcr.ocm bundle is not started, because if this
missing bundle. I can have a look later today.
-Bertrand