[JBossWS] - Re: wstools and Log4J
by sam.griffith@jboss.com
Martin,
I'm not sure about the C# calls failure, but as far as the log appender, you can put the following log4j code in a log4j.xml file in your WS build dir so it gets packaged up with your WS when deployed and it'll be used as the appender. You don't have an appender defined for the WSTools so this one will serve as a default. I'll try and look into a more correct way to define the logger for WSTools when it's being invoked but in the mean time this should help get rid of that message.
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
| <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
|
| <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="Target" value="System.out"/>
| <param name="Threshold" value="INFO"/>
|
| <layout class="org.apache.log4j.PatternLayout">
| <!-- The default pattern: Date Priority [Category] Message\n -->
| <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
| </layout>
| </appender>
|
|
| <root>
| <appender-ref ref="CONSOLE"/>
| </root>
|
|
| </log4j:configuration>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992514#3992514
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992514
19 years, 4 months
[Tomcat, HTTPD, Servlets & JSP] - Re: JBoss Web vs Tomcat?
by lightbulb432
Thanks for your responses. Could you provide some more detail on this, as I'm still confused. I've listed some questions below:
1) For somebody who will not need to use the .NET and PHP features of it, what is the purpose of using JBoss Web?
2) If I download JBoss Web and add it to my JBoss AS installation, do I still need Apache web server (or any web server) on top of that, or is it only good for JSPs/Servlets?
3) In my default download of JBoss AS, how come I can already access static and dynamic HTTP pages? Is it because of the jbossweb-tomcat55.sar?
4) Do I need Apache on top of jbossweb-tomcat55.sar? Where does JBoss Web fit in?
5) Is the choice really between JBoss Web versus Tomcat AND Apache together? Can JBoss Web do the job of both the others in one package? (Is that the value proposition - installing one thing instead of two?)
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992512#3992512
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992512
19 years, 4 months