Hi Martin,

This a little bit strange because it work in other situation (like for
properties). Maybe is it related to the location (META-INF) ?

09:59:11,057 INFO  [org.apache.wicket.resource.PropertiesFactory] Loading
properties files from
vfs:/D:/runtimes/wildfly-8.1.0.Final/bin/content/my-ear-dev.ear/my-war-1.0-SNAPSHOT.war/WEB-INF/lib/wicket-core-7.0.0-M3.jar/org/apache/wicket/Application.properties
with loader
org.apache.wicket.resource.IsoPropertiesFilePropertiesLoader@4807df36
09:59:20,718 INFO  [org.apache.wicket.resource.PropertiesFactory] Loading
properties files from
vfs:/D:/runtimes/wildfly-8.1.0.Final/bin/content/my-ear-dev.ear/my-war-1.0-SNAPSHOT.war/WEB-INF/lib/wicket-extensions-7.0.0-M3.jar/org/apache/wicket/extensions/Initializer.properties
with loader
org.apache.wicket.resource.IsoPropertiesFilePropertiesLoader@4807df36

Best regards,
Sebastien.


On Tue, Oct 14, 2014 at 5:37 PM, Martin Grigorov <[email protected]>
wrote:

> Nice !
> JBoss - the new WebSphere !
>
> I'll check what is needed to support this.
> wicket-webjars uses Reflections plus some extras to support Vfs.
> I prefer to revert the change than to add third party dependencies.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Oct 14, 2014 at 6:21 PM, Sebastien <[email protected]> wrote:
>
> > Oh, you are right ! I did not paid attention to this, it was with the
> > warnings for my own jars (/wicket.properties location is deprecated...)
> >
> > ERROR [org.apache.wicket.Application] Cannot load
> >
> >
> 'vfs:/D:/runtimes/wildfly-8.1.0.Final/bin/content/myear-dev.ear/hawk-war-1.0-SNAPSHOT.war/WEB-INF/lib/wicket-core-7.0.0-SNAPSHOT.jar/META-INF/wicket/'.
> > The protocol 'vfs' is not supported!
> > ERROR [org.apache.wicket.Application] Cannot load
> >
> >
> 'vfs:/D:/runtimes/wildfly-8.1.0.Final/bin/content/myear-dev.ear/hawk-war-1.0-SNAPSHOT.war/WEB-INF/lib/wicket-devutils-7.0.0-SNAPSHOT.jar/META-INF/wicket/'.
> > The protocol 'vfs' is not supported!
> > ERROR [org.apache.wicket.Application] Cannot load
> >
> >
> 'vfs:/D:/runtimes/wildfly-8.1.0.Final/bin/content/myear-dev.ear/hawk-war-1.0-SNAPSHOT.war/WEB-INF/lib/wicket-extensions-7.0.0-SNAPSHOT.jar/META-INF/wicket/'.
> > The protocol 'vfs' is not supported!
> >
> >
> >
> >
> > On Tue, Oct 14, 2014 at 5:10 PM, Martin Grigorov <[email protected]>
> > wrote:
> >
> > > After removing all beanvalidation related stuff the deployment is
> > > successful and the initializers work fine.
> > >
> > > Could it be again something with JBoss ?
> > > The change related to this problem is that wicket.properties has been
> > moved
> > > from / (i.e. the root of the classpath) to /META-INF/wicket/**
> > > I am not sure whether JBoss doesn't do something special with
> > /META-INF/**
> > > ...
> > >
> > > Martin Grigorov
> > > Wicket Training and Consulting
> > > https://twitter.com/mtgrigorov
> > >
> > > On Tue, Oct 14, 2014 at 5:57 PM, Martin Grigorov <[email protected]
> >
> > > wrote:
> > >
> > > > Deploying in Tomcat fails with:
> > > >
> > > > Caused by: java.lang.ClassNotFoundException:
> > > > javax.validation.constraints.Pattern$Flag
> > > > at
> > > >
> > >
> >
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1293)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1145)
> > > > ... 51 more
> > > >
> > > >
> > > > Martin Grigorov
> > > > Wicket Training and Consulting
> > > > https://twitter.com/mtgrigorov
> > > >
> > > > On Tue, Oct 14, 2014 at 5:54 PM, Martin Grigorov <
> [email protected]
> > >
> > > > wrote:
> > > >
> > > >> Works fine in embedded Jetty.
> > > >> Let's see in Tomcat..
> > > >>
> > > >> Martin Grigorov
> > > >> Wicket Training and Consulting
> > > >> https://twitter.com/mtgrigorov
> > > >>
> > > >> On Tue, Oct 14, 2014 at 5:48 PM, Martin Grigorov <
> > [email protected]>
> > > >> wrote:
> > > >>
> > > >>> Let me see.
> > > >>>
> > > >>> Martin Grigorov
> > > >>> Wicket Training and Consulting
> > > >>> https://twitter.com/mtgrigorov
> > > >>>
> > > >>> On Tue, Oct 14, 2014 at 5:45 PM, Sebastien <[email protected]>
> wrote:
> > > >>>
> > > >>>> Hi devs,
> > > >>>>
> > > >>>> I've got an issue with 7.0.0-SNAPSHOT which is/was not present in
> > M3;
> > > it
> > > >>>> seems that Wicket extensions initializer is not called (no "init:
> > > Wicket
> > > >>>> extensions initializer" in the log).
> > > >>>>
> > > >>>> At least the exact error I have is:
> > > >>>>
> > > >>>> java.util.MissingResourceException: Unable to find property:
> > > >>>> 'datatable.no-records-found' for component:
> > > >>>> datatable:bottomToolbars:toolbars:2:td:msg
> > > >>>> [class=org.apache.wicket.markup.html.basic.Label]. Locale: null,
> > > >>>> style: null
> > > >>>>      at org.apache.wicket.Localizer.getString(Localizer.java:237)
> > > >>>>
> > > >>>>
> > > >>>> Thanks & best regards,
> > > >>>> Sebastien
> > > >>>>
> > > >>>
> > > >>>
> > > >>
> > > >
> > >
> >
>

Reply via email to