Re: Mailbox component

2014-08-08 Thread Pierre Goupil
Oops, I forgot this thread... Anyway, thank you all for the reply, I'll try that. Regards, Pierre On Fri, Aug 8, 2014 at 7:24 AM, Maxim Solodovnik solomax...@gmail.com wrote: I have implemented something like this in our project (I'm afraid it might be not optimally written due to lack of

Re: Migration to wicket 7

2014-08-08 Thread Martin Grigorov
Here it is: https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+7.0#MigrationtoWicket7.0-Usei18npropertyfilesforCSSclassnamesWICKET-5257 Thanks for testing Wicket 7 and reporting such documentation issues! Martin Grigorov Wicket Training and Consulting

Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Sebastien
Hi all, Well, that's not a pure wicket question but maybe the answer (if any, I hope) could interest future readers... I am trying to set-up a new project using Wicket (7), WildFly 8 (and EJB-3.1, CDI-1.1, native websockets, and probably something that make the coffee...) but for now I am stuck

AW: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Stefan Lindner
Hi Sebastien, I started Wildfly8 development with wicket a few weeks ago. At first: logging works and it seems that jboss still uses log4j wich is configured in standalone.xml/standalone-full.xml. Simply adding a logger category will not work because the log level in consele handler is

java.lang.IllegalArgumentException: Argument 'name' may not be null or empty.

2014-08-08 Thread Karl-Heinz Golz
Hello, sometimes following exception is thrown (wicket 6.5.0): org.apache.wicket.DefaultExceptionMapper: Unexpected error occurred java.lang.IllegalArgumentException: Argument 'name' may not be null or empty. at org.apache.wicket.util.lang.Args.notEmpty(Args.java:64) at

Re: java.lang.IllegalArgumentException: Argument 'name' may not be null or empty.

2014-08-08 Thread Ernesto Reinaldo Barreiro
Just guessing... Maybe a page that was mounted somewhere and changed location and a user still keeps a reference to that page? On Fri, Aug 8, 2014 at 1:26 PM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote: Hello, sometimes following exception is thrown (wicket 6.5.0):

AW: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Stefan Lindner
Hi Sebastien, did you add Dependencies = org.slf4j,org.slf4j.impl,org.slf4j.jcl-over-slf4j,org.apache.log4j to your MANIFEST.MF? --- Stefan -Ursprüngliche Nachricht- Von: Sebastien [mailto:seb...@gmail.com] Gesendet: Freitag, 8. August 2014 12:27 An: users@wicket.apache.org

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Sebastien
Hi Stefan, Many thanks for your answer; yes, that helps to know that it is supposed to work out of the box! I tried your suggestion - even if INFO would have been enough for now - without more success. I also added Dependencies: org.slf4j,org.slf4j.impl,org.slf4j.jcl-over-slf4j,org.apache.log4j

AW: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Stefan Lindner
Hi Sebastien, your file looks similar to mine. I can't remember any problems with logging.Just worked out oft he box. Defining datasources, using own libraries etc was a pain but logging was not. The only difference between you and me: i use the full profile which you might require to use too

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Sebastien
Hi Stefan, Thanks for your verification, it is really helpful. By conscience, I tried out the full profile, nothing better. I will investigate a little bit further and will post the answer (as supposed I find the answer... :s) Best regards, Sebastien. On Fri, Aug 8, 2014 at 2:32 PM, Stefan

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Martin Grigorov
I also just tried with wildfly 8.0.0 (I used it to implement web socket native support for it) and nothing of this helped. I tried with a file appender too. The file is created but remains empty. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Aug 8, 2014

AW: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Stefan Lindner
Hi Sebastien, just a few final words abot my Wildfly experiences. 1. Any jar file that you want to use in your applicationsmust be defined as a module in subfolder modules. If you want to use an oracle driver this must be a module 2. Modules that use other modules define this dependencies in

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread David Beer
Hi Guys Thought I would chime in here. I have been using Wildfly 8 for a long time developing wicket Apps. By default all logging goes to the standard out log, I have changed nothing different and get the Wicket logged errors there, I also currently use the java Logger as still in development but

wicketstuff shiro

2014-08-08 Thread Thibault Kruse
Hi all, I suggest a breaking change to wicketstuff-shiro here: https://github.com/wicketstuff/core/issues/328 In brief: wicketstuffshiro allows to use @ShiroSecurityConstraint or @ShiroSecurityConstraints (with s at the end) annotations on Component classes to trigger security checks at

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Sebastien
Hi Stefan, David, Martin, Well, I agree about modules, I did it for oracle-db drivers. About slf4j, the module/jar already exists in the server (modules\system\layers\base\org\slf4j) so no need to declare it, I also agree. I am currently wondering if the transitive dependency from wicket to

Re: wicketstuff shiro

2014-08-08 Thread Martin Grigorov
Hi, On Fri, Aug 8, 2014 at 4:53 PM, Thibault Kruse tibokr...@googlemail.com wrote: Hi all, I suggest a breaking change to wicketstuff-shiro here: https://github.com/wicketstuff/core/issues/328 In brief: wicketstuffshiro allows to use @ShiroSecurityConstraint or @ShiroSecurityConstraints

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread David Beer
Hi Sebastien You get no log messages at to standalone/log/server.log file. If not I would suggest posting to the Wildfly forum or taking a visit to there IRC channel. The server.log file should receive all logging unless configured not to. I assume you have seen this document

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Sebastien
Hi David, Actually, I already receive jboss's logs (org.jboss, org.wildfly, javax.enterprise, org.hibernate) in the console (if it was not clear)... Yes, I did read the links you mentioned (even if lines like /subsystem=logging/logger=com.your.category:add does absolutely means nothing for me,

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Martin Grigorov
Sebastien, Remove any log4j.properties from your .war/.ear/.jar files. This fixed it here. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Aug 8, 2014 at 6:41 PM, Sebastien seb...@gmail.com wrote: Hi David, Actually, I already receive jboss's logs

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Sebastien
Hi Martin, I tried but I should have missed one because it was not working with my ear, I will test it again on Monday, but anyway you probably saved my week-end! ;) I also tried with a simple wicket quickstart and of course, it did not work because of the properties file. So there will be

Re: Wicket / WildFly 8: Log4J / SLF4J ?

2014-08-08 Thread Martin Grigorov
I have also removed log4j.jar from WEB-INF/lib. Maybe it is related too but the logs appeared after removing log4j.properties On Fri, Aug 8, 2014 at 8:05 PM, Sebastien seb...@gmail.com wrote: Hi Martin, I tried but I should have missed one because it was not working with my ear, I will test