users@glassfish.java.net

Re: NetBeans 6.5 Visual Web database applications won't run properly on v3

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Wed, 05 Nov 2008 18:11:39 -0800

John Baker wrote:
> NetBeans 6.5 Visual Web database applications won't run properly on v3
>
> Even though the class is bundled in the application, I'm getting a
> ClassNotFound error
>
> SEVERE: CoyoteRequest PWC4003: Exception thrown by attributes event
> listener
> java.lang.NoClassDefFoundError: com/sun/sql/rowset/CachedRowSetX
> at
> com.sun.data.provider.impl.CachedRowSetDataProvider.setCachedRowSet(CachedRowSetDataProvider.java:172)
>
> at
> com.sun.data.provider.impl.CachedRowSetDataProvider.close(CachedRowSetDataProvider.java:209)
>
> at twopagecrudtable.Page1.destroy(Page1.java:241)
>
> Any ideas ?

in the sun-web.xml change
  <class-loader delegate="true"/>
to

  <class-loader delegate="false"/>


I think it works then.
Ludo
>
> Attached is a sample project.
>
> John
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>