[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - .war classpath issue in 4.0.3SP1
I have a .war file that works fine in 4.0.2. But when I run it in 4.0.3SP1, I get an exception: java.lang.NoClassDefFoundError: org/dom4j/xpath/DefaultXPath The dom4j-full.jar is in WEB-INF/lib (and it contains org.dom4j.xpath.DefaultXPath). And it works fine in 4.0.2. Any idea what might be wrong? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934231#3934231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934231 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - taglibs not printing variable's values
I'm trying to use taglibs but am having some problems. I added an entry in my web.xml for the 'core' taglib (c.tld). I also added c.tld into the WEB-INF directory of my .war file and appserv-ext.jar, appserv-jstl.jar, and appserv-tags.jar (taken from the Sun app server) into JBoss' lib directory. In my .jsp I am trying to run the following: The forEach loops ok, but it prints ${i} to the webpage ten times instead of the value for "i" (1, 2, 3, etc.) Any ideas what's wrong? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883769#3883769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883769 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - OnlyOnceErrorHandler from log4j call
I'm getting the following error when starting my app-server (4.0.2). It happens when calling java.util.logging.LogManager.exists("mylogger"); What's strange is that it only happens on Linux...on WinXP it starts fine. And after the error, everything works fine - my logging with log4j works fine. 19:37:01,002 INFO [TomcatDeployer] deploy, ctxPath=/Chat, warUrl=file:/opt/jboss-4.0.2/server/minimal/tmp/deploy/tmp53096Chat.war/ 19:37:01,813 INFO [STDOUT] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 19:37:01,814 INFO [STDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 19:37:01,815 INFO [STDOUT] log4j:ERROR [WebappClassLoader delegate: false repositories: /WEB-INF/classes/ --> Parent Classloader: [EMAIL PROTECTED] ] whereas object of type 19:37:01,816 INFO [STDOUT] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED] 19:37:01,854 INFO [STDOUT] log4j:ERROR Could not create an Appender. Reported error follows. 19:37:01,855 INFO [STDOUT] java.lang.ClassCastException 19:37:01,857 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165) 19:37:01,858 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140) 19:37:01,859 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153) 19:37:01,860 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415) 19:37:01,860 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384) 19:37:01,861 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) 19:37:01,862 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666) 19:37:01,862 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) 19:37:01,863 INFO [STDOUT] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) 19:37:01,864 INFO [STDOUT] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) 19:37:01,865 INFO [STDOUT] at org.apache.log4j.LogManager.(LogManager.java:113) The stack trace is actually quite a bit longer, but the next line in the stack trace is where I'm calling LogManager.exists("mylogger"); Any ideas what's wrong? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881511#3881511 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881511 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to implement an interface in a JSP
i get the same error in 3.2.5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841153#3841153 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841153 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - How to implement an interface in a JSP
I'm trying to implement an interface in a JSP as follows: <%@ page language="java" implements="my.class" %> This worked in a different J2EE app server (WLS 8.1), but I get the following exception when I try to use it in JBoss 3.2.3. org.apache.jasper.JasperException: /index.jsp(0,0) Page directive has invalid attribute: implements Any suggestions? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841145#3841145 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841145 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user