Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Missing class in org.mortbay.jetty.jsp-2.1-glassfish_2.1.0.v20100127?

Thanks Hugues, I guess I missed upgrading these jars when we upgraded
our jetty to 7.2.2, basically I used the lib/jsp directory as a model
for what needed to be included and that seems to work.  Thanks again!

Cheers,
Craig

On Fri, Jan 7, 2011 at 6:21 PM, Hugues Malphettes
<hmalphettes@xxxxxxxxxxx> wrote:
> Hi Craig,
> Please make sure that you use
> the org.apache.jasper.glassfish_2.1.0.v201007080150.jar bundle provided by
> eclipse-orbit: http://www.eclipse.org/downloads/download.php?r=1&file=/tools/orbit/downloads/drops/S20101204061544/bundles/org.apache.jasper.glassfish_2.1.0.v201007080150.jar
> It is also the jasper jar in the jetty distribution.
> We are using a patched version of jasper.
> The patch is described here: http://java.net/jira/browse/JSP-13
> and was accepted but never released by java.net.
> I hope this helps.
> Hugues
>
> On Sat, Jan 8, 2011 at 3:56 AM, Craig Ching <craigching@xxxxxxxxx> wrote:
>>
>> Hi all,
>>
>> I'm getting the error [1] when doing JSPs in an equinox OSGi
>> environment.  It looks like the bundle
>> org.mortbay.jetty.jsp-2.1-glassfish_2.1.0.v20100127 exports the
>> package mentioned in the error, yet the class ParserUtils is not
>> there.  I found a jasper bundle that exports some of the same packages
>> as that jetty bundle, including org.apache.jasper.xmlparser, that does
>> include the ParserUtils class.  Is this a possible oversight in the
>> jetty-jsp-2.1-glassfish bundle?
>>
>> Cheers,
>> Craig
>>
>>
>> [1] --
>> !ENTRY org.eclipse.jetty.osgi.boot 4 0 2011-01-07 13:49:45.756
>> !MESSAGE
>> !STACK 0
>> org.osgi.framework.BundleException: Exception in
>> org.eclipse.jetty.osgi.boot.JettyBootstrapActivator.start() of bundle
>> org.eclipse.jetty.osgi.boot.
>>        at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
>>        at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
>>        at
>> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
>>        at
>> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
>>        at
>> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
>>        at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleSL(StartLevelManager.java:695)
>>        at
>> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:437)
>>        at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
>>        at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
>> Caused by: java.lang.NoClassDefFoundError:
>> org/apache/jasper/xmlparser/ParserUtils
>>        at
>> org.eclipse.jetty.osgi.boot.jasper.WebappRegistrationCustomizerImpl.fixupDtdResolution(WebappRegistrationCustomizerImpl.java:199)
>>        at
>> org.eclipse.jetty.osgi.boot.jasper.WebappRegistrationCustomizerImpl.<init>(WebappRegistrationCustomizerImpl.java:72)
>>        at
>> org.eclipse.jetty.osgi.boot.jsp.FragmentActivator.start(FragmentActivator.java:39)
>>        at
>> org.eclipse.jetty.osgi.boot.utils.internal.PackageAdminServiceTracker.invokeFragmentActivators(PackageAdminServiceTracker.java:102)
>>        at
>> org.eclipse.jetty.osgi.boot.utils.internal.PackageAdminServiceTracker.setup(PackageAdminServiceTracker.java:63)
>>        at
>> org.eclipse.jetty.osgi.boot.utils.internal.PackageAdminServiceTracker.<init>(PackageAdminServiceTracker.java:42)
>>        at
>> org.eclipse.jetty.osgi.boot.JettyBootstrapActivator.start(JettyBootstrapActivator.java:91)
>>        at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
>>        ... 8 more
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>


Back to the top