It's not /just/ Wicket - Googling for that error shows it in a number
of cases, but it looks to be down to "issues" with JBoss not coping
with log4j.jar in WAR files.

There look to be at least 3 options...
 1) Configure JBoss to keep it's internal jars to itself (if you can)
 2) Remove the log4j.war from any web apps you use
 3) Try a different AppServer? :-)

Example URLs to check:
 http://jira.atlassian.com/browse/JRA-6823
 http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=35304

/Gwyn

On 01/08/06, ksiow02 <[EMAIL PROTECTED]> wrote:
>
> Could someone help me with the following error? No sure why I've the logging
> error. The 4.0.4.GA Jboss server is running fine with other applications
> (i.e. Seam examples). Please help. Thanks.
>
> 23:24:19,203 INFO  [TomcatDeployer] deploy, ctxPath=/wicket-quickstart,
> warUrl=.../tmp/deploy/tmp43741wicket-quickstart-exp.war/
> 23:24:19,375 INFO  [WebappClassLoader]
> validateJarFile(C:\KAITechnologies\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp43741wicket-quickstart-exp.war\WEB-INF\lib\servlet-api-2.3.jar)
> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
> javax/servlet/Servlet.class
> 23:24:19,750 ERROR [STDERR] log4j:ERROR A
> "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a
> "org.apache.log4j.spi.ErrorHandler" variable.
> 23:24:19,750 ERROR [STDERR] log4j:ERROR The class
> "org.apache.log4j.spi.ErrorHandler" was loaded by
> 23:24:19,750 ERROR [STDERR] log4j:ERROR [WebappClassLoader
>   delegate: false
>   repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> [EMAIL PROTECTED]
> ] whereas object of type
> 23:24:19,750 ERROR [STDERR] log4j:ERROR
> "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by
> [EMAIL PROTECTED]
> 23:24:20,000 ERROR [STDERR] log4j:ERROR Could not create an Appender.
> Reported error follows.
> 23:24:20,000 ERROR [STDERR] java.lang.ClassCastException:
> org.jboss.logging.appender.DailyRollingFileAppender
> 23:24:20,000 ERROR [STDERR]     at
> org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:175)
> 23:24:20,000 ERROR [STDERR]     at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
> 23:24:20,000 ERROR [STDERR]     at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
> 23:24:20,000 ERROR [STDERR]     at
> org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
> 23:24:20,000 ERROR [STDERR]     at
> org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)
> 23:24:20,000 ERROR [STDERR]     at org.apache.log4j.xml.DOMConf
> --
> View this message in context: 
> http://www.nabble.com/Quickstart-Error-on-JBoss-tf2031484.html#a5588363
> Sent from the Wicket - User forum at Nabble.com.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to